/* ============================================
   Centipuss AI — The Intelligent Circuit
   ============================================
   Glassmorphic | Circuit Theme | Cyan Glow
   ============================================ */

/* ===========================================
   CSS VARIABLES
   =========================================== */
:root {
    /* Colors - The Intelligent Circuit Palette */
    --color-primary: #0B1120;
    --color-primary-light: #0F1A2E;
    --color-accent: #00E5FF;
    --color-accent-secondary: #0066FF;
    --color-accent-glow: rgba(0, 229, 255, 0.4);
    --color-accent-subtle: rgba(0, 229, 255, 0.15);

    /* Page tint colors (unified cyan/blue palette) */
    --tint-services: rgba(0, 229, 255, 0.12);
    --tint-process: rgba(0, 102, 255, 0.12);
    --tint-portfolio: rgba(0, 229, 255, 0.10);
    --tint-about: rgba(0, 102, 255, 0.12);
    --tint-contact: rgba(0, 229, 255, 0.12);

    /* Text */
    --color-text: #FFFFFF;
    --color-text-muted: rgba(255, 255, 255, 0.7);
    --color-text-subtle: rgba(255, 255, 255, 0.5);

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 20px;

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;

    /* Timing - SMOOTH & COMFORTABLE */
    --transition-page: 1.8s;
    /* Page lock-in */
    --transition-blur: 4s;
    /* Background blur (slow) */
    --transition-color: 3.5s;
    /* Color tint change */
    --transition-hero: 1s;
    /* Hero fade */
    --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

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

html {
    font-size: 13px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-heading);
    background: var(--color-primary);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
    color: var(--color-text);
    line-height: 1.6;
}

/* ===========================================
   NAVIGATION
   =========================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-6);
    background: rgba(10, 37, 64, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-logo:hover {
    opacity: 0.8;
}

.logo-img {
    height: 38px;
    width: auto;
    filter: drop-shadow(0 0 8px var(--color-accent-glow));
}

/* Logo Streams Canvas */
.logo-streams-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    /* Much higher to be on top of other background layers */
    pointer-events: none;
    opacity: 0.15;
    /* Reduced to 0.15 to be subtle and not distract from content */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-6);
}

.nav-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    cursor: pointer;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00ff00;
}

.nav-cta {
    padding: var(--space-2) var(--space-5);
    background: transparent;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid var(--color-accent);
    transition: all 0.3s var(--ease-smooth);
}

.nav-cta:hover {
    background: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--color-accent-glow);
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.nav-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: transform 0.3s, opacity 0.3s;
}

/* ===========================================
   MAIN CONTAINER
   =========================================== */
.main {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
}

/* ===========================================
   HERO SECTION
   =========================================== */
.hero {
    position: absolute;
    inset: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-8);
    text-align: center;
    transition: opacity var(--transition-hero) var(--ease-smooth),
        transform var(--transition-hero) var(--ease-smooth);
}

.hero.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    visibility: hidden;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-6);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

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

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

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-5);
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-accent) 0%, rgba(0, 229, 255, 0.3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto var(--space-7);
}

.hero-ctas {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-8);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-primary);
    box-shadow: 0 4px 16px var(--color-accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px var(--color-accent-glow), 0 0 40px var(--color-accent-glow);
}

.btn-glass {
    background: var(--glass-bg);
    color: var(--color-text);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--color-accent);
}

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

.btn-arrow {
    transition: transform 0.3s;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    text-shadow: 0 0 30px var(--color-accent-glow), 0 0 60px rgba(0, 229, 255, 0.2);
}

.stat-suffix {
    font-size: 1.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Floating service tiles */
.service-floaters {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: visible;
    perspective: 800px;
}

/* Circuit lines connecting tiles to center */
.service-floaters::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background:
        /* Radial circuit nodes */
        radial-gradient(circle at 10% 15%, var(--color-accent) 2px, transparent 2px),
        radial-gradient(circle at 88% 12%, var(--color-accent) 2px, transparent 2px),
        radial-gradient(circle at 94% 38%, var(--color-accent) 2px, transparent 2px),
        radial-gradient(circle at 90% 65%, var(--color-accent) 2px, transparent 2px),
        radial-gradient(circle at 82% 88%, var(--color-accent) 2px, transparent 2px),
        radial-gradient(circle at 12% 88%, var(--color-accent) 2px, transparent 2px),
        radial-gradient(circle at 5% 68%, var(--color-accent) 2px, transparent 2px),
        radial-gradient(circle at 8% 42%, var(--color-accent) 2px, transparent 2px),
        /* Central hub glow */
        radial-gradient(circle at center, rgba(0, 229, 255, 0.08) 0%, transparent 40%);
    opacity: 0.6;
    pointer-events: none;
    animation: circuit-pulse 4s ease-in-out infinite;
}

