/* ==========================================================================
   FERVIONEX - Official Hungarian Landing Page Stylesheet
   Modern, High-Converting, Google Ads / Facebook Ads Compliant
   ========================================================================== */

:root {
  --primary: #0F2B5C;
  --primary-light: #184285;
  --primary-dark: #0A1B3B;
  --secondary: #FF6B00;
  --secondary-hover: #E05A00;
  --secondary-soft: #FFF3EB;
  --accent: #2563EB;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  
  --bg-main: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-alt: #F1F5F9;
  
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #64748B;
  --border: #E2E8F0;
  --border-focus: #2563EB;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 72px;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  padding-top: var(--header-height);
  overflow-x: hidden;
}

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

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

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

/* ==========================================================================
   Utility Container & Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding: 60px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 80px 0;
  }
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--secondary-soft);
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #E2E8F0;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.site-header .container {
  max-width: 1360px;
  padding-left: 24px;
  padding-right: 24px;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px -2px rgba(15, 43, 92, 0.08);
  height: 66px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo svg {
  height: 36px;
  width: auto;
}

.brand-name-group {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1200px) {
  .nav-menu {
    gap: 22px;
  }
}

.nav-link {
  font-size: 0.885rem;
  font-weight: 500;
  color: #475569;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  position: relative;
  letter-spacing: -0.01em;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary);
  background-color: #F1F5F9;
}

.nav-link.active {
  color: var(--primary);
  font-weight: 700;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 12px;
  right: 12px;
  height: 2.5px;
  background: linear-gradient(90deg, var(--secondary) 0%, #FF8A00 100%);
  border-radius: 99px;
}

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

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--secondary) 0%, #FF8A00 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.825rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.22);
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: var(--transition);
}

.btn-header-cta:hover {
  background: linear-gradient(135deg, var(--secondary-hover) 0%, var(--secondary) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.35);
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  gap: 5px;
  padding: 0;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

@media (min-width: 992px) {
  .nav-menu {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-bottom: 2px solid var(--border);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-xl);
  transform: translateY(-120%);
  transition: transform 0.3s ease-in-out;
  z-index: 999;
}

.mobile-drawer.open {
  transform: translateY(0);
}

.mobile-drawer .nav-link {
  font-size: 1.1rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  background: linear-gradient(180deg, #EDF4FB 0%, #F8FAFC 100%);
  padding: 40px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #D0E1F9;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.hero-title {
  font-size: 2.15rem;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.9rem;
  }
}

.hero-title .highlight {
  background: linear-gradient(120deg, #FF6B00 0%, #FF8A00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 26px;
}

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

.hero-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
}

.hero-bullet-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: #E0F2FE;
  color: #0284C7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

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

@media (min-width: 480px) {
  .hero-cta-group {
    flex-direction: row;
    align-items: center;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--secondary) 0%, #FF8A00 100%);
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.32);
  transition: var(--transition);
  text-align: center;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 107, 0, 0.42);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  transition: var(--transition);
  text-align: center;
}

.btn-outline:hover {
  border-color: var(--primary);
  background: #F8FAFC;
}

/* Hero Media Box */
.hero-media-card {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

.hero-image-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: #000;
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.4s ease;
}

.hero-quote-caption {
  margin-top: 14px;
  background: linear-gradient(145deg, #0F2B5C 0%, #163E7A 100%);
  color: #FFFFFF;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--secondary);
  box-shadow: 0 4px 12px rgba(15, 43, 92, 0.12);
}

.hero-quote-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.hero-quote-author {
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.hero-quote-badge {
  font-size: 0.725rem;
  font-weight: 700;
  color: #34D399;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hero-quote-text {
  font-size: 0.885rem;
  line-height: 1.5;
  color: #E2E8F0;
  font-style: italic;
  margin: 0;
}

/* ==========================================================================
   Story Section
   ========================================================================== */
.story-article {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .story-article {
    padding: 48px;
  }
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-light);
}

.story-author {
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.story-content h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 32px;
  margin-bottom: 14px;
  line-height: 1.3;
}

.story-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 20px;
}

.story-quote-box {
  background: #F0FDF4;
  border-left: 4px solid var(--success);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 28px 0;
  font-style: italic;
  color: #14532D;
  font-size: 1.05rem;
  line-height: 1.6;
}

.story-quote-box strong {
  display: block;
  font-style: normal;
  margin-top: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #166534;
}

/* ==========================================================================
   Micro-engagements: Interactive Quiz, Timer, Before/After
   ========================================================================== */
