/**
 * 🎨 Основные стили Stalisa
 * Цвета: #BFA2DB (лаванда), #FFD447 (жёлтый), #2E3A59 (тёмно-синий)
 * @version 4.0.0
 */

/* ============ ПЕРЕМЕННЫЕ ============ */
:root {
    --primary: #BFA2DB;
    --secondary: #FFD447;
    --dark: #2E3A59;
    --light: #F8F9FA;
    --white: #FFFFFF;
    --gray: #666;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ БАЗОВЫЕ СТИЛИ ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ============ АНИМАЦИИ ============ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

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

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ КНОПКИ ============ */
.btn {
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), #FFB700);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(255,212,71,0.4);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255,212,71,0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--dark);
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--dark);
}

/* ============ HEADER ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,212,71,0.1);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(255,212,71,0.15);
    border-bottom-color: rgba(255,212,71,0.2);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

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

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), #FFB700);
    transition: width 0.3s;
}

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

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--dark);
    padding: 4px;
}

/* ============ HERO С АНИМИРОВАННЫМИ ИКОНКАМИ ============ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(191,162,219,0.08) 0%, rgba(255,212,71,0.15) 100%);
    position: relative;
    padding: 100px 20px 60px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,212,71,0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(191,162,219,0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out reverse;
}

/* Анимированные иконки */
.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    animation: float 12s infinite ease-in-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

.floating-icon svg {
    filter: drop-shadow(0 4px 15px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.floating-icon:nth-child(1) { animation-duration: 15s; animation-delay: 0s; }
.floating-icon:nth-child(2) { animation-duration: 18s; animation-delay: 1s; }
.floating-icon:nth-child(3) { animation-duration: 20s; animation-delay: 2s; }
.floating-icon:nth-child(4) { animation-duration: 16s; animation-delay: 0.5s; }
.floating-icon:nth-child(5) { animation-duration: 22s; animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg); 
        opacity: 0.6;
    }
    25% { 
        transform: translate(20px, -20px) rotate(5deg); 
        opacity: 0.8;
    }
    50% { 
        transform: translate(-15px, 25px) rotate(-3deg); 
        opacity: 1;
    }
    75% { 
        transform: translate(15px, -15px) rotate(4deg); 
        opacity: 0.7;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 3fr 1.5fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
}

.typed-text {
    color: var(--primary);
    font-weight: 800;
}

.typed-cursor {
    color: var(--primary);
    animation: blink 1s infinite;
    font-weight: 300;
}

.gradient-text {
    background: linear-gradient(135deg, var(--secondary), #FFB700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: clamp(16px, 2vw, 20px);
    color: #666;
    margin-bottom: 30px;
    line-height: 1.7;
}

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary), #FFB700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-label {
    color: #666;
    font-size: 13px;
    margin-top: 4px;
}

.hero-visual {
    position: relative;
}

.hero-image {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.mockup-screen {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.mockup-screen::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,212,71,0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.mockup-screen h3 {
    font-size: 20px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.mockup-screen p {
    position: relative;
    z-index: 1;
}

.calendar-preview {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 16px;
    margin-top: 16px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-top: 10px;
}

.calendar-day {
    aspect-ratio: 1;
    background: rgba(255,255,255,0.25);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.2s;
    cursor: pointer;
}

.calendar-day:hover {
    background: rgba(255,212,71,0.4);
    transform: scale(1.1);
}

.calendar-day:nth-child(7n) {
    background: rgba(255,212,71,0.3);
}

/* ============ СЕКЦИИ ============ */
section {
    padding: 80px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--dark);
}

.section-subtitle {
    font-size: clamp(14px, 2vw, 18px);
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============ FEATURES ============ */
.features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px 24px;
    border-radius: 16px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), #FFB700);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--secondary);
    box-shadow: 0 15px 35px rgba(255,212,71,0.2);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--secondary), #FFB700);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 4px 15px rgba(255, 212, 71, 0.3);
}

.feature-icon::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 4px;
}

.feature-icon.icon-calendar::before {
    -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zM5 8V6h14v2H5zm2 4h10v2H7v-2z"/></svg>');
    mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zM5 8V6h14v2H5zm2 4h10v2H7v-2z"/></svg>');
    -webkit-mask-size: contain;
    mask-size: contain;
}

.feature-icon.icon-users::before {
    -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5s-3 1.34-3 3 1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z"/></svg>');
    mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5s-3 1.34-3 3 1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z"/></svg>');
    -webkit-mask-size: contain;
    mask-size: contain;
}

.feature-icon.icon-briefcase::before {
    -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20 6h-4V4c0-1.1-.9-2-2-2h-4c-1.1 0-2 .9-2 2v2H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zM10 4h4v2h-4V4zm10 15H4V8h16v11z"/></svg>');
    mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20 6h-4V4c0-1.1-.9-2-2-2h-4c-1.1 0-2 .9-2 2v2H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zM10 4h4v2h-4V4zm10 15H4V8h16v11z"/></svg>');
    -webkit-mask-size: contain;
    mask-size: contain;
}