@keyframes circuit-pulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.7;
    }
}

.service-tile {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 229, 255, 0.03);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 50%;
    backdrop-filter: blur(8px);
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    animation: service-float 8s ease-in-out infinite;
    z-index: 20;
}

.service-tile:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: var(--color-accent);
    transform: scale(1.15) translateZ(30px);
    box-shadow: 0 0 30px var(--color-accent-glow);
}

.tile-icon-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.7));
    transition: all 0.3s ease;
}

.service-tile:hover .tile-icon-img {
    filter: drop-shadow(0 0 15px rgba(0, 229, 255, 1));
    transform: scale(1.1);
}

.tile-label {
    white-space: nowrap;
}

/* Active tile - Social Beast */
.service-tile.tile-active {
    background: rgba(0, 229, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
    cursor: pointer;
    pointer-events: auto;
}

.service-tile.tile-active:hover {
    background: rgba(0, 229, 255, 0.15);
    border-color: var(--color-accent);
    transform: scale(1.2) translateZ(30px);
    box-shadow: 0 0 40px var(--color-accent-glow);
}

.service-tile.tile-active .tile-icon-img {
    filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.9));
}

.service-tile.tile-active .tile-label {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

/* Disabled tiles - coming soon */
.service-tile.tile-disabled {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.08);
    cursor: default;
    pointer-events: none;
    opacity: 0.4;
}

.service-tile.tile-disabled:hover {
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.08);
}

.service-tile.tile-disabled .tile-icon-img {
    filter: grayscale(100%) opacity(0.5);
    drop-shadow: none;
}

/* 3x3 Layout - Balanced sides */
.tile-left-1 {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.tile-left-2 {
    top: 45%;
    left: 4%;
    animation-delay: -2s;
}

.tile-left-3 {
    bottom: 15%;
    left: 8%;
    animation-delay: -4s;
}

.tile-right-1 {
    top: 15%;
    right: 8%;
    animation-delay: -1s;
}

.tile-right-2 {
    top: 45%;
    right: 4%;
    animation-delay: -3s;
}

.tile-right-3 {
    bottom: 15%;
    right: 8%;
    animation-delay: -5s;
}

/* Enhanced hover "surroundings light up" */
.service-tile:hover {
    background: rgba(0, 229, 255, 0.15);
    border-color: var(--color-accent);
    transform: scale(1.15) translateZ(30px);
    box-shadow: 0 0 50px rgba(0, 229, 255, 0.4),
        0 0 100px rgba(0, 229, 255, 0.2);
}

.service-tile:hover::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes service-float {

    0%,
    100% {
        transform: translateY(0) rotateX(0) rotateY(0);
    }

    25% {
        transform: translateY(-8px) rotateX(3deg) rotateY(-2deg);
    }

    50% {
        transform: translateY(-12px) rotateX(-2deg) rotateY(3deg);
    }

    75% {
        transform: translateY(-5px) rotateX(2deg) rotateY(-1deg);
    }
}

/* Tile zoom state - clicked tile expands toward camera */
.service-tile.zooming {
    animation: tile-zoom 0.8s var(--ease-out) forwards;
    z-index: 100;
    pointer-events: none;
}

@keyframes tile-zoom {
    0% {
        transform: scale(1) translateZ(0);
        opacity: 1;
    }

    50% {
        transform: scale(2.5) translateZ(200px);
        opacity: 1;
        box-shadow: 0 0 80px rgba(0, 212, 200, 0.6);
    }

    100% {
        transform: scale(4) translateZ(400px);
        opacity: 0;
    }
}

/* Scattered tiles - other tiles fly away */
.service-tile.scattered {
    animation: tile-scatter 0.6s var(--ease-out) forwards;
    pointer-events: none;
}

@keyframes tile-scatter {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(100px) scale(0.5) rotateX(45deg);
    }
}

/* ===========================================
   HYPERBOLIC VOID
   =========================================== */
.hyperbolic-void {
    position: fixed;
    inset: 0;
    z-index: 10;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.void-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.04;
    transition: opacity 1.5s var(--ease-smooth);
}

.void-canvas.active {
    opacity: 0.4;
}

