/* ============================================
   NEXTMIND DARK THEME
   Modern AI-Inspired Design System
   ============================================ */

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* === DARK THEME VARIABLES === */
:root {
    /* Dark Backgrounds */
    --bg-primary: #0A0E27;
    --bg-secondary: #1A1F3A;
    --bg-tertiary: #0F1419;
    --bg-card: rgba(26, 31, 58, 0.6);
    --bg-card-hover: rgba(26, 31, 58, 0.8);

    /* Neon Accents */
    --accent-blue: #00D9FF;
    --accent-purple: #A855F7;
    --accent-pink: #EC4899;
    --accent-cyan: #06B6D4;

    /* Gradients */
    --gradient-neon: linear-gradient(135deg, #00D9FF 0%, #A855F7 50%, #EC4899 100%);
    --gradient-blue-purple: linear-gradient(135deg, #00D9FF 0%, #A855F7 100%);
    --gradient-purple-pink: linear-gradient(135deg, #A855F7 0%, #EC4899 100%);
    --gradient-dark: linear-gradient(180deg, #0A0E27 0%, #1A1F3A 100%);

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #CBD5E1;
    --text-muted: #64748B;

    /* Typography */
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Effects */
    --glow-blue: 0 0 20px rgba(0, 217, 255, 0.5);
    --glow-purple: 0 0 20px rgba(168, 85, 247, 0.5);
    --glow-pink: 0 0 20px rgba(236, 72, 153, 0.5);
}

/* === DARK THEME BASE === */
body {
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-family: var(--font-body);
}

/* === DARK THEME OVERRIDES === */

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
}

/* Navbar Dark Theme */
.navbar {
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(10, 14, 39, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-link {
    color: var(--text-secondary);
}

.navbar-link:hover,
.navbar-link.active {
    color: var(--accent-blue);
}

/* Hero Section Dark Theme */
.hero {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

/* Dot Grid Background */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle, rgba(0, 217, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    z-index: 1;
}

/* Gradient Text Effect */
.gradient-text {
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism Cards */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-blue);
    box-shadow: 0 8px 32px rgba(0, 217, 255, 0.2);
    transform: translateY(-8px);
}

/* Neon Card Icons */
.card-icon {
    background: var(--gradient-blue-purple);
    box-shadow: var(--glow-blue);
}

/* Neon Buttons */
.btn-primary {
    background: var(--gradient-neon);
    border: none;
    box-shadow: var(--glow-blue);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.8);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
}

.btn-secondary:hover {
    background: var(--accent-blue);
    color: var(--bg-primary);
    box-shadow: var(--glow-blue);
}

/* Section Backgrounds */
.section {
    background: var(--bg-primary);
}

.bg-gray {
    background: var(--bg-secondary);
}

/* Section Labels with Neon Effect */
.section-label {
    background: var(--gradient-blue-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.section-label::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient-neon);
    box-shadow: var(--glow-blue);
}

/* Section Titles */
.section-title {
    color: var(--text-primary);
    font-weight: 800;
}

.section-description {
    color: var(--text-secondary);
}

/* Footer Dark Theme */
.footer {
    background: var(--bg-tertiary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h4 {
    color: var(--text-primary);
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent-blue);
}

/* Social Links with Neon Glow */
.social-link {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--gradient-blue-purple);
    box-shadow: var(--glow-blue);
    border-color: transparent;
}

/* Particle Effect Background */
@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-20px) translateX(10px);
    }
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-blue);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 6s ease-in-out infinite;
}

/* Glowing Border Animation */
@keyframes glowBorder {

    0%,
    100% {
        box-shadow: 0 0 5px var(--accent-blue), 0 0 10px var(--accent-blue);
    }

    50% {
        box-shadow: 0 0 20px var(--accent-blue), 0 0 30px var(--accent-blue);
    }
}

.glow-border {
    animation: glowBorder 2s ease-in-out infinite;
}

/* Neon Line Separator */
.neon-line {
    height: 2px;
    background: var(--gradient-neon);
    box-shadow: var(--glow-blue);
    border: none;
    margin: 3rem 0;
}

