/* =========================================
   DATARIOT — Dark Futuristic Landing Page
   Inspired by Geist / AURAS brand identity
   ========================================= */

/* === RESET & BASE === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #020408;
    --bg-elevated: #05070a;
    --surface: rgba(10, 14, 20, 0.7);
    --surface-2: rgba(17, 24, 32, 0.8);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.16);

    --text-primary: #f8fafc;
    --text-secondary: rgba(248, 250, 252, 0.7);
    --text-tertiary: rgba(248, 250, 252, 0.4);
    --text-accent: #a5f3fc;

    --accent: #0EA5E9;
    --accent-glow: rgba(14, 165, 233, 0.3);
    --accent-2: #38BDF8;
    --accent-bright: #7DD3FC;

    --cyan: #0EA5E9;
    --cyan-glow: rgba(14, 165, 233, 0.2);


    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    --sidebar-width: 72px;
    --sidebar-width-expanded: 240px;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --transition-smooth: 0.4s var(--ease-out-expo);
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--surface-2) transparent;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--accent);
    color: white;
}

a {
    color: inherit;
    text-decoration: none;
}

/* === AMBIENT GLOW EFFECTS === */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
    transition: transform 0.6s var(--ease-out-expo);
}

.ambient-glow--1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    top: -300px;
    right: -200px;
    animation: float-slow 25s ease-in-out infinite;
}

.ambient-glow--2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--cyan-glow), transparent 70%);
    bottom: 10%;
    left: -200px;
    animation: float-slow 30s ease-in-out infinite reverse;
}

.ambient-glow--3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15), transparent 70%);
    top: 40%;
    right: 15%;
    animation: float-slow 35s ease-in-out infinite;
}

/* Mouse Spotlight Effect */
.mouse-spotlight {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    filter: blur(80px);
    opacity: 0;
    transition: opacity 1s var(--ease-out-expo);
}

.mouse-spotlight.active {
    opacity: 1;
}

@keyframes float-slow {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(40px, -30px);
    }

    66% {
        transform: translate(-30px, 40px);
    }
}

/* === REVEAL ANIMATIONS === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

.reveal--stagger {
    transition-delay: calc(var(--i, 0) * 0.1s);
}


/* === GRID OVERLAY === */
.grid-overlay {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
}

/* === LEFT SIDEBAR NAVIGATION === */
.sidebar {
    position: fixed;
    top: 24px;
    left: 24px;
    bottom: 24px;
    width: var(--sidebar-width);
    background: rgba(5, 7, 10, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 0;
    z-index: 2000;
    transition: width 0.5s var(--ease-out-expo), box-shadow 0.5s;
    overflow: hidden;
}

.sidebar:hover {
    width: var(--sidebar-width-expanded);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.sidebar__logo {
    width: 44px;
    height: 44px;
    background: var(--surface);
    border: 1px solid var(--border-hover);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 64px;
    flex-shrink: 0;
    transition: all 0.3s;
}

.sidebar:hover .sidebar__logo {
    border-color: var(--accent);
    transform: scale(1.05);
}


.sidebar__logo-icon {
    font-size: 16px;
    line-height: 1;
}

.sidebar__nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    width: 100%;
    padding: 0 12px;
}

.sidebar__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-tertiary);
    transition: all 0.3s var(--ease-out-expo);
    white-space: nowrap;
    overflow: hidden;
}

.sidebar__link:hover {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
}

.sidebar__link.active {
    color: var(--text-primary);
}

.sidebar__link-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-tertiary);
    flex-shrink: 0;
    transition: all 0.3s;
}

.sidebar__link.active .sidebar__link-dot {
    background: var(--accent-2);
    box-shadow: 0 0 8px var(--accent-glow);
}

.sidebar__link-text {
    opacity: 0;
    transition: opacity 0.3s;
}

.sidebar:hover .sidebar__link-text {
    opacity: 1;
}

.sidebar__footer {
    padding-top: 16px;
    border-top: 1px solid var(--border);
    width: calc(100% - 24px);
    text-align: center;
}

