/* ============================================================
   TOEIC Score Breakthrough — Main Stylesheet
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --blue:      #0B5394;
  --blue-dark: #094880;
  --teal:      #00A8A8;
  --gold:      #D4A574;
  --charcoal:  #2C3E50;
  --off-white: #F8F9FA;
  --white:     #FFFFFF;
  --green:     #27AE60;
  --red:       #E74C3C;
  --border:    #E5E7EB;
  --gray:      #BDC3C7;
  --gray-text: #6B7280;

  --font-kr:  'Noto Sans KR', sans-serif;
  --font-en:  'Inter', sans-serif;

  --radius:   12px;
  --radius-sm: 8px;
  --shadow:   0 2px 8px rgba(0,0,0,.08);
  --shadow-lg:0 8px 24px rgba(0,0,0,.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-kr);
  font-size: 18px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
}

img { max-width: 100%; display: block; }
a  { color: var(--blue); text-decoration: none; }
a:hover { color: var(--teal); }

ul, ol { list-style: none; }

/* --- Typography --- */
h1 { font-size: 48px; font-weight: 700; line-height: 1.15; }
h2 { font-size: 36px; font-weight: 700; line-height: 1.2; }
h3 { font-size: 28px; font-weight: 600; line-height: 1.25; }
h4 { font-size: 22px; font-weight: 600; line-height: 1.3; }
h5 { font-size: 18px; font-weight: 600; }
h6 { font-size: 16px; font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-small  { font-size: 14px; }
.text-teal   { color: var(--teal); }
.text-gold   { color: var(--gold); }
.text-blue   { color: var(--blue); }
.text-white  { color: var(--white); }
.text-gray   { color: var(--gray-text); }
.text-center { text-align: center; }
.text-upper  { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 600; }
.italic      { font-style: italic; }

/* --- Containers --- */
.container       { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm    { max-width: 720px;  margin: 0 auto; padding: 0 24px; }
.container-md    { max-width: 960px;  margin: 0 auto; padding: 0 24px; }

/* --- Sections --- */
.section        { padding: 80px 0; }
.section-sm     { padding: 48px 0; }
.section-white  { background: var(--white); }
.section-off    { background: var(--off-white); }
.section-blue   { background: var(--blue); color: var(--white); }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-kr);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s ease;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  border-color: var(--blue);
  color: var(--blue);
}
.btn-secondary:hover {
  background: rgba(11,83,148,.08);
  color: var(--blue);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--off-white);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
}
.btn-teal:hover {
  background: #008f8f;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg { padding: 18px 44px; font-size: 18px; }
.btn-sm { padding: 10px 24px; font-size: 14px; }
.btn-block { display: block; width: 100%; }

.btn:disabled, .btn-disabled {
  background: var(--gray);
  border-color: var(--gray);
  color: var(--white);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* --- Badges --- */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.badge-gold  { background: var(--gold); color: var(--white); }
.badge-teal  { background: var(--teal); color: var(--white); }
.badge-gray  { background: #6B7280; color: var(--white); }
.badge-blue  { background: var(--blue); color: var(--white); }
.badge-green { background: var(--green); color: var(--white); }

/* --- Cards --- */
.card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s;
}
.card:hover { box-shadow: var(--shadow-lg); }

.card-testimonial {
  border-left: 4px solid var(--teal);
}

/* --- Header / Nav --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: 72px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.site-logo {
  flex-shrink: 0;
}
.site-logo img {
  height: 40px;
  width: auto;
}
.site-logo .logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}
.site-logo .logo-sub {
  font-size: 11px;
  color: var(--teal);
  font-weight: 500;
  letter-spacing: .05em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  border-radius: 6px;
  position: relative;
  transition: color .2s;
}
.main-nav a:hover { color: var(--blue); }
.main-nav a.active {
  color: var(--teal);
}
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px; right: 12px;
  height: 2px;
  background: var(--teal);
  border-radius: 1px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  margin: 5px 0;
  border-radius: 2px;
  transition: all .3s;
}

/* Mobile nav overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 2000;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}
.mobile-nav-overlay.open { display: flex; }
.mobile-nav-overlay .close-btn {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--charcoal);
  margin-bottom: 24px;
}
.mobile-nav-overlay nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.mobile-nav-overlay nav a {
  padding: 14px 16px;
  font-size: 18px;
  font-weight: 500;
  color: var(--charcoal);
  border-radius: 8px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-overlay nav a:hover,
.mobile-nav-overlay nav a.active { color: var(--teal); }
.mobile-nav-overlay .mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

/* --- Footer --- */
.site-footer {
  background: var(--blue);
  color: var(--white);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .logo-text { color: var(--white); font-size: 20px; }
.footer-brand .logo-sub  { color: rgba(255,255,255,.7); }
.footer-brand p { color: rgba(255,255,255,.75); font-size: 14px; margin-top: 12px; }

.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer-links h5 { color: var(--white); margin-bottom: 12px; font-size: 15px; }
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,.75); font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }

.footer-connect h5 { color: var(--white); margin-bottom: 12px; font-size: 15px; }
.footer-connect p { color: rgba(255,255,255,.75); font-size: 14px; margin-bottom: 8px; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.15);
  color: var(--white);
  font-size: 16px;
  transition: all .2s;
}
.footer-social a:hover { background: var(--gold); color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.6); margin: 0; }

