/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors - Indigo/Purple theme */
    --primary: #6366f1;           /* Indigo - основной акцент */
    --primary-dark: #4f46e5;      /* Темнее для hover */
    --primary-light: #818cf8;     /* Светлее для текста на темном */
    --primary-glow: rgba(99, 102, 241, 0.3);
    
    /* Secondary Colors */
    --secondary: #ec4899;         /* Pink - вторичный акцент */
    --secondary-light: #f472b6;
    --accent: #f59e0b;            /* Amber - для предупреждений */
    
    /* Background Colors - темная палитра */
    --bg-darker: #0a0f1e;         /* Самый темный - основной фон */
    --bg-dark: #0f172a;           /* Темный - секции */
    --bg-card: #1e293b;           /* Карточки */
    --bg-card-hover: #2d3748;     /* Hover состояние - немного светлее */
    
    /* Text Colors - улучшенный контраст */
    --text-primary: #f1f5f9;      /* Основной текст - ярче */
    --text-secondary: #cbd5e1;    /* Вторичный текст */
    --text-muted: #94a3b8;        /* Приглушенный текст */
    --text-dim: #64748b;          /* Очень тусклый текст */
    
    /* Border Colors */
    --border: #334155;            /* Основная граница */
    --border-light: #475569;      /* Светлая граница */
    --border-focus: #6366f1;      /* Фокус */
    
    /* Semantic Colors */
    --success: #10b981;           /* Зеленый - успех */
    --warning: #f59e0b;           /* Желтый - предупреждение */
    --error: #ef4444;             /* Красный - ошибка */
    --info: #3b82f6;              /* Синий - информация */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #ec4899 100%);
    --gradient-dark: linear-gradient(180deg, #0f172a 0%, #0a0f1e 100%);
    --gradient-card: linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(30, 41, 59, 0.8) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    overflow: hidden;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.preloader-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    padding: 2rem;
}

.code-display {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    text-align: left;
    margin-bottom: 2.5rem;
    min-height: 100px;
}

.code-line {
    margin: 0.5rem 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease-out;
    line-height: 1.8;
    position: relative;
    padding-left: 1.5rem;
}

.code-line.visible {
    opacity: 1;
    transform: translateX(0);
}

.code-line::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.code-line .cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: var(--secondary);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

.loading-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-card);
    border-radius: var(--radius-full);
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.loading-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    width: 0%;
    transition: width 0.3s ease-out;
    box-shadow: 0 0 10px var(--primary-glow);
    position: relative;
    overflow: hidden;
}

.loading-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    animation: shimmer 1.5s infinite;
}

.loading-text {
    font-family: var(--font-mono);
    font-size: 2rem;
    color: var(--primary-light);
    font-weight: 600;
    letter-spacing: 0.05em;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .preloader-content {
        padding: 1rem;
        max-width: 90%;
    }
    
    .code-display {
        font-size: 0.85rem;
    }
    
    .loading-text {
        font-size: 1.5rem;
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-darker);
    background-image: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.03) 0%, transparent 50%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--primary);
    color: white;
}

/* ===== SCROLL ANIMATIONS ===== */
/* По умолчанию контент видим, чтобы избежать проблем при отключенном JS */
.animate-on-scroll,
.fade-in,
.slide-up,
.slide-left,
.slide-right,
.scale-in {
    opacity: 1;
    transform: none;
}

/* После инициализации анимаций скрываем элементы до их появления */
body.animations-ready .animate-on-scroll,
body.animations-ready .fade-in,
body.animations-ready .slide-up,
body.animations-ready .slide-left,
body.animations-ready .slide-right,
body.animations-ready .scale-in {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

body.animations-ready .animate-on-scroll {
    transform: translateY(30px);
}

body.animations-ready .slide-up {
    transform: translateY(40px);
}

body.animations-ready .slide-left {
    transform: translateX(40px);
}

body.animations-ready .slide-right {
    transform: translateX(-40px);
}

body.animations-ready .scale-in {
    transform: scale(0.9);
}

body.animations-ready .animated {
    opacity: 1;
    transform: none;
}

body.animations-ready .fade-in {
    transition: opacity 0.6s ease-out;
}

/* Задержки для каскадной анимации */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 10001;
    transition: width 0.1s ease-out;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.back-to-top:active {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

/* ===== CUSTOM CURSOR ===== */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: width 0.3s, height 0.3s, opacity 0.3s;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-light);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-light);
    opacity: 0.5;
}