.sidebar__version {
    font-size: 10px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* === MOBILE NAV TOGGLE === */
.mobile-nav-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    width: 40px;
    height: 40px;
    background: rgba(5, 7, 10, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.mobile-nav-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--text-secondary);
    transition: all 0.3s;
}

.mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* === MAIN CONTENT === */
.main {
    margin-left: var(--sidebar-width);
    position: relative;
    z-index: 1;
}

/* === TOP BRANDING === */
.top-branding {
    position: absolute;
    top: 48px;
    left: 140px;
    display: flex;
    align-items: center;
    gap: 32px;
    z-index: 100;
    transition: all 0.5s var(--ease-out-expo);
    animation: fadeInDown 1s var(--ease-out-expo) both;
}

@media (max-width: 1024px) {
    .top-branding {
        left: 60px;
    }
}

@media (max-width: 768px) {
    .top-branding {
        position: relative;
        top: 0;
        left: 0;
        padding: 24px;
        flex-direction: column;
        gap: 16px;
        text-align: center;
        background: rgba(5, 7, 10, 0.4);
        border-bottom: 1px solid var(--border);
        width: 100%;
    }

    .header__links {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header__link {
        font-size: 12px;
    }
}

.header__links {
    display: flex;
    align-items: center;
    gap: 24px;
    pointer-events: auto;
}

.header__link {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color var(--transition-smooth);
    letter-spacing: 0.5px;
}

.header__link:hover {
    color: var(--text-primary);
}

.header__link--cta {
    background: var(--accent);
    color: #fff;
    padding: 8px 18px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 0 20px var(--accent-glow);
}

.header__link--cta:hover {
    background: var(--accent-2);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 0 30px var(--accent-glow);
}

.top-branding__logo-wrap {
    width: 40px;
    height: 40px;
    background: var(--surface);
    border: 1px solid var(--border-hover);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.top-branding__text {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 4px;
    color: var(--text-primary);
    text-transform: uppercase;
    background: linear-gradient(135deg, white, var(--accent-bright));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === SECTIONS === */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 60px;
    position: relative;
}

.section__container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.section__header {
    margin-bottom: 64px;
}

.section__label {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 20px;
    font-weight: 500;
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

/* === HERO === */
.section--hero {
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.hero__content {
    max-width: 580px;
    flex-shrink: 0;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 40px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s var(--ease-out-expo) 0.2s both;
}


.hero__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero__visual-caption {
    position: absolute;
    bottom: -40px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    animation: fadeInUp 0.8s var(--ease-out-expo) 1.2s both;
}

.hero__caption-author {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.hero__caption-text {
    font-size: 12px;
    color: var(--text-tertiary);
    font-style: italic;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(64px, 12vw, 160px);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.85;
    margin-bottom: 32px;
    animation: fadeInUp 1s var(--ease-out-expo) 0.4s both;
    position: relative;
    perspective: 1000px;
}

.hero__title-line {
    display: flex;
    justify-content: flex-start;
    position: relative;
}

/* Per-letter styles */
.hero__letter {
    display: inline-block;
    position: relative;
    color: var(--text-primary);
    background: linear-gradient(180deg, #fff 0%, var(--accent-bright) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation:
        letter-entrance 0.8s var(--ease-out-expo) calc(0.5s + var(--i) * 0.06s) both;
    transition: transform 0.4s var(--ease-out-expo), filter 0.4s;
}

@keyframes letter-entrance {
    from {
        opacity: 0;
        transform: translateY(60px) rotateX(-90deg) scale(0.8);
        filter: blur(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0) rotateX(0) scale(1);
        filter: blur(0);
    }
}


.hero__letter:hover {
    transform: translateY(-8px) scale(1.05);
    filter: drop-shadow(0 0 20px var(--accent-glow));
    animation-play-state: paused, paused;
}

/* Glitch pseudo-elements */
.hero__letter::before,
.hero__letter::after {
    content: attr(data-letter);
    position: absolute;
    inset: 0;
    -webkit-text-fill-color: initial;
    opacity: 0;
    pointer-events: none;
}

.hero__letter::before {
    color: var(--cyan);
    animation: glitch-1 4s linear calc(var(--i) * 0.5s) infinite;
}

.hero__letter::after {
    color: #f43f5e;
    animation: glitch-2 4s linear calc(var(--i) * 0.5s + 0.1s) infinite;
}

/* Underline glow */
.hero__title-line::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
            transparent,
            var(--accent-2),
            #0EA5E9,
            var(--accent-2),
            transparent);

    background-size: 200% 100%;
    animation: underline-glow 3s ease-in-out infinite;
    border-radius: 2px;
    opacity: 0.6;
}

@keyframes letter-reveal {
    from {
        opacity: 0;
        transform: translateY(40px) rotateX(90deg);
        filter: blur(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
        filter: blur(0);
    }
}

@keyframes letter-gradient {
    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 0% 100%;
    }

    100% {
        background-position: 0% 0%;
    }
}

@keyframes glitch-1 {

    0%,
    92%,
    100% {
        opacity: 0;
        transform: translate(0);
    }

    93% {
        opacity: 0.7;
        transform: translate(-2px, -1px);
    }

    94% {
        opacity: 0;
        transform: translate(0);
    }

    96% {
        opacity: 0.4;
        transform: translate(2px, 1px);
    }

    97% {
        opacity: 0;
    }
}

@keyframes glitch-2 {

    0%,
    94%,
    100% {
        opacity: 0;
        transform: translate(0);
    }

    95% {
        opacity: 0.5;
        transform: translate(2px, -2px);
    }

    96% {
        opacity: 0;
    }

    98% {
        opacity: 0.3;
        transform: translate(-1px, 2px);
    }

    99% {
        opacity: 0;
    }
}

@keyframes underline-glow {

    0%,
    100% {
        background-position: -200% 0;
        opacity: 0.4;
    }

    50% {
        background-position: 200% 0;
        opacity: 0.8;
    }
}

.hero__subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.6s both;
}

.hero__subtitle em {
    color: var(--text-accent);
    font-style: normal;
}

.hero__actions {
    display: flex;
    gap: 12px;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.8s both;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-sans);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 0 20px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn--primary:hover {
    background: var(--accent-2);
    transform: translateY(-2px);
    box-shadow: 0 0 40px var(--accent-glow), 0 8px 30px rgba(0, 0, 0, 0.3);
}

.btn--ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.btn--full {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
}

/* === HERO VISUAL — BRANDED ORB === */
.hero__visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s var(--ease-out-expo) 0.6s both;
}

.hero__branded-visual {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__logo-orb {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--surface-2), var(--bg));
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    box-shadow:
        0 0 60px rgba(99, 102, 241, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.05);
    z-index: 5;
    animation: orb-float 8s ease-in-out infinite;
    position: relative;
    overflow: visible;
}

.hero__logo-orb::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent), var(--cyan), transparent, var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotate-cw 10s linear infinite;
}