.void-tint {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--transition-color) var(--ease-smooth),
        background var(--transition-color) var(--ease-smooth);
    pointer-events: none;
}

.void-tint.active {
    opacity: 1;
}

.void-blur {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(0px);
    opacity: 0;
    transition: backdrop-filter var(--transition-blur) var(--ease-smooth),
        opacity var(--transition-blur) var(--ease-smooth);
    pointer-events: none;
}

.void-blur.active {
    backdrop-filter: blur(30px);
    opacity: 1;
}

/* ===========================================
   PAGE PANELS
   =========================================== */
.page {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 1100px;
    max-height: 85vh;
    overflow-y: auto;

    /* Initial state: floating in void (hidden) */
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) translate3d(calc(var(--init-x, 0) * 1px),
            calc(var(--init-y, 0) * 1px),
            calc(var(--init-z, 0) * 1px)) rotate(calc(var(--init-rot, 0) * 1deg)) scale(0.6);

    transition: all var(--transition-page) var(--ease-out-expo);
}

.page.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) translate3d(0, 0, 0) rotate(0deg) scale(1);
    z-index: 200;
}

.page.scattering {
    transition: all 1.2s var(--ease-smooth);
}

/* Glass panel */
.page-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: var(--space-7);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.page-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--color-text);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.page-close:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-accent);
    transform: scale(1.05);
}

.page-header {
    text-align: center;
    margin-bottom: var(--space-7);
}

.page-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-4);
    background: var(--color-accent);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: var(--space-4);
}

.page-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-3);
}

.page-header p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

/* ===========================================
   SERVICE DETAIL PAGES
   =========================================== */
.service-detail .page-glass {
    max-width: 600px;
}

.service-detail-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
}

.feature {
    padding: var(--space-3) var(--space-4);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--color-text);
    transition: all 0.3s var(--ease-smooth);
}

.feature:hover {
    background: rgba(0, 212, 200, 0.1);
    border-color: var(--color-accent);
}

.service-detail .btn-primary {
    align-self: flex-start;
    margin-top: var(--space-3);
}

/* ===========================================
   THE ORACLE (Living AI Manifestation)
   =========================================== */
.oracle-container {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: all 0.8s var(--ease-out);
}

.oracle-container.hidden {
    opacity: 0;
    visibility: hidden;
}

/* The 3D Core */
.oracle-core {
    position: relative;
    width: 200px;
    height: 200px;
    perspective: 1000px;
    margin-bottom: var(--space-8);
    pointer-events: auto;
}

.core-inner {
    position: absolute;
    inset: 20%;
    background: radial-gradient(circle, var(--color-accent), transparent);
    border-radius: 50%;
    filter: blur(20px);
    animation: core-pulse 3s ease-in-out infinite;
}

.core-wireframe {
    position: absolute;
    inset: 0;
    border: 2px solid var(--color-accent);
    transform-style: preserve-3d;
    animation: core-rotate 8s linear infinite;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    box-shadow: 0 0 30px var(--color-accent);
}

.core-wireframe::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--color-accent);
    transform: rotateY(90deg);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

@keyframes core-rotate {
    0% {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }

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

@keyframes core-pulse {

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

    50% {
        transform: scale(1.2);
        opacity: 1;
        filter: blur(30px);
    }
}

/* Oracle Interface Card */
.oracle-interface {
    width: 90%;
    max-width: 500px;
    pointer-events: auto;
    transition: all 0.6s var(--ease-out);
}

.oracle-interface.hidden {
    transform: translateY(20px);
    opacity: 0;
}

.oracle-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    padding: var(--space-6);
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.oracle-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.oracle-close:hover {
    color: var(--color-text);
}

/* Chat Styling */
.oracle-chat {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.chat-messages {
    height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding-right: var(--space-2);
}

.message {
    padding: var(--space-3) var(--space-4);
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 85%;
}

.message.bot {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
    align-self: flex-start;
    border-left: 3px solid var(--color-accent);
}

.message.user {
    background: var(--color-accent);
    color: var(--color-bg);
    align-self: flex-end;
    font-weight: 500;
}

.chat-input-wrapper {
    display: flex;
    gap: var(--space-2);
    margin-top: var(--space-2);
}

.chat-input-wrapper input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: var(--space-3) var(--space-4);
    color: var(--color-text);
    outline: none;
    transition: border-color 0.3s;
}

.chat-input-wrapper input:focus {
    border-color: var(--color-accent);
}

.chat-input-wrapper button {
    background: var(--color-accent);
    color: var(--color-bg);
    border: none;
    border-radius: 12px;
    padding: var(--space-3) var(--space-5);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.chat-input-wrapper button:active {
    transform: scale(0.95);
}

/* Proposal Styles */
.proposal-header {
    margin-bottom: var(--space-5);
    text-align: center;
}

.proposal-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 212, 200, 0.1);
    border: 1px solid var(--color-accent);
    border-radius: 20px;
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--space-2);
}

