/* ===== DESIGN TOKENS ===== */
:root {
    /* Colors */
    --bg-void: #060609;
    --bg-dark: #0a0a10;
    --bg-card: rgba(18, 18, 30, 0.4);

    --purple-main: #8a2be2;
    --purple-light: #b35aff;
    --purple-neon: #d590ff;
    --purple-dark: #3a0d66;

    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --text-danger: #ff4d4d;
    --text-success: #00ff88;

    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;

    /* Effects */
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-border-hover: 1px solid rgba(179, 90, 255, 0.3);
    --glass-bg: rgba(20, 20, 35, 0.25);
    --glass-blur: blur(16px);

    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    --glow-primary: 0 0 24px rgba(138, 43, 226, 0.5);

    /* Transitions */
    --transit-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transit-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-void);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

/* ===== UTILITIES ===== */
.gradient-text {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--purple-light) 50%, var(--purple-main) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-glow {
    text-shadow: 0 0 40px rgba(138, 43, 226, 0.4);
}

.text-danger {
    color: var(--text-danger);
}

.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    z-index: 0;
    pointer-events: none;
}

.bg-glow-left {
    top: 50px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: rgba(138, 43, 226, 0.15);
}

.bg-glow-right {
    top: 600px;
    right: -300px;
    width: 800px;
    height: 800px;
    background: rgba(85, 26, 139, 0.12);
}

.pulsing-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--purple-neon);
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes ping {

    75%,
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* ===== BUTTONS ===== */
.btn-login {
    font-weight: 600;
    font-size: 0.9rem;
    transition: color var(--transit-fast);
}

.btn-login:hover {
    color: var(--purple-light);
}

.btn-primary,
.btn-primary-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-main), #5c18a2);
    color: white;
    font-weight: 700;
    border-radius: 8px;
    transition: all var(--transit-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary::before,
.btn-primary-sm::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--purple-light), var(--purple-main));
    opacity: 0;
    transition: opacity var(--transit-smooth);
    z-index: -1;
}

.btn-primary:hover,
.btn-primary-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-primary:hover::before,
.btn-primary-sm:hover::before {
    opacity: 1;
}

.btn-primary-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    padding: 16px 36px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    border-radius: 12px;
}

.btn-massive {
    padding: 24px 48px;
    font-size: 1.3rem;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
}

.btn-icon {
    margin-left: 10px;
    transition: transform var(--transit-fast);
}

.btn-primary:hover .btn-icon {
    transform: translateX(4px);
}

.glowing-btn-large {
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
    animation: float-glow 4s ease-in-out infinite;
}

@keyframes float-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
    }

    50% {
        box-shadow: 0 0 40px rgba(179, 90, 255, 0.7);
    }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: all var(--transit-smooth);
    background: transparent;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 16, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo-accent {
    color: var(--purple-light);
    margin-left: 2px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transit-fast);
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--purple-light);
    transition: width var(--transit-smooth);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transit-fast);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.cta-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brain-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    animation: floating 6s ease-in-out infinite;
}

.brain-img {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 30px rgba(138, 43, 226, 0.4));
}

.brain-hologram-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.2) 0%, rgba(6, 6, 9, 0) 70%);
    z-index: 1;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
}

/* ===== GLASS CARDS ===== */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
    transition: transform var(--transit-smooth), border-color var(--transit-smooth);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(179, 90, 255, 0.2);
}

/* ===== PROBLEM SECTION ===== */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.card-pulse .card-icon {
    background: rgba(138, 43, 226, 0.2);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.card-pulse .feature-list li {
    color: var(--text-primary);
}

.icon.cross {
    color: var(--text-danger);
    font-size: 1.2rem;
}

.icon.check {
    color: var(--text-success);
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.card-pulse {
    border: 1px solid rgba(138, 43, 226, 0.3);
    background: linear-gradient(180deg, rgba(20, 10, 35, 0.6) 0%, rgba(10, 5, 20, 0.8) 100%);
    position: relative;
}

.card-glow-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--purple-neon), transparent);
    opacity: 0.7;
}

