:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --accent: #10b981;
    --bg: #ffffff;
    --text: #1f2937;
    --text-light: #6b7280;
    --border: #f3f4f6;
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn--primary {
    background: var(--primary);
    color: white;
}

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

/* HEADER */
.header {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    font-family: 'Space Grotesk', sans-serif;
}

.logo__icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 8px;
    position: relative;
}

.logo__icon::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.nav__list {
    display: flex;
    gap: 32px;
}

.nav__link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
}

.nav__link:hover {
    color: var(--primary);
}

/* FOOTER */
.footer {
    background: #f9fafb;
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer__title {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer__tagline {
    color: var(--text-light);
    margin-top: 16px;
    max-width: 280px;
}

.footer__links li {
    margin-bottom: 12px;
}

.footer__links a {
    color: var(--text-light);
}

.footer__links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer__contact-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--text-light);
    margin-bottom: 16px;
}

.icon-sm { width: 18px; color: var(--primary); }

.footer__bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* MOBILE MENU TOGGLE */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

@media (max-width: 768px) {
    .nav { display: none; }
    .menu-toggle { display: block; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}
/* HERO STYLES */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

#hero-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

.hero__content {
    max-width: 800px;
    position: relative;
    z-index: 10;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.badge__dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary), #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero__actions {
    display: flex;
    gap: 16px;
}

.btn--outline {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
}

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

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--border);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}
/* ABOUT SECTION STYLES */
.about {
    padding: 120px 0;
    background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.03) 0%, transparent 50%);
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
    line-height: 1.2;
}

.text-accent {
    color: var(--primary);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.about__checklist {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about__checklist li {
    display: flex;
    gap: 20px;
}

.check-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: white;
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.check-title {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

/* VIZUALIZATION (GLASS CARDS) */
.about__viz {
    position: relative;
    padding: 40px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    padding: 24px;
    position: relative;
    z-index: 2;
}

.glass-card__header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.code-line {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    margin-bottom: 8px;
}

.code-keyword { color: #a855f7; }
.code-var { color: var(--primary); }
.code-string { color: #10b981; }

.floating-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: white;
    padding: 12px 20px;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
    font-weight: 600;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@media (max-width: 992px) {
    .about__grid { grid-template-columns: 1fr; gap: 40px; }
}
/* FEATURES & BENTO GRID */
.features {
    padding: 100px 0;
    background-color: #fcfcfd;
}

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

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 24px;
    margin-top: 60px;
}

.bento-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.bento-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--primary);
}

.bento-item--large {
    grid-column: span 2;
    background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 100%);
    flex-direction: row;
}

.bento-item--medium {
    grid-column: span 1;
    grid-row: span 1;
    background: var(--text);
    color: white;
}

.bento-item--medium .bento-icon { color: var(--accent); }
.bento-item--medium p { color: rgba(255,255,255,0.7); }

.bento-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
    margin-bottom: 24px;
}

.bento-item h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.bento-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Visual elements in bento */
.bento-visual {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-left: 20px;
}

.chart-mockup {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 100px;
}

.chart-bar {
    width: 20px;
    height: var(--h);
    background: var(--primary);
    border-radius: 4px 4px 0 0;
    animation: barGrow 2s ease-out forwards;
}

@keyframes barGrow {
    from { height: 0; }
    to { height: var(--h); }
}

.bento-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.1);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .bento-item--large { grid-column: span 2; flex-direction: column; }
}

@media (max-width: 640px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-item--large, .bento-item--medium { grid-column: span 1; }
}
/* INNOVATIONS HORIZONTAL SCROLL */
.innovations {
    overflow: hidden;
    background: #0f172a; /* Темный фон для контраста */
    color: white;
}

.innovations__wrapper {
    display: flex;
    width: 300vw; /* Ширина зависит от кол-ва карточек */
    height: 100vh;
    align-items: center;
    padding: 0 5%;
}