.proposal-nodes {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
    max-height: 320px;
    overflow-y: auto;
    padding-right: var(--space-2);
}

.proposal-node {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: var(--space-4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    animation: node-pop-in 0.5s var(--ease-out) forwards;
}

@keyframes node-pop-in {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

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

.proposal-node.selected {
    border-color: var(--color-accent);
    background: rgba(0, 212, 200, 0.05);
}

.proposal-node.removing {
    transform: scale(0.8);
    opacity: 0;
    pointer-events: none;
}

.node-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.node-info p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.node-actions {
    display: flex;
    gap: var(--space-2);
}

.node-action {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text);
    font-size: 1rem;
}

.node-action.select:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg);
}

.node-action.discard:hover {
    background: rgba(255, 50, 50, 0.2);
    border-color: #ff3232;
}

.proposal-node.selected .node-action.select {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg);
}

/* ===========================================
   PROCESS PAGE
   =========================================== */
.process-timeline {
    display: grid;
    gap: var(--space-5);
    position: relative;
}

/* Connecting line between steps */
.process-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 48px;
    bottom: 48px;
    width: 2px;
    background: linear-gradient(to bottom,
            var(--color-accent) 0%,
            rgba(0, 229, 255, 0.3) 50%,
            var(--color-accent) 100%);
    opacity: 0.6;
}

.process-step {
    display: flex;
    gap: var(--space-5);
    align-items: flex-start;
    position: relative;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 12px;
    box-shadow: 0 0 20px var(--color-accent-glow);
    animation: step-pulse 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.process-step:nth-child(1) .step-number {
    animation-delay: 0s;
}

.process-step:nth-child(2) .step-number {
    animation-delay: 0.5s;
}

.process-step:nth-child(3) .step-number {
    animation-delay: 1s;
}

.process-step:nth-child(4) .step-number {
    animation-delay: 1.5s;
}

@keyframes step-pulse {

    0%,
    100% {
        box-shadow: 0 0 20px var(--color-accent-glow);
    }

    50% {
        box-shadow: 0 0 35px var(--color-accent-glow), 0 0 50px rgba(0, 229, 255, 0.2);
    }
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.step-content p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ===========================================
   PORTFOLIO PAGE
   =========================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-5);
}

.portfolio-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: var(--space-5);
    transition: all 0.3s var(--ease-smooth);
}

.portfolio-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.portfolio-header {
    margin-bottom: var(--space-4);
}

.portfolio-category {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--color-accent-subtle);
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    margin-bottom: var(--space-2);
}

.portfolio-header h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
}

.portfolio-metrics {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
    flex-wrap: wrap;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent);
}

.metric-label {
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

.portfolio-card>p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ===========================================
   ABOUT PAGE
   =========================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-7);
}

.about-story p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
    line-height: 1.7;
}

.about-values {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-5);
}

.value {
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-size: 0.9rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.team-card {
    text-align: center;
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.team-avatar {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-3);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50%;
}

.team-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.team-card p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ===========================================
   CONTACT PAGE
   =========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-7);
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.feature {
    padding: var(--space-3) var(--space-4);
    background: rgba(0, 212, 200, 0.1);
    border-radius: 8px;
    font-size: 0.95rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.contact-icon {
    font-size: 1.25rem;
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
    padding: var(--space-3) var(--space-4);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s, background 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-subtle);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===========================================
   SCROLLBAR
   =========================================== */
.page::-webkit-scrollbar {
    width: 6px;
}

.page::-webkit-scrollbar-track {
    background: transparent;
}

.page::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 3px;
}

.page::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(10, 14, 23, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding: var(--space-8) var(--space-6);
    transition: right 0.4s var(--ease-out);
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    list-style: none;
    margin-top: var(--space-8);
}

.mobile-menu .mobile-nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--glass-border);
    display: block;
    transition: color 0.3s;
}

.mobile-menu .mobile-nav-links a:hover {
    color: var(--color-accent);
}