/* Floating Animation */
@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.float-slow {
    animation: floatSlow 8s ease-in-out infinite;
}

/* Text Glow Effect */
.text-glow {
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.8);
}

/* Stats Counter Neon */
.hero-stats div {
    position: relative;
}

.hero-stats div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-neon);
    opacity: 0.5;
}

/* CTA Section Dark */
.section[style*="background: var(--color-primary-800)"] {
    background: var(--bg-secondary) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Testimonial Cards */
.card [style*="background: var(--color-accent-gradient)"] {
    background: var(--gradient-blue-purple) !important;
    box-shadow: var(--glow-blue);
}

/* Responsive Dark Theme */
@media (max-width: 768px) {
    .navbar-menu {
        background: var(--bg-secondary);
    }
}

/* === HOLOGRAPHIC PANELS 3.1 (OPTIMIZED) === */
.panel-grid {
    display: flex;
    gap: 2.5rem;
    margin-top: 5rem;
    perspective: 1200px;
    position: relative;
}

/* Background Bloom */
.panel-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.05) 0%, transparent 70%);
    z-index: -1;
    filter: blur(100px);
}

.holograph-panel {
    flex: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    padding: 4.5rem 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
        background 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
    transform-style: preserve-3d;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Scanline Effect */
.holograph-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, transparent 50%, rgba(0, 217, 255, 0.02) 50%);
    background-size: 100% 4px;
    opacity: 0.3;
    pointer-events: none !important;
    z-index: 10;
}

.holograph-panel:hover {
    transform: translateY(-15px) rotateX(4deg) scale(1.02);
    background: linear-gradient(180deg, rgba(0, 217, 255, 0.08) 0%, rgba(0, 217, 255, 0.02) 100%);
    border-color: rgba(0, 217, 255, 0.4);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 0 40px rgba(0, 217, 255, 0.1);
}

/* Energy Beam Effect (Refined) */
.energy-beam {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    opacity: 0;
    z-index: 5;
}

.holograph-panel:hover .energy-beam {
    animation: beamSweep 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes beamSweep {
    0% {
        top: -10%;
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        top: 110%;
        opacity: 0;
    }
}

/* Panel Content */
.holograph-icon-hub {
    width: 80px;
    height: 80px;
    margin: 0 auto 2.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-ring {
    position: absolute;
    inset: -10px;
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.holograph-panel:hover .icon-ring {
    inset: -15px;
    border-color: var(--accent-blue);
    border-width: 1.5px;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.holograph-panel svg {
    width: 38px;
    height: 38px;
    color: var(--text-secondary);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        color 0.3s ease,
        filter 0.3s ease;
    z-index: 2;
}

.holograph-panel:hover svg {
    transform: scale(1.1) translateZ(20px);
    color: var(--text-primary);
    filter: drop-shadow(0 0 12px var(--accent-blue));
}

.holograph-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
    transition: transform 0.4s ease;
}

.holograph-panel:hover .holograph-title {
    transform: translateZ(10px);
}

.holograph-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.holograph-panel:hover .holograph-text {
    opacity: 0.95;
}

/* Floating Status Chips (Optimized) */
.floating-chip {
    position: absolute;
    top: 2rem;
    right: 2rem;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-blue);
    letter-spacing: 1px;
    text-transform: uppercase;
    transform: translateY(10px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    z-index: 3;
}

.holograph-panel:hover .floating-chip {
    opacity: 1;
    transform: translateY(0);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Responsive Holograph */
@media (max-width: 1024px) {
    .panel-grid {
        flex-direction: column;
        gap: 1.5rem;
    }

    .holograph-panel {
        padding: 4rem 2rem;
        min-height: auto;
    }
}

/* === SYMBOLIC PRODUCT CARDS === */
.symbolic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 5rem;
}

.symbolic-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 3rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.symbolic-card:hover {
    transform: translateY(-15px);
    background: rgba(26, 31, 58, 0.8);
    border-color: rgba(0, 217, 255, 0.4);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.6),
        inset 0 0 40px rgba(0, 217, 255, 0.05);
}

.symbolic-image-container {
    width: 120px;
    height: 120px;
    margin-bottom: 2.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Symbolic SVG Style */
.symbolic-image-container svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 15px rgba(0, 217, 255, 0.4));
    transition: all 0.5s ease;
}

.symbolic-card:hover svg {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 25px var(--accent-blue));
}

