/* ═══════════════════════════════════════════════════════════════
   NOSYAGENT - BRUTAL + BEAUTIFUL DESIGN SYSTEM
   ═══════════════════════════════════════════════════════════════ */

:root {
    /* Colors */
    --void: #0A0A0A;
    --bone: #F5F5F0;
    --rage: #FF2D2D;
    --lime: #CCFF00;
    --terminal: #00FF41;
    --concrete: #141414;
    --steel: #666666;
    --bruise: #9D00FF;
    --warm: #FF6B35;

    /* Gradients */
    --gradient-rage: linear-gradient(135deg, #FF2D2D 0%, #FF6B35 100%);
    --gradient-lime: linear-gradient(135deg, #CCFF00 0%, #00FF41 100%);
    --gradient-void: radial-gradient(ellipse at center, #1a1a1a 0%, #0a0a0a 100%);

    /* Typography */
    --font-display: "Archivo Black", Impact, sans-serif;
    --font-body: "Space Grotesk", sans-serif;
    --font-mono: "JetBrains Mono", monospace;

    /* Sizing */
    --text-hero: clamp(2.5rem, 10vw, 8rem);
    --text-section: clamp(2rem, 6vw, 5rem);
    --text-large: clamp(1.25rem, 3vw, 2rem);
    --text-body: clamp(1rem, 1.5vw, 1.125rem);
    --text-small: 0.875rem;

    /* Spacing */
    --space-brutal: clamp(4rem, 12vh, 10rem);
}

/* ═══════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--void);
    color: var(--bone);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: var(--rage);
    color: var(--void);
}

/* ═══════════════════════════════════════════════════════════════
   GRADIENT ORBS BACKGROUND
   ═══════════════════════════════════════════════════════════════ */

.gradient-orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--rage);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--bruise);
    bottom: -150px;
    left: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--lime);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.15;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -30px) scale(1.1); }
    50% { transform: translate(-30px, 50px) scale(0.95); }
    75% { transform: translate(-50px, -20px) scale(1.05); }
}

/* ═══════════════════════════════════════════════════════════════
   PRELOADER
   ═══════════════════════════════════════════════════════════════ */

#preloader {
    position: fixed;
    inset: 0;
    background: var(--void);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-text {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-family: var(--font-mono);
    font-size: clamp(0.75rem, 1.5vw, 1rem);
    max-width: 90vw;
}

.preloader-text .line {
    opacity: 0;
    transform: translateX(-20px);
    animation: typeIn 0.4s ease forwards;
    color: var(--steel);
}

.preloader-text .line.highlight {
    color: var(--rage);
    font-family: var(--font-display);
    font-size: 2rem;
    margin-top: 1rem;
}

@keyframes typeIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    background: var(--gradient-rage);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.beta-badge {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    background: var(--lime);
    color: var(--void);
    padding: 0.2rem 0.4rem;
    letter-spacing: 0.1em;
    -webkit-text-fill-color: var(--void);
    animation: beta-pulse 2s ease-in-out infinite;
}

@keyframes beta-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.nav-link {
    font-family: var(--font-mono);
    font-size: var(--text-small);
    color: var(--bone);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid var(--bone);
    transition: all 0.1s ease;
}

.nav-link:hover {
    background: var(--bone);
    color: var(--void);
    transform: translate(-2px, -2px);
    box-shadow: 2px 2px 0 var(--bone);
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL PROGRESS
   ═══════════════════════════════════════════════════════════════ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-rage);
    z-index: 1000;
    width: 0%;
    transition: width 0.1s linear;
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 60px 2rem 4rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
}

.hero-spacer {
    height: 2rem;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: var(--text-small);
    color: var(--lime);
    padding: 0.5rem 1rem;
    border: 1px solid var(--lime);
    margin-top: 0;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    animation: badge-glow 3s ease-in-out infinite;
    box-shadow: 0 0 0 rgba(204, 255, 0, 0);
}

@keyframes badge-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(204, 255, 0, 0.2); }
    50% { box-shadow: 0 0 20px rgba(204, 255, 0, 0.4), 0 0 40px rgba(204, 255, 0, 0.1); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--text-hero);
    line-height: 1;
    text-transform: uppercase;
}