/* ===== ADVANTAGES SECTION ===== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.advantage-card {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.adv-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), transparent);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid rgba(138, 43, 226, 0.1);
}

.advantage-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.advantage-card p {
    color: var(--text-secondary);
}

/* ===== RADAR SECTION ===== */
.radar-container {
    background: var(--bg-card);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.radar-header {
    background: rgba(10, 10, 15, 0.9);
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.radar-indicator {
    font-family: 'Outfit';
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.radar-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pill {
    background: rgba(138, 43, 226, 0.15);
    border: 1px solid rgba(138, 43, 226, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--purple-neon);
    font-weight: 600;
}

.radar-insight {
    padding: 24px 30px;
    background: linear-gradient(90deg, rgba(138, 43, 226, 0.1), transparent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    line-height: 1.8;
    color: #dfdfff;
}

.mock-calendar {
    padding: 30px;
    background: #0d0d14;
    position: relative;
}

.mac-header {
    margin-bottom: 20px;
}

.dots i {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

.dots .r {
    background: #ff5f56;
}

.dots .y {
    background: #ffbd2e;
}

.dots .g {
    background: #27c93f;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    opacity: 0.6;
}

.cal-day {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 10px;
    font-weight: 600;
}

.cal-item {
    font-size: 0.7rem;
    padding: 10px;
    border-radius: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.status-blue {
    background: rgba(50, 100, 255, 0.1);
    border-color: rgba(50, 100, 255, 0.2);
    color: #8ab4f8;
}

.status-green {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.2);
    color: #81c995;
}

.status-red {
    background: rgba(255, 77, 77, 0.15);
    border-color: rgba(255, 77, 77, 0.3);
    color: #f28b82;
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.2);
}

.notification-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--purple-neon);
    box-shadow: 0 0 8px var(--purple-neon);
}

.cal-overlay-glass {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.cal-overlay-badge {
    background: rgba(20, 10, 35, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(138, 43, 226, 0.5);
    padding: 20px 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(138, 43, 226, 0.2);
    animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.5s;
    opacity: 0;
    transform: translateY(20px);
}

.cal-overlay-badge .icon {
    font-size: 2rem;
    background: var(--purple-main);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.cal-overlay-badge h4 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.cal-overlay-badge p {
    font-size: 0.85rem;
    color: var(--purple-neon);
}

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== CTA SECTION ===== */
.cta-section {
    text-align: center;
    padding: 120px 0;
}

.cta-container {
    background: linear-gradient(180deg, rgba(30, 15, 50, 0.3), rgba(10, 5, 20, 0.6));
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 30px;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

.cta-glow-bg {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.cta-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.cta-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 1;
}

.cta-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.cta-guarantees {
    display: flex;
    justify-content: center;
    gap: 30px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.cta-guarantees span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a0a0b8;
    font-size: 0.95rem;
}

.cta-guarantees svg {
    color: var(--text-success);
}


/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 40px;
    text-align: center;
    background: #030305;
}

.footer-logo {
    font-family: 'Outfit';
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.footer-tagline {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #555;
}


/* ===== ANIMATIONS & REVEALS ===== */
.hidden-on-load {
    opacity: 0;
}

.fade-in {
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .section {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-cta-group {
        align-items: center;
        margin: 0 auto;
    }

    .hero-subtitle {
        margin: 0 auto 30px;
    }

    .brain-container {
        max-width: 450px;
        margin: 0 auto;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .advantage-card[style*="grid-column"] {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .advantage-card[style*="grid-column"] .adv-icon {
        align-self: center !important;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .container {
        padding: 0 16px;
    }

    .navbar {
        background: rgba(10, 10, 16, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--bg-void);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        gap: 40px;
        transition: left 0.3s ease;
        z-index: 990;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1000;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .btn-primary {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    .hero-cta-group {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .section-desc {
        font-size: 1rem;
    }

    .glass-card {
        padding: 24px 20px;
    }

    .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .feature-list li {
        font-size: 0.95rem;
    }

    .radar-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
    }

    .radar-insight {
        padding: 15px 20px;
        font-size: 0.85rem;
    }

    .mock-calendar {
        padding: 15px;
        overflow-x: auto;
    }

    .cal-grid {
        grid-template-columns: repeat(5, minmax(120px, 1fr));
        width: 100%;
        min-width: 600px;
    }

    .cal-overlay-glass {
        bottom: 15px;
        left: 15px;
        right: 15px;
    }

    .cal-overlay-badge {
        padding: 15px;
        gap: 15px;
        flex-direction: column;
        text-align: center;
    }

    .cal-overlay-badge .icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .cta-container {
        padding: 40px 20px;
        border-radius: 20px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-desc {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .cta-guarantees {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .btn-massive {
        font-size: 1.1rem;
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .brain-container {
        max-width: 100%;
    }
}