/**
 * TABLE OF CONTENTS:
 * 1. Root Variables
 * 2. Global Styles & Utilities
 * 3. Entrance Animations (Reveal)
 * 4. Floating Navigation Bar
 * 5. Hero Section & Background Effects
 * 6. The Struggle Section
 * 7. The Solution Section
 * 8. The Vision Section
 * 9. Features Section (Bento Grid)
 * 10. CTA Section
 * 11. Footer Styles
 * 12. Media Queries (Responsive)
 * 13. Toast Notification Styles
 */

:root {
  /* Brand and Accent Colors (Dev Tool / AI Style) */
  --bs-primary-border-subtle: rgba(0, 209, 255, 0.15); /* Subtle cyan border */
  --bs-accent-primary: #00FF88;     /* Neon green */
  --bs-accent-purple: #7000FF;      /* Electric purple */
  
  /* Text Colors (Eye fatigue reduction) */
  --bs-primary-text-title: #F8FAFC;  /* Soft white */
  --bs-primary-text: #94A3B8;       /* Slate grey */
  
  /* States & Actions */
  --bs-active: #00D1FF;             /* Electric cyan */
  
  /* Backgrounds & Layers (IDE depth) */
  --bs-background-primary: #0A0E17; /* Deep blue/black */
  --bs-primary-dark: #131B2B;       /* Darker tone */

  /* Fonts */
  --font-display: 'Space Grotesk', 'Fira Code', monospace;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

/* ==========================================================================
   2. GLOBAL STYLES & UTILITIES
   ========================================================================== */
* {
    font-family: var(--font-body);
    font-style: normal;
    box-sizing: border-box;
}

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

body {
    background-color: var(--bs-background-primary);
    color: var(--bs-primary-text);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

h1, h2, h3, .text-glass-title {
    font-family: var(--font-display);
    color: var(--bs-primary-text-title);
    letter-spacing: -0.5px;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8), 
        0 4px 10px rgba(0, 209, 255, 0.1);
}

p, .text-glass-description {
    color: var(--bs-primary-text);
    line-height: 1.7; 
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8); 
}

.bi, i, .btn, .nav-link {
    text-shadow: none !important; 
}

.text-footer-active {
    color: var(--bs-active);
}

.text-accent-neon-logo {
    color: var(--bs-accent-primary);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.text-accent-neon {
    color: var(--bs-accent-primary);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: block;
}

.text-accent-purple {
    color: var(--bs-accent-purple);
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   3. ENTRANCE ANIMATIONS (REVEAL)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease-out;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   4. FLOATING NAVIGATION BAR
   ========================================================================== */
.floating-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    z-index: 1000;
    background: rgba(10, 14, 23, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bs-primary-border-subtle);
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

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

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bs-primary-text-title);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-badge {
    background-color: var(--bs-accent-purple);
    color: white;
    font-size: 0.8rem;
    padding: 2px 6px;
    border-radius: 6px;
    text-shadow: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: var(--bs-primary-text);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links li a:hover {
    color: var(--bs-active);
    text-shadow: 0 0 8px rgba(0, 209, 255, 0.4);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--bs-primary-text-title);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.3s ease;
}

/* ==========================================================================
   5. HERO SECTION & BACKGROUND EFFECTS
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(0, 209, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 209, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(40px) translateZ(-200px); }
}

.hero-glow {
    position: absolute;
    top: 0;  /* ¡CLAVE! Define el origen en la esquina superior izquierda */
    left: 0; /* ¡CLAVE! */
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    transition: transform 0.1s ease-out; /* Ese 0.1s le da un retraso sutil muy elegante */
}


.hero-container {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    width: 90%;
    align-items: center;
}

.badge-tech {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--bs-accent-primary);
    border-radius: 20px;
    color: var(--bs-accent-primary);
    font-family: var(--font-display);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.pulse-dot {
    width: 8px; height: 8px;
    background-color: var(--bs-accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--bs-accent-primary);
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    from { opacity: 0.5; transform: scale(1); }
    to { opacity: 1; transform: scale(1.3); }
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 2rem;
}

