@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* ============================================
   ROTVBANKROT - Light Premium Design System
   Refined elegance with emerald accents
   ============================================ */

:root {
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --shadow-soft: 0 2px 15px -3px rgba(0, 0, 0, 0.07), 0 10px 20px -2px rgba(0, 0, 0, 0.04);
  --shadow-medium: 0 4px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 30px -5px rgba(0, 0, 0, 0.04);
  --shadow-lifted: 0 20px 50px -12px rgba(0, 0, 0, 0.15);
  --shadow-emerald: 0 10px 40px -10px rgba(16, 185, 129, 0.3);
  --section-padding: clamp(4rem, 10vw, 7rem);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-body); background-color: #ffffff; color: var(--stone-800); line-height: 1.7; font-weight: 400; }
::selection { background-color: var(--emerald-200); color: var(--emerald-900); }

.font-display { font-family: var(--font-display); }
.heading-display { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; color: var(--stone-900); }
.heading-xl { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.heading-lg { font-size: clamp(2rem, 4vw, 3rem); }
.heading-md { font-size: clamp(1.5rem, 3vw, 2rem); }
.text-refined { font-family: var(--font-body); font-weight: 300; line-height: 1.8; color: var(--stone-600); }

.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: linear-gradient(135deg, #ffffff 0%, var(--stone-50) 50%, #ffffff 100%); overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 80%; height: 150%; background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.06) 0%, transparent 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--stone-200), transparent); }
.hero-title { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; color: var(--stone-900); }
.hero-title .accent { color: var(--emerald-600); position: relative; }
.hero-title .accent::after { content: ''; position: absolute; bottom: 0.1em; left: 0; right: 0; height: 0.15em; background: linear-gradient(90deg, var(--emerald-200), var(--teal-200)); z-index: -1; opacity: 0.6; }

.quiz-card { background: #ffffff; border-radius: 1.5rem; padding: 2.5rem; box-shadow: var(--shadow-lifted); border: 1px solid var(--stone-200); position: relative; }
.quiz-card::before { content: ''; position: absolute; top: 0; left: 2rem; right: 2rem; height: 4px; background: linear-gradient(90deg, var(--emerald-400), var(--teal-400)); border-radius: 0 0 4px 4px; }
.quiz-option { display: flex; align-items: center; gap: 1rem; width: 100%; padding: 1.25rem 1.5rem; background: var(--stone-50); border: 2px solid transparent; border-radius: 1rem; font-size: 1rem; font-weight: 500; color: var(--stone-700); cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.quiz-option:hover { background: var(--emerald-50); border-color: var(--emerald-200); transform: translateX(4px); }
.quiz-option.selected { background: var(--emerald-50); border-color: var(--emerald-500); color: var(--emerald-800); }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.stat-card { text-align: center; padding: 1.5rem 1rem; border-radius: 1rem; background: white; border: 1px solid var(--stone-200); transition: all 0.3s ease; }
.stat-card:hover { box-shadow: var(--shadow-soft); border-color: var(--emerald-200); transform: translateY(-2px); }
.stat-card .stat-icon { width: 3rem; height: 3rem; margin: 0 auto 0.75rem; background: linear-gradient(135deg, var(--emerald-100), var(--teal-100)); border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; color: var(--emerald-600); transition: all 0.3s ease; }
.stat-card:hover .stat-icon { background: linear-gradient(135deg, var(--emerald-500), var(--teal-500)); color: white; transform: scale(1.1); }
.stat-value { font-family: var(--font-body); font-size: 1.75rem; font-weight: 700; color: var(--emerald-600); line-height: 1.2; margin-bottom: 0.25rem; white-space: nowrap; }
.stat-label { font-size: 0.8125rem; color: var(--stone-500); font-weight: 500; }

.section { padding: var(--section-padding) 0; }
.section-emerald { background: linear-gradient(180deg, var(--emerald-50) 0%, white 100%); }
.section-stone { background: var(--stone-50); }

.advantage-card { background: white; border-radius: 1.5rem; padding: 2.5rem; border: 1px solid var(--stone-100); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; }
.advantage-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 0; background: linear-gradient(180deg, var(--emerald-400), var(--teal-400)); transition: height 0.4s ease; }
.advantage-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-medium); border-color: var(--emerald-100); }
.advantage-card:hover::before { height: 100%; }
.advantage-icon { width: 4rem; height: 4rem; border-radius: 1rem; background: linear-gradient(135deg, var(--emerald-100), var(--teal-100)); display: flex; align-items: center; justify-content: center; color: var(--emerald-600); margin-bottom: 1.5rem; transition: all 0.3s ease; }
.advantage-card:hover .advantage-icon { background: linear-gradient(135deg, var(--emerald-500), var(--teal-500)); color: white; transform: scale(1.1); }
.advantage-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--stone-900); margin-bottom: 0.75rem; }
.advantage-text { color: var(--stone-500); line-height: 1.7; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; padding: 1rem 2rem; font-family: var(--font-body); font-weight: 600; font-size: 1rem; border-radius: 0.875rem; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: none; text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--emerald-600), var(--emerald-700)); color: white; box-shadow: var(--shadow-emerald); }
.btn-primary:hover { background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600)); transform: translateY(-2px); box-shadow: 0 15px 50px -10px rgba(16, 185, 129, 0.4); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: white; color: var(--emerald-700); border: 2px solid var(--emerald-200); }
.btn-secondary:hover { background: var(--emerald-50); border-color: var(--emerald-400); transform: translateY(-2px); }
.btn-lg { padding: 1.25rem 2.5rem; font-size: 1.125rem; }