.hero__logo-main {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
}

.hero__logo-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    z-index: 1;
    animation: glow-pulse 4s ease-in-out infinite;
}

.hero__tech-ring {
    position: absolute;
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    z-index: 2;
}

.hero__tech-ring--1 {
    width: 280px;
    height: 280px;
    border-width: 1px;
    border-style: dashed;
    animation: rotate-cw 20s linear infinite;
}

.hero__tech-ring--2 {
    width: 360px;
    height: 360px;
    border-width: 1px;
    border-color: rgba(6, 182, 212, 0.1);
    animation: rotate-ccw 30s linear infinite;
}

.hero__tech-node {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    z-index: 3;
}

.hero__tech-node--1 {
    top: 20%;
    right: 15%;
    animation: node-float 4s ease-in-out infinite;
}

.hero__tech-node--2 {
    bottom: 25%;
    left: 10%;
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
    animation: node-float 5s ease-in-out infinite -2s;
}

@keyframes orb-float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes rotate-cw {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotate-ccw {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

/* === HERO VISUAL OPTION 3 — DNA CORE === */
.hero__dna-visual {
    position: relative;
    width: 400px;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.hero__dna-strand {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    transform-style: preserve-3d;
}

.hero__dna-strand--1 {
    animation: dna-rotate 10s linear infinite;
}

.hero__dna-strand--2 {
    animation: dna-rotate 10s linear infinite -5s;
}

.dna-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent);
}

.hero__dna-strand--2 .dna-dot {
    background: var(--cyan);
    box-shadow: 0 0 15px var(--cyan);
}

.hero__logo-core {
    position: absolute;
    width: 140px;
    height: 140px;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__logo-core:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 30px var(--accent));
}