/* --- Floating CTA (mobile) --- */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--blue);
  color: var(--white);
  padding: 14px 24px;
  z-index: 900;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  transition: transform .3s ease;
}
.floating-cta a { color: var(--white); }
.floating-cta.hidden { transform: translateY(100%); }

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--off-white);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 800;
  flex-wrap: wrap;
}
.cookie-banner p { font-size: 14px; margin: 0; }
.cookie-banner .cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-banner.hidden { display: none; }

/* ============================================================
   HERO SECTIONS
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  color: var(--white);
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-content { position: relative; z-index: 1; }
.hero .preheadline {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.hero h1 { color: var(--white); margin-bottom: 12px; }
.hero .hero-en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 18px;
  color: rgba(255,255,255,.75);
  margin-bottom: 20px;
}
.hero p { color: rgba(255,255,255,.9); max-width: 520px; margin-bottom: 28px; }
.hero .sub-cta { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 12px; }

.hero-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-image {
  position: relative;
}
.hero-image .img-placeholder {
  background: rgba(255,255,255,.15);
  border-radius: var(--radius);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}

.social-proof-bar {
  background: rgba(255,255,255,.15);
  border-top: 1px solid rgba(255,255,255,.2);
  padding: 20px 0;
}
.social-proof-bar .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
}
.social-proof-item { text-align: center; }
.social-proof-item .number { font-size: 24px; font-weight: 700; color: var(--white); display: block; }
.social-proof-item .label  { font-size: 13px; color: rgba(255,255,255,.75); }

/* ============================================================
   SPECIFIC COMPONENTS
   ============================================================ */

/* Pain point cards */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.pain-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.pain-card .emoji { font-size: 28px; margin-bottom: 10px; }
.pain-card strong { display: block; font-size: 17px; margin-bottom: 6px; color: var(--charcoal); }
.pain-card p { font-size: 14px; color: var(--gray-text); margin: 0; }

/* 3-step diagram */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}
.step-item {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
}
.step-item::after {
  content: '→';
  position: absolute;
  right: -16px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--teal);
  z-index: 1;
}
.step-item:last-child::after { display: none; }
.step-icon { font-size: 40px; margin-bottom: 12px; }
.step-title { font-size: 20px; font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.step-desc { font-size: 14px; color: var(--gray-text); }

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow .2s, transform .2s;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-card.featured {
  border-top: 4px solid var(--teal);
  transform: scale(1.03);
}
.product-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.product-card .price { font-size: 28px; font-weight: 700; color: var(--blue); }
.product-card .price span { font-size: 16px; font-weight: 400; color: var(--gray-text); }
.product-card .best-for { font-size: 13px; color: var(--gray-text); font-style: italic; margin-top: auto; }
.product-card ul { display: flex; flex-direction: column; gap: 8px; }
.product-card ul li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; }
.product-card ul li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* Testimonial carousel */
.testimonials-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.testimonial-header { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 15px; }
.testimonial-meta { font-size: 13px; color: var(--gray-text); }
.testimonial-score { font-weight: 700; color: var(--teal); font-size: 14px; }
.testimonial-quote { font-style: italic; font-size: 15px; color: var(--charcoal); line-height: 1.6; }
.stars { color: var(--gold); letter-spacing: 2px; }
.verified-badge { font-size: 12px; color: var(--green); font-weight: 600; }

/* Guarantee section */
.guarantee-box {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 32px;
}
.guarantee-icon { font-size: 64px; margin-bottom: 16px; }