.hero-title-accent {
    display: block;
    background: var(--gradient-rage);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glitch {
    position: relative;
    display: block;
    color: var(--bone);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.glitch::before {
    color: var(--lime);
    animation: glitch-1 4s infinite linear;
}

.glitch::after {
    color: var(--bruise);
    animation: glitch-2 4s infinite linear;
}

@keyframes glitch-1 {
    0%, 90%, 100% { opacity: 0; transform: translate(0); }
    91% { opacity: 0.8; transform: translate(-3px, 2px); }
    93% { opacity: 0; transform: translate(3px, -2px); }
}

@keyframes glitch-2 {
    0%, 90%, 100% { opacity: 0; transform: translate(0); }
    92% { opacity: 0.8; transform: translate(3px, -2px); }
    94% { opacity: 0; transform: translate(-3px, 2px); }
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: var(--text-large);
    color: var(--steel);
    margin-top: 1.5rem;
    max-width: 600px;
}

.hero-proof {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.proof-item {
    display: flex;
    flex-direction: column;
}

.proof-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--lime);
}

.proof-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--steel);
    letter-spacing: 0.1em;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: var(--text-small);
    color: var(--steel);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--steel);
    border-bottom: 2px solid var(--steel);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); }
    50% { transform: rotate(45deg) translate(5px, 5px); }
}

/* ═══════════════════════════════════════════════════════════════
   PROBLEM SECTION - VS CARDS
   ═══════════════════════════════════════════════════════════════ */

.problem-section {
    padding: var(--space-brutal) 2rem;
    position: relative;
    z-index: 1;
}

.problem-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    perspective: 1000px;
}

.problem-card {
    background: var(--concrete);
    border: 2px solid var(--steel);
    padding: 2.5rem;
    width: 100%;
    max-width: 400px;
    transition: transform 0.3s ease;
}

.problem-card.tilt-left {
    transform: rotateY(5deg) rotateZ(-1deg);
}

.problem-card.tilt-right {
    transform: rotateY(-5deg) rotateZ(1deg);
}

.problem-card.featured {
    border-color: var(--lime);
    box-shadow: 0 0 40px rgba(204, 255, 0, 0.1);
    position: relative;
    background: var(--concrete);
}

.problem-card.featured::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--lime), var(--terminal), var(--lime), var(--bruise), var(--lime));
    background-size: 300% 300%;
    z-index: -1;
    animation: gradient-shift 4s ease infinite;
}

.problem-card.featured::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--concrete);
    z-index: -1;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.problem-card:hover {
    transform: rotateY(0deg) rotateZ(0deg) translateY(-5px);
}

.card-header {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--steel);
}

.card-header.accent {
    color: var(--lime);
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.problem-item {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.5;
}

.problem-item.crossed {
    color: var(--steel);
    text-decoration: line-through;
}

.problem-item.crossed::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: var(--rage);
}

.problem-item.checked::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--lime);
}

.card-verdict {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--steel);
    color: var(--rage);
}

.card-verdict.highlight {
    color: var(--lime);
}

.vs-divider {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--steel);
    padding: 1rem;
}

@media (max-width: 900px) {
    .problem-card.tilt-left,
    .problem-card.tilt-right {
        transform: none;
    }
}

/* ═══════════════════════════════════════════════════════════════
   SECTION COMMON STYLES
   ═══════════════════════════════════════════════════════════════ */

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-family: var(--font-mono);
    font-size: var(--text-small);
    color: var(--lime);
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-section);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: var(--text-body);
    color: var(--steel);
    max-width: 500px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════
   BRAIN FILE SECTION
   ═══════════════════════════════════════════════════════════════ */

.brain-section {
    padding: var(--space-brutal) 2rem;
    background: var(--concrete);
    position: relative;
    z-index: 1;
}

.brain-showcase {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.brain-document {
    background: var(--void);
    border: 2px solid var(--steel);
    padding: 2rem;
    position: relative;
    transform: perspective(1000px) rotateY(-2deg);
    transition: transform 0.3s ease;
}

.brain-document:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.brain-stamp {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--rage);
    border: 2px solid var(--rage);
    padding: 0.25rem 0.75rem;
    transform: rotate(8deg);
    opacity: 0.7;
}

.brain-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--steel);
}

.brain-content {
    font-family: var(--font-mono);
    font-size: var(--text-small);
}

