/* ============================================ */
/* Variables & Reset                            */
/* ============================================ */
:root {
  --forge-accent: #FF6F00;
  --forge-accent-light: rgba(255, 111, 0, 0.08);
  --forge-accent-hover: #E56300;
  --forge-warming: #FFA726;
  --forge-blazing: #FF5722;
  --forge-bg: #F2F2F7;
  --forge-surface: #FFFFFF;
  --forge-card: #FFFFFF;
  --forge-border: rgba(0, 0, 0, 0.06);
  --forge-text: #1C1C1E;
  --forge-secondary: #6E6E73;
  --forge-tertiary: #AEAEB2;
  --max-width: 1120px;
  --nav-height: 64px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', sans-serif;
  background: var(--forge-bg);
  color: var(--forge-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* ============================================ */
/* Navigation                                   */
/* ============================================ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 242, 247, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--forge-border);
  height: var(--nav-height);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--forge-text);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo-icon {
  border-radius: 8px;
}

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

.nav-links a {
  color: var(--forge-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--forge-text);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.nav-cta:hover { background: #333; }
.nav-cta svg { flex-shrink: 0; }

/* ============================================ */
/* Hero Section                                 */
/* ============================================ */
.hero {
  padding: 60px 24px 80px;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--forge-text);
}

.gradient-text {
  background: linear-gradient(135deg, var(--forge-warming) 0%, var(--forge-accent) 50%, var(--forge-blazing) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: 1.2rem;
  color: var(--forge-secondary);
  max-width: 460px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--forge-text);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 14px;
  transition: background 0.2s, transform 0.2s;
}

.app-store-btn:hover {
  background: #333;
  transform: translateY(-1px);
}

.app-store-btn svg { flex-shrink: 0; }

.app-store-btn-lg {
  font-size: 1.1rem;
  padding: 16px 36px;
  border-radius: 16px;
}

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

/* ============================================ */
/* Phone Mockup                                 */
/* ============================================ */
.phone-mockup {
  width: 280px;
  border-radius: 40px;
  border: 6px solid #1C1C1E;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.06);
  background: #1C1C1E;
}

.phone-mockup img {
  width: 100%;
  display: block;
  border-radius: 34px;
}

/* ============================================ */
/* Section Shared Styles                        */
/* ============================================ */
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--forge-accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 56px;
  max-width: 560px;
}

/* ============================================ */
/* Momentum Section (Dark BG)                   */
/* ============================================ */
.momentum-section {
  background: #1C1C1E;
  color: #fff;
  padding: 100px 24px;
  overflow: hidden;
}

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

.momentum-content {
  flex: 1;
  min-width: 0;
}

.momentum-section .section-tag {
  color: var(--forge-warming);
}

.momentum-section h2 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.15;
}

.momentum-section p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 40px;
}

.tier-progression {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.tier-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tier-color);
  box-shadow: 0 0 20px color-mix(in srgb, var(--tier-color) 40%, transparent);
}

.tier span {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tier-arrow {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  margin: 0 2px;
  padding-bottom: 24px;
}

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

.momentum-section .phone-mockup {
  border-color: #333;
  background: #333;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(255, 111, 0, 0.06);
}

.momentum-section .phone-mockup img {
  border-radius: 34px;
}

/* ============================================ */
/* Features Section                             */
/* ============================================ */
.features-section {
  padding: 100px 24px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 80px;
}

.feature-row:last-child { margin-bottom: 0; }

.feature-row-reverse { flex-direction: row-reverse; }

.feature-text {
  flex: 1;
  min-width: 0;
}

.feature-text h3 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.feature-text p {
  font-size: 1.05rem;
  color: var(--forge-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  font-size: 0.95rem;
  color: var(--forge-text);
  padding-left: 24px;
  position: relative;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--forge-accent);
}

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

/* ============================================ */
/* How It Works                                 */
/* ============================================ */
.how-section {
  padding: 100px 24px;
  background: var(--forge-surface);
}

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

.step {
  text-align: center;
  padding: 40px 24px;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--forge-warming), var(--forge-accent));
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step p {
  font-size: 0.95rem;
  color: var(--forge-secondary);
  line-height: 1.6;
}

/* ============================================ */
/* Pricing Section                              */
/* ============================================ */
.pricing-section {
  padding: 100px 24px;
}

.pricing-section .section-title {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 100%;
}

.pricing-section .section-tag {
  display: block;
  text-align: center;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--forge-surface);
  border: 1px solid var(--forge-border);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  text-align: center;
}

.pricing-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--forge-secondary);
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--forge-secondary);
}

.price-period {
  font-size: 0.85rem;
  color: var(--forge-tertiary);
  margin-bottom: 28px;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--forge-text);
}

.pricing-card li svg { flex-shrink: 0; }

.pricing-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  background: var(--forge-bg);
  color: var(--forge-text);
  transition: background 0.2s;
}

