/* =========================================
   Дизайн-система НОВОСФЕРА
   ========================================= */

   :root {
    /* Палитра */
    --deep-ocean-teal: #0A3A3A;
    --pearl-white: #FBFBFB;
    --warm-matte-gold: #AF9159;
    --highlight-gold: #d79c2f;   /* яркое золото для акцентных подзаголовков (читабельно на тёмном teal) */
    --active-teal: #1D7874;
    --rich-charcoal: #121212;
    --mint-ice: #E0F2F1;
    
    /* Дополнительные цвета для градиентов */
    --ocean-darker: #052222;
    --gold-glow: rgba(175, 145, 89, 0.4);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(175, 145, 89, 0.15);
    --glass-border-hover: rgba(175, 145, 89, 0.6);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    /* Типографика */
    --font-main: 'Montserrat', sans-serif;
}

/* =========================================
   Глобальные стили
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-main);
    background-color: var(--ocean-darker);
    color: var(--pearl-white);
    line-height: 1.5;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

/* Фикс для iOS Safari (вместо background-attachment: fixed) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at top right, var(--deep-ocean-teal) 0%, var(--ocean-darker) 100%);
    z-index: -2;
    pointer-events: none;
}

/* Шум на фоне для премиальности */
.background-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================
   Типографика
   ========================================= */

h1, h2, h3, h4 {
    font-weight: 600;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(to right, var(--pearl-white), #b3c2c2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2.section-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    text-align: center;
    margin-bottom: 64px;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
}

h2.section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--warm-matte-gold);
}

/* =========================================
   UI Компоненты (Кнопки, Карточки)
   ========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: var(--warm-matte-gold);
    color: var(--rich-charcoal);
    border: 1px solid var(--warm-matte-gold);
    box-shadow: 0 6px 20px rgba(175, 145, 89, 0.4);
}

.btn-primary:hover {
    background: transparent;
    color: var(--warm-matte-gold);
    box-shadow: 0 8px 25px rgba(175, 145, 89, 0.6);
    transform: translateY(-2px);
}


.btn-secondary {
    background: var(--glass-bg);
    color: var(--pearl-white);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--warm-matte-gold);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--warm-matte-gold);
    border: 1px solid var(--warm-matte-gold);
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: var(--warm-matte-gold);
    color: var(--rich-charcoal);
}

/* Glass Card Component */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-20deg);
    transition: 0.6s;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(175, 145, 89, 0.15);
}

.glass-card:hover::before {
    left: 200%;
}

.card-icon {
    width: 56px;
    height: 56px;
    background: rgba(175, 145, 89, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--warm-matte-gold);
    border: 1px solid var(--glass-border);
    transition: 0.3s;
}

.glass-card:hover .card-icon {
    background: var(--warm-matte-gold);
    color: var(--rich-charcoal);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--pearl-white);
}

.card-text {
    color: rgba(251, 251, 251, 0.8);
    font-size: 0.95rem;
    flex-grow: 1;
}

/* =========================================
   Сетка (Grid)
   ========================================= */

.section {
    padding: 100px 0;
}

/* Light Theme Section */
.section-light {
    background-color: var(--pearl-white);
    color: var(--deep-ocean-teal);
    position: relative;
    z-index: 2;
}

.section-light .section-title {
    color: var(--deep-ocean-teal);
}

.section-title-right {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 64px;
    position: relative;
    display: inline-block;
    color: var(--pearl-white);
}

.section-title-right::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--warm-matte-gold);
    border-radius: 2px;
}

.section-light .section-title-right {
    color: var(--deep-ocean-teal);
}

.section-light .section-title-right::after {
    background: var(--active-teal);
}

.section-light .glass-card {
    background: #ffffff;
    border: 1px solid rgba(29, 120, 116, 0.25);
    box-shadow: 0 20px 50px rgba(29, 120, 116, 0.2);
    transition: all 0.4s ease;
}

.section-light .glass-card:hover {
    box-shadow: 0 35px 80px rgba(29, 120, 116, 0.38);
    border-color: rgba(29, 120, 116, 0.45);
    transform: translateY(-5px);
}

.section-light .glass-card::before {
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.02), transparent);
}

