/*@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');*/
/* Обычный */
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Курсив */
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

:root {
  --primary: #FFD600;
  --primary-dark: #E5C100;
  --primary-light: #FFE04D;
  --dark: #0A0A0A;
  --dark-secondary: #161616;
  --dark-tertiary: #222222;
  --white: #FFFFFF;
  --gray: #777777;
  --gray-light: #999999;
  --light: #F7F7F7;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.18);
  --shadow-yellow: 0 8px 32px rgba(255,214,0,0.35);
  --radius: 16px;
  --radius-sm: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', 'Arial', 'Microsoft Sans Serif', -apple-system, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
.animate-on-scroll { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,10,10,0.9); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05); transition: all 0.3s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; font-size: 22px; color: #fff; letter-spacing: -0.5px; display: flex; align-items: center; gap: 10px;}
.logo span { color: var(--primary); }

.header-btn {
  background: #FFD600;
  color: #0A0A0A !important;
  padding: 10px 24px; border-radius: 50px; text-decoration: none;
  font-weight: 800; font-size: 14px; transition: all 0.3s;
  border: 2px solid #FFD600;
}
.header-btn:hover {
  background: #fff;
  color: #0A0A0A !important;
  border-color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,255,255,0.25);
}

/* ===== HERO ===== */
.hero { padding: 140px 0 100px; background: #0A0A0A; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,214,0,0.15) 0%, transparent 70%); border-radius: 50%;
}
.hero-content { text-align: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,214,0,0.15); color: #FFD600;
  padding: 8px 20px; border-radius: 50px; font-weight: 600; font-size: 14px; margin-bottom: 24px;
  border: 1px solid rgba(255,214,0,0.3); animation: fadeInUp 0.6s ease;
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 60px); font-weight: 900; line-height: 1.1;
  color: #fff; margin-bottom: 20px; letter-spacing: -1.5px; animation: fadeInUp 0.8s ease;
}
.hero h1 .highlight { color: #FFD600; }
.hero h1 .money {
  background: linear-gradient(135deg, #FFD600, #FFE04D);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 2.2vw, 20px); color: #999;
  max-width: 560px; margin: 0 auto 40px; line-height: 1.6; animation: fadeInUp 1s ease;
}

/* ===== HERO CTA — жёлтый фон, чёрный текст ===== */
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: #FFD600;
  color: #0A0A0A !important;
  padding: 18px 40px; border-radius: 50px; text-decoration: none;
  font-weight: 800; font-size: 18px; transition: all 0.3s;
  box-shadow: 0 8px 32px rgba(255,214,0,0.35);
  animation: fadeInUp 1.2s ease; position: relative; overflow: hidden;
}
.hero-cta::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 3s infinite;
}
.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255,214,0,0.45);
  background: #fff;
  color: #0A0A0A !important;
}
.hero-cta .arrow { font-size: 20px; transition: transform 0.3s; }
.hero-cta:hover .arrow { transform: translateX(4px); }

