/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #0a1628;
  --navy-light: #111d33;
  --navy-mid: #162240;
  --blue: #3b82f6;
  --blue-light: #60a5fa;
  --blue-glow: rgba(59, 130, 246, 0.15);
  --white: #f0f4f8;
  --gray-200: #cbd5e1;
  --gray-300: #94a3b8;
  --gray-400: #64748b;
  --gray-500: #475569;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--navy);
  color: var(--gray-200);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 48px;
  transition: background 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-size: 1.125rem;
  letter-spacing: 0.05em;
}

.nav-logo-bold {
  font-weight: 800;
  color: var(--white);
}

.nav-logo-light {
  font-weight: 300;
  color: var(--gray-300);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--gray-300);
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-200);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-200);
  border: 1px solid rgba(255,255,255,0.15);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.25);
}

.btn-full { width: 100%; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 48px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.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: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 20%, transparent 100%);
}

.hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
}

.hero-logo {
  max-width: 600px;
  width: 100%;
  height: auto;
  margin-bottom: 40px;
  filter: invert(1) brightness(2);
}

.hero-sub {
  font-size: 1.1875rem;
  color: var(--gray-300);
  line-height: 1.75;
  margin-bottom: 36px;
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}

.section-light {
  background: var(--navy-light);
}

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
}

/* ===== PROSE ===== */
.prose p {
  font-size: 1.0625rem;
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: 20px;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* ===== FEATURE LIST ===== */
.feature-list {
  margin-top: 48px;
}

.feature-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.feature-item:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.feature-item dt {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}

.feature-item dd {
  font-size: 0.9375rem;
  color: var(--gray-300);
  line-height: 1.7;
  margin: 0;
}

/* ===== CONTACT ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-title {
  text-align: left;
}

.contact-info .section-tag {
  display: block;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-200);
  font-size: 0.9375rem;
}

.contact-detail a {
  color: var(--blue-light);
  transition: color 0.2s;
}

.contact-detail a:hover { color: var(--white); }

.contact-detail svg {
  color: var(--blue-light);
  flex-shrink: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-300);
}

.form-group input,
.form-group textarea {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.9375rem;
  color: var(--white);
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-500);
}

.form-group textarea {
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px 0;
  background: var(--navy-light);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo {
  max-width: 300px;
  width: 100%;
  height: auto;
  filter: invert(1) brightness(2);
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 8px;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

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

.hero-logo { animation: fadeInUp 0.8s ease 0.1s both; }
.hero-sub { animation: fadeInUp 0.8s ease 0.25s both; }
.scroll-arrow {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gray-400);
  opacity: 0.7;
  z-index: 99;
  transition: opacity 0.6s ease, color 0.2s;
}

.scroll-arrow svg {
  animation: bounceDown 2s ease-in-out infinite;
}

.scroll-arrow.hidden { opacity: 0; pointer-events: none; }

.scroll-arrow:hover { color: var(--white); }

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(12px); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .nav {
    padding: 0 24px;
  }

  .hero {
    padding: 100px 24px 60px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-links.open { display: flex; }

  .nav-toggle { display: flex; }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .feature-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section {
    padding: 72px 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .hero-logo {
    max-width: 400px;
  }
}
