/* ============================================
   BOOKPAD.BY — Основной файл стилей
   Версия: 1.1 (анимации, правки)
   Стилистика: Тёплый минимализм + Glassmorphism
   ============================================ */

/* --- ПОДКЛЮЧЕНИЕ ШРИФТОВ --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* --- CSS-ПЕРЕМЕННЫЕ (КОРНИ) --- */
:root {
    --bg-primary: #F5F3F0;
    --bg-white: #FFFFFF;
    --accent-primary: #4A3AFF;
    --accent-secondary: #FF6B6B;
    --text-primary: #1A1A2E;
    --text-secondary: #6B7280;
    --border-color: #E5E7EB;
    --success-color: #10B981;
    --warning-color: #F59E0B;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.08);

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-blur: blur(20px);

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --container-max: 1200px;
    --header-height: 72px;
}

/* --- СБРОС СТИЛЕЙ --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

/* --- ТИПОГРАФИКА --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

/* --- КОНТЕЙНЕР --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- КНОПКИ --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
    font-family: var(--font-primary);
}

.btn-primary {
    background-color: var(--accent-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(74, 58, 255, 0.3);
}

.btn-primary:hover {
    background-color: #3a2ae0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 58, 255, 0.4);
}

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

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

.btn-accent {
    background-color: var(--accent-secondary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3);
}

.btn-accent:hover {
    background-color: #e55a5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.4);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.125rem;
    border-radius: var(--radius-lg);
}

/* --- ХЕДЕР --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-secondary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    background: none;
    border: none;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    padding: 0;
}


.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: width 0.3s ease;
}

.nav-link-login {
    font-weight: 600;
    color: var(--accent-secondary);
    position: relative;
    background: none;
    border: none;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.nav-link-login:hover {
    color: #e55a5a;
}

.nav-link:hover::after {
    width: 100%;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- HERO-СЕКЦИЯ --- */