.interactive-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .interactive-card {
    padding: 42px;
  }
}

/* Quiz */
.quiz-progress-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-alt);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 24px;
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary) 0%, #FF8A00 100%);
  width: 25%;
  transition: width 0.4s ease;
}

.quiz-step-indicator {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 8px;
}

.quiz-question-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
}

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

.quiz-option-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #F8FAFC;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.975rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.quiz-option-btn:hover {
  background: #EFF6FF;
  border-color: #93C5FD;
}

.quiz-option-btn.selected {
  background: #EFF6FF;
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 0 2px rgba(15, 43, 92, 0.15);
}

.quiz-result-box {
  display: none;
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.quiz-result-score {
  font-size: 2.2rem;
  font-weight: 900;
  color: #166534;
  margin-bottom: 8px;
}

.quiz-result-badge {
  display: inline-block;
  background: #DCFCE7;
  color: #15803D;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  margin-bottom: 14px;
}

/* 20-20-20 Timer Widget */
.timer-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 0;
}

.timer-circle-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  margin-bottom: 24px;
}

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

.timer-bg-circle {
  fill: none;
  stroke: #E2E8F0;
  stroke-width: 10;
}

.timer-progress-circle {
  fill: none;
  stroke: var(--secondary);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 565.48;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear;
}

.timer-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.timer-display {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.timer-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  margin-top: 6px;
}

.timer-controls {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

/* Before / After Comparison */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.comparison-box {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.comparison-box.before {
  background: #FFF5F5;
  border-color: #FECACA;
}

.comparison-box.after {
  background: #F0FDF4;
  border-color: #BBF7D0;
}

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

.comparison-box.before .comparison-header { color: #991B1B; }
.comparison-box.after .comparison-header { color: #166534; }

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

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.95rem;
}

/* ==========================================================================
   Certificates Section & Modal
   ========================================================================== */
.certificates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

@media (min-width: 640px) {
  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .certificates-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cert-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.cert-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #EFF6FF;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.cert-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.cert-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 12px;
}

.cert-action-hint {
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.25s ease-out;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F1F5F9;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #E2E8F0;
  color: var(--text-main);
}

.modal-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #EFF6FF;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.modal-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal-details-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}

.modal-details-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.modal-details-table td:first-child {
  font-weight: 700;
  color: var(--primary);
  width: 40%;
}

/* ==========================================================================
   Transition / Teaser Section to Dedicated Offer Page
   ========================================================================== */
.offer-teaser-box {
  background: linear-gradient(135deg, #0F2B5C 0%, #163E7A 100%);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  color: #FFFFFF;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
  box-shadow: var(--shadow-xl);
}

@media (min-width: 992px) {
  .offer-teaser-box {
    grid-template-columns: 1fr 1.2fr;
    padding: 50px 60px;
  }
}

.offer-teaser-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.teaser-feature-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  width: 100%;
  max-width: 380px;
}

.teaser-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 107, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.teaser-feature-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #FFFFFF;
}

.teaser-feature-card p {
  font-size: 0.875rem;
  opacity: 0.85;
  line-height: 1.5;
  margin-bottom: 16px;
}

.teaser-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.teaser-point-item {
  font-size: 0.825rem;
  font-weight: 700;
  color: #34D399;
  display: flex;
  align-items: center;
  gap: 6px;
}

.offer-teaser-text h3 {
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 14px;
}

.offer-teaser-text p {
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ==========================================================================
   Order / Consultation Dedicated Page (rendeles.html)
   ========================================================================== */
.offer-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: flex-start;
}

@media (min-width: 992px) {
  .offer-page-grid {
    grid-template-columns: 1fr 1.05fr;
  }
}

.product-showcase-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.product-img-box {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

.product-img-box img {
  max-width: 320px;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,0.15));
}

.product-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  justify-content: center;
}

.pill-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
}

.consultation-model-banner {
  background: #FEF3C7;
  border-left: 4px solid #D97706;
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
  font-size: 0.925rem;
  color: #78350F;
  line-height: 1.55;
}

.call-center-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F8FAFC;
  border: 1px solid var(--border);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-top: 18px;
}

.call-center-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #16A34A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Order Form Card */
.order-form-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-xl);
  border: 2px solid #E2E8F0;
  position: relative;
}

@media (min-width: 640px) {
  .order-form-card {
    padding: 40px 36px;
  }
}

.form-header {
  text-align: center;
  margin-bottom: 26px;
}

