* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #050510;
  --purple: #bf00ff;
  --purple-dark: #8a2be2;
  --text: #f0f0ff;
  --text-soft: #cdcdfa;
  --text-muted: #a0a0c0;
  --font-display: 'Orbitron', monospace;
  --font-body: 'Space Grotesk', 'Segoe UI', sans-serif;
  --max: 1300px;
}

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0a2a; }
::-webkit-scrollbar-thumb { background: var(--purple-dark); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple); }

#canvas-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

#bg-canvas {
  width: 100%;
  height: 100%;
  display: block;
  background: #050510;
}

.content-layer { position: relative; z-index: 2; }

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(10, 5, 25, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(191, 0, 255, 0.25);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo-container {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #fff, var(--purple), #9370db);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(191, 0, 255, 0.3);
}

.logo-slogan-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--purple-dark);
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 2rem; }

.nav-links a {
  position: relative;
  color: #e0e0ff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--purple), var(--purple-dark));
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--purple);
  text-shadow: 0 0 5px rgba(191, 0, 255, 0.5);
}

.nav-links a:hover::before { width: 100%; }

header {
  min-height: 90vh;
  padding: 6rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.logo-main {
  max-width: 100%;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.15;
  background: linear-gradient(45deg, #fff, var(--purple), var(--purple-dark), #fff);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(191, 0, 255, 0.3);
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.tagline {
  max-width: 700px;
  margin-bottom: 2rem;
  color: var(--text-soft);
  font-size: 1.3rem;
  line-height: 1.6;
  letter-spacing: 1px;
}

.market-changer {
  margin: 1rem 0;
  padding: 1rem 2.5rem;
  border: 1px solid rgba(191, 0, 255, 0.4);
  border-radius: 40px;
  background: rgba(20, 10, 40, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(191, 0, 255, 0.2), inset 0 0 15px rgba(191, 0, 255, 0.15);
  animation: pulseGlow 3s infinite alternate;
}

.market-changer-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--purple), #e0b0ff, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 15px rgba(191, 0, 255, 0.2); border-color: rgba(191, 0, 255, 0.3); }
  100% { box-shadow: 0 0 30px rgba(191, 0, 255, 0.6); border-color: rgba(191, 0, 255, 0.8); }
}

.cta-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.btn, .btn-purple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.9rem 2rem;
  border: 0;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(191, 0, 255, 0.3);
  transition: all 0.3s ease;
}

.btn:hover, .btn-purple:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(191, 0, 255, 0.5);
}

.btn-ghost {
  background: rgba(191, 0, 255, 0.12);
  border: 1px solid rgba(191, 0, 255, 0.35);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 2rem;
}

section { margin-bottom: 5rem; scroll-margin-top: 7rem; }

h2, .section-head h2 {
  width: 100%;
  margin-bottom: 3rem;
  display: inline-block;
  position: relative;
  text-align: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
}

h2::after, .section-head h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 100px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--purple), var(--purple-dark), transparent);
  transform: translateX(-50%);
}

.section-head { margin-bottom: 0; }
.section-lead { text-align: center; margin: -2rem 0 2.5rem; color: var(--text-soft); }
.projects-intro-panel { margin-bottom: 2rem; text-align: center; }

.glass-panel,
.glass-card {
  position: relative;
  overflow: hidden;
  background: rgba(18, 8, 40, 0.42);
  backdrop-filter: blur(26px) saturate(175%);
  -webkit-backdrop-filter: blur(26px) saturate(175%);
  border: 1px solid rgba(191, 0, 255, 0.32);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 12px rgba(191, 0, 255, 0.08);
}

.glass-panel { border-radius: 24px; padding: 2.5rem; }

.glass-panel::before,
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(
    125deg,
    transparent 15%,
    rgba(255, 255, 255, 0.07) 35%,
    rgba(191, 0, 255, 0.06) 48%,
    transparent 70%
  );
  background-size: 240% 100%;
  animation: waterSheen 9s ease-in-out infinite;
  pointer-events: none;
}

.glass-panel > *,
.glass-card > * { position: relative; z-index: 1; }

@keyframes waterSheen {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2rem;
}

#projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.glass-card {
  border-radius: 20px;
  padding: 2.2rem;
  border-color: rgba(138, 43, 226, 0.32);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -1px 10px rgba(191, 0, 255, 0.07);
  transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-card:hover {
  transform: translateY(-10px);
  border-color: rgba(191, 0, 255, 0.78);
  background: rgba(28, 12, 58, 0.52);
  box-shadow:
    0 16px 48px rgba(191, 0, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 14px rgba(191, 0, 255, 0.12);
}

.card-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(191, 0, 255, 0.3);
  border-radius: 16px;
  background: rgba(191, 0, 255, 0.12);
  color: var(--purple);
  font-size: 2.5rem;
  transition: 0.4s ease;
}

.glass-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(191, 0, 255, 0.25);
  box-shadow: 0 0 15px rgba(191, 0, 255, 0.5);
}

.glass-card h3 { margin-bottom: 0.8rem; font-size: 1.4rem; font-weight: 600; }
.glass-card p { color: var(--text-soft); line-height: 1.6; font-size: 0.95rem; }