.brain-section-block {
    margin-bottom: 1.5rem;
}

.brain-section-title {
    color: var(--lime);
    margin-bottom: 0.5rem;
}

.brain-line {
    padding: 0.25rem 0;
    padding-left: 1rem;
}

.brain-line.highlight-line {
    background: rgba(255, 45, 45, 0.1);
    border-left: 2px solid var(--rage);
}

.brain-line.detected {
    background: rgba(204, 255, 0, 0.05);
    border-left: 2px solid var(--lime);
}

.tag {
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    margin-left: 0.5rem;
    text-transform: uppercase;
}

.tag.warning { background: rgba(255, 107, 0, 0.3); color: #FF6B00; }
.tag.progress { background: rgba(204, 255, 0, 0.2); color: var(--lime); }
.tag.danger { background: rgba(255, 45, 45, 0.3); color: var(--rage); }

.mono { font-family: var(--font-mono); }
.dim { opacity: 0.5; }
.highlight { color: var(--lime); }
.accent { color: var(--rage); }

.brain-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-block {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--void);
    border-left: 2px solid var(--lime);
}

.feature-icon {
    font-family: var(--font-display);
    color: var(--lime);
    font-size: 1.5rem;
}

.feature-text {
    font-size: var(--text-small);
    color: var(--bone);
}

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

    .brain-document {
        transform: none;
    }
}

/* ═══════════════════════════════════════════════════════════════
   TIME AWARENESS SECTION
   ═══════════════════════════════════════════════════════════════ */

.time-section {
    padding: var(--space-brutal) 2rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.time-visual {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 4rem;
}

.time-orbit {
    position: absolute;
    inset: 0;
}

.orbit-ring {
    position: absolute;
    inset: 20px;
    border: 1px dashed var(--steel);
    border-radius: 50%;
    animation: spin 30s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.orbit-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--lime);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    animation: orbit 6s linear infinite;
    animation-delay: var(--delay);
    box-shadow: 0 0 20px var(--lime);
}

@keyframes orbit {
    from {
        transform: rotate(0deg) translateX(120px) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateX(120px) rotate(-360deg);
    }
}

.time-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.time-big {
    font-family: var(--font-display);
    font-size: 3rem;
    background: var(--gradient-rage);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.time-small {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--bone);
}

.time-examples-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.time-card {
    background: var(--concrete);
    border: 1px solid var(--steel);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.time-card:hover {
    transform: translateY(-3px);
    border-color: var(--lime);
}

.time-card.alert {
    border-color: var(--rage);
}

.time-card-icon {
    font-size: 1.5rem;
}

.time-card-text {
    font-family: var(--font-mono);
    font-size: var(--text-small);
    color: var(--bone);
    line-height: 1.5;
}

@media (max-width: 640px) {
    .time-examples-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════════
   SEMANTIC MEMORY SECTION
   ═══════════════════════════════════════════════════════════════ */

.memory-section {
    padding: var(--space-brutal) 2rem;
    background: var(--concrete);
    position: relative;
    z-index: 1;
    text-align: center;
}

.memory-board {
    position: relative;
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
}

#memoryCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.memory-search {
    position: relative;
    margin: 0 auto 3rem;
    width: fit-content;
    background: var(--void);
    border: 3px solid var(--lime);
    padding: 1rem 2rem;
    font-family: var(--font-mono);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
    animation: search-glow 2.5s ease-in-out infinite;
}

@keyframes search-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(204, 255, 0, 0.2); }
    50% { box-shadow: 0 0 30px rgba(204, 255, 0, 0.4), 0 0 60px rgba(204, 255, 0, 0.1); }
}

.search-icon {
    color: var(--lime);
    font-size: 1.5rem;
    font-weight: bold;
}

.search-query {
    color: var(--bone);
}