.hero-actions { display: flex; gap: 1rem; }

.btn-primary {
    background: var(--bs-accent-primary);
    color: #000;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--bs-primary-text-title);
    padding: 12px 28px;
    border: 1px solid var(--bs-primary-border-subtle);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--bs-active);
}

.glass-terminal {
    background: rgba(19, 27, 43, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--bs-primary-border-subtle);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
    overflow: hidden;
}

.floating-anim {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.terminal-header {
    background: rgba(10, 14, 23, 0.8);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.terminal-buttons { display: flex; gap: 6px; }
.terminal-buttons span { width: 12px; height: 12px; border-radius: 50%; }
.close { background: #FF5F56; }
.minimize { background: #FFBD2E; }
.maximize { background: #27C93F; }

.terminal-title {
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--bs-primary-text);
}

.terminal-body {
    padding: 20px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: #A6ACCD;
}

.code-text { color: var(--bs-active); }
.cursor { animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.ai-status {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: var(--bs-primary-text);
    display: flex; align-items: center; gap: 8px;
}

/* ==========================================================================
   6. THE STRUGGLE SECTION
   ========================================================================== */
.struggle-section {
    background: linear-gradient(to bottom, var(--bs-background-primary), #0d1117);
    padding: 100px 0;
    position: relative;
}

.section-padding {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.glitch-title {
    font-size: 3rem;
    font-family: var(--font-display);
    color: var(--bs-primary-text-title);
    position: relative;
    margin-bottom: 3rem;
}

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

.glitch-title:hover::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(31px, 9999px, 94px, 0); }
    20% { clip: rect(62px, 9999px, 42px, 0); }
    100% { clip: rect(10px, 9999px, 80px, 0); }
}

.struggle-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.pain-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pain-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    font-size: 1.05rem;
}

.chaos-card {
    position: relative;
    background: #161b22;
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 12px;
    padding: 30px;
    height: 350px;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chaos-card:hover {
    transform: scale(1.05) rotate(2deg);
    border-color: #ff4d4d;
    box-shadow: 0 0 30px rgba(255, 77, 77, 0.2);
}

.file-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f85149;
    font-family: var(--font-display);
    margin-bottom: 25px;
}

.line {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    border-radius: 4px;
}

.error-line {
    background: rgba(248, 81, 73, 0.2);
    position: relative;
}

.error-line::after {
    content: attr(data-error);
    position: absolute;
    top: -20px;
    font-size: 0.7rem;
    color: #f85149;
    font-family: var(--font-display);
}

.error-tag {
    position: absolute;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 4px;
    font-family: var(--font-display);
}

.tag-1 { top: 20%; right: 10%; background: #f85149; color: white; transform: rotate(15deg); }
.tag-2 { bottom: 20%; left: 10%; background: #d29922; color: white; transform: rotate(-10deg); }

/* ==========================================================================
   7. THE SOLUTION SECTION
   ========================================================================== */
.solution-section {
    background: var(--bs-background-primary);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.solution-section::before {
    content: '';
    position: absolute;
    top: 50%; left: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ai-engine-container {
    position: relative;
    height: 450px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--bs-primary-border-subtle);
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.engine-core {
    position: relative;
    width: 120px; height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.core-icon {
    font-size: 3rem;
    color: var(--bs-accent-primary);
    z-index: 5;
    filter: drop-shadow(0 0 15px var(--bs-accent-primary));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card {
    cursor: pointer;
    user-select: none;
}

.feature-card:active {
    transform: scale(0.98);
}

.active-card[data-mode="processing"] ~ .solution-visual .scan-line { background: var(--bs-accent-primary); }

.core-ring {
    position: absolute;
    border: 2px solid var(--bs-accent-purple);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

.ring-1 { width: 160px; height: 160px; border-style: dashed; opacity: 0.5; }
.ring-2 { width: 200px; height: 200px; border-left-color: transparent; border-right-color: var(--bs-active); animation-duration: 15s; }

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

.scan-line {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--bs-active), transparent);
    box-shadow: 0 0 15px var(--bs-active);
    z-index: 10;
    animation: scan 4s linear infinite;
}

@keyframes scan { 0% { top: 0%; } 100% { top: 100%; } }

.data-node {
    position: absolute;
    padding: 12px 20px;
    background: rgba(10, 14, 23, 0.8);
    border: 1px solid var(--bs-primary-border-subtle);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: var(--bs-primary-text-title);
}

.node-left { left: 10%; top: 20%; animation: float 4s ease-in-out infinite; }
.node-right { right: 10%; bottom: 20%; animation: float 4s ease-in-out infinite reverse; }

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 20;
    touch-action: manipulation; 
}

.ai-engine-container, 
.scan-line, 
.core-ring, 
.data-node {
    pointer-events: none;
}

.solution-info {
    position: relative;
    z-index: 15;
}

.feature-card:hover {
    background: rgba(112, 0, 255, 0.05);
    border-color: var(--bs-accent-purple);
    transform: translateX(10px);
}

.active-card {
    border-color: var(--bs-accent-primary);
    background: rgba(0, 255, 136, 0.02);
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--bs-active);
}

/* ==========================================================================
   8. THE VISION SECTION
   ========================================================================== */
.vision-section {
    background: radial-gradient(circle at center, #0f172a 0%, var(--bs-background-primary) 100%);
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.vision-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.v-card {
    background: rgba(112, 0, 255, 0.03);
    border-left: 3px solid var(--bs-accent-purple);
    padding: 25px;
    border-radius: 0 16px 16px 0;
    transition: all 0.4s ease;
    cursor: crosshair;
}

.v-card:hover {
    background: rgba(112, 0, 255, 0.08);
    transform: scale(1.02);
    border-left-color: var(--bs-active);
}

.v-year {
    font-family: var(--font-display);
    color: var(--bs-active);
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.network-container {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.central-node {
    position: relative;
    width: 80px; height: 80px;
    background: var(--bs-accent-purple);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: white;
    z-index: 10;
    box-shadow: 0 0 40px var(--bs-accent-purple);
}

.node-pulse {
    position: absolute;
    width: 100%; height: 100%;
    background: var(--bs-accent-purple);
    border-radius: 50%;
    opacity: 0.6;
    animation: pulse-ring 3s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2.5); opacity: 0; }
}

.orbit {
    position: absolute;
    width: 350px; height: 350px;
    border: 1px solid rgba(0, 209, 255, 0.1);
    border-radius: 50%;
    animation: rotate-ui 20s linear infinite;
}

.satellite {
    position: absolute;
    width: 40px; height: 40px;
    background: #1e293b;
    border: 1px solid var(--bs-primary-border-subtle);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--bs-active);
}

.s1 { top: -20px; left: 50%; transform: translateX(-50%); }
.s2 { bottom: -20px; left: 50%; transform: translateX(-50%); }
.s3 { left: -20px; top: 50%; transform: translateY(-50%); }
.s4 { right: -20px; top: 50%; transform: translateY(-50%); }

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

#network-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ==========================================================================
   9. FEATURES SECTION (BENTO GRID)
   ========================================================================== */
.features-section {
    background: var(--bs-background-primary);
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
    margin-top: 4rem;
}

.f-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--bs-primary-border-subtle);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.f-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--bs-active);
    box-shadow: 0 10px 40px rgba(0, 209, 255, 0.1);
    transform: translateY(-5px);
}

.f-main { grid-row: span 2; background: linear-gradient(145deg, rgba(112, 0, 255, 0.1), transparent); }
.f-wide { grid-column: span 2; }

.f-icon-box {
    width: 50px; height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--bs-primary-text-title);
    margin-bottom: 2rem;
}

.f-icon-box.purple { color: var(--bs-accent-purple); }
.f-icon-box.neon { color: var(--bs-accent-primary); }
.f-icon-box.cyan { color: var(--bs-active); }

.f-content h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--bs-primary-text-title);
}

.f-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--bs-primary-text);
}