@keyframes dna-rotate {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

@keyframes node-float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(10px, -10px);
    }
}


.phone-ui {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 16px;
}

.phone-ui__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0 16px;
}

.phone-ui__time {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
}

.phone-ui__logo {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-bright);
}

.phone-ui__icons {
    font-size: 8px;
    letter-spacing: 3px;
    color: var(--text-tertiary);
}

.phone-ui__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.phone-ui__card {
    border-radius: 16px;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border);
    transition: all 0.5s;
    animation: card-slide 0.8s var(--ease-out-expo) both;
}

.phone-ui__card--1 {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(99, 102, 241, 0.03));
    animation-delay: 1s;
}

.phone-ui__card--2 {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(34, 211, 238, 0.02));
    animation-delay: 1.2s;
}

.phone-ui__card--3 {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(168, 85, 247, 0.02));
    animation-delay: 1.4s;
}

@keyframes card-slide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.phone-ui__card-icon {
    font-size: 22px;
}

.phone-ui__card span {
    font-size: 13px;
    font-weight: 500;
    flex: 1;
}

.phone-ui__card small {
    font-size: 10px;
    color: var(--text-tertiary);
}

.phone-ui__bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 14px 0 8px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.phone-ui__bar-item {
    font-size: 14px;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: color 0.3s;
}

.phone-ui__bar-item.active {
    color: var(--accent-bright);
}

.phone-ui__bar-item--create {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 300;
}

/* === SCROLL INDICATOR === */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp 1s var(--ease-out-expo) 1.2s both;
}

.scroll-indicator__line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-2), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-indicator__line::after {
    content: '';
    position: absolute;
    top: -100%;
    width: 100%;
    height: 40%;
    background: white;
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0% {
        top: -40%;
    }

    100% {
        top: 120%;
    }
}

/* === MANIFESTO SECTION === */
.section--manifesto {
    padding: 120px 60px;
    background: linear-gradient(180deg, var(--bg), #05070a);
}

.manifesto__content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: flex-start;
}

.manifesto__letter {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.manifesto__opening {
    font-size: 24px;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 32px;
}

.manifesto__letter p {
    margin-bottom: 24px;
}

.manifesto__letter strong {
    color: var(--accent-bright);
    font-weight: 600;
}

.manifesto__signature {
    margin-top: 48px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.manifesto__sig-line {
    width: 40px;
    height: 1px;
    background: var(--accent);
}

.manifesto__signature span {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 14px;
    color: var(--text-primary);
}

.manifesto__values {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.value-card {
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.value-card__icon {
    display: inline-flex;
    padding: 12px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    color: var(--accent);
    margin-bottom: 20px;
}

.value-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.value-card p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-tertiary);
}


/* === FEATURES SECTION — BENTO GRID === */
.section--features {
    padding: 120px 60px;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, minmax(280px, auto));
    gap: 24px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
    display: flex;
    flex-direction: column;
}

.feature-card--large {
    grid-column: span 2;
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.feature-card__icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 32px;
    transition: all 0.3s;
}

.feature-card:hover .feature-card__icon {
    background: var(--accent);
    color: white;
    transform: rotate(-10deg) scale(1.1);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-tertiary);
    margin-top: auto;
}


/* === APP SCREENS SECTION === */
.section--screens {
    background: #05070a;
    padding: 120px 60px;
}