/* Background Glow for Icons */
.symbolic-image-container::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.symbolic-card:hover .symbolic-image-container::before {
    opacity: 1;
}

.symbolic-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.symbolic-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* Floating Elements in Cards */
.card-particle {
    position: absolute;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.symbolic-card:hover .card-particle {
    opacity: 1;
}

/* === NEURAL PULSE TIMELINE === */
.process-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: 6rem;
    padding: 0 2rem;
}

/* Connecting Line */
.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 4rem;
    right: 4rem;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

/* Moving Pulse */
.timeline-pulse {
    position: absolute;
    top: 40px;
    left: 4rem;
    width: 100px;
    height: 2px;
    background: var(--gradient-neon);
    box-shadow: 0 0 15px var(--accent-blue);
    z-index: 1;
    animation: movePulse 6s linear infinite;
}

@keyframes movePulse {
    0% {
        left: 4rem;
        width: 0;
        opacity: 0;
    }

    10% {
        width: 100px;
        opacity: 1;
    }

    90% {
        width: 100px;
        opacity: 1;
    }

    100% {
        left: calc(100% - 4rem);
        width: 0;
        opacity: 0;
    }
}

.process-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

/* Step Node */
.step-node {
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.process-step:hover .step-node {
    transform: scale(1.15) rotate(10deg);
    border-color: var(--accent-blue);
    background: var(--bg-card);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.3);
    color: var(--accent-blue);
}

/* Node Glow */
.step-node::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 24px;
    background: var(--gradient-neon);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.process-step:hover .step-node::after {
    opacity: 0.2;
}

.step-content {
    text-align: center;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.process-step:hover .step-title {
    color: var(--text-primary);
}

.step-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Responsive Process */
@media (max-width: 991px) {
    .process-timeline {
        flex-direction: column;
        gap: 4rem;
        padding: 1rem;
    }

    .process-timeline::before,
    .timeline-pulse {
        display: none;
    }

    .process-step {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 2rem;
    }

    .step-node {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .step-content {
        text-align: left;
    }
}

/* === CYBER FEATURE TILES === */
.cyber-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 5rem;
}

.cyber-tile {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Corner Accents */
.cyber-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--accent-blue);
    border-left: 2px solid var(--accent-blue);
    opacity: 0.3;
}

.cyber-tile::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid var(--accent-purple);
    border-right: 2px solid var(--accent-purple);
    opacity: 0.3;
}

.cyber-tile:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.cyber-tile:hover::before,
.cyber-tile:hover::after {
    opacity: 1;
    width: 40px;
    height: 40px;
}

/* Tile Icon Hub */
.cyber-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    color: var(--accent-blue);
}

.cyber-tile:hover .cyber-icon-box {
    background: var(--gradient-blue-purple);
    color: white;
    box-shadow: var(--glow-blue);
    transform: rotate(-5deg) scale(1.1);
}

.cyber-tile svg {
    width: 28px;
    height: 28px;
}

.cyber-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cyber-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* Subtle Data Grid Overlay */
.cyber-tile-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 217, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.cyber-tile:hover .cyber-tile-bg {
    opacity: 1;
}

.cyber-content {
    position: relative;
    z-index: 1;
}

/* === CYBER PORTAL (COMING SOON) === */
.cyber-portal {
    background: radial-gradient(circle at center, rgba(0, 217, 255, 0.08) 0%, var(--bg-primary) 70%);
    position: relative;
    padding: 10rem 0;
    overflow: hidden;
}

.portal-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.portal-ring::before {
    content: '';
    position: absolute;
    inset: -20px;
    border: 1px solid rgba(168, 85, 247, 0.05);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.blueprint-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 6rem;
}

.blueprint-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 3rem;
    border-radius: 40px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.blueprint-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.blueprint-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.03);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.6),
        inset 0 0 40px rgba(0, 217, 255, 0.05);
}

.blueprint-card:hover::before {
    opacity: 1;
}

.blueprint-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent-blue);
    font-family: 'Space Grotesk', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
}

