/* ─── Forge Color Palette (matched from app) ─── */
:root {
  --orange: #E8590C;
  --orange-light: #FF8A4C;
  --orange-muted: #FFF0E6;
  --charcoal: #1A1A2E;
  --charcoal-light: #2D2D44;
  --steel: #4A4A6A;
  --steel-light: #8888A8;
  --slate: #B0B0C8;
  --background: #F5F5F8;
  --surface: #FFFFFF;
  --surface-secondary: #EEEEF2;
  --urgent: #DC2626;
  --urgent-light: #FEE2E2;
  --success: #16A34A;
  --success-light: #DCFCE7;
  --text: #1A1A2E;
  --text-secondary: #6B6B8A;
  --text-muted: #9CA3AF;
  --border: #E5E5EC;
  --border-light: #F0F0F5;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

/* ─── Navbar ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--steel);
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--charcoal);
  background: var(--background);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.dropdown-arrow {
  transition: transform 0.2s;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 8px;
  min-width: 280px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: all 0.2s ease;
  list-style: none;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  transition: background 0.15s;
}

.dropdown-item:hover {
  background: var(--background);
}

.dropdown-icon {
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-muted);
  border-radius: 10px;
  flex-shrink: 0;
}

.dropdown-item-title {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--charcoal);
}

.dropdown-item-desc {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}

/* Mobile nav toggle */
.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(--charcoal);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-light) 100%);
  color: #fff;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--orange);
  top: -200px;
  right: -100px;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--orange-light);
  bottom: -150px;
  left: -100px;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--orange);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.highlight {
  color: var(--orange);
}

.hero-subtitle {
  font-size: 20px;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--orange);
}

.stat-label {
  font-size: 13px;
  color: var(--slate);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

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

.btn-primary:hover {
  background: #d14e08;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(232, 89, 12, 0.3);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

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

.btn-white {
  background: #fff;
  color: var(--charcoal);
}

.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-white-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-white-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* ─── Section Headers ─── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  background: var(--orange-muted);
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ─── Products Section ─── */
.products {
  padding: 100px 0;
  background: var(--background);
}

.product-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.product-card {
  display: block;
  background: var(--surface);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border-color: var(--orange);
}

.product-card-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.product-card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.product-card-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.product-features {
  list-style: none;
  margin-bottom: 24px;
}

.product-features li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--steel);
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.product-card-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--orange);
  transition: gap 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.product-card:hover .product-card-link {
  gap: 8px;
}

/* Instant card accent */
.product-card-instant {
  border-top: 3px solid var(--urgent);
}

/* ISO card accent */
.product-card-iso {
  border-top: 3px solid var(--orange);
}

/* ─── How It Works ─── */
.how-it-works {
  padding: 100px 0;
}

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

.step-card {
  text-align: center;
  padding: 32px 20px;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--orange-muted);
  color: var(--orange);
  font-size: 20px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── CTA Section ─── */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-light) 100%);
}

.cta-content {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.cta-title {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 18px;
  color: var(--slate);
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* ─── Footer ─── */
.footer {
  padding: 60px 0 32px;
  background: var(--charcoal);
  color: var(--slate);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.footer-tagline {
  font-size: 14px;
  color: var(--steel-light);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-heading {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.footer-links a {
  font-size: 14px;
  color: var(--steel-light);
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--steel);
}

/* ─── Product Card Badge ─── */
.product-card-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  background: var(--orange-muted);
  border-radius: 16px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ─── Who It's For ─── */
.who-its-for {
  padding: 100px 0;
  background: var(--surface);
}

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

.audience-card {
  background: var(--background);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--border-light);
}

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

.audience-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.audience-list {
  list-style: none;
}

.audience-list li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
}

.audience-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* ─── Why Forge ─── */
.why-forge {
  padding: 100px 0;
  background: var(--background);
}

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

.why-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.2s ease;
}

.why-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.why-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── Contact ─── */
.contact {
  padding: 80px 0;
  background: var(--surface);
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 32px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px 40px;
  background: var(--background);
  border-radius: 16px;
  border: 1px solid var(--border-light);
  flex: 1;
  text-align: center;
  transition: all 0.2s ease;
}

.contact-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.contact-icon {
  font-size: 28px;
}

.contact-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
}

.contact-detail {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ─── Scroll Animations ─── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

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

  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    opacity: 1;
    visibility: visible;
    display: none;
    min-width: auto;
  }

  .nav-dropdown.open .dropdown-menu {
    display: block;
  }

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

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

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

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .product-cards {
    grid-template-columns: 1fr;
  }

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

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

  .cta-title {
    font-size: 30px;
  }

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

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

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

  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .contact-info {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 130px 0 70px;
  }

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

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

  .product-card {
    padding: 28px;
  }

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