.f-tag {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 4px 10px;
    background: var(--bs-accent-purple);
    border-radius: 5px;
    text-transform: uppercase;
}

.f-main .f-icon-box {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
    background: linear-gradient(135deg, rgba(112, 0, 255, 0.2), rgba(0, 255, 136, 0.1));
    border: 1px solid var(--bs-accent-purple);
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.3);
    margin-bottom: 3rem;
    animation: icon-float 3s ease-in-out infinite;
}

@keyframes icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(112, 0, 255, 0.5); }
}

.f-main .f-content h3 {
    font-size: 1.8rem;
    background: linear-gradient(90deg, #fff, var(--bs-accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.f-card .f-content h3{
      font-size: 1.8rem;
    background: linear-gradient(90deg, #fff, var(--bs-accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   10. CTA SECTION
   ========================================================================== */
.cta-section {
    position: relative;
    z-index: 10;
    margin-bottom: 5rem;
}

.cta-wrapper {
    position: relative;
    background: linear-gradient(135deg, rgba(10, 14, 23, 0.8), rgba(20, 30, 48, 0.8));
    border: 1px solid rgba(0, 209, 255, 0.2);
    border-radius: 40px;
    padding: 80px 40px;
    text-align: center;
    overflow: hidden;
    backdrop-filter: blur(15px);
}

.cta-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--bs-active);
    filter: blur(120px);
    opacity: 0.15;
    z-index: -1;
    animation: pulse-glow 6s infinite ease-in-out;
}

@keyframes pulse-glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.15; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.25; }
}

