@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

/* ── LTR (English) overrides ── */
html[dir="ltr"] body {
  font-family: 'Inter', 'Tajawal', sans-serif;
  direction: ltr;
}
html[dir="ltr"] .navbar {
  direction: ltr;
}
html[dir="ltr"] .nav-links {
  flex-direction: row;
}
html[dir="ltr"] .navbar-cta {
  flex-direction: row;
}
html[dir="ltr"] h1,
html[dir="ltr"] h2,
html[dir="ltr"] h3,
html[dir="ltr"] p {
  text-align: left;
}
html[dir="ltr"] .navbar-brand-text {
  font-family: 'Inter', sans-serif;
}
html[dir="ltr"] a.lang-toggle {
  font-family: 'Tajawal', sans-serif;
}

/* ═══════════════════════════════════════════════════
   MASARI — Global Styles  (Gold Edition)
   ═══════════════════════════════════════════════════ */

:root {
  /* ── Primary: Masari Gold ── */
  --blue:        #8B6914;
  --blue-light:  #F5EDD6;
  --blue-dark:   #6B4F0F;
  --blue-mid:    #E8DECE;
  --blue-bg:     rgba(139,105,20,0.07);
  --blue-border: rgba(139,105,20,0.20);

  /* ── Golden accent (replaces green) ── */
  --green:        #C49A3C;
  --green-light:  #F5EDD6;
  --green-dark:   #8B6914;
  --green-bg:     rgba(139,105,20,0.07);
  --green-border: rgba(139,105,20,0.18);

  /* ── Saudi gold ── */
  --gold:         #C4A55A;
  --gold-bg:      rgba(196, 165, 90, 0.10);

  /* ── Surfaces ── */
  --bg:           #FAF6EF;
  --bg-2:         #F2EAD8;
  --surface:      #FDF8F2;
  --surface-2:    #F2EAD8;
  --surface-3:    #E8DECE;
  --white:        #FDF8F2;

  /* ── Borders ── */
  --border:       #E2E8F0;
  --border-2:     #C8D0DC;

  /* ── Text ── */
  --text:         #1A1A2E;
  --text-2:       #4A5568;
  --text-3:       #718096;

  /* ── Status ── */
  --danger:       #C0392B;
  --danger-bg:    rgba(192, 57, 43, 0.08);
  --warning:      #D35400;
  --warning-bg:   rgba(211, 84, 0, 0.08);
  --success:      #16A34A;
  --success-bg:   rgba(22,163,74,0.08);
  --success-border:rgba(22,163,74,0.20);

  /* ── Shape ── */
  --radius:       10px;
  --radius-lg:    12px;
  --radius-xl:    16px;

  /* ── Shadows ── */
  --shadow:       0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg:    0 4px 32px rgba(0,0,0,.10);
  --shadow-blue:  0 8px 24px rgba(139,105,20,0.20);
  --shadow-glow:  0 0 0 3px rgba(139,105,20,.15);
  --shadow-gold:  0 0 0 3px rgba(196,165,90,.25);
}

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

html { scroll-behavior: smooth; }

/* ── Arabic (default): Tajawal ── */
body {
  font-family: 'Tajawal', 'Cairo', 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
  font-weight: 400;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 64px;
}

/* ── English: Inter ── */
html[lang="en"] body { font-family: 'Inter', 'Tajawal', 'Cairo', sans-serif; }

/* ── Typography hierarchy ── */
h1 { font-size: clamp(36px,5vw,68px); font-weight: 900; line-height: 1.08; letter-spacing: -1.5px; }
h2 { font-size: clamp(26px,3.5vw,44px); font-weight: 800; line-height: 1.15; letter-spacing: -0.5px; }
h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
h4 { font-size: 16px; font-weight: 600; }
h5, h6 { font-size: 14px; font-weight: 600; }
p { font-size: 15px; font-weight: 400; line-height: 1.75; color: var(--text-2); }

/* ── Inputs use Tajawal ── */
input, textarea, select { font-family: 'Tajawal', 'Cairo', 'Inter', sans-serif; }

/* ── Stat numbers: tabular ── */
.stat-num, .stat-rio-num, [data-target] { font-variant-numeric: tabular-nums; }

/* ── Buttons always Bold 700 ── */
.btn, button, input[type="submit"], input[type="button"] { font-weight: 700; font-family: 'Tajawal', 'Cairo', 'Inter', sans-serif; }

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

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ── Selection ── */
::selection { background: rgba(30,58,95,.15); color: var(--text); }

