/*
 * NovaXAI Global Stylesheet
 * Shared styles across all pages
 * Version: 1.0.0
 */

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

:root {
    /* Primary Colors */
    --primary-cyan: #00E5FF;
    --cyan-glow: rgba(0, 229, 255, 0.5);
    --purple-accent: #9F7AEA;
    --pink-accent: #FF6B9D;

    /* Status Colors */
    --success-green: #00FF88;
    --warning-yellow: #FFD700;

    /* Backgrounds */
    --dark-bg: #030314;
    --darker-bg: #000000;
    --card-bg: rgba(6, 8, 28, 0.7);
    --card-border: rgba(0, 229, 255, 0.15);

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #8B92A8;
    --text-dim: #64748B;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--darker-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
}

/* ========================================
   BACKGROUND EFFECTS
   ======================================== */

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bg-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 229, 255, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(159, 122, 234, 0.02) 0%, transparent 40%),
        linear-gradient(180deg, #030314 0%, #000000 100%);
}

.bg-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: grid-move 20s linear infinite;
    z-index: 1;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.bg-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-cyan);
    border-radius: 50%;
    opacity: 0;
    animation: float-particle 15s infinite linear;
}

@keyframes float-particle {
    0%, 100% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10%, 90% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
        transform: translateY(-20vh) scale(1);
    }
}

/* Gradient Orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.gradient-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-cyan) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation: float-orb-1 20s ease-in-out infinite;
}

.gradient-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--purple-accent) 0%, transparent 70%);
    top: 20%;
    right: -5%;
    animation: float-orb-2 18s ease-in-out infinite;
}

.gradient-orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--pink-accent) 0%, transparent 70%);
    bottom: -10%;
    left: 30%;
    animation: float-orb-3 22s ease-in-out infinite;
}

@keyframes float-orb-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

@keyframes float-orb-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, 30px) scale(0.95); }
    66% { transform: translate(25px, -25px) scale(1.05); }
}

@keyframes float-orb-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, 40px) scale(1.08); }
    66% { transform: translate(-30px, -20px) scale(0.92); }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 229, 255, 0.2);
}

/* Focus States */
*:focus-visible {
    outline: 2px solid var(--primary-cyan);
    outline-offset: 4px;
    border-radius: 4px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary-cyan);
    outline-offset: 2px;
}

/* Micro-animations */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 229, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 229, 255, 0.6); }
}

@keyframes slide-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-slide-up {
    animation: slide-in-up 0.6s ease-out forwards;
}

.animate-slide-left {
    animation: slide-in-left 0.6s ease-out forwards;
}

.animate-slide-right {
    animation: slide-in-right 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fade-in 0.8s ease-out forwards;
}

/* Stagger animations for lists */
.stagger-animation > * {
    opacity: 0;
    animation: slide-in-up 0.6s ease-out forwards;
}

.stagger-animation > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-animation > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-animation > *:nth-child(6) { animation-delay: 0.6s; }
.stagger-animation > *:nth-child(7) { animation-delay: 0.7s; }
.stagger-animation > *:nth-child(8) { animation-delay: 0.8s; }

/* ========================================
   NAVIGATION
   ======================================== */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(3, 3, 20, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 229, 255, 0.08);
    z-index: 1000;
    transition: all 0.3s;
}

nav.scrolled {
    padding: 12px 0;
    background: rgba(3, 3, 20, 0.95);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-menu a.active {
    color: var(--primary-cyan);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-cyan);
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-cyan);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 14px;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.btn-secondary:hover {
    color: var(--primary-cyan);
    border-color: var(--primary-cyan);
    background: rgba(0, 229, 255, 0.05);
}

.btn-primary {
    background: var(--primary-cyan);
    color: var(--darker-bg);
    font-weight: 700;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.5);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

/* Button Loading States */
.btn.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: btn-spinner 0.6s linear infinite;
}

.btn-primary.loading::after {
    border-top-color: var(--darker-bg);
}

.btn-secondary.loading::after {
    border-top-color: var(--primary-cyan);
}

@keyframes btn-spinner {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(
        90deg,
        rgba(100, 116, 139, 0.1) 25%,
        rgba(100, 116, 139, 0.2) 50%,
        rgba(100, 116, 139, 0.1) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 16px;
    margin: 8px 0;
}

.skeleton-heading {
    height: 32px;
    margin: 16px 0;
    width: 60%;
}

.skeleton-card {
    height: 200px;
    margin: 16px 0;
}

/* ========================================
   MOBILE MENU
   ======================================== */

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(3, 3, 20, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    padding: 20px;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
}

.mobile-menu-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--purple-accent), var(--pink-accent));
    border-radius: 20px;
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   FOOTER
   ======================================== */

footer {
    position: relative;
    z-index: 2;
    padding: 80px 40px 40px;
    background: rgba(3, 3, 20, 0.95);
    border-top: 1px solid var(--card-border);
    min-height: 400px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.8;
}

.footer-column h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    padding: 6px 0;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--primary-cyan);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--card-border);
    color: var(--text-dim);
    font-size: 13px;
}

.footer-social {
    display: flex;
    gap: 24px;
    align-items: center;
}

.footer-social a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-social a:hover {
    color: var(--primary-cyan);
    transform: translateY(-2px);
}

.footer-email {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.footer-email:hover {
    color: var(--primary-cyan);
}

/* ========================================
   COMMON ANIMATIONS
   ======================================== */

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(0, 229, 255, 0); }
}

@keyframes slide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   SPACING UTILITIES
   ======================================== */

/* Margin utilities */
.m-0 { margin: 0; }
.m-1 { margin: 8px; }
.m-2 { margin: 16px; }
.m-3 { margin: 24px; }
.m-4 { margin: 32px; }
.m-5 { margin: 48px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.mx-auto { margin-left: auto; margin-right: auto; }

/* Padding utilities */
.p-0 { padding: 0; }
.p-1 { padding: 8px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }
.p-4 { padding: 32px; }
.p-5 { padding: 48px; }

.px-1 { padding-left: 8px; padding-right: 8px; }
.px-2 { padding-left: 16px; padding-right: 16px; }
.px-3 { padding-left: 24px; padding-right: 24px; }
.px-4 { padding-left: 32px; padding-right: 32px; }

.py-1 { padding-top: 8px; padding-bottom: 8px; }
.py-2 { padding-top: 16px; padding-bottom: 16px; }
.py-3 { padding-top: 24px; padding-bottom: 24px; }
.py-4 { padding-top: 32px; padding-bottom: 32px; }

/* ========================================
   TYPOGRAPHY UTILITIES
   ======================================== */

.text-xs { font-size: 12px; }
.text-sm { font-size: 14px; }
.text-base { font-size: 16px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 20px; }
.text-2xl { font-size: 24px; }
.text-3xl { font-size: 30px; }
.text-4xl { font-size: 36px; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-dim { color: var(--text-dim); }
.text-cyan { color: var(--primary-cyan); }
.text-purple { color: var(--purple-accent); }
.text-pink { color: var(--pink-accent); }

.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }

.tracking-tight { letter-spacing: -0.05em; }
.tracking-normal { letter-spacing: 0; }
.tracking-wide { letter-spacing: 0.05em; }
.tracking-wider { letter-spacing: 0.1em; }

/* ========================================
   BUTTON VARIANTS
   ======================================== */

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: none;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-cyan);
}