.memory-nodes-grid {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.memory-row {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.memory-row.center {
    justify-content: center;
}

.memory-node {
    background: var(--void);
    border: 2px solid var(--steel);
    padding: 1.25rem 1.5rem;
    max-width: 280px;
    font-family: var(--font-mono);
    font-size: var(--text-small);
    transition: all 0.3s ease;
    position: relative;
    text-align: left;
}

.memory-node.relevant {
    border-color: var(--lime);
    box-shadow: 0 0 30px rgba(204, 255, 0, 0.15);
}

.memory-node.featured {
    border-width: 3px;
    transform: scale(1.05);
}

.memory-node.dimmed {
    opacity: 0.4;
    border-style: dashed;
}

.node-date {
    display: block;
    color: var(--lime);
    margin-bottom: 0.5rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.memory-node.dimmed .node-date {
    color: var(--steel);
}

.node-text {
    color: var(--bone);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .memory-row {
        flex-direction: column;
        align-items: center;
    }

    .memory-node {
        max-width: 100%;
        width: 100%;
    }

    #memoryCanvas {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════════
   PROACTIVE SECTION
   ═══════════════════════════════════════════════════════════════ */

.proactive-section {
    padding: var(--space-brutal) 2rem;
    position: relative;
    z-index: 1;
}

.proactive-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.proactive-label {
    font-family: var(--font-mono);
    font-size: var(--text-small);
    color: var(--rage);
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 1rem;
}

.proactive-title {
    font-family: var(--font-display);
    font-size: var(--text-section);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.proactive-description {
    color: var(--steel);
    font-size: var(--text-body);
    max-width: 400px;
}

.notification-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    perspective: 1000px;
}

.notification {
    background: var(--concrete);
    border: 1px solid var(--steel);
    padding: 1rem 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    transition: transform 0.3s ease;
}

.notification.n1 {
    transform: translateX(0) rotateY(-2deg);
    border-color: var(--lime);
}

.notification.n2 {
    transform: translateX(20px) rotateY(-2deg);
    opacity: 0.8;
}

.notification.n3 {
    transform: translateX(40px) rotateY(-2deg);
    opacity: 0.6;
}

.notification:hover {
    transform: translateX(0) rotateY(0deg) !important;
    opacity: 1 !important;
}

.notif-icon {
    font-size: 1.5rem;
}

.notif-content {
    min-width: 0;
}

.notif-title {
    font-family: var(--font-display);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.notif-text {
    font-size: var(--text-small);
    color: var(--steel);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-time {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--steel);
}

@media (max-width: 900px) {
    .proactive-content {
        grid-template-columns: 1fr;
    }

    .notification.n1,
    .notification.n2,
    .notification.n3 {
        transform: none;
    }
}

/* ═══════════════════════════════════════════════════════════════
   REMINDER SECTION
   ═══════════════════════════════════════════════════════════════ */

.reminder-section {
    padding: var(--space-brutal) 2rem;
    background: var(--concrete);
    position: relative;
    z-index: 1;
}

.reminder-demo {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.reminder-input {
    background: var(--void);
    border: 2px solid var(--steel);
    padding: 1.5rem 2rem;
    font-family: var(--font-mono);
    display: inline-block;
}

.input-prompt {
    color: var(--lime);
    margin-right: 0.5rem;
}

.input-text {
    color: var(--bone);
}

.reminder-arrow {
    font-size: 2rem;
    color: var(--lime);
    margin: 2rem 0;
    animation: bounce 2s infinite;
}

.reminder-output {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.output-label {
    font-family: var(--font-display);
    font-size: var(--text-section);
    color: var(--lime);
}

.output-description {
    font-family: var(--font-mono);
    font-size: var(--text-small);
    color: var(--steel);
}

/* ═══════════════════════════════════════════════════════════════
   TELEGRAM SECTION
   ═══════════════════════════════════════════════════════════════ */

.telegram-section {
    padding: var(--space-brutal) 2rem;
    position: relative;
    z-index: 1;
}

.telegram-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.telegram-title {
    font-family: var(--font-display);
    font-size: var(--text-section);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.telegram-subtitle {
    color: var(--steel);
    font-size: var(--text-body);
    margin-bottom: 2rem;
    max-width: 400px;
}

.input-types {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.input-type {
    font-family: var(--font-mono);
    font-size: var(--text-small);
    padding: 0.5rem 1rem;
    border: 1px solid var(--lime);
    color: var(--lime);
}

.phone-3d {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.phone-wrapper {
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.phone-wrapper:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: var(--void);
    border: 3px solid var(--bone);
    border-radius: 30px;
    padding: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.phone-notch {
    width: 100px;
    height: 25px;
    background: var(--void);
    border: 2px solid var(--bone);
    border-radius: 0 0 15px 15px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.phone-screen {
    background: var(--concrete);
    height: 100%;
    border-radius: 20px;
    padding-top: 2rem;
    overflow: hidden;
}

.chat-header {
    font-family: var(--font-display);
    font-size: 1rem;
    text-align: center;
    padding: 1rem;
    border-bottom: 1px solid var(--steel);
}

.chat-messages {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chat-msg {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    line-height: 1.4;
    max-width: 85%;
}

.chat-msg.user {
    background: var(--lime);
    color: var(--void);
    align-self: flex-end;
    border-radius: 15px 15px 0 15px;
}

.chat-msg.bot {
    background: var(--void);
    border: 1px solid var(--steel);
    align-self: flex-start;
    border-radius: 15px 15px 15px 0;
}

@media (max-width: 900px) {
    .telegram-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .telegram-subtitle {
        margin: 0 auto 2rem;
    }

    .input-types {
        justify-content: center;
    }

    .phone-wrapper {
        transform: none;
    }
}

/* ═══════════════════════════════════════════════════════════════
   STACK SECTION
   ═══════════════════════════════════════════════════════════════ */

.stack-section {
    padding: var(--space-brutal) 2rem;
    background: var(--concrete);
    text-align: center;
    position: relative;
    z-index: 1;
}

.stack-label {
    font-family: var(--font-mono);
    font-size: var(--text-small);
    color: var(--steel);
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.stack-title {
    font-family: var(--font-display);
    font-size: var(--text-section);
    text-transform: uppercase;
    margin-bottom: 3rem;
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.stack-item {
    background: var(--void);
    padding: 1.5rem 1rem;
    border-left: 2px solid var(--lime);
}

.stack-name {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--steel);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.stack-value {
    font-family: var(--font-display);
    font-size: 1rem;
}

.stack-philosophy {
    margin-bottom: 2rem;
}

.philosophy-text {
    font-family: var(--font-display);
    font-size: var(--text-large);
    color: var(--lime);
}

.stack-badge {
    font-family: var(--font-mono);
    font-size: var(--text-small);
    color: var(--terminal);
    letter-spacing: 0.1em;
}

@media (max-width: 640px) {
    .stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ═══════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════ */

.cta-section {
    padding: var(--space-brutal) 2rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.cta-content {
    text-align: center;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 5rem);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 3rem;
}

.cta-accent {
    background: var(--gradient-rage);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.btn-primary,
.btn-secondary {
    font-family: var(--font-display);
    font-size: 1rem;
    text-decoration: none;
    padding: 1rem 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.1s ease;
}

.btn-primary {
    background: var(--gradient-rage);
    color: var(--bone);
    border: none;
    animation: btn-glow 2s ease-in-out infinite;
}

@keyframes btn-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 45, 45, 0.3); }
    50% { box-shadow: 0 0 25px rgba(255, 45, 45, 0.5), 0 0 50px rgba(255, 45, 45, 0.2); }
}

.btn-primary:hover {
    transform: translate(-4px, -4px);
    box-shadow: 4px 4px 0 var(--rage);
    animation: none;
}

.btn-secondary {
    background: transparent;
    color: var(--lime);
    border: 3px solid var(--lime);
}

.btn-secondary:hover {
    background: var(--lime);
    color: var(--void);
    transform: translate(-4px, -4px);
    box-shadow: 4px 4px 0 var(--lime);
}

.cta-note {
    font-family: var(--font-mono);
    font-size: var(--text-small);
    color: var(--steel);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */

.footer {
    padding: 2rem;
    border-top: 1px solid var(--concrete);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-family: var(--font-mono);
    font-size: var(--text-small);
    color: var(--steel);
}

.footer-link {
    color: var(--bone);
    text-decoration: none;
    border-bottom: 1px solid var(--bone);
}

.footer-link:hover {
    color: var(--lime);
    border-color: var(--lime);
}

/* ═══════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 640px) {
    .nav {
        padding: 1rem;
    }

    .hero-proof {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero,
    .brain-section,
    .time-section,
    .memory-section,
    .proactive-section,
    .reminder-section,
    .telegram-section,
    .stack-section,
    .cta-section,
    .video-section,
    .problem-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
