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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a2e;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

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

/* Hero Section */
.hero-section {
  background: linear-gradient(160deg, #0a0a14 0%, #12122a 50%, #0a1628 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 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.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 40% 80%, rgba(74, 144, 164, 0.06) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 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;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
}

.orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #667eea 0%, transparent 70%);
  top: -250px;
  right: -150px;
  animation: float1 8s ease-in-out infinite;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #764ba2 0%, transparent 70%);
  bottom: -200px;
  left: -150px;
  animation: float2 10s ease-in-out infinite;
}

.orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #4a90a4 0%, transparent 70%);
  top: 40%;
  left: 40%;
  animation: float3 12s ease-in-out infinite;
  opacity: 0.4;
}

@keyframes float1 {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-80px, 60px);
  }
}

@keyframes float2 {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(100px, -80px);
  }
}

@keyframes float3 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-60px, -40px) scale(1.1);
  }
}

.nav {
  position: relative;
  z-index: 10;
  padding: 24px 0;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lang-switch {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  transition: all 0.2s;
}

.lang-switch:hover {
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: white;
}

.logo-mark.small {
  width: 32px;
  height: 32px;
  font-size: 1rem;
  border-radius: 8px;
}

.logo-text {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px 120px;
  position: relative;
  z-index: 1;
}

.hero-content {
  color: white;
}

.hero-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #667eea;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero h1 .highlight {
  background: linear-gradient(120deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 440px;
}

.app-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.badge img {
  height: 52px;
  transition: transform 0.2s, opacity 0.2s;
}

.badge:hover img {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Phone Frame */
.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  background: #000;
  border-radius: 48px;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 60px 120px rgba(0, 0, 0, 0.5),
    0 20px 40px rgba(0, 0, 0, 0.3);
}

.phone-screenshot {
  display: block;
  width: 280px;
  height: auto;
  border-radius: 38px;
}

/* How it Works */
.how-it-works {
  padding: 120px 0;
  background: #fafbfc;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #1a1a2e;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: #666;
  margin-bottom: 72px;
}

.steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}

.step {
  text-align: center;
  flex: 1;
  max-width: 300px;
}

.step-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  width: 36px;
  height: 36px;
  color: white;
}

.step h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a1a2e;
}

.step p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

.step-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  margin-top: 40px;
  border-radius: 1px;
  opacity: 0.3;
}

/* Features */
.features {
  padding: 120px 0;
  background: white;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.feature {
  padding: 40px;
  border-radius: 20px;
  background: #fafbfc;
  border: 1px solid #eee;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.1);
  border-color: rgba(102, 126, 234, 0.3);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon {
  width: 28px;
  height: 28px;
  color: #667eea;
}

.feature h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a1a2e;
}

.feature p {
  color: #666;
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* CTA */
.cta {
  padding: 120px 0;
  background: linear-gradient(160deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  text-align: center;
  color: white;
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta .app-badges {
  justify-content: center;
}

/* Footer */
footer {
  padding: 60px 0 40px;
  background: #0d0d14;
  color: #999;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-weight: 600;
  font-size: 1.125rem;
}

.footer-nav {
  display: flex;
  gap: 40px;
}

.footer-nav a {
  color: #888;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: white;
}

.copyright {
  text-align: center;
  font-size: 0.875rem;
  padding-top: 40px;
  border-top: 1px solid #222;
  color: #555;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 24px 80px;
    gap: 60px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-visual {
    order: -1;
  }

  .phone-screenshot {
    width: 240px;
  }

  .app-badges {
    justify-content: center;
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .step-connector {
    width: 2px;
    height: 40px;
    margin: 0;
  }

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

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }
}

/* Legal pages */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 100px;
  background: white;
  min-height: calc(100vh - 200px);
}

.legal-content h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #1a1a2e;
  letter-spacing: -0.02em;
}

.legal-content .updated {
  color: #666;
  margin-bottom: 48px;
}

.legal-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
  color: #1a1a2e;
}

.legal-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
  color: #333;
}

.legal-content p,
.legal-content li {
  color: #555;
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

.legal-content a {
  color: #667eea;
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
}

.back-link:hover {
  text-decoration: underline;
}
