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

:root {
  --navy: #0a0f1e;
  --navy-2: #0d1428;
  --navy-3: #111a35;
  --navy-4: #1a2545;
  --teal: #2dd4bf;
  --teal-dim: #1a9e8f;
  --blue: #3b82f6;
  --blue-dim: #1d4ed8;
  --text-primary: #f0f4ff;
  --text-secondary: #8897b8;
  --text-muted: #4a5a7a;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(45,212,191,0.3);
  --grad: linear-gradient(135deg, #2dd4bf, #3b82f6);
}

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

html { scroll-behavior: smooth; }

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

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 4rem;
  background: rgba(10,15,30,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 0.5px solid var(--border);
  transition: all 0.3s;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy) !important;
  background: var(--grad);
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.2s !important;
}

.nav-cta:hover { opacity: 0.85; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 1.5px; background: var(--text-secondary); transition: all 0.3s; display: block; }

/* SECTIONS */
section { padding: 6rem 4rem; max-width: 1100px; margin: 0 auto; }

/* HERO */
#home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 8rem;
  max-width: 100%;
  padding-left: 4rem;
  padding-right: 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(59,130,246,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(45,212,191,0.06) 0%, transparent 60%);
  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-inner { max-width: 1100px; margin: 0 auto; width: 100%; position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  border: 0.5px solid rgba(45,212,191,0.3);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
}

.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

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

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

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

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.85rem 1.75rem;
  background: var(--grad);
  color: var(--navy);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  padding: 0.85rem 1.75rem;
  background: transparent;
  color: var(--text-secondary);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.btn-ghost:hover { border-color: var(--border-hover); color: var(--text-primary); transform: translateY(-1px); }

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 0.5px solid var(--border);
  animation: fadeUp 0.6s ease 0.4s both;
}

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

.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.2rem; letter-spacing: 0.05em; }

/* SECTION HEADERS */
.section-tag {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

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

.section-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 3.5rem;
}

/* SERVICES */
#services { background: var(--navy-2); max-width: 100%; }
#services > * { max-width: 1100px; margin-left: auto; margin-right: auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 0.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.service-card {
  background: var(--navy-2);
  padding: 2rem;
  transition: background 0.2s;
  position: relative;
}

.service-card:hover { background: var(--navy-3); }

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(45,212,191,0.08);
  border: 0.5px solid rgba(45,212,191,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  color: var(--teal);
}

.service-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.65;
}

.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 1.25rem; }

.stag {
  font-size: 0.7rem;
  color: var(--text-muted);
  border: 0.5px solid var(--border);
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

/* HOW WE WORK */
.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.model-card {
  background: var(--navy-3);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.model-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }

.model-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
}

.model-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.model-card p { font-size: 0.875rem; color: var(--text-secondary); font-weight: 300; line-height: 1.6; }

/* ABOUT */
#about { background: var(--navy); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-text p strong { color: var(--text-primary); font-weight: 500; }

.pillars { display: flex; flex-direction: column; gap: 1rem; }

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--navy-3);
  border: 0.5px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s;
}

.pillar:hover { border-color: var(--border-hover); }

.pillar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  margin-top: 6px;
  flex-shrink: 0;
}

.pillar h4 { font-family: 'Syne', sans-serif; font-size: 0.95rem; font-weight: 600; margin-bottom: 0.25rem; }
.pillar p { font-size: 0.825rem; color: var(--text-secondary); font-weight: 300; line-height: 1.55; }

/* CONTACT */
#contact { background: var(--navy-2); max-width: 100%; }
#contact > * { max-width: 1100px; margin-left: auto; margin-right: auto; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-items { display: flex; flex-direction: column; gap: 1rem; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.contact-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(45,212,191,0.08);
  border: 0.5px solid rgba(45,212,191,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-size: 0.775rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-primary);
  background: var(--navy-4);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: rgba(45,212,191,0.4); }

.form-group select option { background: var(--navy-4); }

.form-group textarea { resize: vertical; min-height: 120px; }

/* FOOTER */
footer {
  padding: 2rem 4rem;
  border-top: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.footer-logo span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--teal); }

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

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: none; }

/* MOBILE */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--navy);
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-size: 1.25rem;
    z-index: 99;
  }
  section, #home, #services, #contact { padding: 4rem 1.5rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  footer { flex-direction: column; gap: 1rem; text-align: center; padding: 1.5rem; }
  h1 { font-size: 2.75rem; }
}