.cta-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 255, 136, 0.1);
    color: var(--bs-active);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.cta-description {
    font-size: 1.1rem;
    color: var(--bs-primary-text);
    max-width: 600px;
    margin: 0 auto 40px auto;
    opacity: 0.8;
}

.cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-cta-primary {
    padding: 18px 36px;
    background: var(--bs-active);
    border: none;
    border-radius: 16px;
    color: #000;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 20px rgba(0, 209, 255, 0.4);
}

.btn-cta-primary:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 209, 255, 0.6);
}

.btn-cta-secondary {
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.btn-cta-secondary:hover {
    color: var(--bs-active);
    gap: 15px;
}

.cta-footer-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    flex-wrap: wrap;
}

.cta-footer-info i {
    color: var(--bs-active);
    margin-right: 5px;
}

/* ==========================================================================
   11. FOOTER STYLES
   ========================================================================== */
.modern-footer {
    position: relative;
    background: #05070a;
    border-top: 1px solid rgba(0, 209, 255, 0.1);
    padding-top: 80px;
    padding-bottom: 20px;
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bs-active) 50%, transparent);
    box-shadow: 0 0 15px 1px var(--bs-active);
    opacity: 0.4;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.brand-desc {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    max-width: 350px;
}

.footer-title {
    font-family: var(--font-display);
    color: var(--bs-primary-text-title);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--bs-primary-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--bs-active);
    transform: translateX(5px);
    text-shadow: 0 0 8px rgba(0, 209, 255, 0.4);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--bs-primary-border-subtle);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--bs-primary-text);
    font-size: 1.2rem;
    transition: all 0.4s ease;
}

.social-icon:hover {
    background: var(--bs-accent-purple);
    color: white;
    border-color: var(--bs-accent-purple);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(112, 0, 255, 0.3);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.developer-credits {
    text-align: right;
}

.developer-credits p {
    margin: 0 0 5px 0;
}

.academic-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    color: var(--bs-primary-text);
    font-family: var(--font-display);
    font-size: 0.75rem;
}

.back-to-top {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid var(--bs-active);
    color: var(--bs-active);
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--bs-active);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 209, 255, 0.5);
}

/* ==========================================================================
   12. MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */

