@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --bg: #0a0a0f;
  --surface: #13131a;
  --surface2: #1c1c28;
  --border: #2a2a3a;
  --text: #eeeef5;
  --muted: #8888aa;
  --accent1: #ff4d6d;
  --accent2: #00d4ff;
  --accent3: #a855f7;
  --accent4: #22d3a0;
  --gradient: linear-gradient(135deg, var(--accent1), var(--accent3), var(--accent2));
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── NOISE OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent2);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--gradient);
  color: white !important;
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-cta:hover { opacity: 0.85; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* ─── HAMBURGER ─── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* ─── PAGES ─── */
.page { display: none; padding-top: 80px; min-height: 100vh; }
.page.active { display: block; }

/* ─── HOME HERO ─── */
.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(168, 85, 247, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 60% 10%, rgba(255, 77, 109, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 750px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  color: var(--accent2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease both;
}

.hero-badge span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent2); animation: pulse 2s infinite; }

@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.1s ease both;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 300;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(168, 85, 247, 0.5); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text);
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--accent2); background: rgba(0, 212, 255, 0.05); }

.hero-floater {
  position: absolute;
  right: 4rem;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  animation: fadeUp 0.6s 0.4s ease both;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  min-width: 130px;
  transition: border-color 0.3s, transform 0.3s;
}
.stat-card:hover { border-color: var(--accent3); transform: translateY(-4px); }

.stat-card .num {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card .label { font-size: 0.78rem; color: var(--muted); margin-top: 0.2rem; }

/* ─── TICKER ─── */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 0.9rem 0;
}
.ticker {
  display: flex;
  gap: 3rem;
  animation: ticker 20s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ticker-item .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent1); }

@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── SECTIONS ─── */
.section {
  padding: 6rem 4rem;
  position: relative;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent2);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* ─── FEATURES GRID ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover { border-color: transparent; transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.feature-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

/* ─── SERVICES PAGE ─── */
.services-hero {
  padding: 5rem 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.services-hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.services-hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 1rem; }
.services-hero p { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 1.1rem; }

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.3s;
  cursor: default;
}
.service-card:hover { border-color: var(--accent3); transform: translateY(-8px); box-shadow: 0 30px 80px rgba(0,0,0,0.4); }

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.service-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card p { color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; }

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

/* ─── ABOUT PAGE ─── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  padding: 6rem 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-blob {
  width: 100%;
  aspect-ratio: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  position: relative;
  overflow: hidden;
}
.about-blob::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(255,77,109,0.15), transparent 60%),
              radial-gradient(ellipse at 70% 70%, rgba(0,212,255,0.1), transparent 60%);
}

.about-badges {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-badge-pill {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.5rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.about-text h2 { margin-bottom: 1.25rem; }
.about-text p { color: var(--muted); line-height: 1.8; margin-bottom: 1.25rem; }

.values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
}
.value-item .vi { font-size: 1.2rem; }
.value-item strong { display: block; font-weight: 600; margin-bottom: 0.2rem; }
.value-item span { color: var(--muted); font-size: 0.85rem; }

.team-section { padding: 3rem 4rem 6rem; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}
.team-card:hover { border-color: var(--accent2); transform: translateY(-5px); }
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border: 2px solid var(--border);
}
.team-card h4 { font-family: 'Syne', sans-serif; font-weight: 700; margin-bottom: 0.25rem; }
.team-card span { font-size: 0.82rem; color: var(--muted); }

/* ─── CONTACT PAGE ─── */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  padding: 5rem 4rem 6rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { color: var(--muted); line-height: 1.7; margin-bottom: 2.5rem; }

.contact-methods { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.2s;
}
.contact-method:hover { border-color: var(--accent2); }
.contact-method .cm-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-method .cm-label { font-size: 0.75rem; color: var(--muted); }
.contact-method .cm-value { font-size: 0.9rem; font-weight: 500; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
}
.contact-form h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.82rem; font-weight: 500; color: var(--muted); letter-spacing: 0.05em; }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent2); }
.form-group select option { background: var(--surface2); }
.form-group textarea { min-height: 120px; }

.form-submit {
  width: 100%;
  background: var(--gradient);
  color: white;
  border: none;
  padding: 0.95rem;
  border-radius: 12px;
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.25);
  letter-spacing: 0.03em;
}
.form-submit:hover { opacity: 0.88; transform: translateY(-2px); }

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}
.form-success .check { font-size: 3rem; margin-bottom: 1rem; }
.form-success h4 { font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.form-success p { color: var(--muted); }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
footer p { color: var(--muted); font-size: 0.85rem; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--muted); font-size: 0.85rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    gap: 1rem;
  }
  nav.open .nav-cta { display: block; }
  .hero { padding: 3rem 1.5rem; flex-direction: column; }
  .hero-floater { position: static; transform: none; grid-template-columns: 1fr 1fr; margin-top: 3rem; width: 100%; }
  .section { padding: 4rem 1.5rem; }
  .about-split { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 1.5rem; }
  .contact-wrapper { grid-template-columns: 1fr; padding: 3rem 1.5rem; }
  .services-hero { padding: 3rem 1.5rem; }
  .services-grid { padding: 2rem 1.5rem 4rem; grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  footer { padding: 2rem 1.5rem; flex-direction: column; text-align: center; }
  .team-section { padding: 2rem 1.5rem 4rem; }
}