@media (max-width: 1024px) {
    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}

/* ===== UTILITIES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.inline-link {
    color: var(--primary-light);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition-fast);
}

.inline-link:hover {
    border-bottom-color: var(--primary-light);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn i {
    font-size: 1.125rem;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(99, 102, 241, 0.6), 0 10px 25px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background: rgba(30, 41, 59, 0.6);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(51, 65, 85, 0.8);
    border-color: var(--primary-light);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--primary-light);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    transition: left 0.5s ease;
}

.logo:hover::before {
    left: 100%;
}

.logo:hover {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
    transform: translateY(-1px);
}

.prompt {
    color: #10b981;
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    user-select: none;
}

.command {
    color: #60a5fa;
    font-weight: 600;
    user-select: none;
}

.domain {
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.cursor {
    color: #10b981;
    animation: blink 1s step-end infinite;
    font-weight: 400;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.logo:hover .prompt {
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.8);
}

.logo:hover .command {
    color: #93c5fd;
}

.logo:hover .domain {
    color: #10b981;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.938rem;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    padding: 0;
    transition: right 0.3s ease;
    z-index: 1001;
    box-shadow: var(--shadow-xl);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg) var(--spacing-xl);
    border-bottom: 1px solid rgba(71, 85, 105, 0.3);
}

.mobile-menu-logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-menu-logo .prompt {
    color: var(--primary);
}

.mobile-menu-logo .command {
    color: var(--secondary);
}

.mobile-menu-logo .domain {
    color: var(--text-primary);
}

.mobile-menu-logo .cursor {
    color: var(--primary);
    animation: blink 1s infinite;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav {
    list-style: none;
    padding: var(--spacing-xl);
}

.mobile-nav li {
    margin-bottom: var(--spacing-md);
}

.mobile-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.mobile-nav a:hover {
    color: var(--primary-light);
}

.mobile-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin: 0 var(--spacing-xl) var(--spacing-xl);
    padding: 0.875rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    background: var(--bg-dark);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    margin-top: 80px;
}

.breadcrumbs ol {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin: 0 0.75rem;
    color: var(--border-light);
}

.breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumbs a:hover {
    color: var(--primary-light);
}

.breadcrumbs li:last-child {
    color: var(--text-primary);
    font-weight: 500;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 70% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 60%);
    z-index: -1;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    color: var(--primary-light);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-2xl);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: var(--spacing-xs);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-container {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.profile-photo:hover {
    transform: scale(1.05);
}

.photo-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.2;
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.25rem;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
}

.floating-card span {
    font-weight: 600;
    font-size: 0.875rem;
}

.card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    right: -5%;
    animation-delay: 1s;
}

.card-3 {
    top: 50%;
    left: -10%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        display: flex;
        flex-direction: column;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: var(--spacing-xl);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .photo-container {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }
    
    .floating-card {
        display: none;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-muted);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 100px;
    }
    
    .hero-image {
        margin-bottom: 3rem;
    }
    
    .hero-label {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    
    .hero-title .gradient-text {
        display: block;
        font-size: 1.5rem;
        margin-top: 0.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 0.875rem;
        justify-content: center;
        margin-bottom: 2.5rem;
    }
    
    .hero-buttons .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .photo-container {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 120px;
    }
    
    .hero-image {
        margin-bottom: 0.1rem;
    }
    
    .hero-label {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-label i {
        font-size: 0.7rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-title .gradient-text {
        font-size: 1.35rem;
        margin-top: 0.5rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 0.75rem;
        justify-content: center;
        margin-bottom: 2.5rem;
    }
    
    .hero-buttons .btn {
        padding: 0.875rem 1rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    .hero-buttons .btn i {
        font-size: 0.85rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .photo-container {
        width: 240px;
        height: 240px;
    }
}

/* ===== SECTION STYLES ===== */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    color: var(--primary-light);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.about-text p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.about-lead {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 500;
}

.about-highlights {
    display: grid;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.highlight-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.highlight-item:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--primary-light);
    transform: translateX(5px);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.highlight-item i {
    font-size: 1.5rem;
    color: var(--primary-light);
}

.highlight-item h4 {
    margin-bottom: 0.25rem;
}

.highlight-item p {
    color: var(--text-muted);
    font-size: 0.938rem;
    margin: 0;
}