/* Comparison table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.comparison-table th, .comparison-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.comparison-table th {
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
}
.comparison-table td:first-child { font-weight: 600; color: var(--charcoal); }
.comparison-table td:nth-child(2) { color: var(--gray-text); }
.comparison-table td:nth-child(3) { color: var(--teal); font-weight: 600; }
.comparison-table tr:nth-child(even) td { background: var(--off-white); }

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 32px 0;
}
.stat-box {
  text-align: center;
  padding: 32px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat-box .stat-number { font-size: 40px; font-weight: 700; color: var(--blue); display: block; }
.stat-box .stat-label  { font-size: 14px; color: var(--gray-text); margin-top: 4px; }

/* Accordion / FAQ */
.faq-list { margin: 24px 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-kr);
  transition: color .2s;
}
.faq-question:hover { color: var(--blue); }
.faq-question .faq-icon { flex-shrink: 0; font-size: 20px; color: var(--teal); transition: transform .3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 0 20px; font-size: 16px; color: var(--gray-text); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* Category tabs */
.tab-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}
.tab-btn {
  padding: 12px 20px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-text);
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font-kr);
}
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
}
.blog-card-body { padding: 20px; }
.blog-card-cat { font-size: 12px; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.blog-card-title { font-size: 18px; font-weight: 700; color: var(--charcoal); margin-bottom: 8px; line-height: 1.4; }
.blog-card-meta { font-size: 13px; color: var(--gray-text); }

/* Checkout */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.checkout-summary {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.checkout-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.order-bump {
  background: var(--white);
  border: 2px dashed var(--teal);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin: 16px 0;
  cursor: pointer;
}
.order-bump label { cursor: pointer; font-size: 15px; font-weight: 500; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: var(--font-kr);
  transition: border-color .2s;
  background: var(--white);
}
.form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11,83,148,.1); }
.form-control.error { border-color: var(--red); }

.payment-tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.payment-tab {
  flex: 1;
  padding: 10px 8px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  background: var(--white);
}
.payment-tab.active { border-color: var(--blue); color: var(--blue); background: rgba(11,83,148,.05); }

.trust-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  margin-top: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--gray-text);
}
.trust-row .trust-item { display: flex; align-items: center; gap: 6px; }

/* Diagnostic quiz */
.quiz-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 24px;
}
.progress-bar-wrap {
  background: var(--border);
  border-radius: 99px;
  height: 8px;
  margin-bottom: 32px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: var(--teal);
  border-radius: 99px;
  transition: width .4s ease;
}
.progress-label { font-size: 13px; color: var(--gray-text); margin-bottom: 8px; }

.quiz-question { display: none; }
.quiz-question.active { display: block; }
.quiz-question h3 { font-size: 22px; margin-bottom: 24px; }

.quiz-options { display: flex; flex-direction: column; gap: 12px; }
.quiz-option {
  padding: 16px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 16px;
  transition: all .2s;
  background: var(--white);
  text-align: left;
  font-family: var(--font-kr);
  width: 100%;
}
.quiz-option:hover { border-color: var(--blue); background: rgba(11,83,148,.04); }
.quiz-option.selected { border-color: var(--teal); background: rgba(0,168,168,.08); color: var(--teal); font-weight: 600; }

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

.analyzing-screen {
  text-align: center;
  padding: 60px 20px;
  display: none;
}
.analyzing-screen.active { display: block; }
.loader {
  width: 60px; height: 60px;
  border: 4px solid var(--border);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Results radar chart placeholder */
.radar-chart-placeholder {
  width: 280px; height: 280px;
  border-radius: 50%;
  background: conic-gradient(var(--teal) 0% 70%, var(--border) 70%);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
}

/* Result profile card */
.result-profile {
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  border-radius: var(--radius);
  padding: 32px;
  color: var(--white);
  margin: 24px 0;
}
.result-profile .profile-name { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.result-profile .profile-impact { font-size: 16px; color: rgba(255,255,255,.85); margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.2); }

/* Module cards */
.module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 24px 0;
}
.module-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.module-card .module-num { font-size: 13px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .06em; }
.module-card .module-title { font-size: 18px; font-weight: 700; margin: 6px 0; }
.module-card .module-outcome { font-size: 13px; color: var(--green); font-weight: 600; margin-top: 8px; }

/* Value stack */
.value-stack { margin: 24px 0; }
.value-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.value-item .value-name { display: flex; align-items: center; gap: 10px; }
.value-item .value-price { color: var(--gray-text); font-size: 14px; }
.value-total {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  font-weight: 700;
  font-size: 18px;
}
.value-total .total-price { color: var(--gray-text); text-decoration: line-through; }
.price-reveal {
  text-align: center;
  padding: 32px;
  background: var(--off-white);
  border-radius: var(--radius);
  margin: 24px 0;
}
.price-reveal .was { font-size: 16px; color: var(--gray-text); text-decoration: line-through; }
.price-reveal .now { font-size: 48px; font-weight: 700; color: var(--blue); }
.price-reveal .period { font-size: 16px; color: var(--gray-text); }

