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

:root {
  --bg: #FAFAF7;
  --bg-white: #FFFFFF;
  --bg-dark: #080807;
  --text: #1A1A18;
  --text-secondary: #6B6960;
  --text-muted: #9C978C;
  --accent: #C9A84C;
  --accent-bright: #E2C992;
  --accent-bg: rgba(201,168,76,0.08);
  --accent-border: rgba(201,168,76,0.2);
  --border: rgba(0,0,0,0.06);
  --green: #4A8B5C;
  --radius: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
}

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

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ========== Animations ========== */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.step-card:nth-child(2).animate-in { transition-delay: 0.1s; }
.step-card:nth-child(3).animate-in { transition-delay: 0.2s; }
.step-card:nth-child(4).animate-in { transition-delay: 0.3s; }
.feature-item:nth-child(2).animate-in { transition-delay: 0.08s; }
.feature-item:nth-child(3).animate-in { transition-delay: 0.16s; }
.feature-item:nth-child(4).animate-in { transition-delay: 0.24s; }
.feature-item:nth-child(5).animate-in { transition-delay: 0.32s; }
.trust-item:nth-child(2).animate-in { transition-delay: 0.1s; }
.trust-item:nth-child(3).animate-in { transition-delay: 0.2s; }

/* ========== Nav ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all 0.3s;
}
.nav.scrolled {
  background: rgba(250,250,247,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-img {
  width: 28px; height: 28px;
  object-fit: contain;
}
.nav-logo-text {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--bg-white);
  background: var(--text);
  border-radius: 999px;
  padding: 10px 24px;
  transition: all 0.2s;
}
.nav-cta:hover { background: #333; }

/* ========== Section Header ========== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header.left { text-align: left; }

.section-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 12px;
}
.section-header h2 span { color: var(--accent); }

.section-header p {
  font-size: 17px;
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 480px;
}
.section-header.left p { max-width: none; }

/* ========== Phone Frame ========== */
.phone-frame {
  width: 280px;
  min-width: 280px;
  background: var(--text);
  border-radius: 40px;
  padding: 12px;
  position: relative;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.1);
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: var(--text);
  border-radius: 0 0 16px 16px;
  z-index: 3;
}

.phone-screen {
  width: 100%;
  border-radius: 30px;
  display: block;
}

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

.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 60%);
  top: 10%; right: -10%;
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 80px;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  padding: 8px 20px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.hero-text h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--text);
}
.hero-text h1 span { color: var(--accent); }

.hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 440px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: var(--bg-white);
  border-radius: 14px;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.hero-free {
  font-size: 14px;
  color: var(--green);
  font-weight: 500;
}

.hero-phone {
  flex-shrink: 0;
}

/* ========== Steps ========== */
.steps {
  padding: 120px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all 0.3s;
  position: relative;
}
.step-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.step-num {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--accent), var(--accent-bright));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: white;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(201,168,76,0.2);
}

.step-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 20px; font-weight: 400;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.6;
}

/* ========== Features ========== */
.features {
  padding: 120px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-inner {
  display: flex;
  align-items: center;
  gap: 80px;
}

.features-phone { flex-shrink: 0; }

.features-content { flex: 1; }

.features-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 40px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: 14px;
  transition: background 0.2s;
}
.feature-item:hover {
  background: var(--bg);
}

.feature-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: var(--accent-bg);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}

.feature-item h4 {
  font-family: 'DM Serif Display', serif;
  font-size: 17px; font-weight: 400;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 400;
}

/* ========== Trust ========== */
.trust {
  padding: 120px 0;
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: 80px;
}

.trust-content { flex: 1; }

.trust-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  transition: all 0.3s;
}
.trust-item:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-sm);
}

.trust-check {
  width: 32px; height: 32px; min-width: 32px;
  background: linear-gradient(145deg, var(--accent), var(--accent-bright));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(201,168,76,0.2);
  margin-top: 2px;
}

.trust-item h4 {
  font-family: 'DM Serif Display', serif;
  font-size: 17px; font-weight: 400;
  margin-bottom: 2px;
}

.trust-item p {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 400;
}

.trust-phone { flex-shrink: 0; }

/* ========== CTA ========== */
.cta {
  padding: 120px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 55%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.cta-logo {
  width: 72px; height: 72px;
  object-fit: contain;
}

.cta h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--text);
}
.cta h2 span { color: var(--accent); }

.cta .hero-free {
  color: var(--green);
}

/* ========== Footer ========== */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-brand p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 300px;
}

.footer-links {
  display: flex;
  gap: 28px;
}
.footer-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer-bottom p {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .hero-inner { gap: 48px; }
  .features-inner { gap: 48px; }
  .trust-inner { gap: 48px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

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

  .nav-links { display: none; }

  .hero { padding: 100px 0 60px; }
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .hero-text { align-items: center; }
  .hero-subtitle { max-width: 100%; }
  .hero-badge { align-self: center; }
  .hero-buttons { justify-content: center; }

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

  .features-inner {
    flex-direction: column;
  }

  .trust-inner {
    flex-direction: column-reverse;
  }
  .section-header.left { text-align: center; }
  .section-header.left p { max-width: 480px; margin: 0 auto; }

  .phone-frame {
    width: 240px;
    min-width: 240px;
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
  }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary { justify-content: center; }
  .phone-frame {
    width: 220px;
    min-width: 220px;
  }
}