.form-header h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-header p {
  font-size: 0.925rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  font-size: 1.05rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: #F8FAFC;
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

/* Strict Phone Field with Protected Prefix */
.phone-field-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.phone-prefix-addon {
  position: absolute;
  left: 14px;
  font-weight: 800;
  color: var(--primary);
  font-size: 1.05rem;
  pointer-events: none;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 7px;
  border-right: 1.5px solid #CBD5E1;
  padding-right: 10px;
}

.phone-prefix-addon .flag-hu {
  width: 18px;
  height: 12px;
  display: inline-block;
  background: linear-gradient(180deg, #CE2939 33.3%, #FFFFFF 33.3%, #FFFFFF 66.6%, #477050 66.6%);
  border-radius: 2px;
  border: 0.5px solid rgba(0,0,0,0.15);
}

.phone-input-field {
  padding-left: 92px !important;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 5px;
  display: block;
}

.phone-feedback {
  font-size: 0.825rem;
  font-weight: 600;
  margin-top: 6px;
  display: none;
}

.phone-feedback.error {
  display: block;
  color: var(--danger);
}

.phone-feedback.success {
  display: block;
  color: var(--success);
}

.btn-submit-order {
  width: 100%;
  padding: 16px;
  font-size: 1.15rem;
  font-weight: 800;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--secondary) 0%, #FF8A00 100%);
  color: #FFFFFF;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.35);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.btn-submit-order:hover {
  background: linear-gradient(135deg, var(--secondary-hover) 0%, var(--secondary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 107, 0, 0.45);
}

.form-trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.trust-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.trust-badge-item svg {
  color: var(--primary);
  width: 22px;
  height: 22px;
}

.trust-badge-item span {
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1.2;
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: #CBD5E1;
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  gap: 14px;
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--secondary);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px;
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 22px 20px 22px;
}

/* ==========================================================================
   Footer & Legal Compliance
   ========================================================================== */
.site-footer {
  background: #0B1930;
  color: #94A3B8;
  padding: 60px 0 30px;
  border-top: 1px solid #1E293B;
  font-size: 0.875rem;
  line-height: 1.6;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

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

.footer-links a {
  color: #94A3B8;
}

.footer-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: #64748B;
}

/* ==========================================================================
   Cookie Banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0F172A;
  color: #FFFFFF;
  padding: 16px 20px;
  z-index: 1500;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.25);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

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

.cookie-text {
  font-size: 0.85rem;
  line-height: 1.4;
  max-width: 800px;
}

.cookie-text a {
  color: var(--secondary);
  text-decoration: underline;
}

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

.btn-cookie-accept {
  background: var(--secondary);
  color: #FFFFFF;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-cookie-accept:hover {
  background: var(--secondary-hover);
}

/* ==========================================================================
   Thank You Page (done.html)
   ========================================================================== */
.thank-you-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  max-width: 680px;
  margin: 40px auto;
  text-align: center;
}

@media (min-width: 640px) {
  .thank-you-card {
    padding: 50px 40px;
  }
}

.success-icon-wrap {
  width: 72px;
  height: 72px;
  background: #DCFCE7;
  color: #16A34A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.order-info-table {
  width: 100%;
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: left;
}

.order-info-table tr:nth-child(even) {
  background: #F8FAFC;
}

.order-info-table td {
  padding: 12px 16px;
  font-size: 0.925rem;
  border-bottom: 1px solid var(--border);
}

.order-info-table td:first-child {
  font-weight: 700;
  color: var(--primary);
  width: 45%;
}

/* Order Steps Tracker */
.order-steps-tracker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0;
  padding: 16px 20px;
  background: #F8FAFC;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  background: #E2E8F0;
  color: #64748B;
  flex-shrink: 0;
}

.step-item.completed .step-dot {
  background: #DCFCE7;
  color: #16A34A;
}

.step-item.active .step-dot {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(15, 43, 92, 0.2);
}

.step-text strong {
  display: block;
  font-size: 0.825rem;
  color: var(--primary);
}

.step-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.step-line {
  flex-grow: 1;
  height: 2px;
  background: #E2E8F0;
  margin: 0 14px;
}

.step-line.active {
  background: #16A34A;
}

@media (max-width: 600px) {
  .order-steps-tracker {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .step-line {
    display: none;
  }
}

/* ==========================================================================
   Legal & Static Pages
   ========================================================================== */
.legal-content-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .legal-content-card {
    padding: 48px;
  }
}

.legal-content-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 28px;
  margin-bottom: 12px;
}

.legal-content-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-content-card p, .legal-content-card li {
  font-size: 0.975rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.legal-content-card ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  margin-top: 20px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
