/* ==========================================================================
   REVITAFORT NORDIC VITALITY - MASTER STYLESHEET
   Dark Navy Blue Theme | Mobile-First | Conversion Optimized
   ========================================================================== */

:root {
  --bg-main: #060e1a;
  --bg-surface: #0b192e;
  --bg-card: #10233f;
  --bg-card-hover: #162f55;
  --bg-elevated: #1a3764;
  
  --primary-blue: #2563eb;
  --primary-blue-glow: rgba(37, 99, 235, 0.4);
  --cyan-accent: #38bdf8;
  --cyan-glow: rgba(56, 189, 248, 0.3);
  
  --gold-accent: #f59e0b;
  --gold-light: #fbbf24;
  --gold-glow: rgba(245, 158, 11, 0.3);
  
  --emerald-success: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.3);
  --crimson-danger: #ef4444;
  
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8493a8;
  
  --border-subtle: rgba(56, 189, 248, 0.12);
  --border-active: rgba(56, 189, 248, 0.35);
  --border-gold: rgba(245, 158, 11, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.35);
  --shadow-gold: 0 0 25px rgba(245, 158, 11, 0.25);
  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container-max: 1200px;
  --header-height: 74px;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(37, 99, 235, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(56, 189, 248, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(245, 158, 11, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

button, input, select, textarea {
  font-family: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography Helpers */
.text-cyan { color: var(--cyan-accent); }
.text-gold { color: var(--gold-light); }
.text-emerald { color: var(--emerald-success); }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 9999px;
  color: var(--cyan-accent);
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px auto;
}

/* Fixed Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(6, 14, 26, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: rgba(6, 14, 26, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #1e3a8a, #0b192e);
  border: 1.5px solid var(--cyan-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px var(--cyan-glow);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-brand {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #ffffff 40%, var(--cyan-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  text-transform: uppercase;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 4px;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-accent), var(--primary-blue));
  transition: width 0.25s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 4px 15px var(--primary-blue-glow);
  cursor: pointer;
}

.header-cta-btn:hover {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 6px 22px rgba(56, 189, 248, 0.4);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 6px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: rgba(6, 14, 26, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-active);
  padding: 24px 20px;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  z-index: 999;
}

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

.mobile-menu .nav-link {
  font-size: 1.05rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Button Component */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #0284c7 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(56, 189, 248, 0.5);
  box-shadow: 0 8px 25px var(--primary-blue-glow);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: 0.6s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.55), 0 0 20px var(--cyan-glow);
}

.btn-pulse {
  animation: pulse-glow 2.4s infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* HERO SECTION */
.hero {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 70px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(16, 35, 63, 0.7);
  border: 1px solid var(--border-active);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan-accent);
}

.hero-badge.gold {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--border-gold);
  color: var(--gold-light);
}

.hero-headline {
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1.18;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}

.hero-headline span.highlight {
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
}

.hero-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #ffffff;
  font-weight: 500;
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid var(--emerald-success);
  color: var(--emerald-success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-security-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Hero Media Block */
.hero-media-card {
  position: relative;
  background: radial-gradient(circle at center, #162f55 0%, #0b192e 100%);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg), 0 0 35px rgba(37, 99, 235, 0.2);
  text-align: center;
}

.hero-media-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-brother-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(0.95);
}

.brother-tag-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(6, 14, 26, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.brother-tag-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.brother-tag-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.brother-tag-sub {
  font-size: 0.75rem;
  color: var(--cyan-accent);
}

.product-mini-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  gap: 12px;
}

.product-mini-thumb {
  width: 60px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.product-mini-info {
  text-align: left;
}

.product-mini-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
}

.product-mini-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.product-mini-badge {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

/* SECTION 2: THE STORY & WHITEHAT HOOK */
.section-story {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-main) 0%, #081424 50%, var(--bg-main) 100%);
  position: relative;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.story-container {
  max-width: 960px;
}

.story-card {
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 40px;
  position: relative;
}

.story-author-header {
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 20px;
  margin-bottom: 26px;
}

.story-author-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cyan-accent);
  box-shadow: 0 0 15px var(--cyan-glow);
}

.story-author-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.story-author-role {
  font-size: 0.85rem;
  color: var(--cyan-accent);
}

.story-body {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.story-body p {
  margin-bottom: 18px;
}

.story-body p:last-child {
  margin-bottom: 0;
}

.story-quote-box {
  margin: 26px 0;
  padding: 20px 24px;
  background: rgba(37, 99, 235, 0.1);
  border-left: 4px solid var(--cyan-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: #ffffff;
  font-weight: 500;
}

.story-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.highlight-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition-smooth);
}