.pricing-btn:hover { background: #E5E5EA; }

.pricing-btn-pro {
  background: var(--forge-accent);
  color: #fff;
}

.pricing-btn-pro:hover { background: var(--forge-accent-hover); }

.pricing-card-pro {
  border: 2px solid var(--forge-accent);
  box-shadow: 0 8px 40px rgba(255, 111, 0, 0.1);
}

.pro-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--forge-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.pricing-note {
  font-size: 0.8rem;
  color: var(--forge-tertiary);
  margin-top: 12px;
}

/* ============================================ */
/* Final CTA                                    */
/* ============================================ */
.cta-section {
  padding: 100px 24px;
  background: var(--forge-surface);
  text-align: center;
}

.cta-section h2 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--forge-warming) 0%, var(--forge-accent) 50%, var(--forge-blazing) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-section p {
  font-size: 1.15rem;
  color: var(--forge-secondary);
  margin-bottom: 36px;
}

/* ============================================ */
/* Footer                                       */
/* ============================================ */
footer {
  border-top: 1px solid var(--forge-border);
  padding: 40px 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-icon { border-radius: 10px; }

.footer-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--forge-text);
}

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

.footer-links a {
  color: var(--forge-secondary);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--forge-text); }

.copyright {
  font-size: 0.8rem;
  color: var(--forge-tertiary);
}

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

.animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children in steps and pricing */
.steps .animate:nth-child(1) { transition-delay: 0s; }
.steps .animate:nth-child(2) { transition-delay: 0.12s; }
.steps .animate:nth-child(3) { transition-delay: 0.24s; }

.pricing-cards .animate:nth-child(1) { transition-delay: 0s; }
.pricing-cards .animate:nth-child(2) { transition-delay: 0.15s; }

.hero-text .animate:nth-child(1) { transition-delay: 0s; }
.hero-text .animate:nth-child(2) { transition-delay: 0.1s; }
.hero-text .animate:nth-child(3) { transition-delay: 0.2s; }

.hero-phone.animate { transition-delay: 0.15s; }

/* ============================================ */
/* Legal Pages                                  */
/* ============================================ */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal-page h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  color: var(--forge-text);
}

.legal-page .last-updated {
  font-size: 0.875rem;
  color: var(--forge-secondary);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--forge-accent);
}

.legal-page h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--forge-text);
}

.legal-page p {
  margin-bottom: 14px;
  color: var(--forge-text);
  line-height: 1.7;
}

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

.legal-page li {
  margin-bottom: 6px;
  color: rgba(28, 28, 30, 0.8);
}

.legal-page a {
  color: var(--forge-accent);
}

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

.legal-page .highlight-box {
  background: var(--forge-bg);
  border: 1px solid var(--forge-border);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}

.legal-page .highlight-box.warning {
  border-color: var(--forge-accent);
  background: var(--forge-accent-light);
}

/* Support Page */
.support-card {
  background: var(--forge-card);
  border: 1px solid var(--forge-border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
}

.support-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--forge-text);
}

.support-card p {
  color: var(--forge-secondary);
  font-size: 0.95rem;
}

.support-card a {
  color: var(--forge-accent);
  font-weight: 500;
}

.support-card a:hover { text-decoration: underline; }

.faq-item {
  border-bottom: 1px solid var(--forge-border);
  padding: 20px 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--forge-text);
}

.faq-item p {
  color: var(--forge-secondary);
  font-size: 0.925rem;
}

/* ============================================ */
/* Responsive — Mobile First Overrides          */
/* ============================================ */
@media (max-width: 1023px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 48px;
  }

  .hero .subtitle { margin-left: auto; margin-right: auto; }

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

  .momentum-section .section-inner {
    flex-direction: column;
    text-align: center;
    gap: 48px;
  }

  .momentum-section p { margin-left: auto; margin-right: auto; }

  .tier-progression { justify-content: center; }

  .feature-row,
  .feature-row-reverse {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .feature-text { order: 1; }
  .feature-phone { order: 2; }

  .feature-list { align-items: center; }
  .feature-list li { padding-left: 24px; }
}

@media (max-width: 639px) {
  .hero { padding: 40px 20px 60px; }
  .hero h1 { font-size: 2rem; }
  .hero .subtitle { font-size: 1.05rem; }

  .section-title { font-size: 1.75rem; margin-bottom: 40px; }

  .momentum-section { padding: 60px 20px; }
  .momentum-section h2 { font-size: 1.75rem; }
  .momentum-section p { font-size: 1rem; }

  .features-section { padding: 60px 20px; }
  .feature-row { gap: 32px; margin-bottom: 60px; }
  .feature-text h3 { font-size: 1.4rem; }

  .phone-mockup { width: 220px; border-radius: 32px; border-width: 5px; }
  .phone-mockup img { border-radius: 27px; }

  .how-section { padding: 60px 20px; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .step { padding: 32px 20px; }

  .pricing-section { padding: 60px 20px; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 400px; }
  .pricing-card { padding: 32px 24px; }

  .cta-section { padding: 60px 20px; }
  .cta-section h2 { font-size: 1.75rem; }

  .nav-cta { display: none; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 0.8rem; }

  .footer-top { flex-direction: column; gap: 20px; align-items: flex-start; }
  .footer-links { gap: 16px; }

  .tier-progression { gap: 4px; }
  .tier-dot { width: 28px; height: 28px; }
  .tier span { font-size: 0.6rem; }
  .tier-arrow { font-size: 0.75rem; padding-bottom: 20px; }
}