.hero {
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -300px;
    right: -300px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(74, 58, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 1100px;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, var(--accent-primary), #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-badge {
    position: absolute;
    background: var(--bg-white);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    z-index: 2;
    animation: badgeFloat 3s ease-in-out infinite;
}

.hero-badge--top {
    top: -5px;
    right: -40px;
    animation-delay: 0s;
}

.hero-badge--bottom {
    bottom: 30px;
    left: -10px;
    animation-delay: 1.5s;
}

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

.phone-mockup {
    width: 270px;
    height: 540px;
    background: var(--bg-white);
    border-radius: 36px;
    border: 5px solid var(--text-primary);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.phone-notch {
    width: 100px;
    height: 24px;
    background: var(--text-primary);
    border-radius: 0 0 16px 16px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.phone-screen {
    padding: 28px 16px 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #FAFAFA;
}

.phone-status {
    display: flex;
    gap: 5px;
    margin-bottom: 8px;
}

.phone-status span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D1D5DB;
}

.phone-status span.active {
    background: var(--accent-primary);
}

.phone-row {
    background: var(--bg-white);
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 600;
    animation: phoneSlideUp 0.6s ease forwards;
    opacity: 0;
}

.phone-row:nth-child(2) { animation-delay: 0.1s; }
.phone-row:nth-child(3) { animation-delay: 0.3s; }
.phone-row:nth-child(4) { animation-delay: 0.5s; }
.phone-row:nth-child(5) { animation-delay: 0.7s; }
.phone-row:nth-child(6) { animation-delay: 0.9s; }

.phone-row .ph-service { color: var(--text-primary); }
.phone-row .ph-price { color: var(--accent-primary); }

@keyframes phoneSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- АНИМИРОВАННАЯ КАРТОЧКА В ТЕЛЕФОНЕ --- */
.phone-card-animated {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    animation: cardPulse 2s ease-in-out infinite;
    margin-top: 20px;
}

.phone-card-header {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.phone-card-date {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.phone-card-service {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.phone-card-btn {
    background: var(--accent-primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-block;
    animation: btnPulse 1.5s ease-in-out infinite;
}

@keyframes cardPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(74, 58, 255, 0.1); }
    50% { box-shadow: 0 8px 32px rgba(74, 58, 255, 0.25); }
}

@keyframes btnPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* --- СЕКЦИЯ "КАК ЭТО РАБОТАЕТ" --- */
.how-it-works {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 48px;
    font-size: 1.125rem;
    letter-spacing: -0.2px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: transform 0.3s ease;
}

.step-card:hover .step-icon {
    transform: scale(1.1);
}

.step-icon.blue {
    background: rgba(74, 58, 255, 0.1);
    color: var(--accent-primary);
}

.step-icon.coral {
    background: rgba(255, 107, 107, 0.1);
    color: var(--accent-secondary);
}

.step-icon.green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.step-card h3 {
    margin-bottom: 8px;
    font-size: 1.125rem;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* --- СЕКЦИЯ ПРЕИМУЩЕСТВ --- */
.benefits {
    padding: 80px 0;
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-white);
    border-radius: 18px;
    padding: 28px 24px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card .feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 14px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- ТАРИФЫ --- */
.pricing {
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.pricing-card.upcoming {
    background: #FAFAFA;
    border-style: dashed;
    border-color: #D1D5DB;
}

.pricing-card.upcoming .btn {
    opacity: 0.6;
    cursor: not-allowed;
    border-style: dashed;
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 6px 20px;
    border-radius: 20px;
}

.pricing-badge.soon {
    background: var(--warning-color);
}

.pricing-name {
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.pricing-period {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    flex: 1;
    margin-bottom: 28px;
}

.pricing-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
}

.pricing-features li.available::before {
    content: '✓';
    color: var(--success-color);
    font-weight: 700;
}

.pricing-features li.unavailable {
    color: #B0B7C3;
}

.pricing-features li.unavailable::before {
    content: '✕';
    color: #B0B7C3;
}

.pricing-card .btn {
    width: 100%;
}

/* --- ФУТЕР --- */
.footer {
    background: var(--text-primary);
    color: #9CA3AF;
    padding: 48px 0 24px;
}

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

.footer-brand .logo {
    color: #fff;
    margin-bottom: 8px;
    display: block;
}

.footer-brand p {
    font-size: 0.9375rem;
    max-width: 280px;
}

.footer-links h4 {
    color: #fff;
    font-size: 0.9375rem;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: #9CA3AF;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-links ul li a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
}

/* --- МОДАЛЬНЫЕ ОКНА --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    position: relative;
    overflow: visible;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    width: 90%;
    max-width: 440px;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal h2 {
    margin-bottom: 24px;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.04);
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.08);
    color: var(--text-primary);
    transform: scale(1.1);
}

.modal-close svg {
    width: 18px;
    height: 18px;
    pointer-events: none;
}

/* --- ФОРМЫ --- */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: var(--bg-white);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(74, 58, 255, 0.1);
}

.form-input.error {
    border-color: var(--accent-secondary);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-input::placeholder {
    color: #9CA3AF;
    transition: color 0.2s ease;
}

.form-input.error::placeholder {
    color: var(--accent-secondary);
    font-weight: 500;
}

/* --- ЧЕКБОКС СОГЛАСИЯ --- */
.checkbox-group {
    margin-top: 4px;
    margin-bottom: 16px;
}

.checkbox-label {
    display: block;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    accent-color: var(--accent-primary);
    cursor: pointer;
    margin: 0;
}

.checkbox-text {
    display: inline;
}

.checkbox-text a {
    color: var(--accent-primary);
    text-decoration: underline;
    font-weight: 500;
}

.checkbox-text a:hover {
    color: #3a2ae0;
}

.modal .btn {
    width: 100%;
    margin-top: 8px;
}

.modal-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.modal-footer a {
    color: var(--accent-primary);
    font-weight: 600;
}

.modal-footer a:hover {
    text-decoration: underline;
}

/* --- ТАБЫ --- */
.tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    padding: 4px;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    border: none;
    background: transparent;
    border-radius: 6px;
    transition: all 0.2s ease;
    color: var(--text-secondary);
    font-family: var(--font-primary);
}

.tab-btn.active {
    background: var(--bg-white);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.tab-btn:hover:not(.active) {
    color: var(--text-primary);
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav.active {
        transform: translateY(0);
    }

    .nav .nav-link,
    .nav .btn {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .burger {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
    }

    .hero-badge--top {
        right: -15px;
        top: -30px;
        font-size: 0.65rem;
        padding: 5px 10px;
    }

    .hero-badge--bottom {
        left: 0;
        bottom: 10px;
        font-size: 0.7rem;
        padding: 6px 12px;
    }

    .steps-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .modal {
        padding: 24px 16px;
        max-width: calc(100% - 32px);
    }

    .tabs {
        flex-direction: column;
        gap: 8px;
    }

    .tab-btn {
        padding: 12px;
    }

    .form-input {
        font-size: 16px;
    }

    .phone-card-animated {
        padding: 14px 10px;
    }

    .phone-card-date {
        font-size: 0.9rem;
    }
}

/* ==================== ПОЛИРОВКА ДЛЯ СОЛИДНОСТИ ==================== */

/* Плавное появление секций при скролле */
.how-it-works, .benefits, .pricing {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Улучшенные тени для карточек */
.step-card, .pricing-card, .feature-card {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1.2);
}

.step-card:hover, .pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Градиентная рамка для featured карточки */
.pricing-card.featured {
    position: relative;
    border: 2px solid #4A3AFF;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.pricing-card.featured:hover {
    border-color: transparent;
    box-shadow: 0 0 0 2px #4A3AFF, 0 0 20px rgba(74, 58, 255, 0.3), 0 12px 48px rgba(0,0,0,0.12);
}

/* Подчёркивание у заголовков секций */
.section-title {
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #4A3AFF, #FF6B6B);
    border-radius: 2px;
}

/* Пульсация кнопки CTA */
.btn-primary.btn-lg {
    animation: gentlePulse 2s ease-in-out infinite;
}

@keyframes gentlePulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(74, 58, 255, 0.3); }
    50% { box-shadow: 0 8px 32px rgba(74, 58, 255, 0.5); }
}

/* Стильный скроллбар */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #D1D5DB; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #9CA3AF; }