.btn-outline {
    background: transparent;
    color: var(--primary-cyan);
    border: 2px solid var(--primary-cyan);
}

.btn-outline:hover {
    background: var(--primary-cyan);
    color: var(--darker-bg);
}

.btn-gradient {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--purple-accent) 100%);
    color: var(--text-primary);
    border: none;
    font-weight: 700;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 229, 255, 0.4);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-xl {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* ========================================
   LAYOUT UTILITIES
   ======================================== */

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-sm {
    max-width: 900px;
}

.container-lg {
    max-width: 1600px;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }

.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }
.gap-5 { gap: 48px; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

.w-full { width: 100%; }
.h-full { height: 100%; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }
.z-100 { z-index: 100; }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

.rounded { border-radius: 6px; }
.rounded-lg { border-radius: 12px; }
.rounded-xl { border-radius: 16px; }
.rounded-full { border-radius: 9999px; }

/* ========================================
   TRANSITION UTILITIES
   ======================================== */

.transition { transition: all 0.3s ease; }
.transition-fast { transition: all 0.15s ease; }
.transition-slow { transition: all 0.5s ease; }

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

.hover-lift:hover {
    transform: translateY(-4px);
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
}

.cursor-pointer { cursor: pointer; }

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet breakpoint */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Hide on tablet */
    .hidden-tablet {
        display: none !important;
    }

    /* Responsive grid adjustments */
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    /* Container padding reduction */
    .container {
        padding: 0 24px;
    }
}

/* Mobile breakpoint */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    /* Section Headers */
    .section-title {
        font-size: 36px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-social {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Hide on mobile */
    .hidden-mobile {
        display: none !important;
    }

    /* Responsive grids - all become single column */
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }

    /* Flex adjustments */
    .flex-col-mobile {
        flex-direction: column;
    }

    /* Container padding for mobile */
    .container {
        padding: 0 20px;
    }

    /* Typography adjustments */
    .text-4xl {
        font-size: 28px;
    }

    .text-3xl {
        font-size: 24px;
    }

    .text-2xl {
        font-size: 20px;
    }

    /* Button adjustments */
    .btn-xl {
        padding: 14px 28px;
        font-size: 16px;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 14px;
    }

    /* Spacing adjustments */
    .gap-5 { gap: 32px; }
    .gap-4 { gap: 24px; }

    .p-5 { padding: 32px; }
    .p-4 { padding: 24px; }
}

