/* Base Variables - Ultra High contrast and depth */
:root {
    scroll-behavior: smooth;
    --bg-deep: #050505;
    --bg-card: rgba(15, 15, 20, 0.7);
    --primary: #6366f1;
    --primary-bright: #818cf8;
    --primary-glow: rgba(99, 102, 241, 0.3);
    --secondary: #0ea5e9;
    --secondary-glow: rgba(14, 165, 233, 0.3);
    --text-white: #ffffff;
    --text-dim: #a1a1aa;
    --border-glass: rgba(255, 255, 255, 0.08);
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-white);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3f3f46;
}

/* Global Utilities */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Nav */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 38px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    z-index: -1;
    filter: blur(80px);
}

.hero-text {
    max-width: 1000px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 40%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-dim);
    margin: 0 auto 3.5rem;
    max-width: 650px;
}

.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary);
    color: white;
    padding: 1.2rem 2.8rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    box-shadow: 0 20px 40px -10px var(--primary-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-main:hover {
    transform: translateY(-5px) scale(1.02);
    background: var(--primary-bright);
    box-shadow: 0 30px 60px -12px var(--primary-glow);
}

/* Modules Section */
.modules-section {
    padding: 10rem 0;
}

.section-head {
    text-align: center;
    margin-bottom: 8rem;
}

.section-head h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-head p {
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.module-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    margin-bottom: 10rem;
}

.module-row:nth-child(even) {
    direction: rtl;
}

.module-row>* {
    direction: ltr;
}

.module-visual {
    position: relative;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.module-content h3 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.module-desc {
    font-size: 1.15rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
}

.advantages-list {
    list-style: none;
}

.advantages-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: #d1d1d6;
}

.advantages-list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Contact Section */
.cta-section {
    padding: 8rem 0;
    margin: 4rem 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.05) 0%, transparent 60%);
    border-radius: 60px;
}

.cta-section h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 968px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero {
        padding: 120px 1.5rem 60px;
    }

    .module-row {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .module-row:nth-child(even) {
        direction: ltr;
    }

    .advantages-list li {
        text-align: left;
    }
}