.screens__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 1024px) {
    .screens__grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

.screen-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 24px;
    transition: all 0.5s var(--ease-out-expo);
}

.screen-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.screen-card__visual {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 24px;
    aspect-ratio: 9/16;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.screen-card__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    transition: transform 0.6s var(--ease-out-expo);
}

.screen-card:hover .screen-card__image {
    transform: scale(1.05);
}

.screen-card__text h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.screen-card__text p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-tertiary);
}


.mock-phone__ui {
    width: 100%;
    height: 100%;
    position: relative;
    background: var(--bg);
}

/* The Feed Mock */
.mock-phone__ui--video {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, #111827 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mock-video-play {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.mock-video-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px;
}

.mock-video-tag {
    font-size: 8px;
    padding: 2px 6px;
    background: var(--accent);
    color: white;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 4px;
}

.mock-video-title {
    font-size: 10px;
    font-weight: 600;
    color: white;
}

/* Debates Mock */
.mock-phone__ui--thread {
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-thread-header {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 4px;
}

.mock-thread-arg {
    height: 32px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--surface);
    position: relative;
}

.mock-thread-arg::before {
    content: '';
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 6px;
    width: 3px;
    border-radius: 2px;
}

.mock-thread-arg--for::before {
    background: #22c55e;
}

.mock-thread-arg--against::before {
    background: #f43f5e;
}

/* Profile Mock */
.mock-phone__ui--profile {
    padding: 24px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.mock-profile-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--cyan));
}

.mock-profile-stats {
    display: flex;
    gap: 8px;
    width: 100%;
}

.mock-stat {
    flex: 1;
    height: 36px;
    border-radius: 6px;
    background: var(--surface);
    border: 1px solid var(--border);
}

.mock-profile-dna {
    width: 100%;
    height: 80px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
}