.mobile-menu .mobile-cta {
    margin-top: auto;
}

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

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

    .hero-title {
        font-size: 2.5rem;
    }

    .service-tile {
        padding: var(--space-3) var(--space-4);
    }

    .bg-brand-icon {
        width: 60vw;
        height: 60vw;
    }
}

/* Tablet portrait / Large phone */
@media (max-width: 768px) {
    body, .main {
        overflow-y: auto !important;
        height: auto !important;
        display: block;
    }

    .zero-friction-container {
        position: relative !important;
        inset: auto !important;
        padding-top: 120px;
        height: auto !important;
        min-height: 100vh;
        justify-content: flex-start !important;
    }

    .beam-timer {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        font-size: 1.2rem !important;
        margin: 2rem auto 1rem !important;
        text-align: center;
        display: block;
        width: fit-content;
    }

    #blog-ticker-container {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        flex-direction: column !important;
        height: auto !important;
        gap: 0.5rem !important;
        padding: 0 1rem !important;
        margin: 0 auto 2rem;
        width: 100% !important;
    }

    #blog-ticker-container #blog-link-top {
        margin-left: 0 !important;
        font-size: 0.8rem !important;
        background: rgba(0, 229, 255, 0.1);
        padding: 4px 12px;
        border-radius: 4px;
        border: 1px solid rgba(0, 229, 255, 0.3);
    }

    #blogTicker {
        font-size: 0.85rem !important;
        max-width: 100% !important;
        text-align: center;
        white-space: normal !important;
        height: auto !important;
    }

    .hero {
        position: relative;
        height: auto;
        min-height: 100vh;
        inset: auto;
        padding-top: 100px;
    }

    .nav {
        padding: var(--space-3) var(--space-4);
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

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

    .logo-img {
        height: 28px;
    }

    .logo-text {
        font-size: 1rem;
    }

    /* Hero adjustments */
    .hero {
        padding: var(--space-8) var(--space-4);
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-4);
        align-items: center;
    }

    .stat-value {
        font-size: 2rem;
    }

    /* Service tiles → horizontal scroll */
    .service-floaters {
        position: relative;
        display: flex !important;
        flex-wrap: nowrap;
        gap: var(--space-3);
        overflow-x: auto;
        overflow-y: hidden;
        padding: var(--space-4) var(--space-4);
        margin-top: var(--space-6);
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .service-floaters::-webkit-scrollbar {
        display: none;
    }

    .service-tile {
        position: relative !important;
        transform: none !important;
        animation: none !important;
        flex: 0 0 auto;
        min-width: 140px;
        scroll-snap-align: start;
    }

    .service-tile.scattered {
        transform: none !important;
    }

    /* Page overlays */
    .page-glass {
        max-height: 85vh;
        padding: var(--space-4);
        border-radius: 16px;
    }

    .page-close {
        top: var(--space-3);
        right: var(--space-3);
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }

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

    /* Oracle mobile */
    .oracle-core {
        width: 120px;
        height: 120px;
        margin-bottom: var(--space-4);
    }

    .oracle-interface {
        width: 95%;
        max-width: none;
    }

    .oracle-glass {
        padding: var(--space-4);
        border-radius: 16px;
    }

    .chat-messages {
        height: 150px;
    }

    .proposal-nodes {
        max-height: 200px;
    }

    /* Background mascot */
    .bg-brand-icon {
        width: 50vw;
        height: 50vw;
        opacity: 0.03;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .hero {
        padding: var(--space-6) var(--space-3);
        min-height: auto;
    }

    .hero-content {
        padding-top: var(--space-8);
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 6px 12px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: var(--space-3) var(--space-4);
    }

    .stat {
        text-align: center;
    }

    .stat-value {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* Service tiles smaller */
    .service-tile {
        min-width: 120px;
        padding: var(--space-2) var(--space-3);
    }

    .tile-icon {
        font-size: 1.25rem;
    }

    .tile-label {
        font-size: 0.7rem;
    }

    /* Oracle */
    .oracle-core {
        width: 80px;
        height: 80px;
    }

    .oracle-glass {
        padding: var(--space-3);
    }

    .chat-messages {
        height: 120px;
    }

    .message {
        font-size: 0.85rem;
        padding: var(--space-2) var(--space-3);
    }

    .proposal-header h3 {
        font-size: 1.1rem;
    }

    .proposal-node {
        padding: var(--space-3);
    }

    .node-info h4 {
        font-size: 0.9rem;
    }

    .node-info p {
        font-size: 0.7rem;
    }

    /* Pages */
    .page-glass {
        max-height: 90vh;
        max-width: 100%;
        margin: var(--space-2);
        padding: var(--space-3);
    }

    .page-header h2 {
        font-size: 1.5rem;
    }

    .service-detail h3 {
        font-size: 1.1rem;
    }

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

    /* Background */
    .bg-brand-icon {
        width: 70vw;
        height: 70vw;
        opacity: 0.025;
    }
}

/* ===========================================
   TENTACLES SECTION
   =========================================== */
.tentacles-section {
    position: relative;
    z-index: 300;
    padding: 80px 24px;
    background: linear-gradient(180deg, transparent, rgba(0, 212, 200, 0.05));
}

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

.tentacles-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 48px;
}

.tentacles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.tentacle-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(12px);
    transition: all 0.3s var(--ease-smooth);
}

