/* ═══════════════════════════════════════════════════════════════
   BundlesApp Landing Page — Modern Navy + Blue Brand
   ═══════════════════════════════════════════════════════════════ */

:root {
  --navy: #0f1b2d;
  --navy-mid: #162337;
  --navy-light: #1e3050;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --blue-glow: rgba(37, 99, 235, 0.25);
  --silver: #c0c7d0;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --green: #22c55e;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
  --shadow-blue: 0 8px 32px rgba(37, 99, 235, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ── Header ──────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 27, 45, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

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

.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-400);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-sm { font-size: 14px; padding: 10px 22px; }
.btn-lg { font-size: 16px; padding: 16px 36px; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.4);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}
.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2);
}

.btn-block { width: 100%; }

/* ── Hero ────────────────────────────────── */
.hero {
  padding: 160px 0 100px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: var(--blue-light);
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue-light) 0%, #a78bfa 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-trust {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust .check {
  color: var(--green);
  font-weight: 700;
}

/* ── Widget Preview ──────────────────────── */
.widget-preview {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
  max-width: 400px;
  margin-left: auto;
  position: relative;
}

.widget-preview::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(167, 139, 250, 0.1), rgba(37, 99, 235, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.widget-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.widget-line { flex: 1; height: 2px; background: var(--gray-200); }
.widget-title {
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue);
  white-space: nowrap;
}

.widget-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}
.widget-bar-selected {
  border-color: var(--blue);
  background: rgba(37, 99, 235, 0.03);
  box-shadow: 0 0 0 1px var(--blue);
}

.widget-radio {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.widget-radio-active { border-color: var(--blue); }
.widget-radio-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blue);
}

.widget-bar-content { flex: 1; min-width: 0; }
.widget-bar-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--gray-800);
  display: inline;
}
.widget-bar-sub {
  font-size: 11px;
  color: var(--gray-400);
  display: block;
  margin-top: 2px;
}
.widget-save-pill {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--blue);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.widget-bar-price {
  font-weight: 700;
  font-size: 15px;
  color: var(--gray-800);
  flex-shrink: 0;
}
.widget-bar-price-group { text-align: right; flex-shrink: 0; }
.widget-bar-price-group .widget-bar-price { display: block; }
.widget-bar-original {
  font-size: 11px;
  color: var(--gray-400);
  text-decoration: line-through;
}

.widget-badge {
  position: absolute;
  top: -12px;
  right: 14px;
  background: linear-gradient(135deg, var(--blue), #7c3aed);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  font-style: italic;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  letter-spacing: 0.3px;
}

/* ── Section Headers ─────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--gray-900);
  margin-bottom: 16px;
}
.section-header p {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Features ────────────────────────────── */
.features {
  padding: 120px 0;
  background: var(--white);
}

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

.feature-card {
  padding: 36px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #7c3aed);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-icon-blue { background: rgba(37, 99, 235, 0.08); }
.feature-icon-purple { background: rgba(124, 58, 237, 0.08); }
.feature-icon-green { background: rgba(34, 197, 94, 0.08); }
.feature-icon-amber { background: rgba(245, 158, 11, 0.08); }
.feature-icon-rose { background: rgba(244, 63, 94, 0.08); }
.feature-icon-teal { background: rgba(20, 184, 166, 0.08); }

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray-800);
}

.feature-card p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ── How It Works ────────────────────────── */
.how-it-works {
  padding: 120px 0;
  background: var(--gray-50);
}

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

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--gray-200), var(--blue), var(--gray-200));
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue);
  color: var(--blue);
  font-weight: 800;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray-800);
}

.step p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}

.step-arrow { display: none; }

/* ── Pricing ─────────────────────────────── */
.pricing {
  padding: 120px 0;
  background: var(--white);
}

.pricing-card {
  padding: 44px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 440px;
  margin: 0 auto;
}

.pricing-card-featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 20px 60px rgba(37, 99, 235, 0.12);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue), #7c3aed);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 22px;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.pricing-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 8px;
  margin-top: 8px;
}

.pricing-price {
  font-size: 56px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
  letter-spacing: -2px;
}
.pricing-price span {
  font-size: 18px;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 0;
}

.pricing-subtitle {
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 32px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 36px;
  flex: 1;
}
.pricing-features li {
  font-size: 15px;
  color: var(--gray-600);
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-features li .check-icon {
  color: var(--green);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

/* ── FAQ ──────────────────────────────────── */
.faq {
  padding: 120px 0;
  background: var(--gray-50);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--white);
  overflow: hidden;
  transition: all 0.2s;
}
.faq-item:hover {
  border-color: var(--gray-300);
}
.faq-item[open] {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.faq-item summary {
  padding: 22px 28px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  color: var(--gray-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--gray-400);
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: "\2212";
  color: var(--blue);
}
.faq-item[open] summary { color: var(--blue); }

.faq-item p {
  padding: 0 28px 24px;
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.8;
}

/* ── CTA ─────────────────────────────────── */
.cta {
  padding: 100px 0;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
}
.cta h2 {
  font-size: 44px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -1.5px;
}
.cta p {
  font-size: 18px;
  color: var(--gray-400);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ── Footer ──────────────────────────────── */
.footer {
  padding: 80px 0 0;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand { max-width: 300px; }
.footer-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  vertical-align: middle;
  margin-right: 10px;
}
.footer-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  vertical-align: middle;
}
.footer-desc {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 16px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--gray-500);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-bottom p {
  font-size: 13px;
  color: var(--gray-500);
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 120px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero h1 { font-size: 36px; letter-spacing: -1px; }
  .hero-sub { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }
  .hero-trust { justify-content: center; }
  .widget-preview { margin: 0 auto; }
  .section-header h2 { font-size: 30px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps::before { display: none; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }
  .cta h2 { font-size: 30px; }
}

/* ── Legal pages ─────────────────────────── */
.legal { padding: 140px 0 80px; }
.legal h1 { font-size: 36px; font-weight: 800; margin-bottom: 8px; color: var(--gray-900); }
.legal .updated { font-size: 14px; color: var(--gray-400); margin-bottom: 40px; }
.legal h2 { font-size: 22px; font-weight: 700; margin: 36px 0 12px; color: var(--gray-800); }
.legal p, .legal li { font-size: 15px; color: var(--gray-500); line-height: 1.8; margin-bottom: 12px; }
.legal ul { padding-left: 24px; margin-bottom: 16px; }
.legal a { color: var(--blue); }