/* Case study cards */
.case-study-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.case-study-scores {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  font-size: 22px;
  font-weight: 700;
}
.score-before { color: var(--gray-text); }
.score-arrow  { color: var(--teal); }
.score-after  { color: var(--green); }
.pull-quote {
  border-left: 4px solid var(--teal);
  padding: 16px 20px;
  background: rgba(0,168,168,.05);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: 17px;
  color: var(--charcoal);
  margin: 16px 0;
}

/* Sticky CTA sidebar */
.sticky-cta-sidebar {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  flex-direction: column;
  gap: 8px;
  z-index: 500;
}

/* Contact cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
}
.contact-method-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.contact-method-card .contact-icon { font-size: 40px; margin-bottom: 12px; }
.contact-method-card h3 { font-size: 18px; margin-bottom: 8px; }
.contact-method-card p { font-size: 14px; color: var(--gray-text); }

/* Page hero (smaller, non-gradient) */
.page-hero {
  background: var(--blue);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: 40px; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 600px; margin: 12px auto 0; }

/* Overline */
.overline {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--teal);
  margin-bottom: 8px;
}

/* Section headline centered */
.section-headline {
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--gray-text);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.value-card {
  text-align: center;
  padding: 32px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.value-card .v-icon { font-size: 36px; margin-bottom: 12px; }
.value-card h4 { font-size: 18px; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--gray-text); }

/* Login page */
.login-box {
  max-width: 440px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
}

/* Legal pages */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { font-size: 24px; margin: 32px 0 12px; }
.legal-content h3 { font-size: 20px; margin: 24px 0 8px; }
.legal-content p, .legal-content li { font-size: 16px; color: var(--gray-text); line-height: 1.8; }
.legal-content ul { list-style: disc; padding-left: 24px; }
.legal-content ul li { margin-bottom: 6px; }

/* Divider */
.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* Alert box */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  margin-bottom: 20px;
}
.alert-blue { background: rgba(11,83,148,.08); border: 1px solid rgba(11,83,148,.2); color: var(--blue); }
.alert-green { background: rgba(39,174,96,.08); border: 1px solid rgba(39,174,96,.2); color: var(--green); }
.alert-gold { background: rgba(212,165,116,.12); border: 1px solid rgba(212,165,116,.3); color: #9a6d3b; }

/* Countdown timer */
.countdown { display: flex; gap: 12px; justify-content: center; margin: 16px 0; }
.countdown-unit { text-align: center; background: var(--blue); color: var(--white); border-radius: 8px; padding: 12px 16px; min-width: 64px; }
.countdown-unit .count { font-size: 32px; font-weight: 700; display: block; font-family: var(--font-en); }
.countdown-unit .unit  { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; opacity: .8; }

/* Highlight box */
.highlight-box {
  background: rgba(0,168,168,.08);
  border: 2px solid var(--teal);
  border-radius: var(--radius);
  padding: 24px 32px;
  margin: 24px 0;
}

/* ============================================================
   UTILITY
   ============================================================ */
.mt-0  { margin-top: 0; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0  { margin-bottom: 0; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.flex  { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.w-full { width: 100%; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .header-actions .btn { display: none; }
  .hamburger { display: block; }

  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  h3 { font-size: 22px; }

  .hero { min-height: 700px; }
  .hero-two-col { grid-template-columns: 1fr; }
  .hero-image { display: none; }

  .steps-row { grid-template-columns: 1fr; }
  .step-item::after { content: '↓'; right: 50%; top: auto; bottom: -20px; transform: translateX(50%); }

  .product-grid { grid-template-columns: 1fr; }
  .product-card.featured { transform: none; }

  .testimonials-carousel { grid-template-columns: 1fr; }

  .stats-row { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

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

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

  .values-grid { grid-template-columns: repeat(2, 1fr); }

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

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

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

  .floating-cta { display: block; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container, .container-sm, .container-md { padding: 0 16px; }
  .section, .section-sm { padding: 48px 0; }
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  h4 { font-size: 18px; }
  .btn-lg { padding: 14px 28px; font-size: 16px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .social-proof-bar .container { flex-direction: column; gap: 16px; align-items: center; }
  .tab-bar { overflow-x: auto; flex-wrap: nowrap; }
  .payment-tabs { flex-wrap: wrap; }
  .payment-tab { flex: 1 1 calc(50% - 4px); }
}

/* Print */
@media print {
  .site-header, .site-footer, .floating-cta, .cookie-banner { display: none !important; }
}