.section-light .card-title,
.section-light .faq-btn,
.section-light h3 {
    color: var(--deep-ocean-teal);
}

.section-light .card-text,
.section-light .faq-content-inner,
.section-light .faq-content-inner p,
.section-light .tariff-features li,
.section-light .schedule-timeline div,
.section-light p,
.section-light .schedule-features span {
    color: rgba(10, 58, 58, 0.7);
}

.section-light .card-icon {
    background: rgba(29, 120, 116, 0.1);
    color: var(--active-teal);
    border-color: rgba(29, 120, 116, 0.2);
}

.section-light .glass-card:hover .card-icon {
    background: var(--active-teal);
    color: #ffffff;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.challenges-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

/* =========================================
   Header
   ========================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 58, 58, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 16px 0;
    transition: 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 32px;
    width: auto;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--pearl-white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--warm-matte-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--warm-matte-gold);
    transition: 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* =========================================
   Hero Section
   ========================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset for header */
    padding-bottom: 64px;
    position: relative;
    overflow: hidden;
}

/* Эффект свечения на фоне */
.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--active-teal);
    filter: blur(150px);
    border-radius: 50%;
    opacity: 0.2;
    top: -100px;
    right: -200px;
    z-index: -1;
}

.hero-content {
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(175, 145, 89, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    color: var(--warm-matte-gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(251, 251, 251, 0.9);
    margin-bottom: 48px;
    max-width: 700px;
}

.hero-actions {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

/* =========================================
   Модули
   ========================================= */

.accent-card {
    background: linear-gradient(135deg, rgba(29, 120, 116, 0.1), rgba(175, 145, 89, 0.05));
    border-color: rgba(175, 145, 89, 0.3);
}

/* =========================================
   Тарифы
   ========================================= */

.tariff-card {
    padding: 40px 32px;
}

.tariff-card.highlighted {
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(175, 145, 89, 0.1);
}

.tariff-card.highlighted:hover {
    transform: scale(1.02) translateY(-8px);
}

.tariff-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--warm-matte-gold);
    color: var(--rich-charcoal);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.tariff-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.tariff-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--warm-matte-gold);
    margin-bottom: 16px;
}

.tariff-period {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(251, 251, 251, 0.6);
}

.tariff-desc {
    font-size: 0.9rem;
    color: rgba(251, 251, 251, 0.8);
    margin-bottom: 24px;
    min-height: 40px;
}

.tariff-features {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.tariff-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: rgba(251, 251, 251, 0.9);
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--active-teal);
    flex-shrink: 0;
}

.tariff-note {
    font-size: 0.75rem;
    color: rgba(251, 251, 251, 0.5);
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 16px;
}