.form-input { width: 100%; padding: 1rem 1.25rem; font-family: var(--font-body); font-size: 1rem; background: var(--stone-50); border: 2px solid var(--stone-200); border-radius: 0.875rem; color: var(--stone-800); transition: all 0.3s ease; }
.form-input::placeholder { color: var(--stone-400); }
.form-input:focus { outline: none; background: white; border-color: var(--emerald-400); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1); }

.badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; border-radius: 2rem; background: var(--emerald-100); color: var(--emerald-700); }

.card { background: white; border-radius: 1.25rem; border: 1px solid var(--stone-100); overflow: hidden; transition: all 0.3s ease; }
.card:hover { box-shadow: var(--shadow-soft); border-color: var(--emerald-100); }
.card-body { padding: 1.5rem; }

.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: all 0.3s ease; }
.header-scrolled { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--stone-100); box-shadow: var(--shadow-soft); }
.header-top { background: var(--stone-900); color: var(--stone-400); font-size: 0.875rem; padding: 0.5rem 0; }
.header-main { padding: 0.75rem 0; }

.footer { background: var(--stone-900); color: var(--stone-300); padding: 4rem 0 2rem; }
.footer-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: white; margin-bottom: 1.5rem; }
.footer-bottom { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }

@keyframes fade-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes scale-in { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.animate-fade-up { animation: fade-up 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.animate-fade-in { animation: fade-in 0.6s ease forwards; }
.animate-scale-in { animation: scale-in 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 640px) { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 3rem; } }

.glow-emerald { position: absolute; width: 400px; height: 400px; background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%); border-radius: 50%; pointer-events: none; filter: blur(40px); }
.line-accent { width: 60px; height: 4px; background: linear-gradient(90deg, var(--emerald-500), var(--teal-400)); border-radius: 2px; }
.progress-bar { height: 4px; background: var(--stone-100); border-radius: 2px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: linear-gradient(90deg, var(--emerald-500), var(--teal-500)); border-radius: 2px; transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1); }

.step-card { position: relative; background: white; border-radius: 1.5rem; padding: 2rem; border: 1px solid var(--stone-100); transition: all 0.4s ease; }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-medium); border-color: var(--emerald-100); }
.step-number { position: absolute; top: -12px; left: 24px; width: 40px; height: 40px; background: linear-gradient(135deg, var(--emerald-500), var(--teal-500)); color: white; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-emerald); }

.testimonial-card { background: white; border-radius: 1.5rem; padding: 2rem; border: 1px solid var(--stone-100); transition: all 0.3s ease; position: relative; }
.testimonial-card:hover { box-shadow: var(--shadow-soft); border-color: var(--emerald-100); }

.cta-section { background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-700) 50%, var(--teal-700) 100%); position: relative; overflow: hidden; }

.article-content { font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.8; color: var(--stone-600); }
.article-content h2 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: var(--stone-900); margin-top: 2.5rem; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--emerald-500); line-height: 1.3; }
.article-content h3 { font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; color: var(--stone-800); margin-top: 2rem; margin-bottom: 1rem; padding-left: 1rem; border-left: 3px solid var(--emerald-400); line-height: 1.4; }
.article-content p { margin-bottom: 1.25rem; }
.article-content strong { font-weight: 600; color: var(--stone-800); }
.article-content a { color: var(--emerald-600); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.article-content a:hover { color: var(--emerald-700); }
.article-content ul, .article-content ol { margin: 1.5rem 0; padding-left: 1.5rem; }
.article-content li { margin-bottom: 0.5rem; padding-left: 0.5rem; }
.article-content ul li { list-style-type: disc; }
.article-content ol li { list-style-type: decimal; }
.article-content ul li::marker { color: var(--emerald-500); }
.article-content blockquote { margin: 2rem 0; padding: 1.25rem 1.5rem; background: linear-gradient(135deg, var(--emerald-50), rgba(20, 184, 166, 0.05)); border-left: 4px solid var(--emerald-500); border-radius: 0 0.75rem 0.75rem 0; font-style: normal; color: var(--stone-700); }
.article-content blockquote p:last-child { margin-bottom: 0; }
.article-content table { width: 100%; margin: 2rem 0; border-collapse: collapse; }
.article-content th, .article-content td { padding: 0.75rem 1rem; border: 1px solid var(--stone-200); text-align: left; }
.article-content th { background: var(--stone-50); font-weight: 600; color: var(--stone-900); }

/* Modal overlay */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 200; display: none; align-items: center; justify-content: center; }
.modal-overlay.active { display: flex; }
.modal-content { background: white; border-radius: 1.5rem; max-width: 28rem; width: 90%; box-shadow: var(--shadow-lifted); }

/* Responsive */
@media (max-width: 768px) {
  .hero { min-height: auto; padding: 6rem 0 4rem; }
  .stats-grid { grid-template-columns: 1fr; gap: 1rem; }
  .stat-card { padding: 1rem; display: flex; align-items: center; gap: 1rem; text-align: left; }
  .quiz-card { padding: 1.5rem; }
  .mobile-hidden { display: none !important; }
}

/* Honeypot field for spam protection */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