.tentacle-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-accent);
}

.tentacle-card.live {
    border-color: #00ff00;
    background: rgba(0, 255, 0, 0.05);
}

.tentacle-status {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.05);
}

.tentacle-card.live .tentacle-status {
    background: rgba(0, 255, 0, 0.15);
    color: #00ff00;
}

.tentacle-card.coming-soon .tentacle-status {
    background: rgba(0, 140, 255, 0.15);
    color: #00d4ff;
}

.tentacle-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.tentacle-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ===========================================
   FOOTER
   =========================================== */
.site-footer {
    position: relative;
    z-index: 300;
    background: rgba(5, 15, 30, 0.95);
    border-top: 1px solid var(--glass-border);
    padding: 60px 24px 30px;
}

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

.footer-brand {
    margin-bottom: 32px;
}

.footer-logo {
    height: 48px;
    width: auto;
    margin-bottom: 12px;
    filter: brightness(0) invert(1) drop-shadow(0 0 8px var(--color-accent-glow));
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.footer-contact {
    margin-bottom: 32px;
}

.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-accent);
}

.footer-contact p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--color-text-subtle);
}

/* Mobile adjustments for Tentacles & Footer */
@media (max-width: 768px) {
    .tentacles-section {
        padding: 50px 16px;
    }

    .tentacles-content h2 {
        font-size: 1.5rem;
        margin-bottom: 32px;
    }

    .tentacle-card {
        padding: 24px;
    }

    .site-footer {
        padding: 40px 16px 20px;
    }

    .footer-logo {
        height: 36px;
    }
}

/* ===========================================
   FIXED ABOUT BUTTON (Bottom of screen)
   =========================================== */
.about-button {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    backdrop-filter: blur(12px);
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
}

.about-button:hover {
    background: rgba(0, 212, 200, 0.15);
    border-color: var(--color-accent);
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 212, 200, 0.25);
}

.about-button span {
    font-size: 1.1rem;
}

/* Hide about button when a page is active */
.about-button.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(20px);
}

/* ===========================================
   INTERNAL BLOG STYLES
   =========================================== */
.blog-grid-internal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-5);
    padding: var(--space-2);
}

.blog-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s var(--ease-smooth);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.05);
}

.blog-card-visual {
    height: 120px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
}

.blog-card-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 229, 255, 0.02) 2px, rgba(0, 229, 255, 0.02) 4px);
}

.blog-card-content {
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    flex: 1;
    justify-content: space-between;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    color: var(--color-text-subtle);
}

.blog-card-category {
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
}

.blog-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-text);
    margin: var(--space-1) 0;
}

.blog-card p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-read-more {
    margin-top: auto;
    background: none;
    border: 1px solid var(--color-accent-subtle);
    color: var(--color-accent);
    padding: var(--space-2) var(--space-4);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.blog-card-read-more:hover {
    background: var(--color-accent-subtle);
    border-color: var(--color-accent);
}

/* Article Modal Styles */
.article-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-accent-subtle);
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 6px;
    margin-bottom: var(--space-4);
}

.article-date {
    font-size: 0.85rem;
    color: var(--color-text-subtle);
    margin-bottom: var(--space-5);
}

.article-body {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.article-body p {
    margin-bottom: var(--space-4);
}

.article-body h3 {
    color: var(--color-accent);
    margin: var(--space-5) 0 var(--space-3);
    font-family: var(--font-heading);
}

.article-body ul {
    margin-bottom: var(--space-4);
    padding-left: var(--space-5);
}

.article-body li {
    margin-bottom: var(--space-2);
}

.article-body strong {
    color: var(--color-text);
}

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

/* Service Modal Scanner Line */
.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 229, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.8);
    animation: scan 3s linear infinite;
}

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

    50% {
        top: 100%;
    }

    100% {
        top: 0;
    }
}
/* ===========================================
   ZERO FRICTION OVERRIDES (Consolidated)
   =========================================== */