.screen-card__text h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.screen-card__text p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* === DEBATE ARENA SECTION === */
.section--debates {
    background: linear-gradient(180deg, #05070a, var(--bg));
    padding: 120px 60px;
}

.debates__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.debates__lead {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.debates__how {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.debate-step {
    display: flex;
    gap: 20px;
}

.debate-step__num {
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 0 15px var(--accent-glow);
}

.debate-step h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.debate-step p {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.6;
}


.debate-step h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.debate-step p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Debate card mock */
.debate-card-mock {
    padding: 28px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease-out-expo);
}

.mock-phone__ui--brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    height: 100%;
    padding: 20px;
}

.mock-brand-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.mock-brand-name {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.debate-card-mock__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.debate-card-mock__tag {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 100px;
    background: rgba(251, 146, 60, 0.12);
    color: #fb923c;
    font-weight: 500;
}

.debate-card-mock__score {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 100px;
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    font-weight: 600;
}

.debate-card-mock__thesis {
    font-family: var(--font-display);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
    margin-bottom: 16px;
}

.debate-card-mock__meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.debate-card-mock__args {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.debate-arg {
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.debate-arg--for {
    border-left: 2px solid #22c55e;
}

.debate-arg--against {
    border-left: 2px solid #f43f5e;
}

.debate-arg__label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
}

.debate-arg--for .debate-arg__label {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

.debate-arg--against .debate-arg__label {
    background: rgba(244, 63, 94, 0.12);
    color: #f43f5e;
}

.debate-arg p {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-secondary);
    flex: 1;
}

.debate-arg__votes {
    font-size: 11px;
    color: var(--text-tertiary);
    flex-shrink: 0;
}

/* === LIVE STATS SECTION === */
.section--live {
    background: var(--bg);
}

.live__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.live-card {
    padding: 40px 32px;
    border-radius: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    position: relative;
    text-align: center;
    transition: all 0.4s var(--ease-out-expo);
}

.live-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.live-card__pulse {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.4);
    animation: pulse-dot 2s infinite;
}

.live-card__number {
    display: block;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.live-card__label {
    font-size: 13px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}


/* Live Feed */
.live__feed {
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    overflow: hidden;
}

.live__feed-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.live__feed-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-dot 1.5s infinite;
}

.live__feed-items {
    max-height: 240px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.live__feed-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-secondary);
    animation: fadeInUp 0.3s var(--ease-out-expo);
}

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

.live__feed-item__icon {
    font-size: 16px;
    flex-shrink: 0;
}

.live__feed-item__text {
    flex: 1;
}

.live__feed-item__time {
    font-size: 11px;
    color: var(--text-tertiary);
    flex-shrink: 0;
}

/* === BETA SECTION === */
.section--beta {
    background: linear-gradient(180deg, var(--bg), #05070a);
}

.beta__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.beta__perks {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.beta__perk {
    display: flex;
    gap: 20px;
}

.beta__perk-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.beta__perk h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.beta__perk p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-tertiary);
}

.beta__card-inner {
    padding: 56px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.beta__card-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

.beta__card-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.beta__input-wrap {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 8px;
    display: flex;
    gap: 8px;
    transition: all 0.3s;
}

.beta__input-wrap:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.beta__input-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 16px;
    color: white;
    font-size: 15px;
    outline: none;
}

.beta__submit-btn {
    width: 56px;
    height: 56px;
    background: var(--accent);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.beta__submit-btn:hover {
    background: var(--accent-2);
    transform: scale(1.05);
}


/* === FOOTER — Expanded === */
.footer {
    padding: 120px 60px 48px;
    background: #020408;
    border-top: 1px solid var(--border);
}

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 80px;
    padding: 100px 48px;
    margin-bottom: 48px;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.footer__tagline {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.6;
}

.footer__columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer__col h5 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.footer__col a {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 12px;
    transition: all 0.3s;
    text-decoration: none;
}

.footer__col a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    font-size: 13px;
    color: var(--text-tertiary);
}


.footer__bottom-links {
    display: flex;
    gap: 16px;
}

.footer__bottom-links a {
    font-size: 12px;
    color: var(--text-tertiary);
    transition: color 0.3s;
}

.footer__bottom-links a:hover {
    color: var(--text-primary);
}

/* === FADE-IN ANIMATION === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Intersection Observer animated elements */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out-expo);
}

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

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .section--hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 40px;
        padding: 40px;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__actions {
        justify-content: center;
    }

    .about__grid,
    .vision__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features__grid {
        grid-template-columns: 1fr 1fr;
    }

    .feature-card--large {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .sidebar.mobile-open {
        display: flex;
        width: var(--sidebar-width-expanded);
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.5);
    }

    .sidebar.mobile-open .sidebar__link-text {
        opacity: 1;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .main {
        margin-left: 0;
    }

    .section {
        padding: 60px 24px;
    }

    .section--hero {
        padding: 40px 24px;
    }

    .hero__title {
        font-size: clamp(48px, 14vw, 80px);
    }

    .hero__phone {
        width: 200px;
        height: 400px;
    }

    .hero__dna-visual {
        transform: scale(0.8);
    }

    .features__grid {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 40px 24px;
    }

    .footer__top {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer__brand {
        align-items: center;
    }

    .footer__columns {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 32px;
        text-align: left;
    }

    .footer__container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: clamp(38px, 12vw, 60px);
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .live__grid {
        grid-template-columns: 1fr !important;
    }

    .footer__columns {
        grid-template-columns: 1fr !important;
    }

    .beta__card-inner {
        padding: 32px 20px;
    }

    .beta__card-title {
        font-size: 22px;
    }
}

/* === THEME TOGGLE BUTTON === */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 9999;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(5, 7, 10, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.4s var(--ease-out-expo);
}

.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--text-primary);
    transform: rotate(20deg) scale(1.1);
    box-shadow: 0 0 20px var(--accent-glow);
}

.theme-toggle__icon {
    transition: all 0.4s var(--ease-out-expo);
    position: absolute;
}