.hero-stats { display: flex; justify-content: center; gap: 48px; margin-top: 56px; animation: fadeInUp 1.4s ease; }
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 28px; font-weight: 800; color: #fff; }
.hero-stat-label { font-size: 13px; color: #999; font-weight: 500; margin-top: 2px; }

/* ===== WHY IT WORKS ===== */
.why-works { padding: 100px 0; background: #F7F7F7; }
.section-label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: #E5C100; margin-bottom: 16px; }
.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: #0A0A0A; margin-bottom: 16px; letter-spacing: -1px; line-height: 1.2; }
.section-subtitle { font-size: 17px; color: #777; max-width: 520px; line-height: 1.6; }
.section-header-center { text-align: center; margin-bottom: 56px; }
.section-header-center .section-subtitle { margin: 0 auto; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: #F7F7F7; border-radius: 16px; padding: 36px 28px; text-align: center;
  transition: all 0.4s; border: 1px solid transparent;
}
.why-card:hover { transform: translateY(-6px); box-shadow: 0 12px 48px rgba(0,0,0,0.18); border-color: #FFD600; background: #fff; }
.why-icon { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 20px; background: #FFD600; }
.why-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: #0A0A0A; }
.why-card p { font-size: 14px; color: #777; line-height: 1.6; }

/* ===== STEPS ===== */
.steps { padding: 100px 0; background: #fff; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.steps-grid::before {
  content: ''; position: absolute; top: 52px; left: 16.66%; right: 16.66%;
  height: 3px; background: linear-gradient(90deg, #0A0A0A, #FFD600); border-radius: 2px; z-index: 0;
}
.step-card {
  background: #fff; border-radius: 16px; padding: 40px 28px; text-align: center;
  position: relative; z-index: 1; box-shadow: 0 4px 24px rgba(0,0,0,0.08); transition: all 0.3s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: 0 12px 48px rgba(0,0,0,0.18); }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; background: #0A0A0A; color: #FFD600;
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800;
  margin: 0 auto 20px; border: 2px solid #FFD600;
}
.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: #0A0A0A; }
.step-card p { font-size: 14px; color: #777; }

/* ===== PRICING ===== */
.pricing { padding: 100px 0; background: #F7F7F7; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 720px; margin: 0 auto; }
.price-card {
  background: #fff; border: 2px solid #F7F7F7; border-radius: 16px;
  padding: 40px 32px; text-align: center; position: relative; transition: all 0.4s;
}
.price-card:hover { border-color: #0A0A0A; transform: translateY(-4px); box-shadow: 0 12px 48px rgba(0,0,0,0.18); }
.price-card.popular { border-color: #FFD600; background: linear-gradient(180deg, #FFFDF0 0%, #fff 100%); box-shadow: 0 8px 40px rgba(255,214,0,0.2); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: #0A0A0A; color: #FFD600; padding: 6px 20px; border-radius: 50px;
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
}
.price-card-icon { font-size: 36px; margin-bottom: 16px; }
.price-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: #0A0A0A; }
.price-amount { font-size: 48px; font-weight: 900; color: #0A0A0A; line-height: 1; margin-bottom: 4px; }
.price-amount span { font-size: 24px; font-weight: 600; color: #777; }
.price-desc { font-size: 14px; color: #777; margin-bottom: 24px; }

/* Кнопки в карточках — белая/жёлтая с чёрным текстом */
.btn-price {
  display: inline-block; padding: 12px 28px; border-radius: 50px;
  border: 2px solid #0A0A0A; background: transparent;
  color: #0A0A0A !important; text-decoration: none;
  font-weight: 700; font-size: 14px; transition: all 0.3s;
}
.btn-price:hover {
  background: #0A0A0A;
  color: #fff !important;
}
.price-card.popular .btn-price {
  background: #FFD600; border-color: #FFD600;
  color: #0A0A0A !important;
}
.price-card.popular .btn-price:hover {
  background: #0A0A0A; border-color: #0A0A0A;
  color: #fff !important;
}


/* ===== WHY SAMPO ===== */
.why-sampo { padding: 100px 0; background: #fff; }
.sampo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sampo-item { display: flex; align-items: flex-start; gap: 16px; padding: 24px; border-radius: 12px; transition: all 0.3s; }
.sampo-item:hover { background: #F7F7F7; }
.sampo-icon { width: 48px; height: 48px; min-width: 48px; border-radius: 12px; background: #FFD600; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.sampo-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; color: #0A0A0A; }
.sampo-item p { font-size: 13px; color: #777; line-height: 1.5; }

/* ===== TIMELINE ===== */
.detailed-steps { padding: 100px 0; background: #F7F7F7; }
.timeline { max-width: 640px; margin: 0 auto; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 28px; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, #0A0A0A, #FFD600, #0A0A0A); border-radius: 2px;
}
.timeline-item { display: flex; gap: 24px; padding: 20px 0; position: relative; }
.timeline-dot {
  width: 56px; min-width: 56px; height: 56px; border-radius: 50%; background: #fff;
  border: 3px solid #FFD600; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; color: #0A0A0A; z-index: 1; box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.timeline-content h4 { font-size: 17px; font-weight: 700; margin-bottom: 4px; color: #0A0A0A; }
.timeline-content p { font-size: 14px; color: #777; line-height: 1.5; }

/* ===== CABINET ===== */
.cabinet { padding: 50px 0; background: #fff; }
.cabinet-grid { 
display: grid; 
grid-template-columns: 1fr 1fr; 
gap: 60px; 
align-items: center; 
}
.cabinet-image {
background: #fff; 
border-radius: 16px; 
padding: 32px; 
min-height: 240px;
display: flex; 
align-items: center; 
justify-content: center; 
border: 1px solid #fff;
}
.cabinet-mockup { 
width: 100%; 
max-width: 450px; /* Фиксированная ширина для ПК */
background: #fff; 
border-radius: 12px; 
box-shadow: 0 12px 48px rgba(0,0,0,0.18); 
overflow: hidden; 
border: 1px solid #fff; 
}
.cabinet-mockup img {
width: 450px; /* Фиксированная ширина для ПК */
height: 400px; /* Фиксированная высота для ПК */
object-fit: cover; /* Сохраняем пропорции */
}

.mockup-header { background: #fff; padding: 12px 16px; display: flex; gap: 6px; border-bottom: 1px solid #fff; }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #fff; }
.mockup-dot:nth-child(2) { background: #fff; }
.mockup-dot:nth-child(3) { background: #fff; }
.mockup-body { padding: 20px; }
.mockup-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #fff; }
.mockup-row:last-child { border: none; }
.mockup-avatar { width: 36px; height: 36px; border-radius: 50%; background: #333; display: flex; align-items: center; justify-content: center; font-size: 14px; border: 1px solid #444; }
.mockup-text { flex: 1; }
.mockup-text-line { height: 8px; background: #333; border-radius: 4px; margin-bottom: 4px; }
.mockup-text-line.short { width: 60%; }
.mockup-status { padding: 4px 10px; border-radius: 50px; font-size: 10px; font-weight: 700; }
.mockup-status.green { background: #2A4A2A; color: #4ADE80; }
.mockup-status.yellow { background: #3A351A; color: #FFD600; }
.mockup-status.blue { background: #1A2A3A; color: #60A5FA; }
.mockup-earning { margin-top: 16px; padding: 16px; background: linear-gradient(135deg, #2A2A2A, #1A1A1A); border-radius: 10px; text-align: center; border: 1px solid #333; }
.mockup-earning-label { font-size: 11px; color: #888; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.mockup-earning-amount { font-size: 28px; font-weight: 900; color: #FFD600; }

.cabinet-content h2 { font-size: clamp(28px, 3.5vw, 36px); font-weight: 800; margin-bottom: 20px; letter-spacing: -0.5px; line-height: 1.2; }
.cabinet-content p { font-size: 16px; color: #777; margin-bottom: 32px; line-height: 1.6; }
.cabinet-features { display: flex; flex-direction: column; gap: 16px; }
.cabinet-feature { display: flex; align-items: center; gap: 14px; }
.cabinet-feature-icon { width: 44px; height: 44px; min-width: 44px; border-radius: 12px; background: #FFD600; color: #0A0A0A; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; }
.cabinet-feature span { font-size: 15px; font-weight: 600; color: #0A0A0A; }

/* Мобильная версия */
@media (max-width: 768px) {
.cabinet-grid {
  grid-template-columns: 1fr; /* Одна колонка для мобильной версии */
  gap: 20px; /* Уменьшение промежутка между элементами */
}

.cabinet-image {
  padding: 0; /* Убираем внутренние отступы */
  border-radius: 0; /* Убираем скругление углов */
  min-height: auto; /* Убираем минимальную высоту */
  order: 2; /* Картинка будет второй (после текста) */
}

.cabinet-content {
  order: 1; /* Текст будет первым (перед картинкой) */
}

.cabinet-mockup {
  max-width: 100%; /* Полная ширину экрана */
  border-radius: 0; /* Убираем скругление углов */
  box-shadow: none; /* Убираем тень */
}

.cabinet-mockup img {
  width: 100%; /* Картинка занимает всю ширину контейнера */
  height: auto; /* Сохраняем пропорции */
  max-width: none; /* Убираем ограничение по ширине */
  max-height: none; /* Убираем ограничение по высоте */
}
}

/* ===== FORM SECTION ===== */
.form-section { padding: 40px 0; background: #fff; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.form-content h2 { font-size: clamp(28px, 3.5vw, 36px); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.5px; line-height: 1.2; color: #000000; }
.form-content p { font-size: 16px; color: #696969; margin-bottom: 32px; line-height: 1.6; }
.form-benefits { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.form-benefit { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #696969; }
.form-benefit .check { color: #FFD600; font-size: 18px; font-weight: 800; }
.form-placeholder { background: #fff; border-radius: 10px; padding: 1px; text-align: center; border: 0px dashed #333; }
.form-placeholder-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.8; }
.form-placeholder p { color: #666; font-size: 14px; }
.form-placeholder h2 { color: #696969; font-size: 18px; }
.form-placeholder h3 { color: #696969; font-size: 12px; }
.form-placeholder h { color: #666; font-size: 14px; }
.form-mock { display: flex; flex-direction: column; gap: 12px; max-width: 320px; margin: 20px auto 0; }
.form-mock input {
  width: 100%; padding: 14px 16px; border-radius: 10px; border: 1px solid #333;
  background: rgba(255,255,255,0.05); color: #fff; font-size: 14px; outline: none; transition: all 0.3s;
}
.form-mock input:focus { border-color: #FFD600; background: rgba(255,214,0,0.05); }
.form-mock input::placeholder { color: #555; }

/* Жёлтая кнопка — чёрный текст */
.form-mock button {
  width: 100%; padding: 14px; border-radius: 10px; border: none;
  background: #FFD600;
  color: #0A0A0A !important;
  font-weight: 800; font-size: 15px; cursor: pointer; transition: all 0.3s;
}
.form-mock button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,214,0,0.35);
  background: #fff;
  color: #0A0A0A !important;
}

/* ===== FAQ ===== */
.faq { padding: 50px 0; background: #F7F7F7; }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #F7F7F7; border-radius: 12px; overflow: hidden; transition: all 0.3s; border: 1px solid transparent; }
.faq-item.active { border-color: #000000; background: #FFFDF5; }
.faq-question {
  width: 100%; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between;
  background: yes; border: none; cursor: pointer; font-size: 16px; font-weight: 600; color: #0A0A0A;
  text-align: left; font-family: inherit; gap: 16px;
}
.faq-icon { width: 32px; height: 32px; min-width: 32px; border-radius: 50%; background: #fff; border: 1px solid #DDD; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #0A0A0A; transition: all 0.3s; }
.faq-item.active .faq-icon { background: #FFD600; color: #0A0A0A; transform: rotate(45deg); border-color: #FFD600; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-item.active .faq-answer { max-height: 600px; }
.faq-answer-inner { padding: 24px 20px; font-size: 14px; color: #777; line-height: 1.6; }

/* ===== FINAL CTA ===== */
.final-cta { padding: 100px 0; background: #FFD600; text-align: center; }
.final-cta h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 900; margin-bottom: 16px; letter-spacing: -1px; line-height: 1.2; color: #0A0A0A; }
.final-cta p { font-size: 17px; color: #333; margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; font-weight: 500; }

/* Чёрная кнопка — белый текст */
.btn-final {
  display: inline-flex; align-items: center; gap: 10px;
  background: #0A0A0A;
  color: #fff !important;
  padding: 18px 44px; border-radius: 50px; text-decoration: none;
  font-weight: 800; font-size: 18px; transition: all 0.3s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.btn-final:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  background: #222;
  color: #fff !important;
}

/* ===== FOOTER ===== */
.footer { padding: 40px 0; background: #0A0A0A; color: #888; border-top: 1px solid #222; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-logo { font-weight: 800; font-size: 18px; color: #fff; display: flex; align-items: center; gap: 10px;}
.footer-links { display: flex; gap: 24px; align-items: center; }
.footer-links a { color: #666; text-decoration: none; font-size: 13px; transition: color 0.3s; }
.footer-links a:hover { color: #FFD600; }
.footer-copy { font-size: 13px; color: #444; }

/* ==== COOKIE ==== */
#cookie{
  position: fixed;
  z-index: 10;
  bottom: 20px;
  right: 20px;
  background-color: #fff;
  border-radius: 10px;
  border: 2px solid #0A0A0A;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
  padding: 20px;
  max-width: 380px;
  line-height: 1.4;
  font-size: 14px;
  display: none;
  flex-direction: column;
  gap: 15px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
#cookie.visible{
  opacity: 1;
  transform: translateY(0);
}
#cookie>div{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#cookie button{
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.5s ease;
}
#cookie button:nth-child(1){
  background: #ffd602;
  border: 2px solid #ffd602;
  
  color: #000;
}
#cookie button:hover:nth-child(1){
  background: #fff;
}
#cookie button:nth-child(2){
  background: #000;
  border: 2px solid #000;
  color: #ffd602;
}
#cookie button:hover:nth-child(2){
  background: #fff;
  color: #000;
}

/* ==== POLICY ==== */
.modal-overlay {
    display: flex;                    /* Всегда flex, но прозрачный */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    
    /* Анимация появления */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Активное состояние */
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Белое окно */
.modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 700px;
    height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    
    /* Анимация подъёма */
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

/* Поднимаем окно при активации */
.modal-overlay.active .modal-content {
    transform: translateY(0);
}

/* Кнопка закрытия */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: #333;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    padding: 5px 10px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.modal-close:hover {
    background-color: #f0f0f0;
}

/* Контент с прокруткой */
#policy {
    padding: 40px 40px 40px 40px;
    overflow-y: auto;
    height: 100%;
    box-sizing: border-box;
}

/* Стилизация текста политики */
#policy h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    color: #222;
}

#policy p {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #444;
}

#policy ul {
    margin: 10px 0 20px 25px;
}

#policy ul li {
    margin-bottom: 5px;
    line-height: 1.5;
    color: #444;
}

/* Градиент внизу для индикации прокрутки */
.modal-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.9));
    pointer-events: none;
    border-radius: 0 0 12px 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Показываем градиент только когда есть куда скроллить */
.modal-content.scrollable::after {
    opacity: 1;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .why-grid, .steps-grid, .sampo-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .cabinet-grid, .form-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .no-limits-grid { flex-direction: column; align-items: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-direction: column; gap: 12px; }
}
@media (max-width: 480px) {
  #cookie{
    max-width: 100%;
    right: 0;
    bottom: 0;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;

  }
  .modal-close {
    top: 10px;
    right: 10px;
  }
}