.innovations__intro {
    width: 100vw;
    flex-shrink: 0;
    padding-right: 100px;
}

.innovations__intro .section-title { color: white; }

.scroll-hint {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--primary);
    font-weight: 600;
}

.innovations__horizontal {
    display: flex;
    gap: 40px;
}

.innovations__card {
    width: 400px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition);
}

.card-num {
    font-family: 'Space Grotesk';
    font-size: 4rem;
    font-weight: 700;
    opacity: 0.2;
    margin-bottom: auto;
}

.innovations__card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.innovations__card p {
    color: rgba(255, 255, 255, 0.6);
}

.card--highlight {
    background: var(--primary);
    border-color: var(--primary);
}

.card--highlight p { color: white; }

.innovations__card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-20px);
    border-color: var(--primary);
}
/* BLOG SECTION STYLES */
.blog {
    padding: 120px 0;
    background-color: white;
}

.blog__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.blog-card {
    background: white;
    border-radius: 24px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.blog-card__image {
    position: relative;
    height: 240px;
    background: #f3f4f6;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.1);
}

.blog-card__tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-card__content {
    padding: 32px;
}

.blog-card__date {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    line-height: 1.4;
}

.blog-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__more {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.mt-60 { margin-top: 60px; }

@media (max-width: 480px) {
    .blog__list { grid-template-columns: 1fr; }
}
/* CONTACT SECTION STYLES */
.contact {
    padding: 120px 0;
    background: #f8fafc;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: center;
}

.contact__details {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact__item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact__icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.contact__status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 8px 16px;
    background: white;
    border-radius: 50px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
}

/* FORM STYLES */
.contact__form-wrapper {
    background: white;
    padding: 48px;
    border-radius: 32px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.06);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.form-group input {
    padding: 14px 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.btn--full {
    width: 100%;
    justify-content: center;
    padding: 16px;
}

.form-message {
    padding: 15px;
    border-radius: 12px;
    display: none;
    font-size: 0.9rem;
    text-align: center;
}

.form-message.success {
    display: block;
    background: #ecfdf5;
    color: #065f46;
}

.form-message.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
}

@media (max-width: 992px) {
    .contact__grid { grid-template-columns: 1fr; gap: 60px; }
}

@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; }
}
/* COOKIE POPUP */
.cookie-popup {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    max-width: 450px;
    background: white;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    z-index: 2000;
    display: none; /* Управляется через JS */
    border: 1px solid var(--border);
}

.cookie-popup--show { display: block; animation: slideUp 0.5s ease; }

.cookie-popup__content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cookie-popup__icon { color: var(--primary); }
.cookie-popup p { font-size: 0.9rem; color: var(--text-light); margin: 0; }
.btn--sm { padding: 8px 20px; font-size: 0.85rem; flex-shrink: 0; }

/* MOBILE MENU ANIMATION */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        z-index: 1100;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav--active { right: 0; box-shadow: -10px 0 30px rgba(0,0,0,0.05); }

    .nav__list {
        flex-direction: column;
        gap: 25px;
    }

    .nav__link { font-size: 1.5rem; color: var(--text); }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1050;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
    }

    .nav-overlay--active { opacity: 1; visibility: visible; }

    /* Бургер-иконка */
    .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
        content: '';
        display: block;
        width: 25px;
        height: 2px;
        background: var(--text);
        position: absolute;
        transition: 0.3s;
    }
    .menu-toggle span::before { top: -8px; }
    .menu-toggle span::after { bottom: -8px; }

    .menu-toggle--active span { background: transparent; }
    .menu-toggle--active span::before { transform: rotate(45deg); top: 0; }
    .menu-toggle--active span::after { transform: rotate(-45deg); bottom: 0; }
}

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
/* HEADER */
.header {
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000; /* Шапка всегда сверху */
    border-bottom: 1px solid var(--border);
}

