/* ==================== */
/* Ð‘ÐÐ—ÐžÐ’Ð«Ð• Ð¡Ð¢Ð˜Ð›Ð˜        */
/* ==================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #ff6b35;
    --primary-dark: #e8551e;
    --bg-dark: #0a0a0a;
    --bg-light: #1a1a1a;
    --text: #ffffff;
    --text-muted: #999999;
    --spacing: 8px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica', 'Arial', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* ÐÐ½Ð¸Ð¼Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð½Ñ‹Ð¹ Ð³Ñ€Ð°Ð´Ð¸ÐµÐ½Ñ‚Ð½Ñ‹Ð¹ Ñ„Ð¾Ð½ */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(255, 140, 66, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    z-index: -1;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* ÐœÐ¾Ð»Ð½Ð¸Ð¸ Ð½Ð° Ñ„Ð¾Ð½Ðµ */
.lightning-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.lightning {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(180deg, transparent, #ff6b35, transparent);
    animation: lightning-fall 3s linear infinite;
    opacity: 0.3;
}

.lightning:nth-child(1) { left: 10%; animation-delay: 0s; }
.lightning:nth-child(2) { left: 30%; animation-delay: 1s; height: 150px; }
.lightning:nth-child(3) { left: 50%; animation-delay: 2s; }
.lightning:nth-child(4) { left: 70%; animation-delay: 1.5s; height: 120px; }
.lightning:nth-child(5) { left: 90%; animation-delay: 0.5s; }

@keyframes lightning-fall {
    0% {
        transform: translateY(-100px) rotate(10deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(100vh) rotate(10deg);
        opacity: 0;
    }
}

html {
    scroll-behavior: smooth;
}

/* ==================== */
/* ÐÐÐ’Ð˜Ð“ÐÐ¦Ð˜Ð¯            */
/* ==================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: calc(var(--spacing) * 3) calc(var(--spacing) * 6);
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: calc(var(--spacing) * 2) calc(var(--spacing) * 6);
    background: rgba(10, 10, 10, 0.95);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
}

.nav-logo .ai {
    color: var(--primary);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    gap: calc(var(--spacing) * 6);
    list-style: none;
}

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* ==================== */
/* HERO SECTION         */
/* ==================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--spacing) * 15) calc(var(--spacing) * 6);
    position: relative;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(30px);
    }
}

.hero-badge {
    display: inline-block;
    padding: calc(var(--spacing) * 1.5) calc(var(--spacing) * 3);
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 50px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: calc(var(--spacing) * 6);
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: calc(var(--spacing) * 4);
    letter-spacing: -2px;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.hero-title .gradient {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 400;
}

.hero-description {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto calc(var(--spacing) * 8);
    font-weight: 300;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    gap: calc(var(--spacing) * 3);
    justify-content: center;
    animation: fadeInUp 1s ease 0.8s forwards;
    opacity: 0;
}

/* ==================== */
/* ÐšÐÐžÐŸÐšÐ˜               */
/* ==================== */

.btn {
    padding: calc(var(--spacing) * 2.5) calc(var(--spacing) * 5);
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    font-weight: 500;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
}

/* ==================== */
/* Ð¡Ð•ÐšÐ¦Ð˜Ð˜               */
/* ==================== */

.section {
    padding: calc(var(--spacing) * 20) calc(var(--spacing) * 6);
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: calc(var(--spacing) * 12);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 300;
    margin-bottom: calc(var(--spacing) * 3);
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 300;
}

/* ==================== */
/* ÐšÐÐ Ð¢ÐžÐ§ÐšÐ˜ FEATURES    */
/* ==================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing) * 4);
}

.feature-card {
    padding: calc(var(--spacing) * 6);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: calc(var(--spacing) * 3);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: calc(var(--spacing) * 2);
    font-weight: 400;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
}

/* ==================== */
/* PRICING              */
/* ==================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--spacing) * 4);
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    padding: calc(var(--spacing) * 8) calc(var(--spacing) * 6);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 107, 53, 0.5);
}

.pricing-card.featured {
    border-color: var(--primary);
    background: rgba(255, 107, 53, 0.05);
}

.pricing-card h3 {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: calc(var(--spacing) * 3);
    font-weight: 400;
}

.pricing-card .price {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: calc(var(--spacing) * 6);
    color: var(--primary);
}

.pricing-card ul {
    list-style: none;
    margin-bottom: calc(var(--spacing) * 6);
}

.pricing-card li {
    padding: calc(var(--spacing) * 2) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
    color: var(--text-muted);
}

/* ==================== */
/* FOOTER               */
/* ==================== */

.footer {
    padding: calc(var(--spacing) * 10) calc(var(--spacing) * 6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer p {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 300;
}

/* ==================== */
/* ÐÐ”ÐÐŸÐ¢Ð˜Ð’ÐÐžÐ¡Ð¢Ð¬         */
/* ==================== */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero {
        padding: calc(var(--spacing) * 10) calc(var(--spacing) * 3);
    }
    
    .section {
        padding: calc(var(--spacing) * 10) calc(var(--spacing) * 3);
    }
    
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== */
/* ÐÐÐ˜ÐœÐÐ¦Ð˜Ð˜ Ð¡ÐšÐ ÐžÐ›Ð›Ð     */
/* ==================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ð—Ð°Ð´ÐµÑ€Ð¶ÐºÐ¸ Ð´Ð»Ñ ÐºÐ°ÑÐºÐ°Ð´Ð½Ð¾Ð¹ Ð°Ð½Ð¸Ð¼Ð°Ñ†Ð¸Ð¸ */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