/* ========================================
   ACCESSIBILITY ENHANCEMENTS
   ======================================== */

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip to main content */
.skip-to-main {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-cyan);
    color: var(--darker-bg);
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-to-main:focus {
    top: 0;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ========================================
   TOAST NOTIFICATIONS
   ======================================== */

.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    background: rgba(6, 8, 28, 0.98);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 16px 20px;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    pointer-events: all;
    animation: toast-slide-in 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.toast-exit {
    animation: toast-slide-out 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.toast-message {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.toast-close {
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    font-size: 18px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.toast-close:hover {
    opacity: 1;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: currentColor;
    border-radius: 0 0 12px 12px;
    animation: toast-progress 5s linear forwards;
}

/* Toast variants */
.toast.toast-success {
    border-color: rgba(0, 255, 136, 0.3);
}

.toast.toast-success .toast-icon {
    background: rgba(0, 255, 136, 0.2);
    color: var(--success-green);
}

.toast.toast-success .toast-progress {
    background: var(--success-green);
}

.toast.toast-error {
    border-color: rgba(255, 68, 68, 0.3);
}

.toast.toast-error .toast-icon {
    background: rgba(255, 68, 68, 0.2);
    color: #FF4444;
}

.toast.toast-error .toast-progress {
    background: #FF4444;
}

.toast.toast-warning {
    border-color: rgba(255, 215, 0, 0.3);
}

.toast.toast-warning .toast-icon {
    background: rgba(255, 215, 0, 0.2);
    color: var(--warning-yellow);
}

.toast.toast-warning .toast-progress {
    background: var(--warning-yellow);
}

.toast.toast-info {
    border-color: rgba(0, 229, 255, 0.3);
}

.toast.toast-info .toast-icon {
    background: rgba(0, 229, 255, 0.2);
    color: var(--primary-cyan);
}

.toast.toast-info .toast-progress {
    background: var(--primary-cyan);
}

@keyframes toast-slide-in {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toast-slide-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

@keyframes toast-progress {
    from { width: 100%; }
    to { width: 0%; }
}

/* ========================================
   COUNT-UP ANIMATIONS
   ======================================== */

.count-up {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

.count-up.counting {
    animation: number-pulse 0.6s ease-out;
}

@keyframes number-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ========================================
   SCROLL-TRIGGERED ANIMATIONS
   ======================================== */

.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate-left.in-view {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate-right.in-view {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate-scale.in-view {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delay for child elements */
.scroll-stagger > *:nth-child(1) { transition-delay: 0.1s; }
.scroll-stagger > *:nth-child(2) { transition-delay: 0.2s; }
.scroll-stagger > *:nth-child(3) { transition-delay: 0.3s; }
.scroll-stagger > *:nth-child(4) { transition-delay: 0.4s; }
.scroll-stagger > *:nth-child(5) { transition-delay: 0.5s; }
.scroll-stagger > *:nth-child(6) { transition-delay: 0.6s; }

/* ========================================
   FAQ ACCORDION
   ======================================== */

.faq-item {
    border: 1px solid var(--card-border);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    background: rgba(6, 8, 28, 0.5);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 229, 255, 0.3);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-cyan);
}

.faq-icon {
    width: 24px;
    height: 24px;
    border: 1px solid var(--card-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-icon::before {
    content: '+';
    font-size: 20px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    background: var(--primary-cyan);
    border-color: var(--primary-cyan);
    transform: rotate(90deg);
}

.faq-item.active .faq-icon::before {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust based on content */
}

.faq-answer-content {
    padding: 0 24px 20px 24px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   SYNTAX HIGHLIGHTING (NovaXAI Theme)
   ======================================== */

code[class*="language-"],
pre[class*="language-"] {
    background: rgba(0, 0, 0, 0.6);
    color: #f8f8f2;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    overflow: auto;
}

pre[class*="language-"] {
    padding: 20px;
    margin: 16px 0;
    position: relative;
}

code[class*="language-"] {
    padding: 2px 6px;
}

/* Syntax tokens */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
    color: var(--text-dim);
    font-style: italic;
}

.token.punctuation {
    color: #f8f8f2;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
    color: var(--pink-accent);
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
    color: var(--success-green);
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
    color: var(--primary-cyan);
}

.token.atrule,
.token.attr-value,
.token.keyword {
    color: var(--primary-cyan);
    font-weight: 600;
}

.token.function,
.token.class-name {
    color: var(--purple-accent);
}

.token.regex,
.token.important,
.token.variable {
    color: var(--warning-yellow);
}

/* Copy button for code blocks */
.code-copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.code-copy-btn:hover {
    background: var(--primary-cyan);
    color: var(--darker-bg);
}

/* Inline code */
:not(pre) > code {
    background: rgba(0, 229, 255, 0.1);
    color: var(--primary-cyan);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

/* Line numbers */
pre.line-numbers {
    position: relative;
    padding-left: 3.8em;
    counter-reset: linenumber;
}

pre.line-numbers > code {
    position: relative;
    white-space: inherit;
}

.line-numbers .line-numbers-rows {
    position: absolute;
    pointer-events: none;
    top: 0;
    font-size: 100%;
    left: -3.8em;
    width: 3em;
    letter-spacing: -1px;
    border-right: 1px solid var(--card-border);
    user-select: none;
}

.line-numbers-rows > span {
    display: block;
    counter-increment: linenumber;
}

.line-numbers-rows > span:before {
    content: counter(linenumber);
    color: var(--text-dim);
    display: block;
    padding-right: 0.8em;
    text-align: right;
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .no-print,
    nav,
    .mobile-menu,
    footer,
    .gradient-orb,
    .bg-particles,
    .bg-grid {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    a {
        text-decoration: underline;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 40px 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 20px;
    color: var(--primary-cyan);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 32px;
    animation: pulse 2s infinite;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 80px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(180deg, var(--text-primary) 0%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-cta .btn {
    padding: 16px 40px;
    font-size: 15px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 80px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-cyan);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-dim);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ========================================
   TRUST SECTION
   ======================================== */

.trust-section {
    padding: 60px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.3);
}

.trust-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.trust-title {
    color: var(--text-dim);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 32px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.trust-logo {
    font-size: 16px;
    color: var(--text-secondary);
    opacity: 0.5;
    transition: all 0.3s;
    font-weight: 600;
}

.trust-logo:hover {
    opacity: 1;
    color: var(--primary-cyan);
}

/* ========================================
   NOVA SECTION
   ======================================== */

.nova-section {
    padding: 120px 40px;
    position: relative;
    overflow: hidden;
}

.nova-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
    height: 800px;
    background: radial-gradient(ellipse, rgba(159, 122, 234, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.nova-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.nova-card {
    background: linear-gradient(135deg, rgba(159, 122, 234, 0.1) 0%, rgba(6, 8, 28, 0.9) 100%);
    border: 1px solid rgba(159, 122, 234, 0.3);
    border-radius: 20px;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.nova-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--purple-accent), transparent);
    animation: slide 3s linear infinite;
}

/* ========================================
   AGENTS SECTION
   ======================================== */

.agents-section {
    padding: 120px 40px;
    position: relative;
}

.agents-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.agent-card {
    background: linear-gradient(135deg, rgba(6, 8, 28, 0.95) 0%, rgba(3, 3, 20, 0.95) 100%);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.agent-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, transparent, var(--primary-cyan), transparent);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}

.agent-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 229, 255, 0.4);
}

.agent-card:hover::before {
    opacity: 0.3;
}

.agent-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
}

.agent-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: inline-block;
    filter: drop-shadow(0 0 15px var(--cyan-glow));
}

.agent-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 8px;
}

.agent-tagline {
    color: var(--text-secondary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.agent-badge {
    padding: 6px 14px;
    background: transparent;
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.agent-description {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.agent-features {
    list-style: none;
    margin-bottom: 28px;
}

.agent-features li {
    padding: 10px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    font-size: 15px;
}

.agent-features li::before {
    content: '▸';
    color: var(--primary-cyan);
    margin-right: 12px;
    font-size: 16px;
}

.agent-cta {
    display: flex;
    gap: 12px;
}

.agent-cta .btn {
    flex: 1;
    text-align: center;
    padding: 12px 20px;
}

/* ========================================
   PLATFORM SECTION
   ======================================== */

.platform-section {
    padding: 120px 40px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 229, 255, 0.02) 50%, transparent 100%);
}

.platform-content {
    max-width: 1400px;
    margin: 0 auto;
}

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

.platform-card {
    background: rgba(6, 8, 28, 0.9);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.platform-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 229, 255, 0.3);
    background: rgba(6, 8, 28, 1);
}

.platform-icon {
    font-size: 56px;
    margin-bottom: 24px;
    display: inline-block;
    filter: drop-shadow(0 0 20px var(--cyan-glow));
}

.platform-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    margin-bottom: 16px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.platform-card ul {
    list-style: none;
    color: var(--text-secondary);
    font-size: 15px;
}

.platform-card li {
    padding: 8px 0;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    padding: 120px 40px;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(0, 229, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.cta-content p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ========================================
   RESPONSIVE - HERO & SECTIONS
   ======================================== */

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

@media (max-width: 768px) {
    .hero h1 {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-cta {
        flex-direction: column;
    }

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

    .section-title {
        font-size: 36px;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

/* ========================================
   NOVA MARKETPLACE - SPECIFIC STYLES
   ======================================== */

.nova-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.nova-icon {
    font-size: 64px;
}

.nova-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 8px;
}

.nova-tagline {
    color: var(--text-secondary);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nova-description {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.nova-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.nova-feature {
    text-align: center;
    padding: 24px;
    background: rgba(0, 229, 255, 0.05);
    border-radius: 12px;
}

.nova-feature-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.nova-feature-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-cyan);
    margin-bottom: 4px;
}

.nova-feature-label {
    color: var(--text-dim);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nova-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ========================================
   AGENTS GRID - SPECIFIC STYLES
   ======================================== */

.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 32px;
}

/* Responsive NOVA features */
@media (max-width: 1024px) {
    .nova-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .agents-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nova-features {
        grid-template-columns: 1fr;
    }
    
    .nova-header {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   AUTH FORMS (SIGN IN / SIGN UP)
   ======================================== */

.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.auth-card {
    background: linear-gradient(135deg, rgba(6, 8, 28, 0.95) 0%, rgba(3, 3, 20, 0.95) 100%);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
    animation: slide 3s linear infinite;
}

.auth-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.auth-error {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #ff4444;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-cyan);
    background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-hint {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.form-submit {
    width: 100%;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, #0088cc 100%);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-footer {
    margin-top: 1.5rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.auth-footer a {
    color: var(--primary-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.auth-footer a:hover {
    color: #ffffff;
}

/* ========================================
   MARKETPLACE PAGE
   ======================================== */

.marketplace-hero {
    position: relative;
    padding: 140px 40px 60px;
    text-align: center;
    z-index: 2;
}

.marketplace-hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(180deg, var(--text-primary) 0%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
}

.marketplace-hero p {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
}

.stats-bar {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.filters-section {
    position: relative;
    z-index: 2;
    padding: 40px 0;
    background: rgba(3, 3, 20, 0.5);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 60px;
}

.filters-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.search-box {
    margin-bottom: 24px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 16px 20px 16px 52px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-cyan);
    background: rgba(0, 0, 0, 0.7);
}

.search-input::placeholder {
    color: var(--text-dim);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--text-dim);
}

.filter-row {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-chips {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1;
}

.filter-chip {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-chip.active {
    background: var(--primary-cyan);
    color: var(--darker-bg);
    border-color: var(--primary-cyan);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.filter-chip:hover {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

.sort-dropdown {
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s;
}

.sort-dropdown:focus {
    outline: none;
    border-color: var(--primary-cyan);
}

.section {
    position: relative;
    z-index: 2;
    padding: 80px 40px;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.marketplace-agent-card {
    background: linear-gradient(135deg, rgba(6, 8, 28, 0.95) 0%, rgba(3, 3, 20, 0.95) 100%);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.marketplace-agent-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 229, 255, 0.15);
}

.agent-category {
    color: var(--primary-cyan);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.agent-author {
    color: var(--text-dim);
    font-size: 12px;
    margin-bottom: 16px;
}

.agent-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.agent-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.agent-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    font-size: 13px;
}

.agent-stat-icon {
    font-size: 16px;
}

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

.agent-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-cyan);
}

.agent-price-unit {
    font-size: 12px;
    color: var(--text-dim);
    font-weight: 500;
}

@media (max-width: 768px) {
    .marketplace-hero h1 {
        font-size: 36px;
    }

    .stats-bar {
        gap: 30px;
    }

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

/* ========================================
   PRICING PAGE
   ======================================== */

/* Page-specific styles for Pricing */
.pricing-hero {
    position: relative;
    padding: 140px 40px 80px;
    text-align: center;
    z-index: 2;
}

.pricing-hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(180deg, var(--text-primary) 0%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.pricing-hero p {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
}

.billing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.toggle-option {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s;
}

.toggle-option.active {
    color: var(--primary-cyan);
}

.toggle-switch {
    width: 60px;
    height: 30px;
    background: rgba(100, 116, 139, 0.3);
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
}

.toggle-switch.active {
    background: var(--primary-cyan);
}

.toggle-slider {
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: transform 0.3s;
}

.toggle-switch.active .toggle-slider {
    transform: translateX(30px);
}

.save-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--success-green);
    color: var(--darker-bg);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 12px;
}

.pricing-section {
    position: relative;
    z-index: 2;
    padding: 60px 40px 80px;
}

.pricing-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.pricing-card {
    background: linear-gradient(135deg, rgba(6, 8, 28, 0.95) 0%, rgba(3, 3, 20, 0.95) 100%);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: var(--primary-cyan);
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 229, 255, 0.2);
}

.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-cyan);
    color: var(--darker-bg);
    padding: 8px 24px;
    border-radius: 0 0 8px 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 229, 255, 0.15);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-header {
    text-align: center;
    padding-top: 20px;
    margin-bottom: 32px;
}

.plan-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.plan-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 56px;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.plan-period {
    color: var(--text-dim);
    font-size: 16px;
}

.plan-description {
    color: var(--text-secondary);
    font-size: 15px;
    text-align: center;
    margin-bottom: 32px;
    line-height: 1.6;
}

.plan-cta {
    margin-bottom: 32px;
}

.plan-cta .btn {
    width: 100%;
    padding: 16px;
    font-size: 14px;
}

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

.features-list li {
    padding: 12px 0;
    color: var(--text-secondary);
    font-size: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.features-list li::before {
    content: '✓';
    color: var(--primary-cyan);
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.features-divider {
    height: 1px;
    background: var(--card-border);
    margin: 24px 0;
}

.comparison-section {
    position: relative;
    z-index: 2;
    padding: 80px 40px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--card-border);
}

.comparison-container {
    max-width: 1400px;
    margin: 0 auto;
}

.comparison-table {
    background: linear-gradient(135deg, rgba(6, 8, 28, 0.95) 0%, rgba(3, 3, 20, 0.95) 100%);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 24px 20px;
    text-align: left;
    border-bottom: 1px solid var(--card-border);
    background: rgba(0, 0, 0, 0.3);
}

.comparison-table th:first-child {
    width: 40%;
}

.comparison-table td {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-size: 14px;
}

.comparison-table tr:hover {
    background: rgba(0, 229, 255, 0.02);
}

.check-icon {
    color: var(--primary-cyan);
    font-size: 18px;
    font-weight: 700;
}

.feature-category {
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-cyan);
    padding: 24px 20px 12px;
    background: rgba(0, 229, 255, 0.05);
}

.faq-section {
    position: relative;
    z-index: 2;
    padding: 80px 40px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(135deg, rgba(6, 8, 28, 0.95) 0%, rgba(3, 3, 20, 0.95) 100%);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: rgba(0, 229, 255, 0.3);
}

.faq-question {
    padding: 24px 28px;
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    color: var(--primary-cyan);
    font-size: 20px;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 28px 24px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.cta-section {
    position: relative;
    z-index: 2;
    padding: 100px 40px;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(0, 229, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-buttons .btn {
    padding: 16px 40px;
    font-size: 15px;
}

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

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }

    .comparison-table {
        overflow-x: auto;
    }
}

@media (max-width: 768px) {
    .pricing-hero h1,
    .section-title {
        font-size: 36px;
    }

    .plan-price {
        font-size: 42px;
    }
}
/* Page-specific styles for Platform */
.platform-hero {
    position: relative;
    padding: 140px 40px 80px;
    text-align: center;
    z-index: 2;
}

.platform-hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(180deg, var(--text-primary) 0%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.platform-hero p {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
}

.section {
    position: relative;
    z-index: 2;
    padding: 80px 40px;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 42px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.architecture-diagram {
    background: linear-gradient(135deg, rgba(6, 8, 28, 0.95) 0%, rgba(3, 3, 20, 0.95) 100%);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 60px 40px;
    margin-bottom: 60px;
}

.diagram-header {
    text-align: center;
    margin-bottom: 40px;
}

.diagram-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    color: var(--primary-cyan);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.diagram-layers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.layer {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
}

.layer::after {
    content: '→';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-cyan);
    font-size: 32px;
}

.layer:last-child::after {
    display: none;
}

.layer h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    color: var(--primary-cyan);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.layer ul {
    list-style: none;
    color: var(--text-secondary);
    font-size: 14px;
}

.layer li {
    padding: 6px 0;
}

.diagram-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    padding: 20px;
    background: rgba(0, 229, 255, 0.05);
    border-radius: 8px;
}

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

.tech-card {
    background: linear-gradient(135deg, rgba(6, 8, 28, 0.95) 0%, rgba(3, 3, 20, 0.95) 100%);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 40px;
    transition: all 0.4s;
}

.tech-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 229, 255, 0.1);
}

.tech-icon {
    font-size: 48px;
    margin-bottom: 24px;
    display: inline-block;
    filter: drop-shadow(0 0 20px var(--cyan-glow));
}

.tech-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.tech-description {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.tech-features {
    list-style: none;
}

.tech-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-features li::before {
    content: '▸';
    color: var(--primary-cyan);
    font-size: 16px;
}

.metrics-section {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

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

.metric-card {
    text-align: center;
    padding: 32px;
    background: rgba(6, 8, 28, 0.6);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
    animation: slide 3s linear infinite;
}

.code-section {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--card-border);
}

.code-container {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 32px;
    overflow-x: auto;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--card-border);
}

.code-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.code-copy {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--card-border);
    border-radius: 4px;
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Space Grotesk', sans-serif;
}

.code-copy:hover {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

pre {
    color: var(--text-secondary);
    font-family: 'Space Grotesk', monospace;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: auto;
}

.cta-section {
    position: relative;
    z-index: 2;
    padding: 100px 40px;
    text-align: center;
}

.cta-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-buttons .btn {
    padding: 16px 40px;
    font-size: 15px;
}

@media (max-width: 1024px) {
    .diagram-layers,
    .tech-grid,
    .security-grid {
        grid-template-columns: 1fr;
    }

    .layer::after {
        display: none;
    }

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

@media (max-width: 768px) {
    .platform-hero h1,
    .section-title {
        font-size: 36px;
    }

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

/* ========================================
   PLATFORM ARCHITECTURE PAGE
   ======================================== */


/* Platform Architecture page styles */
        /* Page-specific styles for Platform */
        .platform-hero {
            position: relative;
            padding: 140px 40px 80px;
            text-align: center;
            z-index: 2;
        }

        .platform-hero h1 {
            font-family: 'Orbitron', sans-serif;
            font-size: 56px;
            font-weight: 900;
            margin-bottom: 20px;
            background: linear-gradient(180deg, var(--text-primary) 0%, var(--primary-cyan) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-transform: uppercase;
        }

        .platform-hero p {
            color: var(--text-secondary);
            font-size: 18px;
            max-width: 800px;
            margin: 0 auto;
        }

        .section {
            position: relative;
            z-index: 2;
            padding: 80px 40px;
        }

        .section-container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 42px;
            font-weight: 900;
            text-transform: uppercase;
            margin-bottom: 16px;
        }

        .section-subtitle {
            color: var(--text-secondary);
            font-size: 16px;
            max-width: 700px;
            margin: 0 auto;
        }

        .architecture-diagram {
            background: linear-gradient(135deg, rgba(6, 8, 28, 0.95) 0%, rgba(3, 3, 20, 0.95) 100%);
            border: 1px solid var(--card-border);
            border-radius: 16px;
            padding: 60px 40px;
            margin-bottom: 60px;
        }

        .diagram-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .diagram-header h3 {
            font-family: 'Orbitron', sans-serif;
            font-size: 24px;
            color: var(--primary-cyan);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 12px;
        }

        .diagram-layers {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 32px;
            margin-bottom: 40px;
        }

        .layer {
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(0, 229, 255, 0.2);
            border-radius: 12px;
            padding: 32px 24px;
            text-align: center;
            position: relative;
        }

        .layer::after {
            content: '→';
            position: absolute;
            right: -30px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--primary-cyan);
            font-size: 32px;
        }

        .layer:last-child::after {
            display: none;
        }

        .layer h4 {
            font-family: 'Orbitron', sans-serif;
            font-size: 18px;
            color: var(--primary-cyan);
            margin-bottom: 20px;
            text-transform: uppercase;
        }

        .layer ul {
            list-style: none;
            color: var(--text-secondary);
            font-size: 14px;
        }

        .layer li {
            padding: 6px 0;
        }

        .diagram-note {
            text-align: center;
            color: var(--text-secondary);
            font-size: 14px;
            padding: 20px;
            background: rgba(0, 229, 255, 0.05);
            border-radius: 8px;
        }

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

        .tech-card {
            background: linear-gradient(135deg, rgba(6, 8, 28, 0.95) 0%, rgba(3, 3, 20, 0.95) 100%);
            border: 1px solid var(--card-border);
            border-radius: 12px;
            padding: 40px;
            transition: all 0.4s;
        }

        .tech-card:hover {
            transform: translateY(-4px);
            border-color: rgba(0, 229, 255, 0.3);
            box-shadow: 0 20px 40px rgba(0, 229, 255, 0.1);
        }

        .tech-icon {
            font-size: 48px;
            margin-bottom: 24px;
            display: inline-block;
            filter: drop-shadow(0 0 20px var(--cyan-glow));
        }

        .tech-name {
            font-family: 'Orbitron', sans-serif;
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 16px;
            text-transform: uppercase;
        }

        .tech-description {
            color: var(--text-secondary);
            font-size: 15px;
            line-height: 1.6;
            margin-bottom: 24px;
        }

        .tech-features {
            list-style: none;
        }

        .tech-features li {
            padding: 8px 0;
            color: var(--text-secondary);
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .tech-features li::before {
            content: '▸';
            color: var(--primary-cyan);
            font-size: 16px;
        }

        .metrics-section {
            background: rgba(0, 0, 0, 0.3);
            border-top: 1px solid var(--card-border);
            border-bottom: 1px solid var(--card-border);
        }

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

        .metric-card {
            text-align: center;
            padding: 32px;
            background: rgba(6, 8, 28, 0.6);
            border: 1px solid var(--card-border);
            border-radius: 12px;
            position: relative;
            overflow: hidden;
        }

        .metric-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
            animation: slide 3s linear infinite;
        }

        .code-section {
            background: rgba(0, 0, 0, 0.3);
            border-top: 1px solid var(--card-border);
        }

        .code-container {
            background: rgba(0, 0, 0, 0.6);
            border: 1px solid var(--card-border);
            border-radius: 12px;
            padding: 32px;
            overflow-x: auto;
        }

        .code-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
            padding-bottom: 16px;
            border-bottom: 1px solid var(--card-border);
        }

        .code-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 16px;
            color: var(--text-secondary);
            text-transform: uppercase;
        }

        .code-copy {
            padding: 8px 16px;
            background: transparent;
            border: 1px solid var(--card-border);
            border-radius: 4px;
            color: var(--text-secondary);
            font-size: 12px;
            cursor: pointer;
            transition: all 0.3s;
            font-family: 'Space Grotesk', sans-serif;
        }

        .code-copy:hover {
            border-color: var(--primary-cyan);
            color: var(--primary-cyan);
        }

        pre {
            color: var(--text-secondary);
            font-family: 'Space Grotesk', monospace;
            font-size: 14px;
            line-height: 1.6;
            overflow-x: auto;
        }

        .cta-section {
            position: relative;
            z-index: 2;
            padding: 100px 40px;
            text-align: center;
        }

        .cta-content h2 {
            font-family: 'Orbitron', sans-serif;
            font-size: 48px;
            font-weight: 900;
            text-transform: uppercase;
            margin-bottom: 24px;
        }

        .cta-content p {
            font-size: 18px;
            color: var(--text-secondary);
            margin-bottom: 40px;
        }

        .cta-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
        }

        .cta-buttons .btn {
            padding: 16px 40px;
            font-size: 15px;
        }

        @media (max-width: 1024px) {
            .diagram-layers,
            .tech-grid,
            .security-grid {
                grid-template-columns: 1fr;
            }

            .layer::after {
                display: none;
            }

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

        @media (max-width: 768px) {
            .platform-hero h1,
            .section-title {
                font-size: 36px;
            }

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

/* ========================================
   DOCS PAGE
   ======================================== */

        /* Page-specific styles for Docs */
        .hero {
            position: relative;
            padding: 140px 40px 80px;
            text-align: center;
            z-index: 2;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 1000px;
            height: 600px;
            background: radial-gradient(ellipse, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
            pointer-events: none;
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        .hero h1 {
            font-family: 'Orbitron', sans-serif;
            font-size: 64px;
            font-weight: 900;
            margin-bottom: 24px;
            background: linear-gradient(180deg, var(--text-primary) 0%, var(--primary-cyan) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-transform: uppercase;
        }

        .hero-subtitle {
            font-size: 20px;
            color: var(--text-secondary);
            max-width: 700px;
            margin: 0 auto 40px;
        }

        .search-box {
            max-width: 600px;
            margin: 0 auto;
            position: relative;
        }

        .search-input {
            width: 100%;
            padding: 18px 24px 18px 56px;
            background: rgba(0, 0, 0, 0.5);
            border: 1px solid var(--card-border);
            border-radius: 12px;
            color: var(--text-primary);
            font-size: 16px;
            font-family: 'Space Grotesk', sans-serif;
            transition: all 0.3s;
        }

        .search-input:focus {
            outline: none;
            border-color: var(--primary-cyan);
            background: rgba(0, 0, 0, 0.7);
            box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
        }

        .search-icon {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 24px;
            color: var(--text-dim);
        }

        .section {
            position: relative;
            z-index: 2;
            padding: 80px 40px;
        }

        .section-container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 48px;
            font-weight: 900;
            text-transform: uppercase;
            margin-bottom: 16px;
        }

        .section-subtitle {
            color: var(--text-secondary);
            font-size: 18px;
            max-width: 700px;
            margin: 0 auto;
        }

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

        .quickstart-card {
            background: linear-gradient(135deg, rgba(6, 8, 28, 0.95) 0%, rgba(3, 3, 20, 0.95) 100%);
            border: 1px solid var(--card-border);
            border-radius: 16px;
            padding: 40px;
            transition: all 0.4s;
            text-align: center;
        }

        .quickstart-card:hover {
            transform: translateY(-6px);
            border-color: rgba(0, 229, 255, 0.4);
            box-shadow: 0 20px 40px rgba(0, 229, 255, 0.15);
        }

        .quickstart-icon {
            font-size: 56px;
            margin-bottom: 24px;
        }

        .quickstart-card h3 {
            font-family: 'Orbitron', sans-serif;
            font-size: 24px;
            margin-bottom: 12px;
        }

        .quickstart-card p {
            color: var(--text-secondary);
            font-size: 16px;
            line-height: 1.7;
            margin-bottom: 24px;
        }

        .categories-section {
            background: rgba(0, 0, 0, 0.3);
            border-top: 1px solid var(--card-border);
            border-bottom: 1px solid var(--card-border);
        }

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

        .category-card {
            background: linear-gradient(135deg, rgba(6, 8, 28, 0.95) 0%, rgba(3, 3, 20, 0.95) 100%);
            border: 1px solid var(--card-border);
            border-radius: 12px;
            padding: 40px;
            transition: all 0.3s;
        }

        .category-card:hover {
            border-color: rgba(0, 229, 255, 0.3);
            transform: translateY(-4px);
        }

        .category-header {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 24px;
        }

        .category-icon {
            font-size: 40px;
        }

        .category-card h3 {
            font-family: 'Orbitron', sans-serif;
            font-size: 28px;
        }

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

        .doc-list li {
            padding: 12px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .doc-list li:last-child {
            border-bottom: none;
        }

        .doc-link {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: all 0.3s;
        }

        .doc-link:hover {
            color: var(--primary-cyan);
            padding-left: 8px;
        }

        .doc-link::after {
            content: '→';
            opacity: 0;
            transition: opacity 0.3s;
        }

        .doc-link:hover::after {
            opacity: 1;
        }

        .popular-section {
            background: linear-gradient(180deg, transparent 0%, rgba(0, 229, 255, 0.02) 50%, transparent 100%);
        }

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

        .popular-card {
            background: rgba(6, 8, 28, 0.6);
            border: 1px solid var(--card-border);
            border-radius: 12px;
            padding: 32px;
            transition: all 0.3s;
        }

        .popular-card:hover {
            transform: translateY(-4px);
            border-color: rgba(0, 229, 255, 0.3);
        }

        .popular-badge {
            display: inline-block;
            padding: 4px 12px;
            background: rgba(0, 229, 255, 0.1);
            border: 1px solid var(--primary-cyan);
            border-radius: 12px;
            color: var(--primary-cyan);
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 16px;
        }

        .popular-card h4 {
            font-family: 'Orbitron', sans-serif;
            font-size: 18px;
            margin-bottom: 8px;
        }

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

        .resources-section {
            background: rgba(0, 0, 0, 0.5);
            border-top: 1px solid var(--card-border);
            border-bottom: 1px solid var(--card-border);
        }

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

        .resource-card {
            background: rgba(6, 8, 28, 0.6);
            border: 1px solid var(--card-border);
            border-radius: 12px;
            padding: 32px;
            text-align: center;
            transition: all 0.3s;
        }

        .resource-card:hover {
            transform: translateY(-4px);
            border-color: rgba(0, 229, 255, 0.3);
        }

        .resource-icon {
            font-size: 48px;
            margin-bottom: 16px;
        }

        .resource-card h4 {
            font-family: 'Orbitron', sans-serif;
            font-size: 16px;
            margin-bottom: 8px;
        }

        .resource-card p {
            color: var(--text-secondary);
            font-size: 13px;
            margin-bottom: 16px;
        }

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

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

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

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

        @media (max-width: 768px) {
            .hero h1 {
                font-size: 42px;
            }

            .section-title {
                font-size: 32px;
            }

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

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

/* ========================================
   DEVELOPERS PAGE
   ======================================== */

        /* Page-specific styles for Developers */
        .hero {
            position: relative;
            padding: 140px 40px 80px;
            text-align: center;
            z-index: 2;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 1000px;
            height: 600px;
            background: radial-gradient(ellipse, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
            pointer-events: none;
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        .hero-badge {
            display: inline-block;
            padding: 8px 20px;
            background: rgba(0, 229, 255, 0.1);
            border: 1px solid rgba(0, 229, 255, 0.3);
            border-radius: 20px;
            color: var(--primary-cyan);
            font-size: 13px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 24px;
        }

        .hero h1 {
            font-family: 'Orbitron', sans-serif;
            font-size: 64px;
            font-weight: 900;
            margin-bottom: 24px;
            background: linear-gradient(180deg, var(--text-primary) 0%, var(--primary-cyan) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-transform: uppercase;
        }

        .hero-subtitle {
            font-size: 20px;
            color: var(--text-secondary);
            max-width: 700px;
            margin: 0 auto 40px;
        }

        .hero-cta {
            display: flex;
            gap: 16px;
            justify-content: center;
        }

        .section {
            position: relative;
            z-index: 2;
            padding: 80px 40px;
        }

        .section-container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-badge {
            display: inline-block;
            padding: 6px 16px;
            background: linear-gradient(135deg, var(--purple-accent), var(--primary-cyan));
            border-radius: 20px;
            color: white;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 16px;
        }

        .section-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 48px;
            font-weight: 900;
            text-transform: uppercase;
            margin-bottom: 16px;
        }

        .section-subtitle {
            color: var(--text-secondary);
            font-size: 18px;
            max-width: 700px;
            margin: 0 auto;
        }

        .quick-start-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 32px;
            margin-bottom: 60px;
        }

        .quick-start-card {
            background: linear-gradient(135deg, rgba(6, 8, 28, 0.95) 0%, rgba(3, 3, 20, 0.95) 100%);
            border: 1px solid var(--card-border);
            border-radius: 16px;
            padding: 40px;
            transition: all 0.4s;
            position: relative;
            overflow: hidden;
        }

        .quick-start-card:hover {
            transform: translateY(-6px);
            border-color: rgba(0, 229, 255, 0.4);
            box-shadow: 0 20px 40px rgba(0, 229, 255, 0.15);
        }

        .quick-start-icon {
            font-size: 48px;
            margin-bottom: 20px;
            display: inline-block;
        }

        .quick-start-card h3 {
            font-family: 'Orbitron', sans-serif;
            font-size: 24px;
            margin-bottom: 12px;
        }

        .quick-start-card p {
            color: var(--text-secondary);
            font-size: 16px;
            margin-bottom: 24px;
            line-height: 1.7;
        }

        .code-section {
            background: rgba(0, 0, 0, 0.3);
            border-top: 1px solid var(--card-border);
            border-bottom: 1px solid var(--card-border);
        }

        .code-tabs {
            display: flex;
            gap: 8px;
            margin-bottom: 24px;
        }

        .code-tab {
            padding: 12px 24px;
            background: transparent;
            border: 1px solid var(--card-border);
            border-radius: 8px 8px 0 0;
            color: var(--text-secondary);
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            font-family: 'Space Grotesk', monospace;
        }

        .code-tab.active {
            background: rgba(0, 229, 255, 0.1);
            border-color: var(--primary-cyan);
            color: var(--primary-cyan);
        }

        .code-block {
            background: rgba(0, 0, 0, 0.5);
            border: 1px solid var(--card-border);
            border-radius: 12px;
            padding: 32px;
            font-family: 'Space Grotesk', monospace;
            font-size: 14px;
            line-height: 1.8;
            color: var(--text-secondary);
            overflow-x: auto;
        }

        .code-block .comment {
            color: var(--text-dim);
        }

        .code-block .keyword {
            color: var(--purple-accent);
        }

        .code-block .string {
            color: var(--success-green);
        }

        .code-block .function {
            color: var(--primary-cyan);
        }

        .sdk-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 24px;
        }

        .sdk-card {
            background: linear-gradient(135deg, rgba(6, 8, 28, 0.95) 0%, rgba(3, 3, 20, 0.95) 100%);
            border: 1px solid var(--card-border);
            border-radius: 12px;
            padding: 32px;
            transition: all 0.3s;
        }

        .sdk-card:hover {
            transform: translateY(-4px);
            border-color: rgba(0, 229, 255, 0.3);
        }

        .sdk-header {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 20px;
        }

        .sdk-icon {
            font-size: 40px;
        }

        .sdk-card h3 {
            font-family: 'Orbitron', sans-serif;
            font-size: 22px;
            margin-bottom: 4px;
        }

        .sdk-version {
            color: var(--text-dim);
            font-size: 12px;
        }

        .sdk-features {
            list-style: none;
            margin-bottom: 20px;
        }

        .sdk-features li {
            padding: 8px 0;
            color: var(--text-secondary);
            font-size: 15px;
            display: flex;
            align-items: center;
        }

        .sdk-features li::before {
            content: '▸';
            color: var(--primary-cyan);
            margin-right: 12px;
            font-size: 16px;
        }

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

        .resource-card {
            background: rgba(6, 8, 28, 0.6);
            border: 1px solid var(--card-border);
            border-radius: 12px;
            padding: 32px;
            text-align: center;
            transition: all 0.3s;
        }

        .resource-card:hover {
            transform: translateY(-4px);
            border-color: rgba(0, 229, 255, 0.3);
            background: rgba(6, 8, 28, 0.8);
        }

        .resource-icon {
            font-size: 48px;
            margin-bottom: 16px;
        }

        .resource-card h3 {
            font-family: 'Orbitron', sans-serif;
            font-size: 18px;
            margin-bottom: 12px;
        }

        .resource-card p {
            color: var(--text-secondary);
            font-size: 14px;
            margin-bottom: 20px;
        }

        .community-section {
            background: linear-gradient(180deg, transparent 0%, rgba(0, 229, 255, 0.02) 50%, transparent 100%);
        }

        .community-stats {
            display: flex;
            justify-content: center;
            gap: 60px;
            margin-top: 40px;
        }

        .stat-item {
            text-align: center;
        }

        .stat-value {
            font-family: 'Orbitron', sans-serif;
            font-size: 36px;
            font-weight: 800;
            color: var(--primary-cyan);
            margin-bottom: 8px;
        }

        .stat-label {
            color: var(--text-dim);
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 0.1em;
        }

        @media (max-width: 1024px) {
            .quick-start-grid {
                grid-template-columns: 1fr;
            }

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

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

        @media (max-width: 768px) {
            .hero h1 {
                font-size: 42px;
            }

            .section-title {
                font-size: 32px;
            }

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

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

/* ========================================
   BLOG PAGE
   ======================================== */

        /* Page-specific styles for Blog */
        .hero {
            position: relative;
            padding: 140px 40px 60px;
            text-align: center;
            z-index: 2;
        }

        .hero h1 {
            font-family: 'Orbitron', sans-serif;
            font-size: 64px;
            font-weight: 900;
            margin-bottom: 24px;
            background: linear-gradient(180deg, var(--text-primary) 0%, var(--primary-cyan) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-transform: uppercase;
        }

        .hero-subtitle {
            font-size: 20px;
            color: var(--text-secondary);
            max-width: 700px;
            margin: 0 auto;
        }

        .section {
            position: relative;
            z-index: 2;
            padding: 80px 40px;
        }

        .section-container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .filters-section {
            background: rgba(0, 0, 0, 0.3);
            border-top: 1px solid var(--card-border);
            border-bottom: 1px solid var(--card-border);
            padding: 32px 40px;
        }

        .filters-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
        }

        .filter-chip {
            padding: 10px 20px;
            background: transparent;
            border: 1px solid var(--card-border);
            border-radius: 20px;
            color: var(--text-secondary);
            font-size: 14px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            cursor: pointer;
            transition: all 0.3s;
        }

        .filter-chip.active {
            background: var(--primary-cyan);
            color: var(--darker-bg);
            border-color: var(--primary-cyan);
        }

        .filter-chip:hover {
            border-color: var(--primary-cyan);
            color: var(--primary-cyan);
        }

        .featured-post {
            background: linear-gradient(135deg, rgba(6, 8, 28, 0.95) 0%, rgba(3, 3, 20, 0.95) 100%);
            border: 1px solid var(--card-border);
            border-radius: 16px;
            padding: 60px;
            margin-bottom: 80px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .featured-content h2 {
            font-family: 'Orbitron', sans-serif;
            font-size: 42px;
            margin-bottom: 20px;
        }

        .featured-meta {
            display: flex;
            gap: 20px;
            margin-bottom: 24px;
            font-size: 14px;
            color: var(--text-dim);
        }

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

        .featured-image {
            background: linear-gradient(135deg, var(--primary-cyan), var(--purple-accent));
            border-radius: 12px;
            height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 120px;
        }

        .post-category {
            display: inline-block;
            padding: 4px 12px;
            background: rgba(0, 229, 255, 0.1);
            border: 1px solid var(--primary-cyan);
            border-radius: 12px;
            color: var(--primary-cyan);
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 16px;
        }

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

        .post-card {
            background: linear-gradient(135deg, rgba(6, 8, 28, 0.95) 0%, rgba(3, 3, 20, 0.95) 100%);
            border: 1px solid var(--card-border);
            border-radius: 12px;
            padding: 32px;
            transition: all 0.4s;
            cursor: pointer;
        }

        .post-card:hover {
            transform: translateY(-6px);
            border-color: rgba(0, 229, 255, 0.4);
            box-shadow: 0 20px 40px rgba(0, 229, 255, 0.15);
        }

        .post-thumbnail {
            background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(159, 122, 234, 0.2));
            border-radius: 8px;
            height: 180px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 60px;
            margin-bottom: 24px;
        }

        .post-card h3 {
            font-family: 'Orbitron', sans-serif;
            font-size: 22px;
            margin-bottom: 12px;
            line-height: 1.3;
        }

        .post-excerpt {
            color: var(--text-secondary);
            font-size: 15px;
            line-height: 1.7;
            margin-bottom: 20px;
        }

        .post-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 20px;
            border-top: 1px solid var(--card-border);
            font-size: 13px;
            color: var(--text-dim);
        }

        .post-author {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .author-avatar {
            width: 24px;
            height: 24px;
            background: linear-gradient(135deg, var(--primary-cyan), var(--purple-accent));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
        }

        .newsletter-section {
            background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(159, 122, 234, 0.1));
            border: 1px solid var(--card-border);
            border-radius: 16px;
            padding: 60px;
            text-align: center;
            margin: 80px 0;
        }

        .newsletter-section h2 {
            font-family: 'Orbitron', sans-serif;
            font-size: 36px;
            margin-bottom: 16px;
        }

        .newsletter-section p {
            color: var(--text-secondary);
            font-size: 18px;
            margin-bottom: 32px;
        }

        .newsletter-form {
            display: flex;
            gap: 12px;
            max-width: 500px;
            margin: 0 auto;
        }

        .newsletter-input {
            flex: 1;
            padding: 14px 20px;
            background: rgba(0, 0, 0, 0.5);
            border: 1px solid var(--card-border);
            border-radius: 8px;
            color: var(--text-primary);
            font-size: 16px;
            font-family: 'Space Grotesk', sans-serif;
        }

        .newsletter-input:focus {
            outline: none;
            border-color: var(--primary-cyan);
        }

        @media (max-width: 1024px) {
            .featured-post {
                grid-template-columns: 1fr;
            }

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

        @media (max-width: 768px) {
            .hero h1 {
                font-size: 42px;
            }

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

            .newsletter-form {
                flex-direction: column;
            }
        }