.theme-toggle__icon--sun {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.theme-toggle__icon--moon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Sun visible in light mode */
[data-theme="light"] .theme-toggle__icon--sun {
    opacity: 1;
    transform: rotate(0) scale(1);
}

[data-theme="light"] .theme-toggle__icon--moon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

[data-theme="light"] .theme-toggle {
    background: rgba(255, 255, 255, 0.7);
}

/* ============================
   LIGHT THEME
   ============================ */
[data-theme="light"] {
    --bg: #f5f5f7;
    --bg-elevated: #ffffff;
    --surface: #ffffff;
    --surface-2: #eef0f5;
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.15);

    --text-primary: #111827;
    --text-secondary: rgba(17, 24, 39, 0.6);
    --text-tertiary: rgba(17, 24, 39, 0.35);
    --text-accent: #0284c7;

    --accent: #0ea5e9;
    --accent-glow: rgba(14, 165, 233, 0.2);
    --accent-2: #0284c7;
    --accent-bright: #0369a1;

    --cyan: #0891b2;
    --cyan-glow: rgba(8, 145, 178, 0.1);
}

[data-theme="light"] body {
    background: var(--bg);
}

[data-theme="light"] .ambient-glow {
    opacity: 0.12;
}

[data-theme="light"] .grid-overlay {
    background-image: none;
}

[data-theme="light"] .sidebar {
    background: rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .hero__phone {
    background: linear-gradient(145deg, #ffffff, #eef0f5);
    box-shadow:
        0 0 60px rgba(14, 165, 233, 0.06),
        0 30px 60px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .hero__phone-inner {
    background: #f0f2f7;
}

[data-theme="light"] .hero__letter {
    background: linear-gradient(180deg,
            #111827 0%,
            #0ea5e9 50%,
            #0369a1 100%);
    background-size: 100% 300%;
    -webkit-background-clip: text;
    background-clip: text;
}

[data-theme="light"] .hero__letter::before {
    color: #0891b2;
}

[data-theme="light"] .hero__letter::after {
    color: #e11d48;
}

[data-theme="light"] .value-card,
[data-theme="light"] .feature-card,
[data-theme="light"] .debate-card-mock,
[data-theme="light"] .live-card,
[data-theme="light"] .live__feed,
[data-theme="light"] .beta__card-inner,
[data-theme="light"] .beta__success {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .value-card:hover,
[data-theme="light"] .feature-card:hover,
[data-theme="light"] .debate-card-mock:hover,
[data-theme="light"] .live-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .feature-card__icon {
    background: rgba(14, 165, 233, 0.08);
    border-color: rgba(14, 165, 233, 0.12);
}

[data-theme="light"] .phone-ui__card--1 {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(14, 165, 233, 0.02));
}

[data-theme="light"] .phone-ui__card--2 {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.08), rgba(8, 145, 178, 0.02));
}

[data-theme="light"] .phone-ui__card--3 {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(168, 85, 247, 0.02));
}

[data-theme="light"] .mobile-nav-toggle {
    background: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .mobile-nav-toggle span {
    background: var(--text-primary);
}

[data-theme="light"] .btn--primary {
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .btn--primary:hover {
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.35), 0 4px 15px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .beta__input-wrap {
    background: #f3f4f6;
}

[data-theme="light"] .scroll-indicator__line {
    background: linear-gradient(to bottom, var(--accent-2), transparent);
}

/* Smooth theme transition on all elements */
body,
.sidebar,
.value-card,
.feature-card,
.debate-card-mock,
.live-card,
.live__feed,
.beta__card-inner,
.hero__phone,
.hero__phone-inner,
.theme-toggle,
.btn,
.mobile-nav-toggle,
.footer {
    transition: background 0.5s var(--ease-out-expo),
        color 0.5s var(--ease-out-expo),
        border-color 0.5s var(--ease-out-expo),
        box-shadow 0.5s var(--ease-out-expo);
}

/* Responsive for new sections */
@media (max-width: 1024px) {

    .manifesto__content,
    .debates__content,
    .beta__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .live__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__top {
        flex-direction: column;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .live__grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer__columns {
        flex-wrap: wrap;
        gap: 32px;
    }

    .footer {
        padding: 40px 24px 20px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}