.blueprint-card:hover .blueprint-tag {
    background: var(--accent-blue);
    color: var(--bg-primary);
    border-color: var(--accent-blue);
}

.blueprint-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.blueprint-card:hover .blueprint-icon {
    transform: scale(1.2) rotate(-5deg);
    filter: drop-shadow(0 0 20px var(--accent-blue));
}

.blueprint-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
}

.blueprint-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Schematic Scanning Line */
.schematic-line {
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    opacity: 0;
    z-index: 2;
}

.blueprint-card:hover .schematic-line {
    animation: schematicScan 3s linear infinite;
    opacity: 0.5;
}

@keyframes schematicScan {
    0% {
        top: 0%;
    }

    100% {
        top: 100%;
    }
}

.hologram-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 2rem;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 5px rgba(0, 217, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(0, 217, 255, 0.6);
    }

    100% {
        box-shadow: 0 0 5px rgba(0, 217, 255, 0.3);
    }
}

/* === GLASS-PRISM TESTIMONIALS === */
.prism-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.prism-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 4rem 3rem 3rem;
    position: relative;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.prism-card::before {
    content: '"';
    position: absolute;
    top: -2rem;
    left: 2rem;
    font-size: 10rem;
    font-family: serif;
    color: var(--accent-blue);
    opacity: 0.1;
    line-height: 1;
}

.prism-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-blue);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(0, 217, 255, 0.05);
}

.prism-quote {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    font-style: italic;
    opacity: 0.9;
}

.prism-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

.author-avatar-ring {
    width: 64px;
    height: 64px;
    border: 2px solid var(--accent-purple);
    border-radius: 50%;
    padding: 4px;
    position: relative;
    background: var(--bg-primary);
}

.author-avatar-ring::after {
    content: '';
    position: absolute;
    inset: -6px;
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.prism-card:hover .author-avatar-ring::after {
    inset: -10px;
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.author-info h4 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.author-info p {
    font-size: 0.85rem;
    color: var(--accent-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   IMMERSIVE HERO REDESIGN (PHASE 5)
   ============================================ */

.hero-immersive {
    position: relative;
    padding: 120px 0 160px;
    overflow: hidden;
    background: #020617;
    /* Deep midnight */
}

/* Dynamic Visual Canvas */
.hero-visual-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.neural-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: glow-pulse 10s ease-in-out infinite alternate;
}

.neural-glow.spot-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-accent-cyan), transparent 70%);
    top: -100px;
    right: -100px;
}

.neural-glow.spot-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-accent-purple), transparent 70%);
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.mesh-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(at 0% 0%, rgba(6, 182, 212, 0.1) 0, transparent 50%),
        radial-gradient(at 50% 0%, rgba(139, 92, 246, 0.1) 0, transparent 50%),
        radial-gradient(at 100% 0%, rgba(6, 182, 212, 0.1) 0, transparent 50%);
    opacity: 0.6;
}

@keyframes glow-pulse {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.2) translate(50px, 30px);
        opacity: 0.5;
    }
}

/* Modern Hero Grid */
.hero-grid-modern {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 6rem;
    align-items: center;
}

/* Left Column Content */
.modern-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 245, 255, 0.2);
    padding: 0.6rem 1.4rem;
    border-radius: 100px;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(10px);
}

.badge-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-accent-cyan);
    filter: blur(15px);
    opacity: 0.1;
    border-radius: 100px;
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 800;
    color: #00f5ff;
    letter-spacing: 2px;
}

.hero-title-modern {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle-modern {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 3.5rem;
    max-width: 600px;
}

.hero-cta-modern {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.btn-primary-modern {
    background: #00f5ff;
    color: #020617 !important;
    font-weight: 800;
    padding: 1.2rem 2.8rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.3);
}

.btn-primary-modern:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 245, 255, 0.4);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white !important;
    font-weight: 600;
    padding: 1.2rem 2.4rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Impact Grid (Stats) */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 800px;
}

.impact-card {
    position: relative;
    padding: 1.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    overflow: hidden;
    transition: all 0.4s ease;
}

