/* ═══════════════════════════════════════════════════════════════════════
   Book Experts LLC — Amazon-Inspired Theme
   Primary: Amazon Yellow #FF9900  |  Black #131921  |  White #FFFFFF
═══════════════════════════════════════════════════════════════════════ */

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

:root {
  /* ── Amazon palette ── */
  --amz-yellow:     #FF9900;
  --amz-yellow-dk:  #e47911;
  --amz-yellow-lt:  #FFD580;
  --amz-yellow-bg:  #FFF8EE;
  --amz-black:      #131921;
  --amz-dark:       #232F3E;
  --amz-mid:        #37475A;
  --amz-link:       #007185;
  --amz-link-hover: #C7511F;

  /* ── Legacy aliases (keep existing code working) ── */
  --navy-950:  #0a0f15;
  --navy-900:  #131921;
  --navy-800:  #1a2332;
  --navy-700:  #232F3E;
  --navy-600:  #37475A;
  --navy-500:  #4a5d73;
  --gold-600:  #e47911;
  --gold-500:  #FF9900;
  --gold-400:  #FFB347;
  --gold-300:  #FFD580;
  --gold-100:  #FFF8EE;
  --cream-200: #f0f0f0;
  --cream-100: #f6f6f6;
  --white:     #ffffff;
  --gray-50:   #f9f9f9;
  --gray-100:  #f0f2f2;
  --gray-200:  #ddd;
  --gray-300:  #ccc;
  --gray-400:  #999;
  --gray-500:  #767676;
  --gray-600:  #555;
  --gray-700:  #333;
  --gray-900:  #111;
  --green-500: #067D62;
  --green-100: #E6F4F1;
  --green-700: #045C47;
  --red-500:   #CC0C39;
  --red-100:   #FCEAEA;
  --red-700:   #9A0933;
  --blue-100:  #E8F0FE;
  --blue-600:  #007185;
  --purple-100:#F3E8FF;
  --purple-600:#6B21A8;

  --font-display: 'Amazon Ember', 'Inter', Arial, sans-serif;
  --font-body:    'Inter', Arial, system-ui, sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --radius-full:9999px;

  --shadow-sm:    0 1px 2px rgba(0,0,0,.1);
  --shadow-md:    0 2px 8px rgba(0,0,0,.12);
  --shadow-lg:    0 4px 20px rgba(0,0,0,.15);
  --shadow-gold:  0 2px 8px rgba(255,153,0,.35);
  --shadow-input: 0 0 0 3px rgba(255,153,0,.3);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--amz-black); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4,h5 { font-family: var(--font-display); line-height: 1.2; }