.feature-icon.icon-chart::before {
    -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z"/></svg>');
    mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z"/></svg>');
    -webkit-mask-size: contain;
    mask-size: contain;
}

.feature-icon.icon-bell::before {
    -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5v6z"/></svg>');
    mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5v6z"/></svg>');
    -webkit-mask-size: contain;
    mask-size: contain;
}

.feature-icon.icon-palette::before {
    -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10c1.38 0 2.5-1.12 2.5-2.5 0-.61-.23-1.21-.64-1.67-.08-.09-.13-.21-.13-.33 0-.28.22-.5.5-.5H16c3.31 0 6-2.69 6-6 0-4.96-4.49-9-10-9zm-5.5 9c-.83 0-1.5-.67-1.5-1.5S5.67 8 6.5 8s1.5.67 1.5 1.5S7.33 11 6.5 11zm3-4C8.67 7 8 6.33 8 5.5S8.67 4 9.5 4s1.5.67 1.5 1.5S10.33 7 9.5 7zm5 0c-.83 0-1.5-.67-1.5-1.5S13.67 4 14.5 4s1.5.67 1.5 1.5S15.33 7 14.5 7zm3 4c-.83 0-1.5-.67-1.5-1.5S16.67 8 17.5 8s1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"/></svg>');
    mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10c1.38 0 2.5-1.12 2.5-2.5 0-.61-.23-1.21-.64-1.67-.08-.09-.13-.21-.13-.33 0-.28.22-.5.5-.5H16c3.31 0 6-2.69 6-6 0-4.96-4.49-9-10-9zm-5.5 9c-.83 0-1.5-.67-1.5-1.5S5.67 8 6.5 8s1.5.67 1.5 1.5S7.33 11 6.5 11zm3-4C8.67 7 8 6.33 8 5.5S8.67 4 9.5 4s1.5.67 1.5 1.5S10.33 7 9.5 7zm5 0c-.83 0-1.5-.67-1.5-1.5S13.67 4 14.5 4s1.5.67 1.5 1.5S15.33 7 14.5 7zm3 4c-.83 0-1.5-.67-1.5-1.5S16.67 8 17.5 8s1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"/></svg>');
    -webkit-mask-size: contain;
    mask-size: contain;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark);
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}