@media (max-width: 992px) {
    .nav-toggle { display: block; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-title { font-size: 3rem; }
    .badge-tech { margin: 0 auto 1.5rem auto; }
    .hero-section { overflow: hidden; width: 100vw; display: flex; justify-content: center; padding-left: 0; padding-right: 0; margin-top: 2rem; }
    .hero-container { grid-template-columns: 1fr; text-align: center; width: 100%; padding: 0 20px; margin: 0 auto; gap: 2rem; }
    .parallax { transform: none !important; }
    .hero-actions { justify-content: center; flex-direction: column; align-items: center; }
    .struggle-grid { grid-template-columns: 1fr; gap: 3rem; }
    .solution-grid { grid-template-columns: 1fr; }
    .vision-section { padding: 60px 0; }
    .vision-grid { grid-template-columns: 1fr; gap: 2rem; }
    .network-container { height: 300px; order: -1; margin-bottom: 1rem; }
    .orbit { width: 250px; height: 250px; }
    .central-node { width: 60px; height: 60px; font-size: 1.5rem; }
    .v-card { padding: 20px; border-radius: 16px; border-left: 4px solid var(--bs-accent-purple); background: rgba(112, 0, 255, 0.05); }
    .vision-cards { gap: 1rem; }
    .glitch-title { font-size: 2rem; }
    .features-grid { grid-template-columns: 1fr; }
    .f-main, .f-wide { grid-column: span 1; grid-row: span 1; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
    .footer-brand { grid-column: span 2; text-align: center; margin-bottom: 1rem; }
    .brand-desc { margin-left: auto; margin-right: auto; }
    .footer-social { grid-column: span 2; text-align: center; }
    .social-icons { justify-content: center; }
}

@media (max-width: 768px) {
    .floating-nav { width: 90%; border-radius: 25px; padding: 0.8rem 1.2rem; }
    .nav-links { position: absolute; top: 80px; left: 0; width: 100%; background: rgba(10, 14, 23, 0.95); backdrop-filter: blur(20px); border: 1px solid var(--bs-primary-border-subtle); border-radius: 20px; flex-direction: column; align-items: center; gap: 1.5rem; padding: 2rem 0; opacity: 0; visibility: hidden; transform: translateY(-20px); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
    .nav-links.nav-active { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-links li a { font-size: 1.1rem; width: 100%; text-align: center; }
    .cta-wrapper { padding: 60px 20px; margin: 0 10px; border-radius: 30px; }
    .cta-actions { flex-direction: column; width: 100%; }
    .btn-cta-primary { width: 100%; }
    .modern-footer { padding-top: 50px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; text-align: center; }
    .footer-brand { grid-column: span 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
    .nav-logo { display: inline-block; margin: 0 auto; }
    .brand-desc { max-width: 100%; margin-top: 1rem; }
    .footer-links { grid-column: span 1; }
    .footer-links ul { align-items: center; }
    .footer-social { grid-column: span 2; text-align: center; }
    .social-icons { justify-content: center; margin-top: 0.5rem; }
    .footer-bottom { flex-direction: column; gap: 1.5rem; }
    .developer-credits { text-align: center; order: -1; }
}

@media (max-width: 667px){
    .back-to-top{ bottom: 20px; right: 20px; width: 35px; height: 35px; }
}

@media (max-width: 400px) {
    .footer-grid { gap: 1.5rem; }
    .footer-title { font-size: 1rem; }
    .footer-links a { font-size: 0.8rem; }
}

/* ==========================================================================
   13. TOAST NOTIFICATION STYLES
   ========================================================================== */
.custom-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(19, 27, 43, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--bs-accent-primary);
    border-radius: 12px;
    padding: 16px;
    color: white;
    z-index: 9999;
    display: none;
    animation: slideIn 0.4s ease-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 350px;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.toast-icon {
    font-size: 1.5rem;
    color: var(--bs-accent-primary);
}

.toast-text h5 {
    margin: 0;
    font-size: 1rem;
    color: var(--bs-accent-primary);
    font-family: var(--font-display);
}

.toast-text p {
    margin: 5px 0 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

.btn-close-toast {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 10px;
}

.toast-progress {
    height: 3px;
    background: var(--bs-accent-primary);
    width: 100%;
    margin-top: 10px;
    border-radius: 2px;
}