.menu-toggle {
    display: none;
    z-index: 1200; /* Кнопка выше самой панели меню */
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }

    .nav {
        position: fixed;
        top: 0;
        right: -100%; /* Спрятано за экраном */
        width: 100%;  /* На весь экран или 80%, по желанию */
        height: 100vh;
        background: #ffffff;
        z-index: 1100; /* Между хедером и кнопкой бургера */
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: transform 0.4s ease-in-out, right 0.4s ease-in-out;
        pointer-events: none; /* Игнорирует клики, когда закрыто */
    }

    .nav--active {
        right: 0;
        pointer-events: auto; /* Принимает клики, когда открыто */
    }

    .nav__list {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .nav__link {
        font-size: 1.5rem;
        font-family: 'Space Grotesk', sans-serif;
        color: var(--text);
        display: block;
        padding: 10px;
    }
}
/* INNOVATIONS - MOBILE FIX */
@media (max-width: 768px) {
    .innovations {
        height: auto !important; /* Отменяем фиксированную высоту */
        overflow: visible !important;
        padding: 80px 0;
    }

    .innovations__wrapper {
        width: 100% !important; /* Отменяем 300vw */
        height: auto !important;
        flex-direction: column; /* Карточки в колонку */
        transform: none !important; /* Убираем влияние GSAP */
        padding: 0 24px;
    }

    .innovations__intro {
        width: 100% !important;
        padding-right: 0;
        margin-bottom: 60px;
        text-align: center;
    }

    .scroll-hint {
        display: none; /* Убираем подсказку про скролл на мобильных */
    }

    .innovations__horizontal {
        flex-direction: column; /* Карточки в колонку */
        gap: 30px;
        width: 100%;
    }

    .innovations__card {
        width: 100% !important; /* Карточки на всю ширину */
        height: auto;
        min-height: 350px;
        padding: 40px 30px;
    }
}
@media (max-width: 768px) {
    .about {
        padding: 60px 0; /* Уменьшаем отступы на мобильных */
    }

    .about__grid {
        grid-template-columns: 1fr; /* Переход в одну колонку */
        gap: 40px;
        text-align: center; /* Центрируем текст для лучшего баланса */
    }

    .section-title {
        font-size: 1.8rem; /* Более компактный заголовок */
        margin-bottom: 16px;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .about__checklist {
        text-align: left; /* Список лучше оставить с выравниванием по левому краю */
        gap: 20px;
    }

    .check-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .check-title {
        font-size: 1rem;
    }

    .about__checklist p {
        font-size: 0.9rem;
    }

    /* Стилизация карточки с кодом на мобильных */
    .about__viz {
        padding: 0; /* Убираем лишние паддинги */
        display: flex;
        justify-content: center;
        perspective: 1000px; /* Добавляем глубину */
    }

    .glass-card {
        width: 100%;
        max-width: 340px;
        padding: 16px;
        border-radius: 16px;
        transform: rotateX(5deg); /* Легкий наклон для 3D эффекта */
    }

    .code-line {
        font-size: 12px; /* Уменьшаем шрифт кода, чтобы не было переносов */
        white-space: nowrap;
    }

    .floating-badge {
        bottom: -20px;
        right: 20px;
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}
/* LEGAL PAGES STYLES */
.pages {
    padding: 150px 0 100px; /* Большой отступ сверху из-за фиксированного хедера */
    min-height: 80vh;
    line-height: 1.8;
}

.pages h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 40px;
    color: var(--text);
    border-left: 6px solid var(--primary);
    padding-left: 20px;
}

.pages h2 {
    font-size: 1.75rem;
    margin: 40px 0 20px;
    color: var(--primary);
}

.pages p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.pages ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.pages li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--text-light);
}

.pages li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .pages { padding-top: 100px; }
    .pages h1 { font-size: 1.8rem; }
    .pages h2 { font-size: 1.4rem; }
}