.zero-friction-container {
    position: absolute;
    inset: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 3rem 1rem 5rem 1rem;
    pointer-events: none;
}

.top-logo-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    pointer-events: auto;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 300;
    animation: fadeInDown 1.5s ease-out;
}

.top-logo-btn:hover {
    transform: scale(1.1);
}

.hero-logo-small {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.4));
}

.bottom-section {
    text-align: center;
    pointer-events: auto;
    animation: fadeInUp 1.5s ease-out;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    width: 100%;
    margin-bottom: 2vh;
    transform: translateY(40px);
}

.buttons-wrapper {
    display: flex;
    width: 65vmin;
    justify-content: space-between;
    align-items: center;
}

.btn-huge {
    position: relative;
    overflow: hidden;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 100px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 200px;
    text-align: center;
}

.btn-huge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

.btn-end {
    background: rgba(0, 229, 255, 0.05);
    color: #ffffff;
    border: 1px solid #00E5FF;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
    animation: pulse-glow 2s infinite alternate;
}

.btn-end:hover {
    background: rgba(0, 229, 255, 0.2);
    border-color: #00E5FF;
    color: #ffffff;
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.6);
}

.btn-huge:hover::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.2) 0%, transparent 70%);
    border-radius: 100px;
    z-index: -1;
    animation: pulse-ring 2s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

@keyframes pulse-glow {
    from { box-shadow: 0 0 20px rgba(0, 229, 255, 0.1); }
    to { box-shadow: 0 0 35px rgba(0, 229, 255, 0.3); border-color: rgba(0, 229, 255, 0.6); }
}

.cookie-banner {
    position: fixed;
    inset: 0;
    background: rgba(11, 17, 32, 0.6);
    backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 9999;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-text {
    color: white;
    font-size: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-align: center;
    text-transform: uppercase;
}

.cookie-btn {
    background: #00E5FF;
    color: #0B1120;
    border: none;
    padding: 1rem 3rem;
    border-radius: 100px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.3);
}

.cookie-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(0, 229, 255, 0.6);
    background: white;
}