.highlight-box:hover {
  border-color: var(--cyan-accent);
  transform: translateY(-3px);
}

.highlight-box-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: var(--gold-light);
}

.highlight-box-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.highlight-box-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* SECTION 3: MICRO-ENGAGEMENTS */
.section-interactive {
  padding: 80px 0;
}

.interactive-tabs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

/* Quiz Card Component */
.quiz-card {
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.quiz-header {
  margin-bottom: 20px;
}

.quiz-progress-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 10px;
}

.quiz-progress-bar-fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--cyan-accent), var(--primary-blue));
  border-radius: 999px;
  transition: width 0.4s ease;
}

.quiz-step-indicator {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quiz-question-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 15px 0 20px 0;
  min-height: 58px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.quiz-option-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--text-secondary);
  font-size: 0.925rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.quiz-option-btn:hover {
  background: var(--bg-elevated);
  border-color: var(--cyan-accent);
  color: #ffffff;
  transform: translateX(4px);
}

.quiz-option-btn.selected {
  background: rgba(37, 99, 235, 0.25);
  border-color: var(--cyan-accent);
  color: #ffffff;
  font-weight: 700;
}

.quiz-result-box {
  display: none;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(11, 25, 46, 0.9) 100%);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  animation: fadeIn 0.5s ease;
}

.quiz-score-circle {
  width: 90px;
  height: 90px;
  margin: 0 auto 16px auto;
  border-radius: 50%;
  border: 3px solid var(--gold-light);
  box-shadow: 0 0 20px var(--gold-glow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.quiz-score-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
}

.quiz-score-lbl {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Vitality Timer Widget (Box-Breathing & Circulation) */
.timer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.timer-circle-container {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 20px auto;
}

.timer-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.timer-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 8;
}

.timer-circle-progress {
  fill: none;
  stroke: url(#timerGrad);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 534;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.1s linear;
}

.timer-center-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timer-countdown {
  font-size: 2.3rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.timer-phase-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 6px;
}

.timer-controls {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.btn-timer-action {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-timer-action.primary {
  background: var(--primary-blue);
  border-color: var(--cyan-accent);
  box-shadow: 0 0 15px var(--primary-blue-glow);
}

.btn-timer-action:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

/* Before / After Comparison Widget */
.comparison-card {
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-md);
  grid-column: 1 / -1;
}

.comparison-toggle-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
}

.comp-toggle-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.comp-toggle-btn.active {
  background: linear-gradient(135deg, var(--primary-blue), #0284c7);
  border-color: var(--cyan-accent);
  color: #ffffff;
  box-shadow: 0 0 18px var(--primary-blue-glow);
}

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

.comp-column {
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition-smooth);
}

.comp-column.before {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.comp-column.after {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.1);
}

.comp-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comp-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* SECTION 4: CERTIFICATES & QUALITY STANDARDS */
.section-certificates {
  padding: 80px 0;
  background: #081426;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.cert-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--cyan-accent));
  opacity: 0;
  transition: var(--transition-smooth);
}

.cert-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan-accent);
  box-shadow: var(--shadow-lg), 0 0 20px var(--cyan-glow);
}

.cert-card:hover::before {
  opacity: 1;
}

.cert-badge-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px auto;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.1);
  border: 1.5px solid var(--border-gold);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 0 15px var(--gold-glow);
}

.cert-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.cert-short-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.cert-click-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan-accent);
}

/* MODAL POPUP FOR CERTIFICATES */
.cert-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 8, 15, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cert-modal-backdrop.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.cert-modal-window {
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  padding: 34px;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(56, 189, 248, 0.3);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.3);
}

.modal-cert-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.modal-cert-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.modal-cert-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.modal-spec-grid {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 0.825rem;
  margin-bottom: 22px;
}

.modal-spec-item {
  display: flex;
  flex-direction: column;
}

.modal-spec-lbl {
  color: var(--text-muted);
}

.modal-spec-val {
  font-weight: 700;
  color: #ffffff;
}

/* SECTION 5: OFFER & CONSULTATION SECTION */
.section-offer {
  padding: 90px 0;
  position: relative;
  background: radial-gradient(circle at center, #102544 0%, #060e1a 100%);
}

.offer-card-main {
  background: rgba(16, 35, 63, 0.7);
  backdrop-filter: blur(16px);
  border: 1.5px solid var(--border-active);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(37, 99, 235, 0.25);
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  align-items: center;
}

.offer-product-showcase {
  text-align: center;
  position: relative;
}

.product-hero-image {
  max-width: 320px;
  margin: 0 auto 20px auto;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 25px rgba(56, 189, 248, 0.25));
  transition: transform 0.4s ease;
}

.product-hero-image:hover {
  transform: scale(1.03) translateY(-4px);
}