a { text-decoration: none; color: var(--amz-link); }
a:hover { color: var(--amz-link-hover); text-decoration: underline; }
img { max-width: 100%; display: block; }
input, select, textarea, button { font-family: inherit; }
ul { list-style: none; }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section    { padding: 64px 0; }
.section-sm { padding: 48px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.text-center { text-align: center; }

/* ── TOPBAR ── */
.topbar { background: var(--amz-black); padding: 6px 0; font-size: 12px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; }
.topbar-left  { display: flex; gap: 20px; }
.topbar-left a, .topbar-right { color: #ccc; }
.topbar-left a { display: flex; align-items: center; gap: 5px; transition: color .2s; }
.topbar-left a:hover { color: var(--amz-yellow); text-decoration: none; }
.topbar-left a i { font-size: 11px; }

/* ── NAVBAR ── */
.navbar { background: var(--amz-dark); position: sticky; top: 0; z-index: 100; transition: box-shadow .3s; }
.navbar.scrolled { box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 24px; }
.navbar-brand { display: flex; align-items: center; gap: 8px; }
.brand-icon { width: 34px; height: 34px; background: var(--amz-yellow); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--amz-black); font-size: 16px; }
.brand-name { display: block; font-weight: 700; color: #fff; font-size: 17px; line-height: 1; }
.brand-llc  { display: block; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amz-yellow); line-height: 1; margin-top: 2px; }
.nav-links  { display: flex; align-items: center; gap: 24px; }
.nav-links a { font-size: 13px; font-weight: 500; color: #fff; transition: color .2s; }
.nav-links a:hover { color: var(--amz-yellow); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 20px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border-radius: var(--radius-md); font-size: 14px; font-weight: 600; cursor: pointer; border: 1px solid transparent; transition: all .15s; text-decoration: none; }
.btn:hover { text-decoration: none; }

/* Amazon-style primary — yellow with gradient + border */
.btn-primary {
  background: linear-gradient(to bottom, #FFD000, #FF9900);
  color: var(--amz-black);
  border: 1px solid #FF8C00;
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.btn-primary:hover { background: linear-gradient(to bottom, #FFD700,#FFB300); color: var(--amz-black); transform: none; box-shadow: 0 2px 5px rgba(0,0,0,.25); }
.btn-primary:active { background: var(--amz-yellow); }
.btn-lg { padding: 12px 28px; font-size: 15px; }

.btn-secondary { background: #fff; color: var(--amz-black); border: 1px solid #D5D9D9; box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.btn-secondary:hover { background: #f7f8f8; color: var(--amz-black); border-color: #aab; }

.btn-ghost { background: transparent; color: var(--gray-600); border: 1px solid transparent; }
.btn-ghost:hover { background: var(--gray-100); color: var(--amz-black); border-color: var(--gray-200); }

.btn-dark { background: var(--amz-dark); color: #fff; border: 1px solid #555; }
.btn-dark:hover { background: var(--amz-mid); color: #fff; }

.btn-white { background: #fff; color: var(--amz-black); border: 1px solid #D5D9D9; }
.btn-outline-white { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); }

.btn-danger { background: var(--red-500); color: #fff; border-color: #a00; }
.btn-danger:hover { background: var(--red-700); }

.btn:disabled, .btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ── FORMS ── */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--amz-black); margin-bottom: 5px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 10px 14px; border: 1px solid #888;
  border-radius: var(--radius-md); font-size: 14px; color: var(--amz-black);
  background: #fff; transition: border-color .15s, box-shadow .15s; outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--amz-yellow); box-shadow: var(--shadow-input);
}
.form-textarea { resize: vertical; min-height: 90px; }
.form-hint  { font-size: 12px; color: var(--gray-400); margin-top: 4px; }
.form-error { font-size: 12px; color: var(--red-500); margin-top: 4px; }

/* ── CARDS ── */
.card { background: #fff; border: 1px solid #DDD; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.card:hover { box-shadow: var(--shadow-md); }
.card-body { padding: 24px; }

/* ── SECTION HEADERS ── */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amz-yellow-dk); margin-bottom: 10px; }
.eyebrow::before,.eyebrow::after { content:''; display:block; width:24px; height:2px; background:var(--amz-yellow); border-radius:2px; }
.section-title { font-size: clamp(24px,3.5vw,38px); font-weight: 700; color: var(--amz-black); margin-bottom: 12px; }
.section-title-light { color: #fff; }
.section-subtitle { font-size: 15px; color: var(--gray-500); line-height: 1.7; max-width: 580px; }
.gold-text { color: var(--amz-yellow); }
.divider-gold { width: 40px; height: 3px; background: var(--amz-yellow); border-radius: 2px; margin: 0 auto 20px; }

/* ── BADGES ── */
.badge { display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px; border-radius: var(--radius-sm); font-size: 11px; font-weight: 700; }
.badge-gray   { background: #f0f0f0; color: #555; }
.badge-blue   { background: #e8f0fe; color: #1a73e8; }
.badge-green  { background: var(--green-100); color: var(--green-700); }
.badge-red    { background: var(--red-100); color: var(--red-700); }
.badge-purple { background: var(--purple-100); color: var(--purple-600); }
.badge-indigo { background: #e0e7ff; color: #4338ca; }
.badge-pink   { background: #fce7f3; color: #be185d; }
.badge-orange { background: #fff0d4; color: var(--amz-yellow-dk); }
.badge-yellow { background: var(--amz-yellow-bg); color: var(--amz-yellow-dk); }
.badge-gold   { background: var(--amz-yellow-bg); color: var(--amz-yellow-dk); }

/* ── ALERTS ── */
.alert { padding: 12px 16px; border-radius: var(--radius-md); font-size: 13px; margin-bottom: 18px; display: flex; align-items: flex-start; gap: 9px; border-left: 4px solid; }
.alert-success { background: var(--green-100); color: var(--green-700); border-color: var(--green-500); }
.alert-error   { background: var(--red-100);   color: var(--red-700);   border-color: var(--red-500); }
.alert-info    { background: #E8F4FD;           color: #0073a8;          border-color: var(--amz-link); }
.alert-warning { background: var(--amz-yellow-bg); color: #7B4F00; border-color: var(--amz-yellow); }

/* ═══════════════════════════════════════════════════════════════════════
   LANDING PAGE
═══════════════════════════════════════════════════════════════════════ */

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--amz-black) 0%, var(--amz-dark) 60%, var(--amz-mid) 100%);
  padding: 72px 0 88px; position: relative; overflow: hidden;
}
.hero::after {
  content:''; position:absolute; bottom:0; left:0; right:0; height:50px;
  background:#fff; clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--amz-yellow); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.hero-title { font-size: clamp(28px,4vw,50px); font-weight: 800; color: #fff; margin-bottom: 18px; line-height: 1.08; }
.hero-title .gold-text { color: var(--amz-yellow); }
.hero-desc { color: #ccc; font-size: 16px; line-height: 1.7; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.trust-item { display: flex; align-items: center; gap: 9px; }
.trust-icon { width: 32px; height: 32px; background: rgba(255,153,0,.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--amz-yellow); font-size: 13px; flex-shrink: 0; }
.trust-label { font-size: 12px; font-weight: 700; color: #fff; line-height: 1.2; }
.trust-sub   { font-size: 11px; color: #aaa; }

/* Hero form */
.hero-form-card { background: #fff; border-radius: var(--radius-xl); box-shadow: 0 16px 48px rgba(0,0,0,.3); padding: 32px; border: 1px solid #ddd; }
.form-card-header { text-align: center; margin-bottom: 20px; }
.form-card-icon { width: 44px; height: 44px; background: var(--amz-yellow-bg); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--amz-yellow-dk); font-size: 20px; margin: 0 auto 10px; }
.form-card-header h2 { font-size: 20px; color: var(--amz-black); margin-bottom: 4px; }
.form-card-header p  { font-size: 13px; color: var(--gray-500); }

/* STATS BAR */
.stats-bar { background: var(--amz-yellow); padding: 28px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; text-align: center; }
.stat-value { font-size: 30px; font-weight: 800; color: var(--amz-black); }
.stat-label { font-size: 12px; font-weight: 600; color: var(--amz-black); margin-top: 3px; opacity: .8; }

/* SERVICES */
.services { background: var(--gray-50); }
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 48px; }
.service-card { background: #fff; border: 1px solid #ddd; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); transition: all .25s; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--amz-yellow); }
.service-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 14px; }
.service-card h3 { font-size: 15px; font-weight: 700; color: var(--amz-black); margin-bottom: 6px; }
.service-card p  { font-size: 13px; color: var(--gray-500); line-height: 1.6; }
.si-blue   { background:#e8f0fe; color:#1a73e8; }
.si-purple { background:#f3e8ff; color:#7c3aed; }
.si-green  { background:var(--green-100); color:var(--green-700); }
.si-orange { background:var(--amz-yellow-bg); color:var(--amz-yellow-dk); }
.si-red    { background:var(--red-100); color:var(--red-700); }
.si-teal   { background:#ccfbf1; color:#0d9488; }
.si-pink   { background:#fce7f3; color:#db2777; }
.si-indigo { background:#e0e7ff; color:#4f46e5; }

/* PACKAGES */
.packages { background: #fff; }
.packages-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.package-card { border: 1px solid #ddd; border-radius: var(--radius-xl); overflow: hidden; transition: all .25s; position: relative; }
.package-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.package-card.featured { border: 2px solid var(--amz-yellow); box-shadow: 0 4px 16px rgba(255,153,0,.2); }
.pkg-badge { position: absolute; top: 0; right: 0; background: var(--amz-yellow); color: var(--amz-black); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 4px 12px; }
.pkg-badge.badge-dark { background: var(--amz-dark); color: #fff; }
.pkg-header { padding: 28px 24px 20px; }
.pkg-header.featured-header { background: var(--amz-black); }
.pkg-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; margin-bottom: 14px; }
.pkg-icon.dark-icon { background: rgba(255,153,0,.2); color: var(--amz-yellow); }
.pkg-icon.light-icon { background: var(--amz-yellow-bg); color: var(--amz-yellow-dk); }
.pkg-name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.pkg-tagline { font-size: 12px; color: var(--gray-500); margin-bottom: 14px; }
.pkg-header.featured-header .pkg-name    { color: #fff; }
.pkg-header.featured-header .pkg-tagline { color: #aaa; }
.pkg-price { display: flex; align-items: flex-end; gap: 3px; }
.pkg-price-amount { font-size: 44px; font-weight: 800; color: var(--amz-black); line-height: 1; }
.pkg-header.featured-header .pkg-price-amount { color: var(--amz-yellow); }
.pkg-price-period { font-size: 12px; color: var(--gray-400); padding-bottom: 7px; }
.pkg-body { padding: 20px 24px 24px; background: #fff; }
.pkg-features { margin-bottom: 20px; }
.pkg-feature { display: flex; align-items: flex-start; gap: 8px; padding: 4px 0; font-size: 13px; color: var(--gray-700); }
.pkg-feature i { color: var(--green-500); margin-top: 2px; font-size: 11px; flex-shrink: 0; }
.pkg-btn { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; padding: 11px; border-radius: var(--radius-md); font-weight: 700; font-size: 14px; cursor: pointer; transition: all .15s; text-decoration: none; }
.pkg-btn-primary { background: linear-gradient(to bottom,#FFD000,#FF9900); color: var(--amz-black); border: 1px solid #FF8C00; }
.pkg-btn-primary:hover { background: linear-gradient(to bottom,#FFD700,#FFB300); }
.pkg-btn-dark    { background: var(--amz-dark); color: #fff; border: 1px solid #555; }
.pkg-btn-dark:hover { background: var(--amz-mid); }

/* Compare table */
.compare-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.compare-table th { padding: 12px 14px; text-align: left; background: var(--amz-black); color: #fff; font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.compare-table th.featured-col { background: rgba(255,153,0,.1); color: var(--amz-yellow); }
.compare-table td { padding: 10px 14px; border-bottom: 1px solid var(--gray-100); color: var(--gray-700); }
.compare-table tr:nth-child(even) td { background: var(--gray-50); }
.compare-table td.featured-col { background: rgba(255,153,0,.04); border-left: 1px solid rgba(255,153,0,.15); border-right: 1px solid rgba(255,153,0,.15); }
.compare-table td.center { text-align: center; }

/* PROCESS */
.process { background: var(--amz-black); padding: 72px 0; }
.process-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 20px; margin-top: 48px; position: relative; }
.process-grid::before { content:''; position:absolute; top:40px; left:10%; right:10%; height:1px; background:var(--amz-mid); }
.process-step { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 1; }
.step-circle { width: 80px; height: 80px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 18px; gap: 3px; }
.step-circle i  { font-size: 24px; color: #fff; }
.step-num   { font-size: 10px; font-weight: 800; color: rgba(255,255,255,.6); letter-spacing: .1em; }
.step-title { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.step-desc  { font-size: 11px; color: #888; line-height: 1.6; }

/* TESTIMONIALS */
.testimonials { background: var(--gray-50); }
.rating-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: var(--radius-full); padding: 8px 18px; box-shadow: var(--shadow-md); margin-top: 16px; font-size: 13px; border: 1px solid #eee; }
.stars { color: var(--amz-yellow); letter-spacing: 1px; }
.rating-num  { font-weight: 800; color: var(--amz-black); }
.rating-text { color: var(--gray-500); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px; }
.testimonial-card { background: #fff; border: 1px solid #ddd; border-radius: var(--radius-xl); padding: 24px; box-shadow: var(--shadow-sm); transition: all .25s; }
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.testimonial-card.featured { border: 2px solid var(--amz-yellow); }
.t-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.t-stars { color: var(--amz-yellow); font-size: 12px; letter-spacing: 1px; }
.t-text  { font-size: 13px; color: var(--gray-700); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.t-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--gray-100); padding-top: 12px; }
.t-name  { font-weight: 700; font-size: 13px; color: var(--amz-black); }
.t-title-text { font-size: 11px; color: var(--gray-400); }
.t-pkg-badge { background: var(--amz-yellow-bg); color: var(--amz-yellow-dk); font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: var(--radius-sm); }

/* FAQ */
.faq { background: #fff; }
.faq-list { max-width: 720px; margin: 40px auto 0; }
.faq-item { border: 1px solid #ddd; border-radius: var(--radius-md); margin-bottom: 8px; overflow: hidden; }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--amz-black); background: #fff; transition: background .15s; user-select: none; }
.faq-question:hover { background: var(--gray-50); }
.faq-icon { width: 20px; height: 20px; border-radius: 50%; background: var(--amz-yellow-bg); display: flex; align-items: center; justify-content: center; color: var(--amz-yellow-dk); font-size: 10px; transition: all .25s; flex-shrink: 0; }
.faq-item.open .faq-icon { background: var(--amz-yellow); color: var(--amz-black); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner { padding: 0 20px 16px; font-size: 13px; color: var(--gray-600); line-height: 1.75; border-top: 1px solid var(--gray-100); padding-top: 12px; }

/* CTA */
.cta-section { background: linear-gradient(135deg,var(--amz-black),var(--amz-dark)); padding: 72px 0; text-align: center; position: relative; overflow: hidden; }
.cta-icon { width: 56px; height: 56px; background: rgba(255,153,0,.15); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--amz-yellow); font-size: 24px; margin: 0 auto 20px; }
.cta-section h2 { font-size: clamp(24px,3.5vw,38px); color: #fff; margin-bottom: 14px; }
.cta-section p  { color: #aaa; font-size: 16px; margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-note { color: #666; font-size: 12px; margin-top: 18px; }

/* FOOTER */
.footer { background: var(--amz-black); color: #aaa; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.footer-brand p { font-size: 12px; line-height: 1.7; margin-bottom: 14px; }
.footer-contact { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.footer-contact a { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #aaa; transition: color .2s; }
.footer-contact a:hover { color: var(--amz-yellow); text-decoration: none; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 30px; height: 30px; border-radius: 6px; background: var(--amz-mid); display: flex; align-items: center; justify-content: center; font-size: 12px; color: #aaa; transition: all .2s; }
.footer-social a:hover { background: var(--amz-yellow); color: var(--amz-black); text-decoration: none; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 12px; color: #aaa; transition: color .2s; }
.footer-col ul li a:hover { color: var(--amz-yellow); text-decoration: none; }
.footer-divider { border: none; border-top: 1px solid var(--amz-mid); margin: 40px 0 20px; }
.footer-disclaimer { font-size: 11px; color: #666; text-align: center; line-height: 1.6; margin-bottom: 16px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-bottom: 24px; font-size: 11px; color: #555; }
.footer-links { display: flex; gap: 12px; align-items: center; }
.footer-links a { color: #555; transition: color .2s; }
.footer-links a:hover { color: var(--amz-yellow); text-decoration: none; }

/* ═══════════════════════════════════════════════════════════════════════
   AUTH PAGES
═══════════════════════════════════════════════════════════════════════ */
.auth-page { min-height: 100vh; background: var(--gray-50); display: flex; align-items: center; justify-content: center; padding: 40px 16px; }
.auth-card { background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: 36px; width: 100%; max-width: 480px; border: 1px solid #ddd; }
.auth-logo { display: flex; align-items: center; justify-content: center; gap: 9px; margin-bottom: 28px; }
.auth-card h1 { font-size: 24px; color: var(--amz-black); text-align: center; margin-bottom: 5px; }
.auth-card .sub { text-align: center; color: var(--gray-500); font-size: 13px; margin-bottom: 24px; }
.auth-footer { text-align: center; font-size: 13px; color: var(--gray-500); margin-top: 18px; }
.auth-footer a { color: var(--amz-link); font-weight: 600; }
.auth-footer a:hover { color: var(--amz-link-hover); }

/* Step progress */
.steps { display: flex; align-items: center; gap: 6px; margin-bottom: 24px; }
.step  { display: flex; align-items: center; gap: 6px; flex: 1; }
.step-dot { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.step-dot.active   { background: var(--amz-yellow); color: var(--amz-black); }
.step-dot.done     { background: var(--green-500); color: #fff; }
.step-dot.inactive { background: var(--gray-100); color: var(--gray-400); }
.step-label { font-size: 11px; font-weight: 600; }
.step-label.active   { color: var(--amz-black); }
.step-label.inactive { color: var(--gray-400); }
.step-line { flex: 1; height: 1px; background: var(--gray-200); }

/* Package radio cards */
.pkg-radio-list { display: flex; flex-direction: column; gap: 8px; }
.pkg-radio { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid #ddd; border-radius: var(--radius-md); cursor: pointer; transition: all .15s; }
.pkg-radio:hover { border-color: var(--amz-yellow); }
.pkg-radio.selected { border-color: var(--amz-yellow); background: var(--amz-yellow-bg); }
.pkg-radio input[type=radio] { accent-color: var(--amz-yellow-dk); margin-top: 3px; flex-shrink: 0; }
.pkg-radio-name { font-weight: 700; font-size: 13px; color: var(--amz-black); }
.pkg-radio-desc { font-size: 12px; color: var(--gray-500); }

/* CHECKOUT */
.checkout-page { min-height: 100vh; background: var(--gray-50); padding: 32px 16px; }
.checkout-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 28px; max-width: 940px; margin: 28px auto 0; }
.order-summary { background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: 24px; position: sticky; top: 24px; border: 1px solid #ddd; }
.order-summary h2 { font-size: 17px; color: var(--amz-black); margin-bottom: 18px; }
.summary-pkg { background: var(--gray-50); border-radius: var(--radius-md); padding: 14px; margin-bottom: 16px; border: 1px solid #eee; }
.summary-pkg-name  { font-weight: 700; color: var(--amz-black); }
.summary-pkg-sub   { font-size: 11px; color: var(--gray-500); }
.summary-pkg-price { font-size: 28px; font-weight: 800; color: var(--amz-black); margin-top: 7px; }
.summary-features { list-style: none; margin-bottom: 16px; }
.summary-features li { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--gray-700); padding: 3px 0; }
.summary-features li i { color: var(--green-500); font-size: 11px; }
.summary-total { display: flex; justify-content: space-between; font-weight: 700; padding-top: 12px; border-top: 1px solid var(--gray-100); }
.summary-total .total-price { color: var(--amz-yellow-dk); font-size: 18px; }
.guarantee-list { margin-top: 14px; display: flex; flex-direction: column; gap: 5px; }
.guarantee-item { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--gray-500); }
.guarantee-item i { color: var(--green-500); font-size: 10px; }
.payment-card  { background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: 32px; border: 1px solid #ddd; }
.payment-card h2 { font-size: 18px; color: var(--amz-black); margin-bottom: 20px; }
.stripe-notice { background: var(--blue-100); border: 1px solid #b3d9f0; border-radius: var(--radius-md); padding: 12px 14px; font-size: 13px; color: #0073a8; margin-bottom: 20px; }
.stripe-notice code { background: rgba(0,115,168,.1); padding: 2px 5px; border-radius: 3px; font-size: 12px; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 11px; color: var(--gray-400); margin-top: 12px; }

/* ═══════════════════════════════════════════════════════════════════════
   DASHBOARD LAYOUT
═══════════════════════════════════════════════════════════════════════ */
.dash-layout { display: flex; min-height: 100vh; background: var(--gray-50); }

/* Sidebar */
.dash-sidebar { width: 232px; background: #fff; border-right: 1px solid #ddd; display: flex; flex-direction: column; position: fixed; top: 0; left: 0; height: 100vh; z-index: 50; overflow-y: auto; }
.dash-sidebar-logo { display: flex; align-items: center; gap: 9px; padding: 18px 16px; border-bottom: 1px solid #eee; }
.dash-nav { flex: 1; padding: 12px; }
.dash-nav-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #aaa; padding: 0 10px; margin-bottom: 6px; margin-top: 4px; }
.dash-nav-link { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: var(--radius-md); font-size: 13px; font-weight: 500; color: var(--gray-700); text-decoration: none; transition: all .15s; margin-bottom: 2px; }
.dash-nav-link:hover  { background: var(--gray-50); color: var(--amz-black); text-decoration: none; }
.dash-nav-link.active { background: var(--amz-yellow-bg); color: var(--amz-yellow-dk); font-weight: 700; border-left: 3px solid var(--amz-yellow); }
.dash-nav-link i { width: 16px; text-align: center; font-size: 13px; }
.dash-user { padding: 10px; border-top: 1px solid #eee; }
.dash-user-card { display: flex; align-items: center; gap: 9px; padding: 9px 10px; background: var(--gray-50); border-radius: var(--radius-md); margin-bottom: 6px; }
.dash-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--amz-yellow); display: flex; align-items: center; justify-content: center; color: var(--amz-black); font-weight: 800; font-size: 12px; flex-shrink: 0; }
.dash-user-name  { font-weight: 700; font-size: 12px; color: var(--amz-black); }
.dash-user-email { font-size: 10px; color: #aaa; }
.dash-logout { display: flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: var(--radius-md); font-size: 12px; font-weight: 600; color: var(--red-500); text-decoration: none; transition: all .15s; }
.dash-logout:hover { background: var(--red-100); text-decoration: none; }

/* Main */
.dash-main { margin-left: 232px; flex: 1; display: flex; flex-direction: column; min-width: 0; }
.dash-header { background: #fff; border-bottom: 1px solid #ddd; padding: 0 28px; height: 60px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 40; }
.dash-greeting h2 { font-size: 15px; font-weight: 700; color: var(--amz-black); }
.dash-greeting p  { font-size: 11px; color: #aaa; }
.dash-header-actions { display: flex; align-items: center; gap: 8px; }
.dash-bell { width: 34px; height: 34px; border-radius: var(--radius-md); background: var(--gray-50); display: flex; align-items: center; justify-content: center; color: var(--gray-500); position: relative; cursor: pointer; border: 1px solid #eee; transition: all .15s; }
.dash-bell:hover { background: var(--amz-yellow-bg); border-color: var(--amz-yellow); }
.dash-bell.has-notifications::after { content:attr(data-count); position:absolute; top:-4px; right:-4px; width:18px; height:18px; border-radius:50%; background:var(--red-500); color:#fff; font-size:10px; font-weight:800; display:flex; align-items:center; justify-content:center; }
.dash-content { padding: 28px; flex: 1; }

/* Stats row */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { background: #fff; border: 1px solid #ddd; border-radius: var(--radius-xl); padding: 18px; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 14px; transition: all .15s; text-decoration: none; }
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; border-color: var(--amz-yellow); }
.stat-card-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.stat-card-value { font-size: 24px; font-weight: 800; color: var(--amz-black); }
.stat-card-label { font-size: 11px; color: #aaa; }

/* Data tables */
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th { padding: 11px 14px; text-align: left; background: var(--gray-50); color: var(--gray-700); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; border-bottom: 1px solid #ddd; }
.data-table td { padding: 12px 14px; border-bottom: 1px solid #f0f0f0; color: var(--gray-700); }
.data-table tr:hover td { background: var(--amz-yellow-bg); }
.data-table tr:last-child td { border-bottom: none; }

/* Progress bar */
.progress-bar-wrap { background: #eee; border-radius: var(--radius-full); height: 6px; }
.progress-bar { background: var(--amz-yellow); border-radius: var(--radius-full); height: 100%; transition: width .5s; }

/* Stage tracker */
.stage-tracker { display: flex; justify-content: space-between; position: relative; margin: 28px 0; }
.stage-tracker::before { content:''; position:absolute; top:18px; left:0; right:0; height:2px; background:#eee; z-index:0; }
.stage-progress-line { position:absolute; top:18px; left:0; height:2px; background:var(--amz-yellow); z-index:0; transition:width .5s; }
.stage { display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; z-index: 1; flex: 1; }
.stage-dot { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; transition: all .25s; border: 2px solid #ddd; background: #fff; }
.stage-dot.done    { background: var(--green-500); border-color: var(--green-500); color: #fff; }
.stage-dot.current { background: var(--amz-yellow); border-color: var(--amz-yellow); color: var(--amz-black); }
.stage-dot.future  { background: #fff; border-color: #ddd; color: #ccc; }
.stage-name { font-size: 10px; font-weight: 600; color: #aaa; text-align: center; max-width: 65px; }
.stage-name.done    { color: var(--green-700); }
.stage-name.current { color: var(--amz-yellow-dk); }

/* Upload zone */
.upload-zone { border: 2px dashed #ccc; border-radius: var(--radius-xl); padding: 40px 20px; text-align: center; cursor: pointer; transition: all .2s; }
.upload-zone:hover,.upload-zone.drag-over { border-color: var(--amz-yellow); background: var(--amz-yellow-bg); }
.upload-icon { width: 52px; height: 52px; background: var(--amz-yellow-bg); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--amz-yellow-dk); font-size: 22px; margin: 0 auto 14px; }
.upload-zone h3 { font-size: 15px; color: var(--amz-black); margin-bottom: 4px; }
.upload-zone p  { font-size: 12px; color: #aaa; }

/* Admin sidebar */
.admin-sidebar { background: var(--amz-black); }
.admin-sidebar .dash-sidebar-logo { border-bottom-color: var(--amz-mid); }
.admin-sidebar .dash-nav-link       { color: #aaa; }
.admin-sidebar .dash-nav-link:hover { background: var(--amz-mid); color: #fff; text-decoration: none; }
.admin-sidebar .dash-nav-link.active { background: var(--amz-yellow); color: var(--amz-black); border-left-color: var(--amz-yellow-dk); }
.admin-sidebar .dash-nav-label      { color: var(--amz-mid); }
.admin-sidebar .dash-sidebar-logo .brand-name { color: #fff; }
.admin-sidebar .dash-user-card { background: var(--amz-dark); }
.admin-sidebar .dash-user-name  { color: #fff; }
.admin-sidebar .dash-logout { color: #f87171; }
.admin-sidebar .dash-logout:hover { background: rgba(239,68,68,.15); }

/* Revenue chart */
.bar-chart { display: flex; align-items: flex-end; gap: 10px; height: 130px; }
.bar-wrap  { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.bar-col   { width: 100%; background: var(--amz-yellow); border-radius: 4px 4px 0 0; min-height: 4px; }
.bar-label { font-size: 10px; color: #aaa; }
.bar-value { font-size: 10px; font-weight: 700; color: var(--amz-black); }

/* Notification dropdown */
.notif-dropdown { position: absolute; top: 100%; right: 0; width: 340px; background: #fff; border: 1px solid #ddd; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); z-index: 200; overflow: hidden; display: none; }
.notif-dropdown.open { display: block; }
.notif-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #eee; }
.notif-header h3 { font-size: 14px; font-weight: 700; color: var(--amz-black); }
.notif-mark-read { font-size: 12px; color: var(--amz-link); cursor: pointer; }
.notif-mark-read:hover { color: var(--amz-link-hover); }
.notif-list { max-height: 320px; overflow-y: auto; }
.notif-item { padding: 12px 18px; border-bottom: 1px solid #f5f5f5; cursor: pointer; transition: background .15s; }
.notif-item:hover { background: var(--amz-yellow-bg); }
.notif-item.unread { border-left: 3px solid var(--amz-yellow); }
.notif-item-title { font-size: 13px; font-weight: 600; color: var(--amz-black); margin-bottom: 2px; }
.notif-item-msg   { font-size: 12px; color: #777; line-height: 1.4; }
.notif-item-time  { font-size: 10px; color: #bbb; margin-top: 4px; }
.notif-empty { padding: 28px; text-align: center; color: #aaa; font-size: 13px; }
.notif-footer { padding: 10px 18px; text-align: center; border-top: 1px solid #eee; }
.notif-footer a { font-size: 12px; color: var(--amz-link); }

/* Support ticket form */
.ticket-card { background: #fff; border: 1px solid #ddd; border-radius: var(--radius-xl); overflow: hidden; }
.ticket-card-header { padding: 16px 20px; border-bottom: 1px solid #eee; display: flex; align-items: center; justify-content: space-between; }
.ticket-body { padding: 20px; }
.ticket-reply { padding: 12px 16px; border-radius: var(--radius-md); font-size: 13px; line-height: 1.6; margin-bottom: 10px; }
.ticket-reply.from-author { background: #f0f2f2; color: var(--amz-black); margin-right: 40px; }
.ticket-reply.from-admin  { background: var(--amz-yellow-bg); color: var(--amz-black); margin-left: 40px; border-left: 3px solid var(--amz-yellow); }
.ticket-reply-meta { font-size: 10px; color: #aaa; margin-top: 4px; }

/* Animations */
.anim { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.anim.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4,.services-grid { grid-template-columns: repeat(2,1fr); }
  .packages-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-2,.grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--amz-black); flex-direction: column; align-items: center; justify-content: center; gap: 20px; z-index: 200; font-size: 18px; }
  .nav-links.open { display: flex; }
  .nav-links a { color: #fff; }
  .nav-toggle { display: flex; z-index: 201; }
  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
  .nav-actions .btn-ghost { display: none; }
  .topbar { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .dash-main { margin-left: 0; }
  .dash-content { padding: 16px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE FIXES — Full audit implementation
   Breakpoints: 1024px (tablet) · 768px (mobile) · 480px (small mobile)
   All fixes are additive — zero desktop changes
═══════════════════════════════════════════════════════════════════════ */

/* ── 1. DATA TABLES: overflow scroll + card-view on mobile ── */
/* Wraps every .card that contains a .data-table */
.table-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-scroll-wrap .data-table {
  min-width: 540px; /* prevents columns collapsing to nothing */
}

/* ── 2. COMPARE TABLE: scroll hint on mobile ── */
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.compare-table-wrap::after {
  content: '';
  display: none;
}

/* ── 3. TOUCH TARGETS: minimum 44×44px everywhere ── */
.dash-nav-link {
  padding: 10px 10px;
  min-height: 44px;
}
.dash-bell {
  width: 44px;
  height: 44px;
}
.dash-logout {
  padding: 10px 10px;
  min-height: 44px;
}
.btn {
  min-height: 44px;
}
.btn-sm {
  min-height: 36px; /* explicitly small — intentional override */
}

/* ── 4. MOBILE NAV: hamburger menu trigger area ── */
.nav-toggle {
  width: 44px;
  height: 44px;
  padding: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

/* ── 5. SIDEBAR: mobile slide-in drawer ── */
.dash-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 49;
}
.dash-sidebar-overlay.open { display: block; }

/* Mobile menu toggle button inside dash header */
.dash-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--amz-black);
  font-size: 16px;
  flex-shrink: 0;
}

/* ── 6. REGISTER FORM: inline grids collapse on small screens ── */
.reg-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.reg-cover-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ── 7. STAT CARDS: don't shrink text on tiny screens ── */
.stat-card-value {
  font-size: clamp(18px, 4vw, 24px);
}

/* ── 8. STAGE TRACKER: scrollable on small screens ── */
/* admin-two-col: desktop grid, mobile stack */
.admin-two-col {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 24px;
  align-items: start;
}
.admin-two-col.grid-2 {
  grid-template-columns: 1fr 1fr;
}


.stage-tracker-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}
.stage-tracker {
  min-width: 560px; /* 8 stages × ~70px */
}

/* ── 9. CHECKOUT: order summary before payment on mobile ── */

/* ── 10. FOOTER BOTTOM: stack on tiny screens ── */

/* ══════════════════════════════════════════════════════════════════════
   TABLET (≤1024px) adjustments
══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* Admin/dash two-column grids → single column */
  .admin-two-col {
    grid-template-columns: 1fr !important;
  }

  /* Addons admin grid */
  .addon-admin-two-col {
    grid-template-columns: 1fr !important;
  }

  /* Checkout form panel full width */
  .checkout-grid {
    padding: 0 16px;
  }

  /* Dash content padding */
  .dash-content {
    padding: 20px;
  }

  /* Stats row 2-column on tablet */
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ══════════════════════════════════════════════════════════════════════
   MOBILE (≤768px) — all the real fixes
══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Sidebar: hidden by default, slide in as drawer ── */
  .dash-sidebar {
    transform: translateX(-100%);
    transition: transform .25s ease;
    display: flex !important; /* override the display:none set above */
    z-index: 50;
    box-shadow: 4px 0 24px rgba(0,0,0,.15);
  }
  .dash-sidebar.open {
    transform: translateX(0);
  }
  .dash-main {
    margin-left: 0;
  }
  .dash-menu-btn {
    display: flex;
  }
  .dash-header {
    padding: 0 16px;
    gap: 8px;
  }
  .dash-greeting h2 {
    font-size: 13px;
  }
  .dash-greeting p {
    display: none;
  }

  /* ── Stats row: 2 columns on mobile ── */
  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat-card {
    padding: 14px;
    gap: 10px;
  }
  .stat-card-icon {
    width: 34px;
    height: 34px;
    font-size: 15px;
    flex-shrink: 0;
  }

  /* ── Dash content padding ── */
  .dash-content {
    padding: 14px;
  }

  /* ── Data tables: horizontal scroll with shadow hint ── */
  .card[style*="overflow:hidden"] {
    overflow: visible !important;
  }
  .data-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
    border: 1px solid #ddd;
    box-shadow: var(--shadow-sm);
    /* Scroll shadow hint */
    background:
      linear-gradient(to right, #fff 30%, rgba(255,255,255,0)),
      linear-gradient(to right, rgba(255,255,255,0), #fff 70%) 0 100%,
      radial-gradient(farthest-side at 0 50%, rgba(0,0,0,.08), transparent),
      radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,.08), transparent) 0 100%;
    background-repeat: no-repeat;
    background-color: #fff;
    background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
    background-attachment: local, local, scroll, scroll;
  }
  .data-table-wrap .data-table {
    min-width: 520px;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }
  .data-table th,
  .data-table td {
    padding: 10px 12px;
    font-size: 12px;
  }

  /* ── Compare table ── */
  .compare-table-wrap {
    border-radius: var(--radius-lg);
  }
  .compare-table {
    min-width: 480px;
    font-size: 12px;
  }
  .compare-table th,
  .compare-table td {
    padding: 8px 10px;
  }

  /* ── Register form inline grids → single column ── */
  .reg-grid-2 {
    grid-template-columns: 1fr;
  }
  .reg-cover-grid {
    grid-template-columns: 1fr;
  }

  /* Any inline 1fr 1fr grid in register/checkout forms */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    /* Can't safely override inline styles universally; handled per-component below */
  }

  /* ── Admin two-col layouts → single col ── */
  .admin-two-col {
    display: flex !important;
    flex-direction: column !important;
  }
  /* Also catch inline style overrides */
  [style*="grid-template-columns:3fr 2fr"],
  [style*="grid-template-columns: 3fr 2fr"] {
    display: flex !important;
    flex-direction: column !important;
  }

  /* ── Checkout: payment card padding ── */
  .payment-card {
    padding: 20px 16px;
  }
  .order-summary {
    padding: 18px 16px;
  }
  .checkout-page {
    padding: 16px 8px;
  }

  /* ── Auth pages ── */
  .auth-card {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }
  .auth-page {
    padding: 20px 12px;
    align-items: flex-start;
  }

  /* ── Ticket conversation thread ── */
  .ticket-reply.from-author { margin-right: 10px; }
  .ticket-reply.from-admin  { margin-left: 10px; }

  /* ── Notif dropdown: full width on mobile ── */
  .notif-dropdown {
    width: calc(100vw - 32px);
    right: -60px; /* align with screen edge */
  }

  /* ── Stage tracker: horizontal scroll ── */
  .stage-tracker-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -14px;
    padding: 0 14px 8px;
  }
  .stage-tracker {
    min-width: 520px;
  }

  /* ── Footer: single column on mobile ── */
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* ── Hero section ── */
  .hero {
    padding: 40px 0 60px;
  }
  .hero-form-card {
    padding: 20px 16px;
  }
  .hero-trust {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* ── Process steps ── */
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* ── Services grid ── */
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* ── Packages: single col, full width ── */
  .packages-grid {
    max-width: 100%;
  }

  /* ── My-book two col → single ── */
  .my-book-grid {
    grid-template-columns: 1fr !important;
  }

  /* ── Admin table action buttons: icon only on small screens ── */
  .btn-icon-only .btn-label {
    display: none;
  }

  /* ── Modal: full screen on mobile ── */
  #successModal > div {
    max-width: 100%;
    margin: 0;
    border-radius: 16px 16px 0 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 20px;
  }
  #successModal {
    align-items: flex-end;
    padding: 0;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   SMALL MOBILE (≤480px) — extra squeeze
══════════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  /* Stats: 1 column */
  .stats-row {
    grid-template-columns: 1fr 1fr; /* keep 2-col, just smaller */
    gap: 8px;
  }
  .stat-card {
    padding: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  /* Services: single column */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Process: single column */
  .process-grid {
    grid-template-columns: 1fr;
  }

  /* Section padding */
  .section    { padding: 40px 0; }
  .section-sm { padding: 32px 0; }

  /* Container */
  .container { padding: 0 14px; }

  /* Stats bar: 2-col */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-value { font-size: 24px; }

  /* Typography */
  .section-title { font-size: 22px; }

  /* Dash content */
  .dash-content { padding: 12px; }

  /* Auth card */
  .auth-card { padding: 20px 14px; }

  /* Checkout */
  .checkout-page { padding: 10px 6px; }

  /* Register page number steps: hide label text */
  .step-label { display: none; }
  .steps { gap: 4px; }

  /* Admin table action buttons stack */
  .table-actions {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  /* FAQ question font */
  .faq-question { font-size: 13px; padding: 14px 16px; }
  .faq-answer-inner { padding: 0 16px 14px; font-size: 12px; }

  /* Notification dropdown */
  .notif-dropdown {
    right: -80px;
    width: calc(100vw - 20px);
  }
}

/* ══════════════════════════════════════════════════════════════════════
   ACCESSIBILITY & PERFORMANCE
══════════════════════════════════════════════════════════════════════ */

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .anim { opacity: 1; transform: none; }
}

/* Focus ring: keyboard nav */
:focus-visible {
  outline: 2px solid var(--amz-yellow);
  outline-offset: 2px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--amz-yellow);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Minimum body font size for readability */
body {
  font-size: 16px;
}

/* Images: always responsive */
img {
  max-width: 100%;
  height: auto;
}