.banner-hidden {
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(0px);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 5000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-content {
    background: #0B1120;
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 16px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 0 50px rgba(0, 229, 255, 0.15);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.modal-title {
    color: #00E5FF;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem;
    border-radius: 8px;
    color: white;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.dummy-roadmap-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.roadmap-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #00E5FF;
    margin-top: 5px;
    box-shadow: 0 0 10px #00E5FF;
}

.roadmap-dot.pending {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

.roadmap-dot.active-pulse {
    background: #00E5FF;
    box-shadow: 0 0 15px #00E5FF;
    animation: dotPulse 1.5s infinite;
}

@keyframes dotPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 229, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

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

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

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.beam-timer {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Space Grotesk', monospace;
    font-size: 2rem;
    color: #00E5FF;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.8), 0 0 20px rgba(0, 229, 255, 0.4), 0 0 40px rgba(0, 229, 255, 0.2);
    z-index: 20;
    opacity: 0.8;
    letter-spacing: 0.2em;
    pointer-events: none;
    mix-blend-mode: screen;
    animation: beamPulse 4s infinite ease-in-out;
}

@keyframes beamPulse {
    0%, 100% { opacity: 0.8; text-shadow: 0 0 10px rgba(0, 229, 255, 0.8), 0 0 20px rgba(0, 229, 255, 0.4); }
    50% { opacity: 0.5; text-shadow: 0 0 5px rgba(0, 229, 255, 0.6), 0 0 10px rgba(0, 229, 255, 0.3); }
}

.service-modal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .service-modal-grid { grid-template-columns: 1.2fr 1fr; }
    .service-media-container { margin-bottom: 0 !important; }
}

.service-features-list { display: flex; flex-direction: column; gap: 0.6rem; }
.service-feature-item { display: flex; align-items: center; gap: 0.8rem; color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; }
.service-feature-item::before { content: '✓'; color: #00E5FF; font-weight: bold; }
.media-placeholder { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }

/* ===========================================
   SIMPLIFIED MOBILE DESIGN (≤900px)
   =========================================== */

/* Mobile service dropdown - hidden on desktop */
.mobile-service-dropdown {
    display: none;
}

/* Mobile breakpoint - simplified design */
@media (max-width: 900px) {
    /* Simplify body */
    body {
        background: linear-gradient(135deg, #0B1120 0%, #0F1A2E 100%);
        min-height: 100vh;
        height: auto;
        overflow-x: hidden;
    }

    /* Hide complex background elements */
    .hyperbolic-void,
    .void-canvas,
    .void-tint,
    .void-blur,
    .logo-streams-canvas,
    .service-floaters {
        display: none !important;
    }

    /* Hero becomes scrollable content */
    .hero {
        position: relative;
        min-height: 100vh;
        height: auto;
        inset: auto;
        padding: 100px 20px 40px;
        overflow: visible;
    }

    /* Simplify hero content */
    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Timer positioning */
    .beam-timer {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        font-size: 1.3rem;
        margin: 0 auto 20px;
        text-align: center;
    }

    /* Blog ticker */
    #blog-ticker-container {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        flex-direction: column;
        gap: 8px;
        padding: 0 1rem;
        margin: 0 auto 20px;
        width: 100%;
    }

    #blogTicker {
        font-size: 0.85rem;
        white-space: normal;
        text-align: center;
    }

    #blog-link-top {
        margin-left: 0;
        font-size: 0.75rem;
    }

    /* Zero friction container */
    .zero-friction-container {
        position: relative;
        height: auto;
        padding: 20px;
        margin-top: 20px;
    }

    /* Hide floating tiles, show dropdown instead */
    .service-floaters {
        display: none !important;
    }

    .mobile-service-dropdown {
        display: block;
        width: 100%;
        max-width: 400px;
        margin: 0 auto 24px;
    }

    .mobile-dropdown-label {
        display: block;
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.7);
        margin-bottom: 8px;
        text-align: center;
    }

    .mobile-dropdown {
        width: 100%;
        padding: 14px 16px;
        font-family: 'Space Grotesk', sans-serif;
        font-size: 1rem;
        color: #fff;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(0, 229, 255, 0.3);
        border-radius: 12px;
        cursor: pointer;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300E5FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 20px;
        transition: all 0.3s ease;
    }

    .mobile-dropdown:hover,
    .mobile-dropdown:focus {
        border-color: #00E5FF;
        background-color: rgba(255, 255, 255, 0.08);
        outline: none;
        box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
    }

    .mobile-dropdown option {
        background: #0B1120;
        color: #fff;
        padding: 12px;
    }

    /* Top logo button */
    .top-logo-btn {
        top: 70px;
        right: 16px;
        padding: 10px;
    }

    .hero-logo-small {
        width: 32px;
    }

    /* Buttons wrapper */
    .buttons-wrapper {
        width: 100%;
        max-width: 280px;
        flex-direction: column;
        gap: 12px;
    }

    .btn-huge {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.85rem;
    }

    /* Nav */
    .nav {
        padding: 12px 16px;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

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

    .logo-img {
        height: 28px;
    }

    /* Cookie banner */
    .cookie-text {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .cookie-btn {
        padding: 12px 32px;
        font-size: 0.9rem;
    }

    /* Modals */
    .modal-content {
        padding: 24px;
        margin: 16px;
        max-width: calc(100% - 32px);
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .hero {
        padding: 80px 16px 32px;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .beam-timer {
        font-size: 1.1rem;
    }

    .mobile-service-dropdown {
        max-width: 100%;
    }

    .btn-huge {
        padding: 12px 16px;
        font-size: 0.8rem;
    }
}

/* ===========================================
   DEMO MODAL STYLES
   =========================================== */

/* Demo Modal Specific Styles */
.demo-step {
    animation: fadeIn 0.4s ease-out;
}

.demo-result-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.demo-result-card:hover {
    background: rgba(0, 229, 255, 0.05);
    border-color: rgba(0, 229, 255, 0.5);
    transform: translateX(5px);
}

.pulse-ring {
    width: 40px;
    height: 40px;
    border: 2px solid #00E5FF;
    border-radius: 50%;
    position: relative;
    animation: demo-pulse 2s infinite;
}

@keyframes demo-pulse {
    0% { transform: scale(0.5); opacity: 0.8; box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7); }
    70% { transform: scale(1.2); opacity: 0.3; box-shadow: 0 0 0 20px rgba(0, 229, 255, 0); }
    100% { transform: scale(1.5); opacity: 0; box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

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