/* ══════════════════════════════
   UNIFIED NAVBAR
══════════════════════════════ */
.navbar {
  position: sticky; top: 0; z-index: 200;
  height: 64px;
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: rgba(255,253,247,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #DDD0B0;
  direction: rtl;
  width: 100%;
  box-sizing: border-box;
}
.navbar.scrolled { box-shadow: 0 2px 12px rgba(139,105,20,0.1); }
.navbar-brand {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.logo-mark {
  width: 30px; height: 30px; background: #8B6914;
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; color: #FFFDF7;
  font-weight: 900; font-size: 14px;
  font-family: 'Tajawal', sans-serif;
  flex-shrink: 0;
}
.logo-text {
  font-size: 22px; font-weight: 800; color: #6B4F0F;
  font-family: 'Tajawal', sans-serif;
}
.navbar-logo,
nav img[alt="مساري"],
nav img[alt="MASARI"],
.navbar-brand img,
.brand img {
  height: 32px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
}
.navbar-brand-text {
  font-size: 20px;
  font-weight: 800;
  color: #6B4F0F;
  font-family: 'Tajawal', sans-serif;
  letter-spacing: -0.3px;
}
.nav-links {
  display: flex; gap: 4px; list-style: none;
  margin: 0; padding: 0; align-items: center;
}
.nav-links a {
  color: #5C3D2E; text-decoration: none;
  font-size: 13px; padding: 6px 10px;
  border-radius: 8px; transition: all .2s;
  font-weight: 500; font-family: 'Tajawal', sans-serif;
  white-space: nowrap;
}
.nav-links a:hover { background: #F5EDD6; color: #3D2B1A; }
.nav-links a.active { background: rgba(139,105,20,0.1); color: #6B4F0F; font-weight: 700; }
.navbar-cta {
  display: flex; gap: 8px; align-items: center;
}
.btn-ghost {
  padding: 7px 16px; border: 1px solid #DDD0B0;
  border-radius: 8px; color: #6B4F0F; background: transparent;
  cursor: pointer; font-family: 'Tajawal', sans-serif;
  font-size: 13px; font-weight: 600; text-decoration: none;
  transition: all .2s;
}
.btn-ghost:hover { border-color: #8B6914; background: #F5EDD6; }
.btn-primary-nav {
  padding: 8px 18px; background: #8B6914;
  border: none; border-radius: 8px; color: #FFFDF7;
  font-weight: 700; cursor: pointer;
  font-family: 'Tajawal', sans-serif; font-size: 13px;
  transition: all .2s; text-decoration: none;
  display: inline-block;
}
.btn-primary-nav:hover { background: #6B4F0F; transform: translateY(-1px); }
.nav-cta {
  padding: 8px 18px; background: #8B6914;
  border: none; border-radius: 8px; color: #FFFDF7 !important;
  font-weight: 700; cursor: pointer;
  font-family: 'Tajawal', sans-serif; font-size: 13px;
  transition: all .2s; text-decoration: none;
  display: inline-block;
}
.nav-cta:hover { background: #6B4F0F !important; color: #FFFDF7 !important; transform: translateY(-1px); }
.user-badge {
  padding: 6px 12px; background: #F5EDD6;
  border: 1px solid #DDD0B0; border-radius: 50px;
  color: #6B4F0F; font-size: 13px; font-weight: 600;
  font-family: 'Tajawal', sans-serif;
}
.nav-avatar-chip {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 12px 5px 6px; background: #F5EDD6;
  border: 1px solid #DDD0B0; border-radius: 50px;
  color: #6B4F0F; font-size: 13px; font-weight: 600;
  font-family: 'Tajawal', sans-serif;
  text-decoration: none; transition: all .2s;
}
.nav-avatar-chip:hover { border-color: #8B6914; }
.nav-avatar-initial {
  width: 24px; height: 24px; background: #8B6914;
  border-radius: 50%; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900; font-family: 'Tajawal', sans-serif;
}
.lang-toggle {
  padding: 6px 10px; border: 1px solid #DDD0B0;
  border-radius: 8px; background: transparent;
  color: #8B6A4A; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.lang-toggle:hover { border-color: #8B6914; color: #6B4F0F; }
/* kept for pages not yet migrated */
.lang-btn {
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--border); border-radius: 6px;
  padding: 6px 14px; font-family: inherit; font-weight: 700; font-size: 13px;
  cursor: pointer; transition: all .2s;
}
.lang-btn:hover { background: var(--surface-3); }
.lang-label-en { display: none; }
html[lang="en"] .lang-label-ar { display: none; }
html[lang="en"] .lang-label-en { display: inline; }
/* legacy nav classes — kept for un-migrated pages */
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; width: 100%; }
.navbar .container { width: 100%; max-width: 100%; padding: 0; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand-icon { font-size: 26px; }
.brand-name { font-size: 20px; font-weight: 800; color: #6B4F0F; }
.nav-link { text-decoration: none; color: var(--text-2); font-weight: 500; font-size: 14px; padding: 6px 12px; border-radius: 6px; transition: color .2s, background .2s; }
.nav-link:hover, .nav-link.active { background: rgba(139,105,20,0.07); color: #8B6914; }
@media (max-width: 960px) {
  .nav-links { display: none; }
  .navbar { padding: 0 4%; }
}

/* ══════════════════════════════
   INTERVIEWERS SECTION
══════════════════════════════ */
.interviewers-section {
  padding: 80px 6%; background: #FAF6EE; text-align: center;
}
.interviewers-grid {
  display: grid; grid-template-columns: repeat(8,1fr);
  gap: 20px; max-width: 1100px; margin: 0 auto;
}
.interviewer-card {
  display: flex; flex-direction: column;
  align-items: center; gap: 12px;
  cursor: pointer; transition: all .3s;
}
.interviewer-card:hover { transform: translateY(-6px); }
.interviewer-card:hover .interviewer-avatar {
  border-color: #8B6914;
  box-shadow: 0 8px 24px rgba(139,105,20,.20);
}
.interviewer-card.selected .interviewer-avatar {
  border-color: #8B6914;
  box-shadow: 0 0 0 4px rgba(139,105,20,.15);
}
.interviewer-avatar {
  width: 90px; height: 90px; border-radius: 50%;
  border: 3px solid #DDD0B0; overflow: hidden;
  transition: all .3s; position: relative; background: #F5EDD6;
}
.interviewer-avatar img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center; display: block;
}
.avatar-fallback {
  display: none; width: 100%; height: 100%;
  align-items: center; justify-content: center;
  font-size: 28px; font-weight: 800; color: #8B6914;
  font-family: 'Tajawal', sans-serif; background: #F5EDD6;
}
.interviewer-name {
  font-size: 14px; font-weight: 700;
  color: #3D2B1A; font-family: 'Tajawal', sans-serif;
}
.interviewer-title {
  font-size: 11px; color: #8B6A4A;
  font-family: 'Tajawal', sans-serif; margin-top: -8px;
}
@media (max-width: 960px) {
  .interviewers-grid { grid-template-columns: repeat(4,1fr); gap: 16px; }
}
@media (max-width: 580px) {
  .interviewers-grid { grid-template-columns: repeat(4,1fr); gap: 12px; }
  .interviewer-avatar { width: 70px; height: 70px; }
  .interviewer-name { font-size: 12px; }
}

/* ── Scroll-reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── Button pulse (for primary CTA) ── */
@keyframes nav-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(139,105,20,.45); }
  70%  { box-shadow: 0 0 0 8px rgba(139,105,20,0); }
  100% { box-shadow: 0 0 0 0 rgba(139,105,20,0); }
}
.btn-pulse { animation: nav-pulse 2.2s ease infinite; }

/* logged-in user chip in navbar */
.nav-user-chip {
  display: flex; align-items: center; gap: 7px;
  background: #F5EDD6; border: 1px solid #DDD0B0;
  border-radius: 99px; padding: 4px 12px 4px 6px;
  font-size: 13px; font-weight: 700; color: #6B4F0F;
  text-decoration: none; transition: background .2s;
}
.nav-user-chip:hover { background: #EEE0B8; color: #6B4F0F; }
.nav-avatar {
  width: 24px; height: 24px; border-radius: 50%;
  background: #8B6914; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; flex-shrink: 0;
}

/* ══════════════════════════════
   BUTTONS
══════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 10px 22px;
  border-radius: var(--radius); border: 1.5px solid transparent;
  font-family: inherit; font-weight: 600; font-size: 14px;
  cursor: pointer; text-decoration: none;
  transition: all .2s ease;
  white-space: nowrap; letter-spacing: .1px;
}
.btn-primary {
  background: var(--blue); color: #fff; border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-light); border-color: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(30,58,95,.25);
}
.btn-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-outline {
  background: transparent; border-color: var(--blue); color: var(--blue);
}
.btn-outline:hover { background: var(--blue-bg); box-shadow: var(--shadow-glow); }
.btn-white { background: #fff; color: var(--blue); border-color: var(--border); }
.btn-white:hover { background: var(--bg-2); border-color: var(--blue); }
.btn-outline-white { background: transparent; border-color: rgba(30,58,95,.3); color: var(--blue); }
.btn-outline-white:hover { background: var(--blue-bg); }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover { background: #a93226; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-xl { padding: 14px 32px; font-size: 15px; font-weight: 700; }
.btn-full { width: 100%; }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, #5A3A0A 0%, #8B6914 55%, #6B4F0F 100%);
  padding: 90px 0 80px;
  border-bottom: 1px solid rgba(0,0,0,.25);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 85% 40%, rgba(196,165,90,.12) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 5% 80%,  rgba(255,255,255,.04) 0%, transparent 60%);
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 480px;
  gap: 60px; align-items: center; position: relative;
}

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(196,165,90,.15); border: 1px solid rgba(196,165,90,.4);
  color: #C4A55A; font-weight: 700; font-size: 13px;
  padding: 5px 14px; border-radius: 99px; margin-bottom: 20px;
  animation: fadeDown .5s ease both;
}
@keyframes fadeDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:none; } }

.hero-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900; line-height: 1.15;
  color: #ffffff; margin-bottom: 20px;
  letter-spacing: -0.5px;
  animation: fadeUp .5s .1s ease both;
}
@keyframes fadeUp { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }

.green-text {
  background: linear-gradient(90deg, #C4A55A, #e8c97e);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 15px; color: rgba(255,255,255,.82); max-width: 520px;
  margin-bottom: 36px; line-height: 1.8;
  animation: fadeUp .5s .2s ease both;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; animation: fadeUp .5s .3s ease both; }

/* Override btn colours inside the dark hero */
.hero .btn-primary {
  background: #C4A55A; color: #fff;
  border-color: #C4A55A;
}
.hero .btn-primary:hover {
  background: #d4b46a; border-color: #d4b46a;
  box-shadow: 0 4px 16px rgba(196,165,90,.40);
}
.hero .btn-outline {
  border-color: rgba(255,255,255,.55); color: #fff; background: transparent;
}
.hero .btn-outline:hover { background: rgba(255,255,255,.10); border-color: #fff; }

.hero-stats {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  animation: fadeUp .5s .4s ease both;
}
.stat-item { text-align: center; }
.stat-num { font-size: 28px; font-weight: 900; color: #C4A55A; line-height: 1; }
.stat-lbl { font-size: 12px; color: rgba(255,255,255,.7); font-weight: 500; margin-top: 2px; }
.stat-div { width: 1px; height: 36px; background: rgba(255,255,255,.25); }

/* Mock interview card */
.hero-card-wrap { display: flex; justify-content: center; animation: fadeLeft .6s .2s ease both; }
@keyframes fadeLeft { from { opacity:0; transform:translateX(20px); } to { opacity:1; transform:none; } }

.mock-card {
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(30,58,95,.06);
  padding: 20px; width: 100%; max-width: 400px;
  border: 1px solid var(--border);
}
.mock-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.mock-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: #fff; flex-shrink: 0;
}
.mock-name { font-weight: 700; font-size: 15px; color: var(--text); }
.mock-title { font-size: 12px; color: var(--text-2); }
.mock-timer {
  margin-right: auto; margin-left: 0;
  background: var(--blue-bg); color: var(--blue);
  font-weight: 700; font-size: 13px;
  padding: 4px 10px; border-radius: 6px;
  border: 1px solid var(--blue-border);
}
html[dir="ltr"] .mock-timer { margin-left: auto; margin-right: 0; }

.mock-chat { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.mock-bubble { padding: 10px 14px; border-radius: 10px; font-size: 13px; max-width: 85%; }
.mock-bubble.iv { background: var(--surface-2); color: var(--text); align-self: flex-start; border-radius: 4px 10px 10px 10px; border: 1px solid var(--border); }
.mock-bubble.usr { background: var(--blue); color: #fff; align-self: flex-end; border-radius: 10px 4px 10px 10px; font-weight: 600; }
.mock-bubble p { margin: 0; line-height: 1.5; }
.mock-score-bar {
  display: flex; align-items: center; gap: 8px;
  background: var(--warning-bg); border: 1px solid rgba(211,84,0,.15);
  border-radius: 8px; padding: 6px 12px; font-size: 12px;
}
.score-tag { color: var(--warning); font-weight: 700; }
.score-note { color: var(--text-2); }
.mock-footer { border-top: 1px solid var(--border); padding-top: 12px; }
.progress-bar-wrap { background: var(--surface-2); border-radius: 99px; height: 6px; margin-bottom: 6px; }
.progress-bar { height: 6px; border-radius: 99px; background: var(--blue); }
.mock-q-count { font-size: 11px; color: var(--text-3); }
.mock-progress { background: var(--surface-2); border-radius: 99px; height: 6px; margin-bottom: 6px; overflow: hidden; }

/* ══════════════════════════════
   SECTIONS
══════════════════════════════ */
.section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(22px, 3vw, 32px); font-weight: 800;
  color: var(--text); margin-bottom: 12px; letter-spacing: -.3px;
}
.section-head p { font-size: 15px; color: var(--text-2); max-width: 560px; margin: 0 auto; }

/* features */
.features-section { background: var(--bg-2); }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.feat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: all .25s ease;
  position: relative; overflow: hidden;
}
.feat-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(30,58,95,.03) 0%, transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.feat-card:hover {
  border-color: var(--blue-border); transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.feat-card:hover::before { opacity: 1; }
.feat-icon { font-size: 34px; margin-bottom: 14px; }
.feat-card h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.feat-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* steps */
.steps-section { background: var(--bg); }
.steps-row { display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap; justify-content: center; }
.step-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  flex: 1; min-width: 200px; max-width: 240px; text-align: center;
  transition: all .25s;
}
.step-card:hover { border-color: var(--blue-border); transform: translateY(-2px); box-shadow: var(--shadow); }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--blue);
  color: #fff; font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.step-card p { font-size: 13px; color: var(--text-2); line-height: 1.6; }
.step-arrow { font-size: 22px; color: var(--text-3); align-self: center; padding: 0 4px; flex-shrink: 0; }

/* interviewers */
.interviewers-section { background: var(--bg-2); }
.iv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.iv-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 16px;
  text-align: center; transition: all .25s;
}
.iv-card:hover { border-color: var(--blue-border); transform: translateY(-2px); box-shadow: var(--shadow); }
.iv-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  color: #fff; font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.iv-name { font-weight: 700; font-size: 14px; margin-bottom: 4px; color: var(--text); }
.iv-title { font-size: 12px; color: var(--text-2); margin-bottom: 8px; }
.iv-tag {
  display: inline-block;
  background: var(--blue-bg); color: var(--blue);
  font-size: 11px; font-weight: 600; border: 1px solid var(--blue-border);
  padding: 3px 10px; border-radius: 99px;
}

/* CTA */
.cta-section {
  background: linear-gradient(145deg, #5A3A0A 0%, #8B6914 60%, #6B4F0F 100%);
  padding: 80px 0; text-align: center;
  border-top: 1px solid rgba(0,0,0,.2); border-bottom: 1px solid rgba(0,0,0,.2);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(196,165,90,.08) 0%, transparent 70%);
}
.cta-section h2, .cta-section p { color: #fff !important; }
.cta-section p { color: rgba(255,255,255,.8) !important; }
.cta-inner { position: relative; }
.cta-section h2 { font-size: clamp(22px, 3vw, 34px); font-weight: 800; color: var(--text); margin-bottom: 12px; letter-spacing: -.3px; }
.cta-section p { font-size: 15px; color: var(--text-2); margin-bottom: 32px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* footer */
.footer {
  background: var(--bg-2); padding: 32px 0; text-align: center;
  border-top: 1px solid var(--border);
}
.footer-brand {
  font-size: 20px; font-weight: 800; color: var(--blue);
  margin-bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.footer-copy { font-size: 13px; color: var(--text-3); }

/* ══════════════════════════════
   CV BUILDER — Resume.io Style
══════════════════════════════ */
body.cv-builder-body {
  overflow: hidden;
  height: 100vh;
  padding-top: 64px;
  box-sizing: border-box;
}
.cv-page {
  display: grid;
  grid-template-columns: 440px 1fr;
  grid-template-rows: calc(100vh - 64px);
  height: calc(100vh - 64px);
  overflow: hidden; gap: 0;
}
.cv-sidebar {
  background: #FDF8F2; border-left: 1px solid var(--border);
  overflow-y: auto; overflow-x: hidden;
  height: 100%; min-height: 0;
  position: relative; padding: 0;
  display: flex; flex-direction: column;
}
html[dir="ltr"] .cv-sidebar { border-left: none; border-right: 1px solid var(--border); }
.cv-sidebar-header {
  padding: 16px 20px 12px; border-bottom: 1px solid #F1F5F9; flex-shrink: 0;
}
.cv-sidebar-header h2 { font-size: 15px; font-weight: 700; color: #1A1A1A; margin-bottom: 2px; }
.cv-sidebar-header p { font-size: 11px; color: #9CA3AF; letter-spacing: .02em; text-transform: uppercase; }

/* Section blocks — clean accordion style */
.cv-section-block {
  border: none; border-radius: 0;
  border-bottom: 1px solid #E8DECE;
  background: #FDF8F2; overflow: hidden; margin-bottom: 0;
}
.cv-block-title {
  background: #FDF8F2; color: #1A1A1A;
  font-weight: 700; font-size: 13px;
  padding: 15px 20px; border-bottom: none;
  cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  transition: background .15s; user-select: none;
}
.cv-block-title:hover { background: #F2EAD8; }
.cv-block-title::after {
  content: '⌄'; font-size: 13px; color: #9CA3AF;
  transition: transform .2s; flex-shrink: 0;
}
.cv-section-block.collapsed .cv-block-title::after { transform: rotate(-90deg); }
.cv-section-block.collapsed > *:not(.cv-block-title):not(.cv-block-title-row) { display: none !important; }
.cv-block-title-row {
  background: #FDF8F2; color: #1A1A1A;
  font-weight: 700; font-size: 13px;
  padding: 15px 20px; border-bottom: none;
  display: flex; align-items: center; justify-content: space-between;
}
.cv-section-block .form-row,
.cv-section-block .form-group { padding: 0 20px; }
.cv-section-block .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.cv-section-block .form-group { margin-top: 8px; }
.cv-section-block .form-group:last-child { margin-bottom: 12px; }
.cv-section-block > .radio-row { padding: 10px 20px 14px; }

.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--text-2); margin-bottom: 5px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 8px 12px; border: 1.5px solid var(--border);
  border-radius: 6px; font-family: inherit; font-size: 13px;
  color: var(--text); background: var(--surface); transition: border-color .2s;
  resize: vertical;
}
.form-group select option { background: var(--surface); color: var(--text); }
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(139,105,20,.10);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-3); }

.radio-row { display: flex; gap: 12px; }
.radio-opt { display: flex; align-items: center; gap: 6px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--text); }
.radio-opt input { width: auto; accent-color: var(--blue); }

.add-btn {
  background: transparent; border: none;
  color: var(--blue); font-family: inherit;
  font-weight: 700; font-size: 12px;
  cursor: pointer; padding: 2px 8px;
}
.add-btn:hover { text-decoration: underline; }
.remove-btn {
  background: var(--danger-bg); border: none; color: var(--danger);
  border-radius: 6px; padding: 2px 8px;
  font-size: 12px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

.exp-entry, .edu-entry {
  border-top: 1px solid var(--border); padding-bottom: 4px;
}
.exp-entry:first-child, .edu-entry:first-child { border-top: none; }
.entry-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 20px 0;
}
.entry-num { font-size: 12px; font-weight: 700; color: var(--text-2); }

/* ── Wizard sidebar ─────────────────────────────────────────── */
.wiz-header {
  padding: 14px 20px 8px;
  border-bottom: 1px solid #F1F5F9;
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.wiz-title { font-size: 14px; font-weight: 700; color: #1A1A1A; }
.wiz-step-info { font-size: 11px; color: #9CA3AF; font-weight: 500; }
.wiz-progress-bar { height: 3px; background: #F1F5F9; flex-shrink: 0; }
.wiz-progress-fill { height: 3px; background: #8B6914; transition: width .3s ease; }
.wiz-dots { display: flex; gap: 6px; padding: 10px 20px 8px; flex-shrink: 0; flex-wrap: wrap; }
.wiz-dot { width: 8px; height: 8px; border-radius: 50%; background: #DDD0B0; cursor: pointer; transition: all .2s; border: none; padding: 0; }
.wiz-dot.active { background: #8B6914; transform: scale(1.3); }
.wiz-dot.done { background: #8B6914; }
.wiz-body { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 0; }
.wiz-step { display: none; padding: 16px 20px 20px; }
.wiz-step.active { display: block; }
.wiz-step .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.wiz-step .form-group { margin-top: 8px; }
.wiz-step .form-group:first-child { margin-top: 0; }
.wiz-step .form-group label { display: block; font-size: 12px; font-weight: 600; color: #6B7280; margin-bottom: 5px; }
.wiz-step .form-group input, .wiz-step .form-group textarea, .wiz-step .form-group select {
  width: 100%; padding: 9px 12px; border: 1.5px solid #E5E7EB;
  border-radius: 7px; font-family: inherit; font-size: 13px;
  color: #111; background: #FDF8F2; transition: border-color .2s; resize: vertical; box-sizing: border-box;
}
.wiz-step .form-group input:focus, .wiz-step .form-group textarea:focus { outline: none; border-color: #8B6914; }
.wiz-nav { padding: 12px 16px; border-top: 1px solid #DDD0B8; display: flex; gap: 8px; flex-shrink: 0; background: #FDF8F2; }
.wiz-btn-back { flex: 1; padding: 10px; background: #F2EAD8; border: 1px solid #DDD0B8; border-radius: 8px; font-family: inherit; font-size: 13px; font-weight: 600; color: #374151; cursor: pointer; transition: all .15s; }
.wiz-btn-back:hover { background: #E8DECE; }
.wiz-btn-next { flex: 2; padding: 10px; background: #8B6914; border: none; border-radius: 8px; font-family: inherit; font-size: 13px; font-weight: 700; color: #fff; cursor: pointer; transition: all .15s; }
.wiz-btn-next:hover { background: #6B4F0F; }
.wiz-step-label { font-size: 11px; font-weight: 700; color: #9CA3AF; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; }

/* Ensure sidebar uses flex column for wizard layout */
.cv-sidebar {
  display: flex !important;
  flex-direction: column !important;
}

.cv-actions { padding: 16px 20px 24px; }

/* ── Earthy preview stage ── */
.cv-preview-panel {
  background: #F2EAD8;
  display: flex; flex-direction: column;
  height: 100%; min-height: 0; overflow: hidden;
}
.stage-header {
  background: #E8DECE; border-bottom: 1px solid #DDD0B0;
  padding: 10px 18px; display: flex; align-items: center;
  gap: 10px; flex-shrink: 0;
}
.stage-template-label {
  font-size: 11px; font-weight: 700;
  color: #8B6A4A; white-space: nowrap; flex-shrink: 0;
}
.stage-templates { display: flex; gap: 7px; }
.stage-tpl-opt {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: transparent; border: 2px solid #DDD0B0;
  border-radius: 8px; padding: 5px 7px; cursor: pointer;
  transition: all .2s; font-family: inherit; min-width: 56px;
}
.stage-tpl-opt:hover { border-color: #8B6914; transform: translateY(-1px); }
.stage-tpl-opt.active { border-color: #8B6914; background: rgba(139,105,20,.12); }
.stage-tpl-opt span { font-size: 9px; font-weight: 700; color: #7A5C42; white-space: nowrap; }
.stage-tpl-opt.active span { color: #6B4F0F; }
.stage-actions {
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0; margin-right: auto;
}
html[dir="ltr"] .stage-actions { margin-left: auto; margin-right: 0; }
/* ── Templates Showcase ──────────────────────────────────────── */
.templates-showcase { padding: 20px 16px; direction: rtl; }
.templates-header { text-align: center; margin-bottom: 16px; }
.templates-header h3 { font-size: 18px; font-weight: 800; color: #3D2B1A; font-family: 'Tajawal',sans-serif; margin-bottom: 4px; }
.templates-header p { font-size: 12px; color: #8B6A4A; font-family: 'Tajawal',sans-serif; }
.templates-nav { display: flex; gap: 6px; justify-content: center; margin-bottom: 16px; flex-wrap: wrap; }
.tnav-btn { padding: 5px 14px; border-radius: 50px; border: 1px solid #DDD0B0; background: #FFFDF7; color: #5C3D2E; font-family: 'Tajawal',sans-serif; font-size: 12px; font-weight: 600; cursor: pointer; transition: all .2s; }
.tnav-btn:hover, .tnav-btn.active { background: #8B6914; border-color: #8B6914; color: #FFFDF7; }
.templates-grid { display: none !important; }
.templates-carousel-wrap { position: relative; display: flex; align-items: center; gap: 8px; max-width: 100%; overflow: hidden; padding: 8px 0; }
.templates-carousel { display: flex; gap: 16px; overflow-x: auto; scroll-behavior: smooth; padding: 8px 4px 16px; scrollbar-width: none; -ms-overflow-style: none; flex: 1; }
.templates-carousel::-webkit-scrollbar { display: none; }
.carousel-arrow { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #DDD0B0; background: #FFFDF7; color: #6B4F0F; font-size: 20px; cursor: pointer; flex-shrink: 0; transition: all .2s; display: flex; align-items: center; justify-content: center; z-index: 5; }
.carousel-arrow:hover { background: #8B6914; border-color: #8B6914; color: #FFFDF7; }
.tcard { flex-shrink: 0; width: 160px; background: #FFFDF7; border: 1.5px solid #DDD0B0; border-radius: 10px; overflow: hidden; transition: all .3s; cursor: pointer; position: relative; }
.tcard:hover { border-color: #8B6914; box-shadow: 0 8px 24px rgba(139,105,20,.15); transform: translateY(-4px); }
.tcard.selected { border-color: #8B6914; border-width: 2.5px; box-shadow: 0 0 0 3px rgba(139,105,20,.12); }
.tcard-badge { position: absolute; top: 8px; right: 8px; background: #8B6914; color: #FFFDF7; font-size: 9px; font-weight: 700; padding: 2px 8px; border-radius: 50px; font-family: 'Tajawal',sans-serif; z-index: 5; }
.tcard-preview { width: 160px; height: 226px; overflow: hidden; border-bottom: 1px solid #EEE4C8; background: white; position: relative; }
.tcard:hover .tcard-preview { transform: scale(1.02); }
.tcard-info { padding: 8px 10px; background: #FFFDF7; }
.tcard-name { font-size: 13px; font-weight: 700; color: #3D2B1A; font-family: 'Tajawal',sans-serif; margin-bottom: 2px; }
.tcard-users { font-size: 10px; color: #8B6A4A; font-family: 'Tajawal',sans-serif; margin-bottom: 8px; }
.tcard-btn { width: 100%; padding: 7px; background: #F5EDD6; border: 1px solid #DDD0B0; border-radius: 6px; color: #6B4F0F; font-family: 'Tajawal',sans-serif; font-size: 12px; font-weight: 700; cursor: pointer; transition: all .2s; }
.tcard:hover .tcard-btn, .tcard.selected .tcard-btn { background: #8B6914; border-color: #8B6914; color: #FFFDF7; }
.stage-body {
  flex: 1; overflow-y: auto; padding: 24px 20px 60px;
  display: flex; flex-direction: column; align-items: center;
}
.stage-content {
  width: 100%; max-width: 860px;
  display: flex; flex-direction: column; gap: 16px;
}
.preview-placeholder {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 80px 40px; text-align: center; gap: 12px;
}
.placeholder-icon { font-size: 52px; }
.preview-placeholder h3 { font-size: 18px; font-weight: 700; color: var(--text-2); }
.preview-placeholder p { font-size: 14px; color: var(--text-3); }
/* ATS Control Box */
.ats-control-box { background:#F5EDD6; border:1px solid #DDD0B0; border-radius:12px; padding:16px 20px; display:flex; flex-direction:column; gap:10px; }
.ats-header { display:flex; justify-content:space-between; align-items:center; }
.ats-title { font-size:14px; font-weight:700; color:#6B4F0F; font-family:'Tajawal',sans-serif; }
.ats-num { font-size:24px; font-weight:900; color:#8B6914; font-family:'Tajawal',sans-serif; min-width:54px; text-align:center; }
.ats-slider-h { width:100%; accent-color:#8B6914; cursor:pointer; height:6px; }
.ats-scale { display:flex; justify-content:space-between; font-size:11px; color:#A0856A; font-family:'Tajawal',sans-serif; }
.ats-preview-changes { min-height:38px; background:#FFFDF7; border:1px solid #DDD0B0; border-radius:8px; padding:8px 12px; display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.ats-preview-hint { font-size:12px; color:#A0856A; font-family:'Tajawal',sans-serif; margin:0; width:100%; text-align:center; }
.ats-change-item { display:inline-flex; align-items:center; gap:4px; background:#F5EDD6; border:1px solid #DDD0B0; border-radius:50px; padding:2px 10px; font-size:11px; color:#6B4F0F; font-family:'Tajawal',sans-serif; }
.ats-apply-btn { padding:10px 0; background:#8B6914; color:#FFFDF7; border:none; border-radius:8px; font-family:'Tajawal',sans-serif; font-size:14px; font-weight:700; cursor:pointer; transition:all .2s; animation:none; }
.ats-apply-btn:not([disabled]):hover { background:#6B4F0F; }
.ats-apply-btn[disabled] { background:#DDD0B0; color:#A0856A; cursor:not-allowed; }
.ats-apply-btn.pulse { animation:pulse-btn 1.2s ease-in-out infinite; }
.ats-applied-badge { background:#C49A3C22; border:1px solid #C49A3C; border-radius:8px; padding:8px 14px; font-size:13px; color:#6B4F0F; font-family:'Tajawal',sans-serif; font-weight:700; text-align:center; }
@keyframes pulse-btn { 0%,100%{box-shadow:0 0 0 0 #8B691440} 50%{box-shadow:0 0 0 6px #8B691400} }

/* Preview Toolbar */
.preview-toolbar { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.preview-tool-btn { padding:5px 10px; border:1px solid #DDD0B0; border-radius:6px; background:#FFFDF7; color:#6B4F0F; font-size:12px; cursor:pointer; transition:all .2s; font-family:'Tajawal',sans-serif; }
.preview-tool-btn:hover { background:#8B6914; color:white; border-color:#8B6914; }
.preview-full-btn { background:#8B6914; color:white; border-color:#8B6914; font-weight:700; }
.preview-full-btn:hover { opacity:.88; }

/* CV Preview Container (clipped & scaled) */
.cv-preview-container { background:white; border-radius:8px; box-shadow:0 8px 32px rgba(139,105,20,.14); overflow:hidden; width:100%; position:relative; transition:height .2s; }
.preview-area { background:#fff; width:794px; min-height:1123px; }

.cv-output { padding: 0; }
.loading-cv {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 80px; gap: 16px;
}
.loading-cv p { font-size: 14px; color: var(--text-2); }

/* ── New CV Templates (rendered output) ───────────────────────── */

/* Executive: two-column with dark navy sidebar */
.cv-output.tpl-executive { display: grid; grid-template-columns: 200px 1fr; min-height: 1123px; font-family: 'Georgia', serif; }
.cv-output.tpl-executive .cv-left-col { background: #1E3A5F; color: #fff; padding: 28px 18px; }
.cv-output.tpl-executive .cv-left-col h1 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.cv-output.tpl-executive .cv-left-col .cv-job-title { font-size: 11px; color: #93C5FD; margin-bottom: 20px; }
.cv-output.tpl-executive .cv-left-col h2 { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #93C5FD; border-bottom: 1px solid rgba(255,255,255,.2); padding-bottom: 4px; margin: 18px 0 10px; }
.cv-output.tpl-executive .cv-right-col { padding: 32px 28px; }
.cv-output.tpl-executive .cv-right-col h2 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #1E3A5F; border-bottom: 2px solid #1E3A5F; padding-bottom: 4px; margin: 22px 0 12px; }

/* Minimal: clean single-column with thin rule */
.cv-output.tpl-minimal { font-family: 'Inter', 'Helvetica Neue', sans-serif; padding: 48px 52px; min-height: 1123px; color: #111; }
.cv-output.tpl-minimal .cv-name { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 2px; }
.cv-output.tpl-minimal .cv-job-title { font-size: 13px; color: #6B7280; margin-bottom: 12px; }
.cv-output.tpl-minimal hr { border: none; border-top: 1px solid #111; margin: 12px 0 20px; }
.cv-output.tpl-minimal h2 { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #9CA3AF; margin: 24px 0 10px; }
.cv-output.tpl-minimal p, .cv-output.tpl-minimal li { font-size: 12px; line-height: 1.7; color: #374151; }

/* Tech: dark header with terminal-style accents */
.cv-output.tpl-tech { font-family: 'Inter', monospace; min-height: 1123px; }
.cv-output.tpl-tech .cv-tech-header { background: #1A1A2E; color: #fff; padding: 28px 32px; }
.cv-output.tpl-tech .cv-tech-header h1 { font-size: 22px; font-weight: 800; color: #F8FAFC; margin-bottom: 4px; }
.cv-output.tpl-tech .cv-tech-header .cv-job-title { font-size: 12px; color: #94A3B8; }
.cv-output.tpl-tech .cv-body { padding: 24px 32px; }
.cv-output.tpl-tech h2 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #1A1A2E; border-right: 3px solid #1A1A2E; padding-right: 8px; margin: 20px 0 10px; }
.cv-output.tpl-tech .skill-chip { display: inline-block; background: #F1F5F9; color: #1A1A2E; border-radius: 4px; padding: 3px 10px; font-size: 11px; font-weight: 600; margin: 2px; }

/* Government: formal Saudi-style with green top bar */
.cv-output.tpl-government { font-family: 'Cairo', 'Tahoma', sans-serif; min-height: 1123px; }
.cv-output.tpl-government .cv-gov-bar { height: 6px; background: #8B6914; }
.cv-output.tpl-government .cv-gov-header { text-align: center; padding: 24px 40px 16px; border-bottom: 2px solid #1A1A1A; }
.cv-output.tpl-government .cv-gov-header h1 { font-size: 20px; font-weight: 800; color: #1A1A1A; margin-bottom: 4px; }
.cv-output.tpl-government .cv-gov-header .cv-job-title { font-size: 13px; color: #374151; }
.cv-output.tpl-government .cv-body { padding: 24px 40px; }
.cv-output.tpl-government h2 { font-size: 13px; font-weight: 800; color: #1A1A1A; border-bottom: 1.5px solid #1A1A1A; padding-bottom: 4px; margin: 22px 0 12px; }
.cv-output.tpl-government p, .cv-output.tpl-government li { font-size: 13px; line-height: 1.8; color: #1A1A1A; }

/* ══════════════════════════════
   INTERVIEW SETUP
══════════════════════════════ */
.setup-page { padding: 40px 0 80px; background: var(--bg); }
.setup-header { text-align: center; margin-bottom: 36px; }
.setup-header h1 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; margin-bottom: 8px; color: var(--text); }
.setup-header p { font-size: 14px; color: var(--text-2); }

.steps-indicator {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-bottom: 40px;
}
.step-dot {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface-2); color: var(--text-3);
  font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s; flex-shrink: 0; border: 1px solid var(--border);
}
.step-dot.active { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: var(--shadow-glow); }
.step-dot.done { background: var(--blue-dark); color: #fff; border-color: var(--blue-dark); }
.step-line { flex: 1; max-width: 80px; height: 2px; background: var(--border); }

.setup-step { display: none; }
.setup-step.active { display: block; }
.step-title { font-size: 18px; font-weight: 800; color: var(--blue); margin-bottom: 24px; }

.setup-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  margin-bottom: 20px; box-shadow: var(--shadow);
}
.setup-card-title {
  font-size: 11px; font-weight: 700; color: var(--text-3);
  margin-bottom: 16px; text-transform: uppercase; letter-spacing: .7px;
}
.setup-input {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: inherit; font-size: 14px; color: var(--text);
  background: var(--surface); transition: border-color .2s;
}
.setup-input::placeholder { color: var(--text-3); }
.setup-input:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,58,95,.10);
}
.custom-input {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--blue); border-radius: var(--radius);
  font-family: inherit; font-size: 14px;
  background: var(--surface); color: var(--text);
}
.custom-input::placeholder { color: var(--text-3); }
.custom-input:focus { outline: none; box-shadow: 0 0 0 3px rgba(30,58,95,.10); }

/* spec grid */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.spec-opt {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 500;
  transition: all .2s; background: var(--surface); color: var(--text-2);
}
.spec-opt:hover { border-color: var(--blue); background: var(--blue-bg); color: var(--blue); }
.spec-opt input { display: none; }
.spec-opt:has(input:checked) { border-color: var(--blue); background: var(--blue-bg); color: var(--blue); font-weight: 700; }

/* company grid */
.company-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.company-opt {
  display: flex; align-items: center; justify-content: center;
  padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 500;
  text-align: center; transition: all .2s; background: var(--surface); color: var(--text-2);
}
.company-opt:hover { border-color: var(--blue); background: var(--blue-bg); color: var(--blue); }
.company-opt input { display: none; }
.company-opt.selected { border-color: var(--blue); background: var(--blue-bg); color: var(--blue); font-weight: 700; }

/* big radio */
.big-radio-row { display: flex; gap: 16px; }
.big-radio-opt {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px; border: 2px solid var(--border);
  border-radius: var(--radius-lg); cursor: pointer;
  font-size: 14px; font-weight: 600; transition: all .2s;
  background: var(--surface); color: var(--text-2);
}
.big-radio-opt:hover { border-color: var(--blue); background: var(--blue-bg); color: var(--blue); }
.big-radio-opt input { display: none; }
.big-radio-opt.selected { border-color: var(--blue); background: var(--blue-bg); color: var(--blue); }
.big-radio-icon { font-size: 28px; }

/* level, type, diff grids */
.level-grid, .itype-grid, .diff-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.level-opt, .diff-opt {
  flex: 1; min-width: 120px; display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 500;
  transition: all .2s; background: var(--surface); color: var(--text-2);
}
.level-opt input, .diff-opt input { display: none; }
.level-opt:hover, .diff-opt:hover { border-color: var(--blue); background: var(--blue-bg); color: var(--blue); }
.level-opt.selected, .diff-opt.selected { border-color: var(--blue); background: var(--blue-bg); color: var(--blue); font-weight: 700; }

.itype-opt {
  flex: 1; min-width: 140px; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 16px; border: 1.5px solid var(--border);
  border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 500;
  transition: all .2s; text-align: center; background: var(--surface); color: var(--text-2);
}
.itype-opt input { display: none; }
.itype-opt:hover { border-color: var(--blue); background: var(--blue-bg); color: var(--blue); }
.itype-opt.selected { border-color: var(--blue); background: var(--blue-bg); color: var(--blue); font-weight: 700; }
.itype-icon { font-size: 24px; }
.diff-icon { font-size: 20px; }

/* duration */
.duration-grid { display: flex; gap: 10px; }
.duration-opt {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 16px 8px; border: 1.5px solid var(--border);
  border-radius: 10px; cursor: pointer; transition: all .2s; background: var(--surface);
}
.duration-opt input { display: none; }
.duration-opt:hover { border-color: var(--blue); background: var(--blue-bg); }
.duration-opt.selected { border-color: var(--blue); background: var(--blue-bg); }
.duration-opt span { font-size: 22px; font-weight: 800; color: var(--blue); }
.duration-opt small { font-size: 11px; color: var(--text-2); }

/* exp slider */
.exp-slider-wrap { display: flex; align-items: center; gap: 16px; }
.exp-slider-wrap input[type="range"] {
  flex: 1; -webkit-appearance: none; height: 4px;
  background: linear-gradient(to left, var(--surface-3) 0%, var(--blue) 0%);
  border-radius: 99px; outline: none;
}
html[dir="ltr"] .exp-slider-wrap input[type="range"] {
  background: linear-gradient(to right, var(--blue) 0%, var(--surface-3) 100%);
}
.exp-slider-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px;
  border-radius: 50%; background: var(--blue);
  box-shadow: 0 1px 4px rgba(30,58,95,.3); cursor: pointer;
}
.exp-display {
  font-size: 20px; font-weight: 800; color: var(--blue);
  min-width: 60px; display: flex; gap: 4px; align-items: baseline;
}

/* panel selector */
.panel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.panel-opt {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 20px 16px; border: 2px solid var(--border);
  border-radius: var(--radius-lg); cursor: pointer;
  text-align: center; transition: all .25s; background: var(--surface);
}
.panel-opt input { display: none; }
.panel-opt:hover {
  border-color: var(--blue); transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.panel-opt.selected { border-color: var(--blue); background: var(--blue-bg); }
.panel-avatars { display: flex; gap: 4px; }
.panel-avatar { font-size: 32px; }
.panel-label { font-size: 14px; font-weight: 700; color: var(--text); }
.panel-desc { font-size: 12px; color: var(--text-2); }

/* summary */
.setup-summary {
  background: var(--blue-bg); border: 1px solid var(--blue-border);
  border-radius: var(--radius-lg); padding: 20px; margin-bottom: 24px;
}
.summary-title { font-size: 14px; font-weight: 700; color: var(--blue); margin-bottom: 14px; }
.summary-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.summary-item {
  background: rgba(30,58,95,.05); border-radius: 8px; padding: 10px 12px;
  display: flex; flex-direction: column; gap: 2px;
  border: 1px solid var(--blue-border);
}
.summary-key { font-size: 11px; color: var(--text-3); font-weight: 600; text-transform: uppercase; }
.summary-val { font-size: 13px; font-weight: 700; color: var(--text); }

/* step nav */
.step-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.btn-next { min-width: 160px; }

/* ══════════════════════════════
   INTERVIEW PAGE
══════════════════════════════ */
body.interview-body {
  display: flex; flex-direction: column; height: 100vh;
  overflow: hidden; background: var(--bg);
}

/* top bar */
.interview-topbar {
  height: 60px;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; gap: 16px; flex-shrink: 0; z-index: 50;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-logo { font-weight: 800; font-size: 18px; color: var(--blue); text-decoration: none; display: flex; align-items: center; gap: 6px; }
.topbar-job { font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.topbar-pill {
  background: var(--blue-bg); color: var(--blue);
  font-size: 11px; font-weight: 700; padding: 2px 8px;
  border-radius: 99px; text-transform: uppercase;
  border: 1px solid var(--blue-border);
}
.topbar-center { display: flex; justify-content: center; }
.topbar-left { display: flex; align-items: center; gap: 14px; }

/* timer */
.timer-wrap { display: flex; justify-content: center; }
.timer-ring { position: relative; width: 52px; height: 52px; }
.timer-ring svg { width: 52px; height: 52px; }
.timer-text {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--blue);
}

/* score counter */
.score-counter { display: flex; align-items: center; gap: 4px; }
.score-label { font-size: 12px; color: var(--text-2); }
.score-value { font-size: 20px; font-weight: 800; color: var(--blue); }

/* sound toggle */
.sound-btn {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; flex-shrink: 0;
}
.sound-btn:hover  { background: var(--surface-3); border-color: var(--blue); }
.sound-btn.muted  { background: var(--danger-bg); border-color: rgba(192,57,43,.2); }

/* replay button */
.replay-btn {
  display: inline-flex; align-items: center;
  margin-top: 8px; padding: 3px 10px;
  background: transparent; border: 1px solid var(--border);
  border-radius: 99px; font-size: 12px;
  cursor: pointer; color: var(--text-2);
  transition: all .2s; gap: 4px;
}
.replay-btn:hover    { background: var(--blue-bg); border-color: var(--blue); color: var(--blue); }
.replay-btn:disabled { opacity: .5; cursor: wait; }

/* pulsing ring when audio plays */
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(30,58,95,.3); }
  70%  { box-shadow: 0 0 0 8px rgba(30,58,95,0); }
  100% { box-shadow: 0 0 0 0 rgba(30,58,95,0); }
}
.sound-btn.playing { animation: pulse-ring 1.2s infinite; background: var(--blue-bg); border-color: var(--blue); }

/* end btn */
.topbar-end-btn {
  background: var(--danger-bg); color: var(--danger);
  border: 1px solid rgba(192,57,43,.2); border-radius: 6px;
  padding: 6px 14px; font-family: inherit; font-size: 13px;
  font-weight: 600; cursor: pointer; transition: all .2s;
}
.topbar-end-btn:hover { background: var(--danger); color: #fff; }
.topbar-end-btn:disabled { opacity: .4; cursor: not-allowed; }

/* TTS warning banner */
.tts-banner {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--warning-bg); border-bottom: 1px solid rgba(211,84,0,.15);
  padding: 8px 20px; font-size: 13px; color: var(--warning);
  flex-shrink: 0;
}
.tts-banner-link { color: var(--blue); font-weight: 700; text-decoration: none; white-space: nowrap; }
.tts-banner-link:hover { text-decoration: underline; }
.tts-banner-close {
  background: none; border: none; cursor: pointer;
  color: var(--warning); font-size: 16px; padding: 0 4px;
  margin-right: auto; margin-left: 0;
}
html[dir="ltr"] .tts-banner-close { margin-left: auto; margin-right: 0; }

/* iv bar */
.iv-bar {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 10px 0; flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.iv-bar-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.iv-chip {
  display: flex; align-items: center; gap: 10px;
  border-radius: 8px; padding: 4px 8px;
  transition: background .2s;
}
.iv-chip-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  color: #fff; font-weight: 700; font-size: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: box-shadow .2s, outline .2s;
  overflow: hidden; position: relative;
}
.iv-chip-photo {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  display: block; border-radius: 50%;
}
.iv-chip-initials {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
}
.iv-chip-name { font-size: 13px; font-weight: 700; color: var(--text); }
.iv-chip-title { font-size: 11px; color: var(--text-2); }
.iv-separator { font-size: 18px; color: var(--text-3); font-weight: 700; }
.iv-bar-settings { margin-right: auto; display: flex; gap: 8px; flex-wrap: wrap; }
html[dir="ltr"] .iv-bar-settings { margin-left: auto; margin-right: 0; }
.pill-tag {
  background: var(--blue-bg); color: var(--blue);
  font-size: 11px; font-weight: 700; padding: 3px 10px;
  border-radius: 99px; border: 1px solid var(--blue-border);
}

@keyframes speak-pulse {
  0%, 100% { box-shadow: 0 0 0 0   rgba(30, 58, 95, .5); }
  50%       { box-shadow: 0 0 0 7px rgba(30, 58, 95, 0);  }
}
.iv-chip.speaking { background: var(--blue-bg); }
.iv-chip.speaking .iv-chip-avatar {
  outline: 2.5px solid var(--blue-light);
  outline-offset: 2px;
  animation: speak-pulse 1.1s ease-in-out infinite;
}

/* main interview */
.interview-main {
  display: flex; flex-direction: column; flex: 1; overflow: hidden; position: relative;
}

/* chat area */
.chat-area {
  flex: 1; overflow-y: auto; padding: 24px;
  display: flex; flex-direction: column; gap: 20px;
  scroll-behavior: smooth;
  margin-left: 200px;
  background: var(--bg-2);
}
html[dir="ltr"] .chat-area { margin-left: 0; margin-right: 200px; }
@media (max-width: 900px) { .chat-area { margin-left: 0 !important; margin-right: 0 !important; } }

.chat-start-hint {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
  flex: 1; gap: 14px; padding: 40px;
}
.hint-icon { font-size: 52px; }
.chat-start-hint h3 { font-size: 20px; font-weight: 800; color: var(--text); }
.chat-start-hint p { font-size: 14px; color: var(--text-2); }
.start-interview-btn { min-width: 220px; }

/* chat bubbles */
.chat-bubble-wrap { display: flex; flex-direction: column; gap: 6px; max-width: 76%; }
.chat-bubble-wrap.interviewer { align-self: flex-start; }
.chat-bubble-wrap.user { align-self: flex-end; }
.chat-bubble-wrap.system { align-self: center; max-width: 90%; }

.bubble-meta { display: flex; align-items: center; gap: 8px; }
.user-meta { flex-direction: row-reverse; }
.bubble-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  color: #fff; font-weight: 700; font-size: 11px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  overflow: hidden; position: relative;
}
.bubble-av-photo {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  display: block; border-radius: 50%;
}
.bubble-av-init {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff;
}
.user-av { background: var(--blue); }
.bubble-sender { font-size: 12px; font-weight: 600; color: var(--text-2); }

.bubble { padding: 14px 18px; border-radius: 14px; }
.iv-bubble {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 4px 14px 14px 14px; color: var(--text);
}
html[dir="ltr"] .iv-bubble { border-radius: 14px 4px 14px 14px; }
.user-bubble {
  background: var(--blue);
  color: #fff; border-radius: 14px 4px 14px 14px; font-weight: 500;
}
html[dir="ltr"] .user-bubble { border-radius: 4px 14px 14px 14px; }
.system-bubble {
  background: var(--warning-bg); border: 1px solid rgba(211,84,0,.15);
  border-radius: 10px; padding: 12px 16px; font-size: 13px; color: var(--warning);
}

.bubble-text { font-size: 14px; line-height: 1.75; }
.bubble-note {
  background: var(--blue-bg); color: var(--blue);
  border-radius: 6px; padding: 8px 12px; border: 1px solid var(--blue-border);
  font-size: 13px; font-weight: 500; margin-top: 10px;
}
.bubble-score {
  display: inline-flex; align-items: center; gap: 4px;
  border: 2px solid; border-radius: 99px;
  padding: 3px 12px; font-size: 13px; font-weight: 700;
  margin-top: 10px;
}

/* typing */
.typing-bubble { padding: 14px 20px !important; }
.typing-bubble .dot {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; background: var(--text-3); margin: 0 2px;
  animation: blink .9s infinite;
}
.typing-bubble .dot:nth-child(2) { animation-delay: .2s; }
.typing-bubble .dot:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,80%,100%{opacity:.2} 40%{opacity:1} }

/* input area */
.input-area {
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 14px 0; flex-shrink: 0;
  box-shadow: 0 -1px 4px rgba(0,0,0,.04);
}
.input-wrap { display: flex; flex-direction: column; gap: 8px; }
.input-actions-top { display: flex; align-items: center; justify-content: space-between; }
.hint-btn {
  background: var(--warning-bg); border: 1px solid rgba(211,84,0,.15); color: var(--warning);
  border-radius: 6px; padding: 5px 12px;
  font-family: inherit; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.hint-btn:hover { background: rgba(211,84,0,.14); }
.q-count-badge {
  background: var(--blue-bg); color: var(--blue);
  font-size: 12px; font-weight: 700; padding: 3px 10px;
  border-radius: 99px; border: 1px solid var(--blue-border);
}
.textarea-row { display: flex; gap: 10px; align-items: flex-end; }
#userInput {
  flex: 1; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-family: inherit; font-size: 14px;
  resize: none; transition: border-color .2s; line-height: 1.6;
  background: var(--surface); color: var(--text);
}
#userInput::placeholder { color: var(--text-3); }
#userInput:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,58,95,.10); }
#userInput:disabled { background: var(--bg-2); color: var(--text-3); }

/* mic button */
.mic-btn {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--surface-2); border: 1.5px solid var(--border);
  font-size: 20px; cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, transform .1s;
}
.mic-btn:hover:not(:disabled) { background: var(--danger-bg); border-color: rgba(192,57,43,.2); transform: scale(1.05); }
.mic-btn:disabled { opacity: .35; cursor: not-allowed; }

@keyframes mic-pulse {
  0%, 100% { box-shadow: 0 0 0 0   rgba(192,57,43,.4); }
  50%       { box-shadow: 0 0 0 10px rgba(192,57,43,0);  }
}
.mic-btn.listening {
  background: var(--danger-bg); border-color: rgba(192,57,43,.3);
  animation: mic-pulse 1s ease-in-out infinite;
}

@keyframes mic-continuous-pulse {
  0%, 100% { box-shadow: 0 0 0 0  rgba(30,58,95,.35); }
  50%       { box-shadow: 0 0 0 8px rgba(30,58,95,0);  }
}
.mic-btn.continuous {
  background: var(--blue-bg); border-color: var(--blue-border);
  animation: mic-continuous-pulse 1.6s ease-in-out infinite;
}

.send-btn {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--blue); color: #fff; border: none;
  font-size: 22px; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: all .2s; flex-shrink: 0;
}
.send-btn:hover { background: var(--blue-light); transform: scale(1.05); box-shadow: 0 4px 12px rgba(30,58,95,.2); }
.send-btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.send-icon { line-height: 1; }
.input-footer { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.char-count, .input-hint { font-size: 11px; color: var(--text-3); }
.voice-status {
  display: none; flex: 1; text-align: center;
  font-size: 11px; font-weight: 600; color: var(--blue);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* scores sidebar */
.scores-sidebar {
  position: fixed; left: 0; top: 120px; bottom: 0;
  width: 200px;
  background: var(--surface); border-left: 1px solid var(--border);
  flex-direction: column; gap: 12px; padding: 16px; overflow-y: auto;
  z-index: 20;
  box-shadow: 2px 0 8px rgba(0,0,0,.04);
}
html[dir="ltr"] .scores-sidebar { left: auto; right: 0; border-left: none; border-right: 1px solid var(--border); }
.scores-title { font-size: 12px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .5px; }
.scores-list { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.score-row { display: flex; align-items: center; gap: 6px; }
.score-q-num { font-size: 11px; color: var(--text-3); min-width: 24px; }
.score-bar-mini { flex: 1; height: 4px; background: var(--surface-3); border-radius: 99px; overflow: hidden; }
.score-fill { height: 100%; border-radius: 99px; transition: width .5s; }
.score-num { font-size: 12px; font-weight: 700; min-width: 20px; text-align: left; color: var(--text); }
.scores-avg-wrap { border-top: 1px solid var(--border); padding-top: 10px; text-align: center; }
.scores-avg-label { font-size: 11px; color: var(--text-3); text-transform: uppercase; }
.scores-avg-val { font-size: 20px; font-weight: 800; color: var(--blue); }

/* time toast */
.time-toast {
  position: fixed; top: 80px; right: 50%;
  transform: translateX(50%);
  background: var(--surface); color: var(--text);
  font-size: 14px; font-weight: 600;
  padding: 10px 20px; border-radius: 99px;
  box-shadow: var(--shadow-lg); z-index: 200;
  opacity: 0; transition: opacity .3s;
  white-space: nowrap; border: 1px solid var(--border);
}
.time-toast.show { opacity: 1; }
.time-toast.urgent { background: var(--danger); color: #fff; border-color: var(--danger); }

/* ══════════════════════════════
   MODALS
══════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,.35);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-box {
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  width: 100%; max-width: 720px; max-height: 90vh;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.modal-sm { max-width: 460px; }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
}
.modal-header h2 { font-size: 17px; font-weight: 800; color: var(--text); }
.modal-close {
  background: none; border: none; font-size: 20px;
  cursor: pointer; color: var(--text-2); padding: 4px 8px;
  border-radius: 6px; transition: background .2s;
}
.modal-close:hover { background: var(--surface-2); color: var(--text); }
.modal-body { flex: 1; overflow-y: auto; padding: 24px; }
.modal-body p { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.modal-footer {
  display: flex; gap: 12px; justify-content: flex-end;
  padding: 16px 24px; border-top: 1px solid var(--border);
  background: var(--bg-2);
}

/* report score bar */
.modal-score-bar {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 24px; background: var(--blue-bg);
  border-bottom: 1px solid var(--blue-border);
}
.report-score-circle {
  width: 80px; height: 80px; border-radius: 50%;
  border: 4px solid; display: flex; flex-direction: column;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.rsc-value { font-size: 24px; font-weight: 900; line-height: 1; }
.rsc-label { font-size: 12px; color: var(--text-2); }
.report-score-info { display: flex; flex-direction: column; gap: 4px; }
.rsc-grade { font-size: 18px; font-weight: 800; color: var(--text); }
.rsc-questions { font-size: 13px; color: var(--text-2); }
.rsc-scores-mini { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px; }
.rsc-scores-mini span {
  width: 24px; height: 24px; border-radius: 50%;
  color: #fff; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* report text */
.report-text h2 { font-size: 18px; font-weight: 800; color: var(--blue); margin: 20px 0 10px; }
.report-text h3 { font-size: 15px; font-weight: 700; color: var(--blue-light); margin: 16px 0 8px; }
.report-text ul { padding-right: 20px; margin: 8px 0; }
html[dir="ltr"] .report-text ul { padding-left: 20px; padding-right: 0; }
.report-text li { font-size: 14px; line-height: 1.8; color: var(--text-2); margin-bottom: 4px; }
.report-text strong { color: var(--text); }

/* loading */
.loader {
  width: 40px; height: 40px; border: 3px solid var(--surface-3);
  border-top-color: var(--blue); border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-report {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 16px; padding: 60px;
}
.loading-report p { font-size: 14px; color: var(--text-2); }

/* error */
.error-msg {
  background: var(--danger-bg); color: var(--danger);
  border: 1px solid rgba(192,57,43,.15);
  border-radius: 8px; padding: 16px; font-size: 14px;
  text-align: center;
}

/* ══════════════════════════════
   SCROLL REVEAL ANIMATION
══════════════════════════════ */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.reveal { animation: revealUp .45s ease both; }
.reveal-d1 { animation-delay: .05s; }
.reveal-d2 { animation-delay: .10s; }
.reveal-d3 { animation-delay: .15s; }
.reveal-d4 { animation-delay: .20s; }

/* ══════════════════════════════
   HAMBURGER / MOBILE NAV
══════════════════════════════ */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px;
  background: none; border: 1.5px solid var(--border);
  border-radius: 8px; cursor: pointer; flex-shrink: 0;
  transition: border-color .2s;
}
.nav-hamburger:hover { border-color: #C49A3C; }
.nav-hamburger span {
  display: block; width: 18px; height: 2px;
  background: var(--text); border-radius: 99px;
  transition: all .25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
@media (max-width: 960px) {
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed; inset: 64px 0 0 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column; align-items: flex-start;
    gap: 0; padding: 16px 0;
    border-top: 1px solid var(--border);
    z-index: 99; overflow-y: auto;
    box-shadow: 0 16px 40px rgba(0,0,0,.08);
  }
  .nav-links.open { display: flex; }

  .nav-links .nav-link {
    width: 100%; padding: 14px 24px;
    font-size: 15px; border-radius: 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links .nav-link:last-child { border-bottom: none; }

  .nav-links .btn { margin: 16px 24px 8px; width: calc(100% - 48px); text-align: center; }
  .nav-links .lang-btn { margin: 8px 24px; }
  .nav-links .nav-user-chip {
    margin: 16px 24px 8px; width: auto;
    border-radius: 99px; padding: 8px 16px;
  }
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card-wrap { display: none; }
  .steps-row { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }
}
@media (max-width: 900px) {
  .cv-page { grid-template-columns: 1fr; height: auto; overflow: visible; }
  .cv-sidebar { position: static; height: auto; }
  .cv-preview-panel { height: 600px; }
  .stage-body { padding: 20px 16px 40px; }
  .scores-sidebar { display: none !important; }
}
@media (max-width: 600px) {
  .hero { padding: 48px 0 40px; }
  .hero-btns { flex-direction: column; }
  .hero-stats { gap: 16px; }
  .panel-grid { grid-template-columns: 1fr 1fr; }
  .duration-grid { gap: 6px; }
  .interview-topbar { padding: 0 12px; }
  .topbar-job { display: none; }
  .modal-box { max-height: 95vh; }
  .iv-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 48px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .feat-card { padding: 20px; }
}

/* ═══════════════════════════════════════════════════
   HOMEPAGE — resume.io quality redesign
   ═══════════════════════════════════════════════════ */

/* Hero Dark */
.hero-dark {
  background: #F0F4F9;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-dark::after {
  content:'';
  position:absolute;
  inset:0;
  background: radial-gradient(ellipse 80% 60% at 30% 100%, rgba(139,105,20,.10) 0%, transparent 70%);
  pointer-events:none;
}
.hero-dark-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}
.hero-dark-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(139,105,20,.18);
  border: 1px solid rgba(139,105,20,.35);
  color: #8B6914;
  padding: 5px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: .04em;
}
.hero-dark h1 {
  font-size: 44px;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.hero-dark h1 em {
  color: #8B6914;
  font-style: normal;
}
.hero-dark-sub {
  font-size: 16px;
  color: rgba(255,255,255,.6);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-dark-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn-hero-primary {
  padding: 14px 28px;
  background: #fff;
  color: #111;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero-primary:hover {
  background: #f0fdf4;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,.15);
}
.btn-hero-secondary {
  padding: 14px 28px;
  background: transparent;
  color: rgba(255,255,255,.8);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero-secondary:hover {
  border-color: rgba(255,255,255,.5);
  color: #fff;
  background: rgba(255,255,255,.06);
}
.hero-dark-stats {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.hero-stat-val {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-lbl {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  font-weight: 500;
}

/* Trust bar */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  padding: 16px 0;
}
.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}
.trust-bar-label {
  font-size: 11px;
  font-weight: 700;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
  flex-shrink: 0;
}
.trust-bar-divider { width: 1px; height: 20px; background: #E5E7EB; flex-shrink: 0; }
.trust-bar-companies {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-company {
  font-size: 13px;
  font-weight: 700;
  color: #6B7280;
  white-space: nowrap;
}

/* Features clean */
.section-clean {
  padding: 96px 0;
  background: #fff;
}
.section-clean-dark {
  padding: 96px 0;
  background: #F0F4F9;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  color: #8B6914;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.section-title-clean {
  font-size: 36px;
  font-weight: 800;
  color: #111;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}
.section-title-clean.light { color: #fff; }
.section-sub-clean {
  font-size: 16px;
  color: #6B7280;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 0;
}
.section-sub-clean.light { color: rgba(255,255,255,.55); }

.features-clean-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #E5E7EB;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 56px;
}
.feat-clean-card {
  background: #fff;
  padding: 32px 28px;
  transition: background .2s;
}
.feat-clean-card:hover { background: #fafafa; }
.feat-clean-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8B6914;
  margin-bottom: 20px;
}
.feat-clean-title {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
  line-height: 1.3;
}
.feat-clean-desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.7;
}

/* Stats dark section */
.stats-dark-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 56px;
}
.stat-dark-item {
  padding: 40px 32px;
  background: rgba(255,255,255,.03);
  text-align: center;
}
.stat-dark-val {
  font-size: 48px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -.03em;
}
.stat-dark-val em { color: #8B6914; font-style: normal; }
.stat-dark-label {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  line-height: 1.5;
}

/* Steps clean */
.steps-clean-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
}
.steps-clean-grid::before {
  content: '';
  position: absolute;
  top: 24px;
  right: 12%;
  left: 12%;
  height: 1px;
  background: #E5E7EB;
}
.step-clean {
  position: relative;
  text-align: center;
}
.step-clean-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #8B6914;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
.step-clean h3 {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}
.step-clean p { font-size: 13px; color: #6B7280; line-height: 1.6; }

/* Interviewers clean */
.iv-clean-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.iv-clean-card {
  background: #FDF8F2;
  border: 1px solid #DDD0B8;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.iv-clean-card:hover {
  border-color: #8B6914;
  box-shadow: 0 4px 20px rgba(139,105,20,.08);
}
.iv-clean-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.iv-clean-name { font-size: 14px; font-weight: 700; color: #111; margin-bottom: 2px; }
.iv-clean-title { font-size: 12px; color: #6B7280; margin-bottom: 4px; }
.iv-clean-tag { font-size: 11px; color: #8B6914; font-weight: 600; }

/* Pricing clean */
.pricing-clean-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pricing-clean-card {
  background: #FDF8F2;
  border: 1px solid #DDD0B8;
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, box-shadow .2s;
  position: relative;
}
.pricing-clean-card:hover {
  border-color: #D1D5DB;
  box-shadow: 0 8px 32px rgba(0,0,0,.06);
}
.pricing-clean-card.featured {
  border: 2px solid #111;
  box-shadow: 0 8px 40px rgba(0,0,0,.1);
}
.pricing-clean-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 99px;
  white-space: nowrap;
}
.pricing-clean-tier {
  font-size: 11px;
  font-weight: 700;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 16px;
}
.pricing-clean-amount {
  font-size: 40px;
  font-weight: 900;
  color: #111;
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-clean-amount span {
  font-size: 16px;
  font-weight: 500;
  color: #6B7280;
}
.pricing-clean-period { font-size: 13px; color: #9CA3AF; margin-bottom: 28px; }
.pricing-clean-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-clean-list li {
  font-size: 13px;
  color: #374151;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.pricing-clean-list li::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f0fdf4;
  border: 1.5px solid #8B6914;
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%2316a34a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.pricing-clean-btn {
  display: block;
  text-align: center;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.pricing-clean-btn.outline {
  background: transparent;
  border: 1.5px solid #E5E7EB;
  color: #111;
}
.pricing-clean-btn.outline:hover {
  border-color: #111;
  background: #f9fafb;
}
.pricing-clean-btn.primary {
  background: #111;
  color: #fff;
  border: none;
}
.pricing-clean-btn.primary:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}

/* CTA green section */
.cta-green {
  background: #8B6914;
  padding: 96px 0;
  text-align: center;
}
.cta-green h2 {
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.cta-green p {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  margin-bottom: 36px;
}
.cta-green-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-cta-white {
  padding: 14px 28px;
  background: #fff;
  color: #8B6914;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.btn-cta-outline-white {
  padding: 14px 28px;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-cta-outline-white:hover {
  border-color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.08);
}

/* Footer dark */
.footer-dark {
  background: #F0F4F9;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 40px 0;
}
.footer-dark-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-dark-brand {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}
.footer-dark-brand span { color: #8B6914; }
.footer-dark-links { display: flex; gap: 24px; }
.footer-dark-link {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  text-decoration: none;
  transition: color .2s;
}
.footer-dark-link:hover { color: rgba(255,255,255,.8); }
.footer-dark-copy { font-size: 12px; color: rgba(255,255,255,.25); }

/* Interview mock - clean version */
.mock-card-clean {
  background: #1A1D27;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.06);
}
.mock-card-clean-header {
  background: #13151E;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mock-card-clean-dots { display: flex; gap: 6px; }
.mock-card-clean-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.mock-card-clean-title { font-size: 12px; color: rgba(255,255,255,.3); flex: 1; text-align: center; }
.mock-chat-clean { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.mock-bubble-clean {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.6;
}
.mock-bubble-clean.iv {
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.7);
  align-self: flex-start;
  border-bottom-right-radius: 4px;
}
.mock-bubble-clean.usr {
  background: #8B6914;
  color: rgba(255,255,255,.9);
  align-self: flex-end;
  border-bottom-left-radius: 4px;
}
html[dir="rtl"] .mock-bubble-clean.iv { border-bottom-right-radius: 12px; border-bottom-left-radius: 4px; }
html[dir="rtl"] .mock-bubble-clean.usr { border-bottom-left-radius: 12px; border-bottom-right-radius: 4px; }
.mock-score-clean {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(139,105,20,.08);
  border: 1px solid rgba(139,105,20,.18);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #8B6914;
}
.mock-footer-clean {
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  gap: 10px;
}
.mock-progress-clean {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,.08);
  border-radius: 99px;
  overflow: hidden;
}
.mock-progress-fill { height: 100%; background: #8B6914; border-radius: 99px; }
.mock-q-clean { font-size: 11px; color: rgba(255,255,255,.3); }

/* Responsive overrides for homepage redesign */
@media (max-width: 1024px) {
  .hero-dark-inner { grid-template-columns: 1fr; }
  .hero-dark-inner > div:last-child { display: none; }
  .features-clean-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-clean-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-clean-grid::before { display: none; }
  .iv-clean-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-clean-grid { grid-template-columns: 1fr; }
  .stats-dark-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-dark h1 { font-size: 28px; }
  .hero-dark { padding: 72px 0 56px; }
  .hero-dark-inner { padding: 0 20px; }
  .features-clean-grid { grid-template-columns: 1fr; }
  .iv-clean-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { flex-wrap: wrap; }
  .hero-dark-stats { flex-wrap: wrap; gap: 20px; }
  .section-title-clean { font-size: 26px; }
  .cta-green h2 { font-size: 26px; }
  .section-clean { padding: 64px 0; }
  .section-clean-dark { padding: 64px 0; }
  .footer-dark-inner { flex-direction: column; align-items: flex-start; padding: 0 20px; }
  .footer-dark-links { flex-wrap: wrap; gap: 16px; }
}


/* ═══════════════════════════════════════════════════
   MASARI V2 REDESIGN
   ═══════════════════════════════════════════════════ */

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity:0; transform: translateY(24px); }
  to   { opacity:1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity:0; }
  to   { opacity:1; }
}
.anim-fade-up  { opacity:0; }
.anim-slide-up { opacity:0; transform: translateY(32px); transition: opacity .6s ease, transform .6s ease; }
.anim-slide-up.visible { opacity:1; transform: translateY(0); }
.anim-delay-1 { transition-delay: .1s; }
.anim-delay-2 { transition-delay: .2s; }
.anim-delay-3 { transition-delay: .35s; }
.anim-delay-4 { transition-delay: .5s; }

/* Hero text loads with animation */
.hero-v2 .anim-fade-up { animation: fadeUp .8s ease forwards; }
.hero-v2 .anim-delay-1 { animation-delay:.1s; }
.hero-v2 .anim-delay-2 { animation-delay:.25s; }
.hero-v2 .anim-delay-3 { animation-delay:.4s; }

/* ── Navbar V2 ── */
.navbar-v2 {
  position: fixed; top:0; left:0; right:0; z-index:9999;
  height:64px;
  background: transparent;
  transition: background .3s ease, box-shadow .3s ease;
}
.navbar-v2.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.nav-v2-inner {
  display:flex; align-items:center; justify-content:space-between;
  height:64px; max-width:1200px; margin:0 auto; padding:0 40px;
}
.brand-v2 {
  font-size:20px; font-weight:900; color:#fff; text-decoration:none;
  transition:color .3s;
  flex-shrink:0;
}
.navbar-v2.scrolled .brand-v2 { color:#111; }
.nav-v2-links { display:flex; gap:28px; align-items:center; }
.nav-v2-link {
  font-size:14px; font-weight:600; color:rgba(255,255,255,.8);
  text-decoration:none; transition:color .2s;
  white-space:nowrap;
}
.nav-v2-link:hover { color:#fff; }
.navbar-v2.scrolled .nav-v2-link { color:#374151; }
.navbar-v2.scrolled .nav-v2-link:hover { color:#8B6914; }
.nav-v2-actions { display:flex; gap:12px; align-items:center; flex-shrink:0; }
.nav-v2-login {
  font-size:14px; font-weight:600; color:rgba(255,255,255,.8);
  text-decoration:none; transition:color .2s; white-space:nowrap;
}
.navbar-v2.scrolled .nav-v2-login { color:#374151; }
.nav-v2-login:hover { color:#fff; }
.navbar-v2.scrolled .nav-v2-login:hover { color:#8B6914; }
.nav-v2-user {
  display:flex; align-items:center; gap:7px;
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2);
  border-radius:99px; padding:4px 12px 4px 6px;
  font-size:13px; font-weight:700; color:#fff; text-decoration:none;
  transition:background .2s;
}
.navbar-v2.scrolled .nav-v2-user { background:rgba(139,105,20,.08); border-color:rgba(139,105,20,.18); color:#8B6914; }
.nav-v2-avatar {
  width:26px; height:26px; border-radius:50%;
  background:#8B6914; color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:11px; font-weight:800; flex-shrink:0;
}
.btn-v2-primary {
  display:inline-flex; align-items:center; gap:6px;
  padding:9px 20px; background:#8B6914; color:#fff;
  border:none; border-radius:8px; font-family:inherit;
  font-size:14px; font-weight:700; cursor:pointer;
  text-decoration:none; transition:background .2s, transform .2s, box-shadow .2s;
  white-space:nowrap;
}
.btn-v2-primary:hover {
  background:#6B4F0F; transform:translateY(-1px);
  box-shadow:0 4px 16px rgba(139,105,20,.25);
}
.lang-btn-v2 {
  padding:6px 12px; background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.2); border-radius:6px;
  font-family:inherit; font-size:12px; font-weight:700; color:#fff;
  cursor:pointer; transition:all .2s;
}
.navbar-v2.scrolled .lang-btn-v2 { background:#F3F4F6; border-color:#E5E7EB; color:#374151; }

/* Hamburger V2 */
.hamburger {
  display:none; flex-direction:column; gap:5px;
  background:none; border:none; cursor:pointer; padding:4px;
  flex-shrink:0;
}
.hamburger span { display:block; width:22px; height:2px; background:#fff; border-radius:2px; transition:all .3s; }
.navbar-v2.scrolled .hamburger span { background:#111; }
.hamburger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity:0; }
.hamburger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

/* ── Hero V2 ── */
.hero-v2 {
  min-height:100vh;
  background: linear-gradient(135deg, #8B6914 0%, #6B4F0F 40%, #FAF6EF 100%);
  position:relative; overflow:hidden;
  display:flex; align-items:center;
  padding:120px 0 80px;
}
/* Reset body padding for pages using the V2 transparent navbar + hero-v2 */
body:has(.hero-v2) { padding-top:0; }
.hero-v2::before {
  content:''; position:absolute; top:-200px; right:-200px;
  width:600px; height:600px;
  background:radial-gradient(circle, rgba(139,105,20,.12) 0%, transparent 70%);
  pointer-events:none;
}
.hero-v2::after {
  content:''; position:absolute; bottom:-100px; left:30%;
  width:400px; height:400px;
  background:radial-gradient(circle, rgba(139,105,20,.08) 0%, transparent 70%);
  pointer-events:none;
}
.hero-v2-inner {
  position:relative; z-index:1;
  display:grid; grid-template-columns:1fr 500px; gap:60px; align-items:center;
  max-width:1200px; margin:0 auto; padding:0 40px;
  width:100%;
}
.hero-v2-badge {
  display:inline-flex; align-items:center; gap:7px;
  background:rgba(139,105,20,.12); border:1px solid rgba(139,105,20,.25);
  color:#8B6914; padding:5px 14px; border-radius:99px;
  font-size:12px; font-weight:700; letter-spacing:.04em; margin-bottom:20px;
}
.hero-v2-badge-dot { width:7px; height:7px; border-radius:50%; background:#8B6914; flex-shrink:0; }
.hero-v2 h1 {
  font-size:52px; font-weight:900; color:#fff; line-height:1.15;
  letter-spacing:-.025em; margin-bottom:20px;
}
.hero-v2 h1 em { color:#8B6914; font-style:normal; }
.hero-v2-sub {
  font-size:18px; color:rgba(255,255,255,.6); line-height:1.8;
  margin-bottom:36px; max-width:520px;
}
.hero-v2-btns { display:flex; gap:12px; flex-wrap:wrap; }
.btn-v2-secondary {
  display:inline-flex; align-items:center; gap:6px;
  padding:12px 24px; background:transparent; color:rgba(255,255,255,.85);
  border:1.5px solid rgba(255,255,255,.25); border-radius:8px;
  font-family:inherit; font-size:15px; font-weight:600;
  cursor:pointer; text-decoration:none; transition:all .2s;
}
.btn-v2-secondary:hover { border-color:rgba(255,255,255,.6); color:#fff; }

/* ── Browser Frame / Mockup ── */
.hero-mockup { position:relative; }
.browser-frame {
  background:#1a1d26; border-radius:14px; overflow:hidden;
  box-shadow:0 40px 100px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06);
}
.browser-bar {
  background:#111318; padding:10px 16px;
  display:flex; align-items:center; gap:12px;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.browser-dots { display:flex; gap:6px; }
.browser-dots span {
  width:10px; height:10px; border-radius:50%;
  background:rgba(255,255,255,.12);
}
.browser-url {
  flex:1; text-align:center; font-size:11px;
  color:rgba(255,255,255,.25); font-family:'Inter',sans-serif;
}
.browser-content { padding:16px; }
.iv-mockup-header {
  font-size:12px; font-weight:700; color:rgba(255,255,255,.4);
  margin-bottom:12px; padding-bottom:10px;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.iv-mockup-body { display:flex; flex-direction:column; gap:12px; }
.iv-avatar-row {
  display:flex; align-items:center; gap:10px;
}
.iv-circle {
  width:38px; height:38px; border-radius:50%; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  font-size:13px; font-weight:800; color:#fff;
}
.iv-score-badge {
  margin-right:auto; background:rgba(139,105,20,.12);
  border:1px solid rgba(139,105,20,.25); color:#8B6914;
  font-size:11px; font-weight:700; padding:3px 10px; border-radius:99px;
}
html[dir="ltr"] .iv-score-badge { margin-left:auto; margin-right:0; }
.iv-question {
  font-size:12px; color:rgba(255,255,255,.65); line-height:1.7;
  padding:10px 12px;
  background:rgba(255,255,255,.04); border-radius:8px;
  border-right:2px solid #8B6914;
}
html[dir="ltr"] .iv-question { border-right:none; border-left:2px solid #8B6914; }
.iv-feedback-bar { display:flex; gap:6px; }
.iv-fb-item {
  padding:4px 10px; border-radius:99px; font-size:10px; font-weight:700;
}
.iv-fb-good { background:rgba(139,105,20,.12); color:#8B6914; }
.iv-fb-tip { background:rgba(251,191,36,.1); color:#fbbf24; }
.iv-progress-row { display:flex; align-items:center; gap:10px; }
.iv-prog-bar {
  flex:1; height:4px; background:rgba(255,255,255,.08);
  border-radius:99px; overflow:hidden;
}
.iv-prog-fill { height:100%; background:#8B6914; border-radius:99px; }
.iv-prog-lbl { font-size:10px; color:rgba(255,255,255,.3); white-space:nowrap; }

/* ── Stats V2 ── */
.stats-v2 {
  background:#FAF6EF;
  border-top:1px solid #DDD0B8; border-bottom:1px solid #DDD0B8;
  padding:44px 0;
}
.stats-v2-grid {
  display:grid; grid-template-columns:repeat(4,1fr);
  background:#DDD0B8; gap:1px;
  max-width:1200px; margin:0 auto; padding:0;
}
.stat-v2-item {
  background:#FAF6EF; text-align:center; padding:28px 20px;
}
.stat-v2-num {
  font-size:40px; font-weight:900; color:#8B6914;
  line-height:1; margin-bottom:6px;
  font-family:'Inter','Cairo',sans-serif;
}
.stat-v2-lbl { font-size:13px; color:#6B7280; }

/* ── Features V2 ── */
.features-v2 { background:#F2EAD8; padding:96px 0; }
.feat-v2-grid {
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:20px; margin-top:56px;
}
.feat-v2-card {
  background:#FDF8F2; border:1px solid #DDD0B8; border-radius:16px;
  padding:32px 28px; border-top:3px solid #8B6914;
  transition:border-color .2s, box-shadow .2s, transform .2s;
}
.feat-v2-card:hover {
  box-shadow:0 8px 32px rgba(139,105,20,.08);
  transform:translateY(-3px);
}
.feat-v2-icon {
  width:44px; height:44px; background:#f0fdf4; border-radius:10px;
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
  color:#8B6914;
}
.feat-v2-icon svg { width:22px; height:22px; }
.feat-v2-title { font-size:16px; font-weight:700; color:#111; margin-bottom:10px; }
.feat-v2-desc { font-size:14px; color:#6B7280; line-height:1.7; }

/* ── How It Works V2 ── */
.how-v2 { background:#FAF6EF; padding:96px 0; }
.how-v2-grid {
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:32px; margin-top:56px; position:relative;
}
.how-v2-grid::before {
  content:''; position:absolute; top:24px;
  right:12.5%; left:12.5%; height:2px;
  background:linear-gradient(to left, #E5E7EB 0%, #8B6914 50%, #E5E7EB 100%);
  z-index:0;
}
.how-v2-step { text-align:center; position:relative; z-index:1; }
.how-v2-num {
  width:48px; height:48px; border-radius:50%;
  background:#8B6914; color:#fff;
  font-size:16px; font-weight:900;
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 20px; box-shadow:0 0 0 6px #f0fdf4;
  font-family:'Inter',sans-serif;
}
.how-v2-step h3 { font-size:15px; font-weight:700; color:#111; margin-bottom:8px; }
.how-v2-step p { font-size:13px; color:#6B7280; line-height:1.7; }

/* ── Pricing V2 ── */
.pricing-v2 { background:#F8F9FA; padding:96px 0; }
.pricing-v2-grid {
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:16px; margin-top:56px; align-items:start;
}
.pr-v2-card {
  background:#fff; border:1px solid #E5E7EB; border-radius:16px;
  padding:28px 24px; position:relative;
  display:flex; flex-direction:column;
  transition:box-shadow .2s;
}
.pr-v2-card:hover { box-shadow:0 8px 32px rgba(0,0,0,.08); }
.pr-v2-card.pr-v2-featured {
  border:2px solid #8B6914;
  box-shadow:0 8px 40px rgba(139,105,20,.10);
}
.pr-v2-popular {
  position:absolute; top:-12px; left:50%; transform:translateX(-50%);
  background:#8B6914; color:#fff;
  font-size:11px; font-weight:700; padding:3px 14px; border-radius:99px;
  white-space:nowrap;
}
.pr-v2-badge {
  display:inline-block; font-size:10px; font-weight:700;
  background:#FEF3C7; color:#92400E; padding:2px 10px; border-radius:99px;
  margin-bottom:10px;
}
.pr-v2-badge.pr-v2-badge-green { background:#F5EDD6; color:#6B4F0F; }
.pr-v2-tier {
  font-size:11px; font-weight:700; color:#9CA3AF;
  text-transform:uppercase; letter-spacing:.06em; margin-bottom:12px;
}
.pr-v2-price {
  font-size:36px; font-weight:900; color:#111; line-height:1;
  margin-bottom:4px; font-family:'Inter','Cairo',sans-serif;
}
.pr-v2-price span { font-size:14px; font-weight:500; color:#6B7280; }
.pr-v2-period { font-size:12px; color:#9CA3AF; margin-bottom:20px; }
.pr-v2-list {
  list-style:none; flex:1; display:flex; flex-direction:column; gap:10px;
  margin:0 0 24px; padding:0;
}
.pr-v2-list li {
  font-size:13px; color:#374151;
  display:flex; align-items:flex-start; gap:8px;
}
.pr-v2-list li::before {
  content:''; width:18px; height:18px; flex-shrink:0; margin-top:1px;
  background:#f0fdf4; border:1.5px solid #8B6914; border-radius:50%;
  background-image:url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%2316a34a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:center;
}
.pr-v2-btn {
  display:block; text-align:center; padding:12px;
  border-radius:8px; font-family:inherit; font-size:14px; font-weight:700;
  cursor:pointer; transition:all .2s; text-decoration:none;
}
.pr-v2-btn-outline {
  background:transparent; border:1.5px solid #E5E7EB; color:#111;
}
.pr-v2-btn-outline:hover { border-color:#111; background:#F9FAFB; }
.pr-v2-btn-primary {
  background:#8B6914; color:#fff; border:none;
}
.pr-v2-btn-primary:hover {
  background:#6B4F0F; transform:translateY(-1px);
  box-shadow:0 4px 16px rgba(139,105,20,.25);
}

/* ── Testimonials V2 ── */
.testimonials-v2 { background:#fff; padding:96px 0; }
.testi-v2-grid {
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:24px; margin-top:56px;
}
.testi-v2-card {
  background:#F9FAFB; border:1px solid #E5E7EB; border-radius:16px;
  padding:28px 24px;
  transition:border-color .2s, box-shadow .2s;
}
.testi-v2-card:hover { border-color:#8B6914; box-shadow:0 4px 20px rgba(139,105,20,.08); }
.testi-stars { color:#FCD34D; font-size:16px; margin-bottom:14px; }
.testi-text {
  font-size:14px; color:#374151; line-height:1.8;
  margin-bottom:20px; font-style:italic;
}
.testi-author { display:flex; align-items:center; gap:12px; }
.testi-avatar {
  width:42px; height:42px; border-radius:50%; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  font-size:14px; font-weight:800; color:#fff;
}
.testi-name { font-size:14px; font-weight:700; color:#111; }
.testi-role { font-size:12px; color:#9CA3AF; margin-top:2px; }

/* ── CTA V2 ── */
.cta-v2 {
  background:linear-gradient(135deg, #8B6914 0%, #FFFFFF 100%);
  padding:96px 0; text-align:center; position:relative; overflow:hidden;
}
.cta-v2::before {
  content:''; position:absolute; top:-150px; left:50%; transform:translateX(-50%);
  width:600px; height:400px;
  background:radial-gradient(circle, rgba(139,105,20,.10) 0%, transparent 70%);
  pointer-events:none;
}
.cta-v2 .container { position:relative; z-index:1; }
.cta-v2 h2 {
  font-size:40px; font-weight:900; color:#fff;
  margin-bottom:16px; letter-spacing:-.02em;
}
.cta-v2 p {
  font-size:17px; color:rgba(255,255,255,.6); margin-bottom:36px;
}
.cta-v2-btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.btn-v2-cta-white {
  padding:14px 28px; background:#fff; color:#8B6914;
  border:none; border-radius:8px; font-family:inherit;
  font-size:15px; font-weight:700; cursor:pointer; text-decoration:none;
  transition:all .2s; display:inline-flex; align-items:center;
}
.btn-v2-cta-white:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,0,0,.2); }
.btn-v2-cta-outline {
  padding:14px 28px; background:transparent; color:rgba(255,255,255,.85);
  border:1.5px solid rgba(255,255,255,.25); border-radius:8px;
  font-family:inherit; font-size:15px; font-weight:600;
  cursor:pointer; text-decoration:none; transition:all .2s;
  display:inline-flex; align-items:center;
}
.btn-v2-cta-outline:hover { border-color:rgba(255,255,255,.7); color:#fff; }

/* ── Section V2 Shared Headers ── */
.section-v2-header { text-align:center; margin-bottom:0; }
.section-v2-label {
  font-size:12px; font-weight:700; color:#8B6914;
  text-transform:uppercase; letter-spacing:.08em; margin-bottom:10px;
}
.section-v2-title {
  font-size:36px; font-weight:900; color:#111;
  line-height:1.2; margin-bottom:12px; letter-spacing:-.02em;
}
.section-v2-sub {
  font-size:16px; color:#6B7280; line-height:1.7;
  max-width:560px; margin:0 auto;
}

/* ── Footer V2 ── */
.footer-v2 {
  background:#FFFFFF; border-top:1px solid rgba(255,255,255,.06);
  padding:56px 0 28px;
}
.footer-v2-inner {
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr;
  gap:48px; max-width:1200px; margin:0 auto; padding:0 40px;
}
.footer-v2-brand {
  font-size:22px; font-weight:900; color:#fff; margin-bottom:12px;
}
.footer-v2-brand span { color:#8B6914; }
.footer-v2-desc { font-size:13px; color:rgba(255,255,255,.4); line-height:1.8; }
.footer-v2-col h4 {
  font-size:13px; font-weight:700; color:rgba(255,255,255,.5);
  text-transform:uppercase; letter-spacing:.06em; margin-bottom:16px;
}
.footer-v2-col a {
  display:block; font-size:13px; color:rgba(255,255,255,.35);
  text-decoration:none; margin-bottom:10px; transition:color .2s;
}
.footer-v2-col a:hover { color:rgba(255,255,255,.8); }
.footer-v2-bottom {
  max-width:1200px; margin:40px auto 0; padding:20px 40px 0;
  border-top:1px solid rgba(255,255,255,.06);
  display:flex; justify-content:space-between; align-items:center;
  font-size:12px; color:rgba(255,255,255,.2); flex-wrap:wrap; gap:12px;
}

/* ── V2 Responsive ── */
@media (max-width:1100px) {
  .hero-v2-inner { grid-template-columns:1fr; }
  .hero-v2-inner > div:last-child { display:none; }
  .pricing-v2-grid { grid-template-columns:repeat(2,1fr); }
  .footer-v2-inner { grid-template-columns:1fr 1fr; }
}
@media (max-width:768px) {
  .hero-v2 h1 { font-size:32px; }
  .hero-v2-sub { font-size:15px; }
  .feat-v2-grid { grid-template-columns:1fr; }
  .testi-v2-grid { grid-template-columns:1fr; }
  .how-v2-grid { grid-template-columns:repeat(2,1fr); }
  .how-v2-grid::before { display:none; }
  .stats-v2-grid { grid-template-columns:repeat(2,1fr); }
  .pricing-v2-grid { grid-template-columns:1fr; }
  .footer-v2-inner { grid-template-columns:1fr; gap:32px; }
  .nav-v2-links {
    display:none; position:absolute; top:64px; right:0; left:0;
    background:#fff; padding:16px 24px; flex-direction:column;
    gap:0; box-shadow:0 8px 24px rgba(0,0,0,.1);
  }
  .nav-v2-links.open { display:flex; }
  .nav-v2-links .nav-v2-link {
    padding:12px 0; border-bottom:1px solid #F1F5F9;
    color:#374151 !important;
  }
  .hamburger { display:flex; }
  .section-v2-title { font-size:26px; }
  .cta-v2 h2 { font-size:28px; }
  .nav-v2-inner { padding:0 20px; }
  .hero-v2 { padding:100px 0 60px; }
  .hero-v2-inner { padding:0 20px; }
}
@media (max-width:480px) {
  .how-v2-grid { grid-template-columns:1fr; }
  .hero-v2-btns { flex-direction:column; }
  .cta-v2-btns { flex-direction:column; align-items:center; }
  .footer-v2-bottom { flex-direction:column; text-align:center; }
  .footer-v2-inner { padding:0 20px; }
  .footer-v2-bottom { padding:20px 20px 0; }
  .stats-v2-grid { grid-template-columns:repeat(2,1fr); }
}