.offer-trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.trust-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan-accent);
}

.offer-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.consultation-info-box {
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.consultation-info-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cyan-accent);
  margin-bottom: 6px;
}

.consultation-info-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.callcenter-hours-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-size: 0.85rem;
  color: #ffffff;
}

.status-dot-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--emerald-success);
  box-shadow: 0 0 10px var(--emerald-success);
  animation: pulse-dot 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* Order Form */
.order-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

.form-label span.req {
  color: var(--gold-light);
}

.form-input {
  width: 100%;
  height: 48px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  outline: none;
  transition: var(--transition-smooth);
}

.form-input:focus {
  border-color: var(--cyan-accent);
  box-shadow: 0 0 12px var(--cyan-glow);
}

.phone-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.phone-prefix-locked {
  position: absolute;
  left: 16px;
  font-weight: 700;
  color: var(--cyan-accent);
  pointer-events: none;
  user-select: none;
  font-size: 1rem;
}

.form-input.phone-input {
  padding-left: 52px;
  letter-spacing: 0.05em;
  font-family: monospace, var(--font-family);
  font-size: 1.05rem;
}

.form-feedback {
  font-size: 0.775rem;
  margin-top: 4px;
  min-height: 18px;
  transition: var(--transition-smooth);
}

.form-feedback.error {
  color: var(--crimson-danger);
  font-weight: 600;
}

.form-feedback.valid {
  color: var(--emerald-success);
  font-weight: 600;
}

.form-guarantee-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* FAQ SECTION */
.section-faq {
  padding: 80px 0;
  border-top: 1px solid var(--border-subtle);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item.active {
  border-color: var(--cyan-accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.faq-question {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
  cursor: pointer;
  user-select: none;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--cyan-accent);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 24px 20px 24px;
  transition: max-height 0.45s ease-in-out;
}

/* FOOTER & LEGAL */
.footer {
  background: #030811;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 30px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-company-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-nav-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-links a:hover {
  color: var(--cyan-accent);
  padding-left: 4px;
}

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  font-size: 0.775rem;
  line-height: 1.6;
  color: #718096;
  margin-bottom: 30px;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 14px;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 380px;
  background: rgba(11, 25, 46, 0.95);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  z-index: 900;
  display: none;
  animation: slideUp 0.4s ease;
}

.cookie-banner.show {
  display: block;
}

.cookie-text {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.cookie-btns {
  display: flex;
  gap: 10px;
}

.btn-cookie-accept {
  background: var(--primary-blue);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  flex: 1;
}

.btn-cookie-decline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  cursor: pointer;
}

/* LEGAL PAGES & STANDALONE PAGES COMMON STYLES */
.legal-page-header {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 30px;
  background: linear-gradient(180deg, #091a33 0%, var(--bg-main) 100%);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 40px;
}

.legal-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin-bottom: 60px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.legal-content-card h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin: 30px 0 14px 0;
}

.legal-content-card h2:first-child {
  margin-top: 0;
}

.legal-content-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cyan-accent);
  margin: 22px 0 10px 0;
}

.legal-content-card p {
  margin-bottom: 16px;
}

.legal-content-card ul {
  padding-left: 24px;
  margin-bottom: 18px;
}

.legal-content-card li {
  margin-bottom: 8px;
}

/* THANK YOU / TACK PAGE STYLES */
.thankyou-wrapper {
  padding-top: calc(var(--header-height) + 50px);
  padding-bottom: 80px;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.thankyou-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-active);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(16, 185, 129, 0.2);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.thankyou-icon-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--emerald-success);
  color: var(--emerald-success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 24px auto;
  box-shadow: 0 0 25px var(--emerald-glow);
}

.order-id-badge {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid var(--border-active);
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--cyan-accent);
  margin: 16px 0 24px 0;
  letter-spacing: 0.05em;
}

.thankyou-steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin: 30px 0;
  text-align: left;
}

.thankyou-step-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.thankyou-step-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.thankyou-step-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.thankyou-step-desc {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* ANIMATIONS */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE BREAKPOINTS (Mobile-First) */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .hero-headline {
    font-size: 2.2rem;
  }
  
  .offer-card-main {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 20px;
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .nav-desktop {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 640px) {
  .section-title {
    font-size: 1.65rem;
  }
  
  .hero-headline {
    font-size: 1.85rem;
  }
  
  .story-card {
    padding: 24px 18px;
  }
  
  .story-author-header {
    flex-direction: column;
    text-align: center;
  }
  
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  
  .thankyou-steps-grid {
    grid-template-columns: 1fr;
  }
  
  .legal-content-card {
    padding: 24px 18px;
  }
  
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}
