/* Основные переменные и сброс стилей */
:root {
    --primary: #0088cc;
    --primary-dark: #006699;
    --primary-light: #5ac8fb;
    --secondary: #7c4dff;
    --accent: #00c853;
    --text: #212121;
    --text-light: #757575;
    --background: #f8f9fa;
    --surface: #ffffff;
    --error: #ff5252;
    --success: #4caf50;
    --warning: #ff9800;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
    --shadow-xl: 0 16px 32px rgba(0,0,0,0.2);
    
    --border-radius: 12px;
    --border-radius-lg: 20px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Анимированный фон */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    opacity: 0.1;
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 80%;
    animation-delay: -5s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 80%;
    left: 20%;
    animation-delay: -10s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 30%;
    left: 70%;
    animation-delay: -15s;
}

.shape-5 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 40%;
    animation-delay: -7s;
}

/* Прелоадер */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--surface);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-content {
    text-align: center;
}

.loader-circle {
    width: 80px;
    height: 80px;
    border: 4px solid var(--background);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
    position: relative;
}

.loader-line {
    position: absolute;
    top: -4px;
    left: 50%;
    width: 4px;
    height: 20px;
    background: var(--primary);
    transform-origin: bottom center;
    animation: pulse 1s ease-in-out infinite;
}

.loader-text {
    font-size: 1.1rem;
    color: var(--text);
    font-weight: 500;
}

/* Хедер */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.back-link:hover {
    background: var(--primary-dark);
    transform: translateX(-2px);
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-clip: var(--text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

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

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

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

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

.burger div {
    width: 25px;
    height: 3px;
    background: var(--text);
    transition: var(--transition);
}

/* Герой-секция */
.hero-project {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-project .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.title-word {
    display: block;
}

.title-word.accent {
    background: linear-gradient(135deg, #fff, var(--primary-light));
    background-clip: var(--text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-telegram:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Интерфейс бота */
.hero-visual {
    position: relative;
}

.bot-interface {
    background: var(--surface);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.bot-interface:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.bot-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: var(--primary);
    color: white;
}

.bot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.bot-info {
    flex: 1;
}

.bot-name {
    font-weight: 500;
}

.bot-status {
    font-size: 0.8rem;
    opacity: 0.8;
}

.bot-messages {
    padding: 20px;
    height: 300px;
    overflow-y: auto;
    background: #f0f2f5;
}

.message {
    margin-bottom: 15px;
    display: flex;
}

.bot-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-content {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 18px;
    position: relative;
}

.bot-message .message-content {
    background: white;
    border-bottom-left-radius: 4px;
}

.user-message .message-content {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.schedule-card {
    background: var(--background);
    border-radius: 10px;
    padding: 15px;
    margin-top: 10px;
}

.schedule-day {
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--primary);
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.schedule-item:last-child {
    border-bottom: none;
}

.time {
    font-weight: 500;
    color: var(--text-light);
}

.subject {
    flex: 1;
    margin-left: 15px;
}

.bot-input {
    display: flex;
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #e0e0e0;
}

.bot-input input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 15px;
    border-radius: 20px;
    background: #f0f2f5;
}

.send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    margin-left: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.send-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Секции */
.section {
    padding: 100px 0;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    position: relative;
    display: flex;
    align-items: center;
}

.title-number {
    font-size: 1.2rem;
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

/* О проекте */
.about-project {
    background: var(--surface);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

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

.about-features {
    display: grid;
    gap: 30px;
}

.feature-highlight {
    background: var(--background);
    padding: 25px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

.feature-highlight .feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.5rem;
}

.feature-highlight h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text);
}

.feature-highlight p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Функции */
.features {
    background: var(--background);
}

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

.feature-card {
    background: var(--surface);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

.feature-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.feature-badge {
    background: var(--accent);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text);
}

.feature-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.feature-details ul {
    list-style: none;
    padding-left: 0;
}

.feature-details li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 20px;
}

.feature-details li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.feature-details li:last-child {
    border-bottom: none;
}

/* Технологии */
.technology {
    background: var(--surface);
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.tech-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--text);
}

.tech-items {
    display: grid;
    gap: 20px;
}

.tech-item {
    display: flex;
    align-items: center;
    background: var(--background);
    padding: 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.tech-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.tech-logo {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-right: 20px;
}

.tech-info {
    flex: 1;
}

.tech-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text);
}

.tech-info p {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.tech-progress {
    height: 6px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
    width: 0;
    transition: width 1.5s ease-in-out;
}

/* Архитектура */
.architecture-diagram {
    background: var(--background);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.arch-layer {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.arch-layer:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.layer-title {
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 1.1rem;
}

.layer-components {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.component {
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--primary);
}

/* Статистика */
.stats {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

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

.stats-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    opacity: 0.8;
    font-size: 0.9rem;
}

.stats-chart {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 30px;
}

.chart-container {
    height: 300px;
    position: relative;
}

/* Поддержка */
.support {
    background: var(--surface);
}

.support-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    background: var(--background);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.support-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.support-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text);
}

.support-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.7;
}

.support-features {
    margin-top: 25px;
}

.support-feature {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.support-feature i {
    color: var(--accent);
    margin-right: 10px;
}

/* Версия */
.version {
    background: var(--background);
}

.version-card {
    background: var(--surface);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-md);
    max-width: 800px;
    margin: 0 auto;
}

.version-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.version-number {
    display: flex;
    align-items: center;
    gap: 15px;
}

.version-number span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
}

.version-badge {
    background: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.version-date {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.version-details h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text);
}

.version-features {
    margin-bottom: 30px;
}

.version-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.feature-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-marker.new {
    background: var(--accent);
}

.feature-marker.improved {
    background: var(--primary);
}

.feature-marker.fixed {
    background: var(--warning);
}

.feature-text {
    flex: 1;
    color: var(--text-light);
}

.version-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Демонстрация */
.demo {
    background: var(--surface);
}

.demo-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.demo-player {
    background: var(--background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.player-controls {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: var(--surface);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.control-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.control-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    margin: 0 15px;
    overflow: hidden;
    cursor: pointer;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
    width: 30%;
}

.time-display {
    font-size: 0.9rem;
    color: var(--text-light);
    min-width: 80px;
    text-align: right;
}

.demo-video {
    height: 400px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-placeholder {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.video-placeholder i {
    font-size: 4rem;
    margin-bottom: 15px;
    display: block;
    color: var(--primary-light);
}

.demo-features h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text);
}

.demo-features ul {
    list-style: none;
    margin-bottom: 30px;
}

.demo-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 25px;
}

.demo-features li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.demo-features li:last-child {
    border-bottom: none;
}

/* Футер */
.footer {
    background: var(--text);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-logo .logo-text {
    font-size: 1.8rem;
    margin-bottom: 15px;
    display: block;
}

.footer-logo p {
    opacity: 0.7;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.link-group h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: white;
}

.link-group a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 10px;
    transition: var(--transition);
}

.link-group a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copy {
    opacity: 0.7;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Анимации */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.5); }
}

/* Адаптивность */
@media (max-width: 1024px) {
    .hero-project .container,
    .about-content,
    .tech-content,
    .stats-content,
    .demo-content,
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: var(--surface);
        flex-direction: column;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        padding: 40px 20px;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .burger {
        display: flex;
    }
    
    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .burger.toggle .line2 {
        opacity: 0;
    }
    
    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .support-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}