.project-meta { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 0.9rem 0 0; }

.status-badge,
.category-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(191, 0, 255, 0.4);
  border-radius: 20px;
  background: rgba(191, 0, 255, 0.15);
  color: #e0b0ff;
  font-size: 0.75rem;
  font-weight: 600;
}

.category-tag { color: var(--text-muted); }

.highlight-box {
  margin-top: 1rem;
  padding: 1.2rem;
  border-left: 3px solid var(--purple);
  border-radius: 0 12px 12px 0;
  background: rgba(191, 0, 255, 0.08);
}

#careers-content h3,
.contact-panel h3 { margin-bottom: 1rem; font-size: 1.5rem; }
#careers-content p,
.contact-body { color: var(--text-soft); line-height: 1.6; }

.contact-panel { padding: 3rem; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 2rem;
  align-items: stretch;
}

.contact-body { margin-bottom: 2rem; }
.contact-methods { display: grid; gap: 1rem; }

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  padding: 0.8rem;
  border: 1px solid rgba(191, 0, 255, 0.2);
  border-radius: 16px;
  background: rgba(191, 0, 255, 0.06);
  color: #fff;
  text-decoration: none;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.contact-method:hover {
  transform: translateX(4px);
  border-color: rgba(191, 0, 255, 0.55);
  background: rgba(191, 0, 255, 0.12);
}

.contact-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(191, 0, 255, 0.35);
  border-radius: 14px;
  background: rgba(191, 0, 255, 0.14);
  color: var(--purple);
}

.contact-method-copy { min-width: 0; display: grid; gap: 0.2rem; }
.contact-label { color: var(--text-muted); font-size: 0.85rem; }
.contact-value { overflow-wrap: anywhere; font-size: 0.98rem; }

.whatsapp-panel {
  min-height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(191, 0, 255, 0.28);
  border-radius: 20px;
  background: rgba(191, 0, 255, 0.06);
}

.whatsapp-panel > i { margin-bottom: 1rem; color: var(--purple); font-size: 3rem; }
.whatsapp-panel h3 { margin-bottom: 0.75rem; }
.whatsapp-panel p { margin-bottom: 1.5rem; color: var(--text-soft); line-height: 1.6; }

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 1.6rem;
  border-radius: 50px;
  background: linear-gradient(45deg, #25d366, #128c7e);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.48);
}

#about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.feature-tile,
#about-community {
  padding: 1.5rem;
  border: 1px solid rgba(191, 0, 255, 0.2);
  border-radius: 16px;
  background: rgba(191, 0, 255, 0.08);
}

.feature-tile h4,
#about-community h4 { margin-bottom: 0.5rem; color: var(--purple); font-family: var(--font-display); }
#about-community { margin-top: 2rem; color: var(--text-soft); }
#about-intro { color: #fff; font-size: 1.15rem; line-height: 1.7; }

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-link,
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  border: 1px solid rgba(191, 0, 255, 0.3);
  border-radius: 50px;
  background: rgba(191, 0, 255, 0.12);
  color: #fff;
  text-decoration: none;
}

.social-row { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-btn { width: 48px; padding: 0; border-radius: 50%; }

footer {
  margin-top: 4rem;
  padding: 4rem 2rem 2rem;
  border-top: 1px solid rgba(191, 0, 255, 0.3);
  background: rgba(5, 5, 18, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-brand p { margin-top: 1rem; color: var(--text-muted); line-height: 1.6; }
.footer-heading { margin-bottom: 1.5rem; color: #fff; font-family: var(--font-display); position: relative; }
.footer-heading::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 30px; height: 2px; background: var(--purple); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { color: var(--text-soft); font-size: 0.9rem; text-decoration: none; transition: 0.3s; }
.footer-links a:hover { color: var(--purple); padding-left: 5px; }

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #8080a0;
  font-size: 0.85rem;
}

.social-links { display: flex; gap: 1rem; }
.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(191, 0, 255, 0.3);
  border-radius: 50%;
  background: rgba(191, 0, 255, 0.15);
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}
.social-link:hover { transform: translateY(-3px); background: var(--purple); box-shadow: 0 0 15px var(--purple); }

.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-up.show { opacity: 1; transform: translateY(0); }

@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-2, #projects-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .logo-main { font-size: 3.2rem; }
  .market-changer-text { font-size: 1.1rem; }
}

@media (max-width: 768px) {
  .nav-container { flex-direction: column; gap: 1rem; padding: 0 1.25rem; }
  .nav-links { gap: 1.2rem; flex-wrap: wrap; justify-content: center; }
  h2, .section-head h2 { font-size: 2rem; }
  .logo-main { font-size: 2.2rem; }
  .tagline { font-size: 1rem; }
  .container { padding: 2.5rem 1.25rem; }
  .glass-panel { padding: 1.75rem 1.25rem; }
  .contact-panel { padding: 1.75rem 1.25rem; }
  #about-features { grid-template-columns: 1fr; gap: 1rem; }
  .contact-actions { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up { opacity: 1; transform: none; }
}