.impact-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 245, 255, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.impact-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: #00f5ff;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.impact-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.impact-sublabel {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    font-weight: 500;
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--color-accent-cyan), transparent 70%);
    filter: blur(30px);
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s ease;
}

.impact-card:hover .card-glow {
    opacity: 0.2;
}

/* Holographic Portal (Right Visual) */
.hero-visual-modern {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.holograph-portal {
    position: relative;
    width: 100%;
    max-width: 550px;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portal-scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00f5ff, transparent);
    z-index: 10;
    top: 0;
    animation: scan-vertical 4s linear infinite;
    box-shadow: 0 0 15px #00f5ff;
}

.portal-ring {
    position: absolute;
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.portal-ring.ring-1 {
    width: 110%;
    height: 110%;
    border-style: dashed;
}

.portal-ring.ring-2 {
    width: 130%;
    height: 130%;
    border-width: 2px;
    opacity: 0.1;
    animation-direction: reverse;
}

.portal-image-wrap {
    position: relative;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    overflow: hidden;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    box-shadow: 0 0 80px rgba(0, 245, 255, 0.15);
}

.portal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.2) contrast(1.1);
    animation: portal-float 6s ease-in-out infinite;
}

.hud-element {
    position: absolute;
    padding: 0.5rem 1rem;
    font-family: monospace;
    font-size: 0.7rem;
    color: #00f5ff;
    background: rgba(0, 245, 255, 0.05);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 4px;
    z-index: 15;
    white-space: nowrap;
    opacity: 0.7;
}

.hud-top-left {
    top: 0;
    left: 0;
}

.hud-bottom-right {
    bottom: 0;
    right: 0;
}

/* Floating Widgets */
.floating-widget {
    position: absolute;
    background: rgba(25, 25, 35, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 1.2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 20;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: widget-float 5s ease-in-out infinite alternate;
}

.widget-1 {
    top: 10%;
    left: -10%;
}

.widget-2 {
    bottom: 15%;
    right: -5%;
    animation-delay: -2s;
}

.widget-icon {
    font-size: 1.8rem;
}

.widget-text {
    font-weight: 700;
    color: white;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animations */
@keyframes scan-vertical {
    0% {
        top: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

@keyframes scan-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes portal-float {

    0%,
    100% {
        transform: scale(1) translateY(0);
    }

    50% {
        transform: scale(1.05) translateY(-10px);
    }
}

@keyframes widget-float {
    from {
        transform: translateY(0) rotate(0);
    }

    to {
        transform: translateY(-15px) rotate(2deg);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Entrance Animations */
.animate-entrance {
    opacity: 0;
    transform: translateY(30px);
    animation: entrance-fade-up 0.8s ease forwards;
}

.animate-entrance[data-delay="1"] {
    animation-delay: 0.2s;
}

.animate-entrance[data-delay="2"] {
    animation-delay: 0.4s;
}

.animate-entrance[data-delay="3"] {
    animation-delay: 0.6s;
}

.animate-entrance[data-delay="4"] {
    animation-delay: 0.8s;
}

.animate-entrance[data-delay="5"] {
    animation-delay: 1s;
}

@keyframes entrance-fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Modern Hero */
@media (max-width: 1200px) {
    .hero-grid-modern {
        gap: 3rem;
    }

    .hero-title-modern {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .hero-immersive {
        padding: 100px 0 120px;
    }

    .hero-grid-modern {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content-modern {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-subtitle-modern {
        margin: 0 auto 3rem;
    }

    .hero-cta-modern {
        justify-content: center;
    }

    .impact-grid {
        margin: 0 auto;
    }

    .hero-visual-modern {
        order: -1;
        margin-bottom: 5rem;
    }

    .floating-widget {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title-modern {
        font-size: 2.75rem;
    }

    .impact-grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 320px;
    }

    .hero-cta-modern {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }

    .btn-primary-modern,
    .btn-glass {
        justify-content: center;
    }
}

/* NAVIGATION LOGO ENHANCEMENT */
.navbar {
    height: 90px;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none !important;
    height: 100%;
    align-self: center;
}

.navbar-logo .logo-text {
    color: #00f5ff !important;
    font-weight: 800;
    letter-spacing: -0.5px;
}