/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #64748B;
  background: #FFFFFF;
}

a {
  color: #4F46E5;
  text-decoration: none;
}

a:hover {
  color: #818CF8;
}

img {
  max-width: 100%;
  display: block;
}

/* Utility */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #4F46E5;
  font-weight: 600;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #0F172A;
  margin-top: 8px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 17px;
  color: #64748B;
  margin-top: 12px;
  max-width: 560px;
}

/* Skip to content (accessibility) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: #4F46E5;
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  z-index: 1000;
  font-size: 14px;
}

.skip-link:focus {
  top: 0;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #0F172A;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1120px;
}

.nav-logo {
  font-size: 20px;
  font-weight: 700;
  color: #818CF8;
  letter-spacing: -0.5px;
}

.nav-logo:hover {
  color: #818CF8;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  color: #94A3B8;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #FFFFFF;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #94A3B8;
  margin: 5px 0;
  transition: all 0.3s;
}

.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);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  padding: 160px 24px 96px;
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .container {
  max-width: 720px;
}

.hero-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #818CF8;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: #94A3B8;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-align: center;
}

.btn-primary {
  background: #4F46E5;
  color: #FFFFFF;
}

.btn-primary:hover {
  background: #4338CA;
  color: #FFFFFF;
}

.btn-ghost {
  background: transparent;
  color: #94A3B8;
  border: 1px solid #475569;
}

.btn-ghost:hover {
  border-color: #94A3B8;
  color: #FFFFFF;
}

/* About Section */
.about {
  padding: 96px 24px;
  background: #FFFFFF;
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.value-card {
  text-align: center;
}

.value-icon {
  width: 56px;
  height: 56px;
  background: #EEF2FF;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
}

.value-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 15px;
  color: #64748B;
}

/* Services Section */
.services {
  padding: 96px 24px;
  background: #F8FAFC;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.08);
  transform: translateY(-2px);
}

.service-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: #64748B;
}

/* Contact/CTA Section */
.contact {
  padding: 96px 24px;
  background: #0F172A;
  text-align: center;
}

.contact .section-title {
  color: #FFFFFF;
}

.contact .section-subtitle {
  color: #94A3B8;
  margin: 12px auto 32px;
}

.contact .btn-primary {
  padding: 14px 36px;
  font-size: 16px;
}

/* Footer */
.footer {
  background: #0F172A;
  border-top: 1px solid #1E293B;
  padding: 24px;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 13px;
  color: #64748B;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: #64748B;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #94A3B8;
}

/* Legal Pages (Privacy & Terms) */
.legal-page {
  padding: 120px 24px 80px;
  background: #FFFFFF;
  min-height: 100vh;
}

.legal-page .container {
  max-width: 760px;
}

.legal-page h1 {
  font-size: 36px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
}

.legal-page .legal-updated {
  font-size: 14px;
  color: #94A3B8;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 22px;
  font-weight: 600;
  color: #0F172A;
  margin: 36px 0 12px;
}

.legal-page p {
  margin-bottom: 16px;
  line-height: 1.7;
}

.legal-page ul {
  margin: 0 0 16px 24px;
}

.legal-page li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #0F172A;
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    border-top: 1px solid #1E293B;
  }

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

  .hero {
    padding: 120px 24px 64px;
    min-height: auto;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-links {
    justify-content: center;
  }

  .legal-page h1 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}