/* ============ HOW IT WORKS ============ */
.how-it-works {
    background: var(--light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step {
    text-align: center;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary), #FFB700);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 6px 20px rgba(255,212,71,0.4);
}

.step h3 {
    font-size: 19px;
    margin-bottom: 10px;
    color: var(--dark);
}

.step p {
    color: #666;
    font-size: 15px;
}

/* ============ BENEFITS (новый блок) ============ */
.interface-showcase {
    background-color: #f8f9fa;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.benefit-card {
    background-color: white;
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
    min-height: 450px;
    transition: all 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.benefit-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

.benefit-visual-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-card--dark {
    background-color: var(--dark);
}

.benefit-card--dark h3 { color: white; }
.benefit-card--dark p { color: rgba(255, 255, 255, 0.75); }

/* Макет 1: Телефон */
.mockup-phone {
    width: 220px;
    height: 100%;
    transform: perspective(800px) rotateY(-15deg);
}

.mockup-phone-screen {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.mockup-header { 
    color: #aaa; 
    font-size: 12px; 
    margin-bottom: 20px; 
}

.mockup-content { 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
}

.mockup-certificate { 
    background: white; 
    border-radius: 12px; 
    padding: 16px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
}

.mockup-cert-title { 
    font-size: 12px; 
    color: #888; 
}

.mockup-cert-icon { 
    font-size: 40px; 
    text-align: center; 
    margin: 10px 0; 
}

.mockup-cert-button { 
    background: #eee; 
    text-align: center; 
    padding: 8px; 
    border-radius: 8px; 
    font-weight: 500; 
    color: #555; 
    font-size: 14px; 
}

.mockup-phone-number { 
    font-size: 14px; 
    color: #888; 
    text-align: center; 
    margin-top: 16px; 
}

/* Макет 2: Чат */
.mockup-chat { 
    width: 100%; 
}

.message-from, .message-to {
    padding: 12px 16px;
    border-radius: 16px;
    max-width: 80%;
    margin-bottom: 12px;
    line-height: 1.5;
}

.message-from {
    background: #e9ecef;
    color: var(--dark);
    border-bottom-left-radius: 4px;
}

.message-to {
    background: var(--primary);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

/* Макет 3: График */
.mockup-chart { 
    width: 100%; 
}

.chart-buttons { 
    display: flex; 
    gap: 8px; 
    margin-bottom: 20px; 
}

.chart-btn {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

.chart-btn.active {
    background: white;
    color: var(--dark);
    font-weight: 600;
}

.chart-area {
    height: 150px;
    display: flex;
    gap: 10%;
    align-items: flex-end;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.chart-bar {
    flex-grow: 1;
    background: var(--secondary);
    border-radius: 4px 4px 0 0;
}

/* ============ ABOUT ============ */
.about-us {
    background: var(--light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 700;
}

.about-text p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-visual {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    padding: 40px;
    color: var(--dark);
    text-align: center;
}

.about-visual h4 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
}

.about-visual p {
    font-size: 16px;
}

/* ============ PRICING ============ */
.pricing {
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 20px;
    padding: 35px 28px;
    transition: all 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: var(--secondary);
    box-shadow: 0 15px 40px rgba(255,212,71,0.25);
}

.pricing-card.featured {
    border-color: var(--secondary);
    background: linear-gradient(135deg, rgba(255,212,71,0.05) 0%, rgba(191,162,219,0.05) 100%);
    box-shadow: 0 8px 30px rgba(255,212,71,0.15);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 28px;
    background: linear-gradient(135deg, var(--secondary), #FFB700);
    color: var(--dark);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 22px;
    margin-bottom: 6px;
    color: var(--dark);
}

.pricing-price {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary), #FFB700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 14px 0;
}

.pricing-period {
    color: #666;
    font-size: 15px;
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    margin: 24px 0;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #666;
    font-size: 14px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

/* ============ CTA ============ */
.cta {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 50%, #FFB700 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,212,71,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta h2 {
    font-size: clamp(28px, 4vw, 46px);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta p {
    font-size: clamp(15px, 2vw, 19px);
    max-width: 600px;
    margin: 0 auto 35px;
    opacity: 0.95;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.cta .btn-primary {
    background: white;
    color: var(--dark);
    box-shadow: 0 6px 20px rgba(255,212,71,0.3);
}

.cta .btn-primary:hover {
    background: var(--secondary);
    box-shadow: 0 8px 30px rgba(255,212,71,0.5);
}

.cta .btn-outline {
    border-color: white;
    color: white;
}

.cta .btn-outline:hover {
    background: white;
    color: var(--dark);
}

/* ============ FOOTER ============ */
.footer {
    background: var(--dark);
    color: white;
    padding: 50px 20px 25px;
	text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 35px;
    margin-bottom: 35px;
}

.footer-section h3 {
    font-size: 17px;
    margin-bottom: 16px;
}

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

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}
/* ============ SCREENSHOTS SHOWCASE ============ */
.screenshots-showcase {
    background: #ffffff;
}

.screenshot-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

/* На ПК показываем только десктопную версию */
.screenshot-mobile {
    display: none;
}

.screenshot-desktop {
    display: grid;
}

.screenshot-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.screenshot-text p {
    font-size: 18px;
    color: #666;
    line-height: 1.7;
}

/* Ноутбук */
.laptop-frame {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.laptop-screen {
    background: #1a1a1a;
    border-radius: 12px 12px 0 0;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
}

.laptop-screen::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #333;
    border-radius: 50%;
}

.laptop-screen img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.laptop-bottom {
    width: 110%;
    height: 12px;
    background: linear-gradient(to bottom, #2a2a2a, #1a1a1a);
    border-radius: 0 0 20px 20px;
    margin: 0 auto;
    position: relative;
    left: -5%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Телефон */
.phone-frame {
    position: relative;
    width: 280px;
    margin: 0 auto;
    background: #1a1a1a;
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 2;
}

.phone-notch::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #333;
    border-radius: 3px;
}

.phone-screen {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

.phone-screen img {
    width: 100%;
    height: auto;
    display: block;
}

/* Порядок элементов на десктопе */
.screenshot-desktop .screenshot-visual {
    order: 2;
}

.screenshot-desktop .screenshot-text {
    order: 1;
}

/* НА МОБИЛЬНЫХ: скрываем десктоп, показываем мобильную версию */
@media (max-width: 968px) {
    /* Полностью скрываем десктопную версию */
    .screenshot-desktop {
        display: none !important;
    }
    
    /* Показываем только мобильную версию */
    .screenshot-mobile {
        display: block !important;
        text-align: center;
    }
    
    .screenshot-item {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .screenshot-mobile .screenshot-text {
        order: 1;
    }
    
    .screenshot-mobile .screenshot-visual {
        order: 2;
    }
    
    .screenshot-text h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .screenshot-text p {
        font-size: 16px;
    }
    
    .phone-frame {
        width: 260px;
    }
}

@media (max-width: 640px) {
    .phone-frame {
        width: 240px;
    }
    
    .screenshot-text h3 {
        font-size: 18px;
        line-height: 1.4;
    }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 968px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        gap: 16px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-stats {
        gap: 16px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .benefit-card { 
        min-height: 380px; 
    }
}

@media (max-width: 640px) {
    .header {
        padding: 10px 0;
    }
    
    .hero {
        padding: 110px 16px 50px;
        min-height: auto;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    section {
        padding: 20px 16px;
    }
    
    .btn {
        width: 100%;
        padding: 12px 20px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .features-grid,
    .pricing-grid,
    .steps,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        padding: 20px;
    }
    
    .mockup-screen {
        padding: 30px 20px;
    }
    
    .calendar-grid {
        gap: 4px;
    }
    
    .calendar-day {
        font-size: 11px;
    }
}