.disclaimer-box {
    margin-top: 64px;
    background: rgba(29, 120, 116, 0.1);
    border: 1px solid rgba(29, 120, 116, 0.3);
    border-left: 4px solid var(--warm-matte-gold);
    border-radius: 12px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.tariff-card.highlighted {
    transform: scale(1.02);
    z-index: 2;
}

.disclaimer-icon {
    color: var(--warm-matte-gold);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(175, 145, 89, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.disclaimer-text {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
}

/* =========================================
   Footer
   ========================================= */

.footer {
    background: #0B1615;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 64px 0 24px;
    margin-top: 64px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 48px;
}

.footer-col:first-child {
    flex: 0 0 540px; /* force the copyright section to be 540px to prevent organisation name break */
}

.footer-logo {
    height: 40px;
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
}

.footer-text {
    font-size: 0.85rem;
    color: rgba(251, 251, 251, 0.6);
    max-width: 550px;
    line-height: 1.6;
}

.footer-heading {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--warm-matte-gold);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a {
    color: rgba(251, 251, 251, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
    white-space: nowrap;
}

.footer-links a:hover {
    color: var(--warm-matte-gold);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--pearl-white);
    transition: 0.3s;
}

.social-icon:hover {
    background: var(--warm-matte-gold);
    color: var(--rich-charcoal);
    transform: translateY(-2px);
}

/* Specific Tariffs Grid for 5 items (2 top, 3 bottom) */
.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 32px;
}

.tariffs-grid .tariff-card:nth-child(1),
.tariffs-grid .tariff-card:nth-child(2) {
    grid-column: span 3;
}

.tariffs-grid .tariff-card:nth-child(3),
.tariffs-grid .tariff-card:nth-child(4),
.tariffs-grid .tariff-card:nth-child(5) {
    grid-column: span 2;
}

/* Мокапы и слайдинг карусели */
.browser-carousel-container {
    position: relative;
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 40px; /* space for arrows */
}

.browser-carousel-viewport {
    overflow: hidden;
    width: 100%;
    margin-bottom: -30px; /* compensate for the slide's bottom padding */
}

.browser-carousel-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.browser-carousel-slide {
    width: 100%;
    flex-shrink: 0;
    padding: 15px 25px 45px 25px; /* space for shadow on sides and bottom */
    box-sizing: border-box;
}

.browser-mockup {
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(175, 145, 89, 0.2);
    border-radius: 16px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.browser-header {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.browser-body {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    overflow: hidden;
}

.mockup-img {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.theme-toggle-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 6px 14px;
    color: #fff;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.theme-toggle-btn:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.3);
}

/* Arrows styling */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(18, 18, 18, 0.6);
    border: 1px solid rgba(175, 145, 89, 0.25);
    border-radius: 50%;
    color: var(--warm-matte-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.carousel-arrow:hover {
    background: var(--warm-matte-gold);
    color: var(--rich-charcoal);
    border-color: var(--warm-matte-gold);
    box-shadow: 0 0 15px rgba(175, 145, 89, 0.4);
}

.carousel-arrow-left {
    left: -12px;
}

.carousel-arrow-right {
    right: -12px;
}

/* Dots indicator styling */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--warm-matte-gold);
    transform: scale(1.3);
    box-shadow: 0 0 8px var(--warm-matte-gold);
}

/* Слайды картинок внутри мокапа */
.mockup-img {
    transition: opacity 0.5s ease;
}

/* =========================================
   Triangle Animation
   ========================================= */

.triangle-visual {
  max-width: 520px;
  margin: 0 auto 60px;
  position: relative;
}

.triangle-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Triangle line — draw-on effect via stroke-dasharray */
.triangle-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 1;
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.triangle-line--left   { transition-delay: 0.05s; }
.triangle-line--right  { transition-delay: 0.35s; }
.triangle-line--bottom { transition-delay: 0.65s; }

/* Animated — lines fully drawn */
.triangle-visual.animated .triangle-line {
  stroke-dashoffset: 0;
}

/* Median lines (decorative) */
.triangle-median {
  stroke: var(--warm-matte-gold);
  stroke-width: 0.4;
  fill: none;
  opacity: 0;
  transition: opacity 0.6s ease 1.2s;
}

.triangle-visual.animated .triangle-median {
  opacity: 0.12;
}

/* Inscribed circle */
.triangle-incircle {
  stroke: var(--warm-matte-gold);
  stroke-width: 0.5;
  fill: none;
  opacity: 0;
  transition: opacity 0.6s ease 1.2s;
}

.triangle-visual.animated .triangle-incircle {
  opacity: 0.08;
}

/* Vertex glow dots */
.triangle-vertex {
  fill: var(--warm-matte-gold);
  opacity: 0;
  transition: opacity 0.4s ease 0.9s;
}

.triangle-visual.animated .triangle-vertex {
  opacity: 1;
}

/* Center logo + text */
.triangle-center {
  opacity: 0;
  transition: opacity 0.5s ease 1.0s;
  transform-origin: center;
}

.triangle-visual.animated .triangle-center {
  opacity: 1;
}

/* Side labels (rotated) */
.triangle-label {
  fill: var(--pearl-white);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.triangle-label--left  { transition-delay: 0.15s; }
.triangle-label--right { transition-delay: 0.45s; }
.triangle-label--bottom { transition-delay: 0.75s; }

.triangle-visual.animated .triangle-label {
  opacity: 0.85;
}

/* Vertex glow animation */
@keyframes vertexPulse {
  0%, 100% { r: 4; opacity: 0.8; }
  50% { r: 6; opacity: 1; }
}

.triangle-visual.animated .triangle-vertex {
  animation: vertexPulse 3s ease-in-out infinite;
}

/* Glow filter behind vertices */
.vertex-glow {
  opacity: 0;
  transition: opacity 0.4s ease 0.9s;
}

.triangle-visual.animated .vertex-glow {
  opacity: 0.5;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: rgba(251, 251, 251, 0.5);
}

/* =========================================
   FAQ Аккордеон
   ========================================= */

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    padding: 0;
    transition: all 0.3s ease;
}

.faq-btn {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 24px 32px;
    color: var(--pearl-white);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.faq-icon {
    color: var(--warm-matte-gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.175, 0.885, 0.32, 1);
}

.faq-content-inner {
    padding: 0 32px 32px;
    color: rgba(251, 251, 251, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-content-inner p {
    margin-bottom: 16px;
}

.faq-content-inner p:last-child {
    margin-bottom: 0;
}

.faq-content-inner ul {
    margin-left: 20px;
    margin-bottom: 16px;
}

/* =========================================
   Анимации при скролле
   ========================================= */

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-28vw);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: scale(1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* =========================================
   Адаптивность (Media Queries)
   ========================================= */

@media (max-width: 1024px) {
    .tariff-card.highlighted {
        transform: none;
    }
    .tariff-card.highlighted:hover {
        transform: translateY(-8px);
    }
    .footer-inner {
        flex-wrap: wrap;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none; /* В реальном проекте тут будет бургер-меню */
    }
    .hero-actions {
        flex-direction: column;
    }
    .btn {
        width: 100%;
    }
    .header .btn {
        width: auto;
        padding: 12px 16px;
    }
    .grid-2, .grid-3, .grid-4, .challenges-grid {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 32px;
    }
    
    .footer-col:first-child {
        flex: none;
        width: 100%;
        max-width: 100%;
    }
    
    .footer-logo {
        margin: 0 0 16px 0;
    }
    
    .tariffs-grid {
        grid-template-columns: 1fr !important;
    }
    
    .tariffs-grid .tariff-card {
        grid-column: span 1 !important;
    }
    
    .fade-in-left {
        transform: translateX(-40px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }
    
    .browser-carousel-container {
        padding: 0;
    }
    
    .carousel-arrow {
        display: none;
    }
    
    /* Отступы и позиционирование для мобильных экранов */
    .hero {
        min-height: auto !important;
        padding-top: 120px !important;
        padding-bottom: 60px !important;
    }
    
    .hero-badge {
        margin-top: 0 !important;
    }
    
    .section {
        padding: 60px 0 !important;
    }
    
    .footer {
        margin-top: 0 !important;
        padding: 60px 0 30px !important;
    }

    #faq .section-header {
        margin-bottom: 32px !important;
    }

    /* Доработки главной страницы для мобильных */
    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.8rem) !important;
    }

    .browser-title {
        display: none !important;
    }

    .browser-header {
        padding: 10px 16px !important;
    }

    .browser-carousel-slide {
        padding: 10px 10px 30px 10px !important;
    }

    .section-header {
        text-align: center !important;
    }

    .section-title, .section-title-right {
        text-align: center !important;
    }

    .footer-inner {
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 32px !important;
    }

    .footer-col:first-child {
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .header .btn {
        width: auto !important;
        padding: 8px 10px !important;
        font-size: 0.8rem !important;
        letter-spacing: 0.02em !important;
    }

    .logo-text {
        font-size: calc(1.1rem - 1pt) !important;
    }

    .header-btn-start-week {
        font-size: calc(0.8rem - 1pt) !important;
    }

    .header-btn-begin-week {
        font-size: calc(0.8rem - 1pt) !important;
        padding: 8px 6px !important;
    }

    .who-we-are-title {
        font-size: calc(1.8rem - 1pt) !important;
        line-height: 1.25 !important;
    }

    #faq .section-title {
        line-height: 1.2 !important;
    }

    .disclaimer-box {
        padding: 20px 16px !important;
        gap: 12px !important;
    }
}

/* =========================================
   Акцентные подзаголовки (золотой uppercase).
   Раньше задавались инлайн зелёным (var(--active-teal)) — плохо читались
   на тёмном teal. Вынесено в классы по фидбэку фронтенда.
   ========================================= */
.value-sub {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--highlight-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.value-statement {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--highlight-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