.code-window {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(10px);
}

.code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md);
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border);
}

.code-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ef4444;
}

.dot.yellow {
    background: #f59e0b;
}

.dot.green {
    background: #10b981;
}

.code-title {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.code-content {
    padding: var(--spacing-lg);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.6;
    overflow-x: auto;
}

.code-content code {
    color: var(--text-secondary);
}

.keyword {
    color: #c678dd;
}

.variable {
    color: #e06c75;
}

.property {
    color: #61afef;
}

.string {
    color: #98c379;
}

.function {
    color: #61afef;
}

@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

/* ===== SERVICES SECTION ===== */
.services {
    background: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.service-card {
    padding: var(--spacing-xl);
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.service-card:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(99, 102, 241, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
}

.service-icon i {
    font-size: 1.75rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.service-card > p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.5rem 0;
    color: var(--text-muted);
    font-size: 0.938rem;
}

.service-features i {
    color: var(--success);
    font-size: 0.875rem;
}

/* ===== WORK MODES SECTION ===== */
.modes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.mode-card {
    padding: var(--spacing-xl);
    background: rgba(30, 41, 59, 0.5);
    border: 2px solid rgba(71, 85, 105, 0.5);
    border-radius: var(--radius-xl);
    position: relative;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.mode-card:hover {
    background: rgba(30, 41, 59, 0.7);
    border-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.mode-card.team {
    background: rgba(30, 41, 59, 0.7);
    border-color: var(--primary);
    box-shadow: 0 0 35px rgba(99, 102, 241, 0.25), 0 15px 35px rgba(0, 0, 0, 0.3);
}

.mode-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-full);
    color: var(--primary-light);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.popular-label {
    position: absolute;
    top: -12px;
    right: var(--spacing-xl);
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-full);
}

.mode-card h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
}

.mode-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.mode-features {
    display: grid;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: 0.938rem;
}

.feature-item i {
    color: var(--success);
    font-size: 1rem;
}

.mode-pricing {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border);
}

.price-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.comparison-note {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.comparison-note i {
    color: var(--primary-light);
    font-size: 1.25rem;
    margin-top: 2px;
}

.comparison-note p {
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 1024px) {
    .modes-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    background: var(--bg-dark);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.filter-btn:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--primary-light);
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.portfolio-item {
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/12;
    background: var(--bg-card);
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: var(--transition);
}

/* Для ботов - полное заполнение картинки */
.portfolio-item[data-category="bots"] .portfolio-image {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.portfolio-item[data-category="bots"] .portfolio-image img {
    object-fit: contain;
    object-position: center center;
    padding: var(--spacing-md);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-item[data-category="bots"]:hover .portfolio-image img {
    transform: scale(1.02);
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
}

.portfolio-placeholder i {
    font-size: 4rem;
    color: white;
    opacity: 0.7;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.938rem;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: var(--spacing-sm);
    color: var(--primary-light);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.portfolio-link:hover {
    color: var(--primary);
    gap: 0.75rem;
}

.portfolio-link i {
    font-size: 0.75rem;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius);
    font-size: 0.75rem;
    color: var(--primary-light);
}

.tag-team {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--success);
}

.tag-solo {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--warning);
}

.portfolio-load-more {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.portfolio-load-more .btn {
    min-width: 200px;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== TECHNOLOGIES SECTION ===== */
.tech-categories {
    display: grid;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.tech-category h3 {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-light);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.tech-item:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(99, 102, 241, 0.15);
}

.tech-item i {
    font-size: 2.5rem;
    color: var(--primary-light);
}

.tech-item span {
    font-weight: 500;
    text-align: center;
}

/* ===== PROCESS SECTION ===== */
.process {
    background: var(--bg-dark);
}

.process-timeline {
    display: grid;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: var(--border);
}

.process-step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: var(--spacing-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.step-content {
    padding: var(--spacing-lg);
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.step-content:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--primary-light);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(99, 102, 241, 0.15);
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.step-duration {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.step-duration i {
    color: var(--primary-light);
}

@media (max-width: 768px) {
    .process-timeline::before {
        left: 22px;
    }
    
    .process-step {
        grid-template-columns: 45px 1fr;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* ===== CALCULATOR SECTION ===== */
.calculator-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.calculator-form {
    display: grid;
    gap: var(--spacing-xl);
}

.calc-step {
    padding: var(--spacing-xl);
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(5px);
}

.calc-label {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.calc-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.calc-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    background: var(--bg-darker);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.calc-option:hover {
    border-color: var(--primary-light);
    background: rgba(99, 102, 241, 0.05);
}

.calc-option.active {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.15);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.calc-option.active i {
    color: var(--primary);
}

.calc-option i {
    font-size: 1.75rem;
    color: var(--primary-light);
    transition: var(--transition);
    margin-bottom: 0.5rem;
}

.calc-option span {
    font-weight: 600;
    font-size: 0.938rem;
    color: var(--text-primary);
}

.calc-option small {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.calc-addons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.calc-checkbox {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
}

.calc-checkbox:hover {
    border-color: var(--primary);
}

.calc-checkbox.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: rgba(15, 23, 42, 0.3);
    border-color: rgba(71, 85, 105, 0.3);
}

.calc-checkbox.disabled:hover {
    border-color: rgba(71, 85, 105, 0.3);
    box-shadow: none;
}

.calc-checkbox.disabled .checkbox-custom {
    border-color: var(--border);
    background: rgba(15, 23, 42, 0.5);
}

.calc-checkbox.disabled .checkbox-label strong {
    color: var(--text-muted);
}

.calc-checkbox.disabled .checkbox-label small {
    color: var(--text-dim);
}

.calc-checkbox input {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    position: relative;
    transition: var(--transition);
}

.calc-checkbox input:checked ~ .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.calc-checkbox input:checked ~ .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.75rem;
}

.checkbox-label {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.checkbox-label strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.checkbox-label small {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.calc-urgency {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.calc-radio {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
}

.calc-radio:hover {
    border-color: var(--primary);
}

.calc-radio input {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 50%;
    position: relative;
    transition: var(--transition);
}

.calc-radio input:checked ~ .radio-custom {
    border-color: var(--primary);
}

.calc-radio input:checked ~ .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
}

.radio-label {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.radio-label strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

/* Disabled addon styles */
.calc-checkbox.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(148, 163, 184, 0.05);
    border-color: rgba(148, 163, 184, 0.2);
}

.calc-checkbox.disabled:hover {
    border-color: rgba(148, 163, 184, 0.2);
    box-shadow: none;
    transform: none;
}

.calc-checkbox.disabled .checkbox-custom {
    border-color: var(--text-muted);
    background: rgba(148, 163, 184, 0.1);
}

.calc-checkbox.disabled .checkbox-label strong {
    color: var(--text-muted);
}

.calc-checkbox.disabled .checkbox-label small {
    color: var(--text-muted);
}

.restriction-hint {
    display: none !important;
    color: #ef4444 !important;
    font-size: 0.85rem !important;
    margin-top: 0.25rem !important;
}

.calc-checkbox.disabled .restriction-hint {
    display: block !important;
}

.radio-label small {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.calculator-result {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.result-card {
    padding: var(--spacing-xl);
    background: rgba(30, 41, 59, 0.7);
    border: 2px solid var(--primary);
    border-radius: var(--radius-xl);
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 35px rgba(99, 102, 241, 0.3), 0 20px 40px rgba(0, 0, 0, 0.3);
}

.result-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
}

.result-icon i {
    font-size: 1.5rem;
    color: white;
}

.result-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
}

.result-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: var(--spacing-lg);
}

.price-value {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-currency {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.result-note {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
    padding: var(--spacing-md);
    background: rgba(99, 102, 241, 0.05);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.result-note i {
    color: var(--primary-light);
    margin-top: 2px;
}

.result-note p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

@media (max-width: 1024px) {
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }
    
    .calculator-result {
        position: static;
    }
    
    .calc-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .calc-step {
        padding: 1.5rem 1rem;
    }
    
    .calc-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .calc-option {
        padding: 1rem 0.7rem;
    }
    
    .calc-option i {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }
    
    .calc-option span {
        font-size: 0.85rem;
        line-height: 1.2;
    }
    
    .calc-addons {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .calc-checkbox {
        padding: 0.8rem;
        gap: 0.7rem;
    }
    
    .checkbox-label strong {
        font-size: 0.9rem;
    }
    
    .checkbox-label small {
        font-size: 0.75rem;
    }
    
    .checkbox-custom {
        width: 20px;
        height: 20px;
    }
    
    .calc-urgency {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .calc-radio {
        padding: 0.8rem;
        gap: 0.7rem;
    }
    
    .radio-label strong {
        font-size: 0.9rem;
    }
    
    .radio-label small {
        font-size: 0.75rem;
    }
    
    .radio-custom {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .calc-step {
        padding: 1.2rem 0.8rem;
    }
    
    .calc-label {
        font-size: 1rem;
    }
    
    .calc-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    
    .calc-option {
        padding: 0.8rem 0.5rem;
    }
    
    .calc-option i {
        font-size: 1.3rem;
    }
    
    .calc-option span {
        font-size: 0.8rem;
    }
    
    .calc-addons {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    
    .calc-checkbox {
        padding: 0.7rem;
        gap: 0.6rem;
    }
    
    .checkbox-label strong {
        font-size: 0.85rem;
    }
    
    .checkbox-label small {
        font-size: 0.7rem;
    }
    
    .calc-urgency {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    
    .calc-radio {
        padding: 0.7rem;
        gap: 0.6rem;
    }
    
    .radio-label strong {
        font-size: 0.85rem;
    }
    
    .radio-label small {
        font-size: 0.7rem;
    }
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.testimonial-card {
    padding: var(--spacing-xl);
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 25px rgba(99, 102, 241, 0.15);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: var(--spacing-md);
}

.testimonial-rating i {
    color: var(--warning);
    font-size: 1rem;
}

.testimonial-text {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border);
}

.author-info h4 {
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--bg-dark);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-2xl) 0;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-xl);
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: var(--radius-xl);
    text-decoration: none;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.contact-card:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 25px rgba(99, 102, 241, 0.15);
}

.contact-card.primary {
    background: rgba(30, 41, 59, 0.7);
    border-color: var(--primary);
    box-shadow: 0 0 35px rgba(99, 102, 241, 0.25), 0 15px 35px rgba(0, 0, 0, 0.3);
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin-bottom: var(--spacing-md);
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.contact-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 0.75rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-xl);
}

.info-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.info-item i {
    color: var(--primary-light);
    font-size: 1.25rem;
    margin-top: 2px;
}

.info-item h4 {
    margin-bottom: 0.25rem;
}

.info-item p {
    color: var(--text-muted);
    margin: 0;
}

/* ===== FOOTER ===== */
.footer {
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    width: fit-content;
}

.footer-logo .prompt {
    font-size: 1.3rem;
}

.footer-about p {
    color: var(--text-muted);
    margin: var(--spacing-md) 0;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.footer-social a:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-xl);
}

.footer-column h4 {
    margin-bottom: var(--spacing-md);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: var(--spacing-sm);
}

.footer-column a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--primary-light);
}

/* ===== LEGAL PAGES ===== */
.legal-page {
    min-height: 100vh;
    padding: 120px 0 var(--spacing-2xl);
    background: var(--bg-darker);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-xl);
}

.legal-header {
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--border);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--primary-light);
    text-decoration: none;
    font-size: 0.938rem;
    margin-bottom: var(--spacing-lg);
    transition: var(--transition-fast);
}

.back-link:hover {
    color: var(--primary);
    gap: var(--spacing-sm);
}

.back-link i {
    font-size: 1rem;
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.legal-updated {
    color: var(--text-muted);
    font-size: 0.938rem;
}

.legal-body {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

.legal-section {
    padding: 0;
    margin-bottom: 0;
}

.legal-section h2 {
    color: var(--text-primary);
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-xs);
    border-bottom: 2px solid var(--border);
}

.legal-section:first-child h2 {
    margin-top: 0;
}

.legal-section h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin: var(--spacing-lg) 0 var(--spacing-sm);
}

.legal-section p {
    margin-bottom: var(--spacing-md);
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section ul,
.legal-section ol {
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-lg);
}

.legal-section li {
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.legal-section li:last-child {
    margin-bottom: 0;
}

.legal-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-section a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition-fast);
    border-bottom: 1px solid transparent;
}

.legal-section a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

@media (max-width: 768px) {
    .legal-page {
        padding: 100px 0 var(--spacing-xl);
    }

    .legal-content {
        padding: var(--spacing-lg);
        border-radius: var(--radius-lg);
    }

    .legal-header h1 {
        font-size: 1.875rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.125rem;
    }

    .legal-body {
        font-size: 0.938rem;
    }
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .calc-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    :root {
        --spacing-lg: 1rem;
        --spacing-xl: 2rem;
        --spacing-2xl: 3rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}
