/* ========================================
   OPTIX DESIGN SYSTEM
   ======================================== */

/* --- COLOR PALETTE (NEON CYBERPUNK) --- */
:root {
    /* Background */
    --bg-primary: #000000;
    --bg-secondary: #0a0a12;
    --bg-card: rgba(10, 10, 20, 0.85);

    /* Neon Accent Colors */
    --accent-blue: #2955ff;
    /* True Vibrant Blue */
    --accent-violet: #b366ff;
    --accent-cyan: #00f0ff;
    --accent-gradient: linear-gradient(135deg, var(--accent-blue) 30%, var(--accent-violet));
    --speed-gradient: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));

    /* Intense Glow Colors */
    --glow-blue: rgba(41, 85, 255, 0.6);
    --glow-violet: rgba(179, 102, 255, 0.6);
    --glow-cyan: rgba(0, 240, 255, 0.5);
    --glow-intense: 0 0 30px var(--glow-violet), 0 0 60px var(--glow-blue);

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.55);

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(41, 85, 255, 0.4);
    /* Switched to Blue for balance */
    --border-neon: rgba(0, 240, 255, 0.3);
}

/* --- TYPOGRAPHY --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

@font-face {
    font-family: 'Softura';
    src: url('../fonts/Softura.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Artonex';
    src: url('../fonts/Artonex.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Softura', 'Inter', system-ui, sans-serif;
    --font-brand: 'Artonex', sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.5rem;

    /* Font Weights */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
}

.optix-brand {
    font-family: var(--font-brand);
    font-weight: normal;
}

/* --- BASE RESET --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-weight: var(--font-regular);
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* =========================================
   NAVBAR - DISABLED (now using navbar.css)
   ========================================= */
/* Navbar styles are now in assets/css/navbar.css to avoid conflicts */
:root {
    --nav-height: 64px;
}

body {
    padding-top: var(--nav-height);
}

/* All .navbar styles commented out - using navbar.css instead */
/*
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
}

.navbar__logo {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.navbar__text {
    font-weight: 800;
    letter-spacing: 0.3px;
    font-size: 1.15rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 18px rgba(41, 85, 255, 0.35);
    user-select: none;
    white-space: nowrap;
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

.navbar__links li {
    height: 100%;
    display: flex;
    align-items: center;
}

.navbar__links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 10px;
    font-size: 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.navbar__links a:hover {
    color: var(--accent-violet);
}

.navbar__cta {
    padding: 10px 20px;
    background: var(--accent-gradient);
    border-radius: 10px;
    font-weight: 600;
    color: white !important;
    box-shadow: 0 4px 15px rgba(41, 85, 255, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.navbar__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(41, 85, 255, 0.6);
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.navbar__toggle span {
    height: 3px;
    width: 25px;
    background: #fff;
    border-radius: 3px;
    display: block;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 16px;
    }

    .navbar__toggle {
        display: flex;
    }

    .navbar__links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
    }

    .navbar__links.show {
        display: flex;
    }

    .navbar__links li {
        height: auto;
    }

    .navbar__links a {
        padding: 12px 0;
        width: 100%;
        justify-content: flex-start;
    }
}
*/

/* --- ANIMATED BACKGROUND --- */
.page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

/* Base image layer */
.page-background__image {
    position: absolute;
    inset: 0;
    background-image: url('../img/blury background/wallpaperflare.com_wallpaper (5).jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
}

/* Dark overlay */
.page-background__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.85) 50%,
            rgba(0, 0, 0, 0.95) 100%);
}

/* Animated glow orbs */
.page-background__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

/* Pause animations when element has .anim-paused class (set by JS Intersection Observer) */
.anim-paused,
.anim-paused * {
    animation-play-state: paused !important;
}

.page-background__glow--blue {
    width: 500px;
    height: 500px;
    background: var(--accent-blue);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.page-background__glow--violet {
    width: 400px;
    height: 400px;
    background: var(--accent-violet);
    top: 50%;
    right: 15%;
    animation-delay: -4s;
}

.page-background__glow--small {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-violet));
    bottom: 20%;
    left: 30%;
    animation-delay: -2s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }

    25% {
        transform: translate(30px, -20px) scale(1.05);
        opacity: 0.4;
    }

    50% {
        transform: translate(-20px, 30px) scale(0.95);
        opacity: 0.35;
    }

    75% {
        transform: translate(20px, 20px) scale(1.02);
        opacity: 0.45;
    }
}

/* --- UTILITY CLASSES --- */
.text-gradient {
    background: linear-gradient(90deg, #004ffa, #ae00ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- GLOW EFFECTS (Subtle-Medium) --- */

/* Logo glow with breathing animation */
.glow-logo {
    /* filter: drop-shadow(0 0 4px var(--glow-blue)); */
    /* animation: glow-breathe 3s ease-in-out infinite; */
}

@keyframes glow-breathe {

    0%,
    100% {
        filter: drop-shadow(0 0 2px rgba(41, 85, 255, 0.2));
    }

    50% {
        filter: drop-shadow(0 0 6px rgba(41, 85, 255, 0.4));
    }
}

/* Button glow */
.glow-button {
    box-shadow: 0 0 20px rgba(41, 85, 255, 0.25),
        0 4px 15px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.glow-button:hover {
    box-shadow: 0 0 30px rgba(41, 85, 255, 0.45),
        0 0 60px rgba(41, 85, 255, 0.2),
        0 8px 25px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

/* Card with animated gradient border */
.glow-card {
    position: relative;
    background: rgba(10, 10, 20, 0.92);
    /* Solid background instead of backdrop-filter */
    border-radius: 16px;
    padding: 32px;
    /* backdrop-filter removed for GPU performance */
    overflow: hidden;
}

.glow-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg,
            rgba(111, 111, 255, 0.3),
            rgba(41, 85, 255, 0.1),
            rgba(111, 111, 255, 0.3));
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: border-shimmer 4s linear infinite;
    pointer-events: none;
    /* Removed heavy blur/glow */
}

@keyframes border-shimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.glow-card:hover::before {
    background: linear-gradient(135deg,
            rgba(111, 111, 255, 0.5),
            rgba(41, 85, 255, 0.3),
            rgba(111, 111, 255, 0.5));
    background-size: 200% 200%;
}

/* Title with subtle text-shadow */
.glow-title {
    text-shadow: 0 0 30px rgba(41, 85, 255, 0.3),
        0 0 60px rgba(111, 111, 255, 0.15);
}

/* Icon glow */
.glow-icon {
    filter: drop-shadow(0 0 8px rgba(41, 85, 255, 0.4));
    transition: filter 0.3s ease;
}

.glow-icon:hover {
    filter: drop-shadow(0 0 15px rgba(41, 85, 255, 0.6));
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .page-background__glow--blue {
        width: 300px;
        height: 300px;
    }

    .page-background__glow--violet {
        width: 250px;
        height: 250px;
    }

    .page-background__glow--small {
        width: 150px;
        height: 150px;
    }
}

/* =========================================
   PRICING SECTION
   ========================================= */
.pricing__container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.pricing-card {
    background: linear-gradient(145deg, rgba(20, 20, 30, 0.9), rgba(10, 10, 20, 0.95));
    border: 1px solid var(--border-accent);
    border-radius: 24px;
    padding: 48px;
    max-width: 600px;
    margin: 0 auto 60px;
    position: relative;
    box-shadow: none;
}

.pricing-card__title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    margin-bottom: 16px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pricing-card__price {
    font-size: var(--text-5xl);
    font-weight: var(--font-extrabold);
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.pricing-card__price span {
    font-size: var(--text-lg);
    color: var(--text-muted);
    font-weight: var(--font-medium);
}

.pricing-card__features {
    list-style: none;
    margin: 32px 0;
    text-align: left;
    padding: 0 20px;
}

.pricing-card__features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.pricing-card__features li:last-child {
    border-bottom: none;
}

.check-icon {
    color: var(--accent-green, #00C896);
    background: rgba(0, 200, 150, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Mobile Flow Steps (Hidden on Desktop) */
.mobile-flow {
    display: none;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 20px;
    margin-top: 24px;
    border: 1px solid var(--border-subtle);
}

.mobile-flow__title {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.mobile-flow__steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.mobile-flow-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mobile-flow-step__icon {
    font-size: 20px;
    background: rgba(255, 255, 255, 0.05);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-flow-step__text {
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.3;
}

.mobile-flow-arrow {
    color: var(--accent-blue);
    font-size: 14px;
    opacity: 0.5;
}

/* Show on Mobile */
@media (max-width: 768px) {
    .mobile-flow {
        display: block;
    }
}

/* =========================================
   SECURITY SECTION
   ========================================= */
.security {
    padding: 80px 20px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.5));
}

.security__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.security-item {
    text-align: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    transition: transform 0.3s ease;
}

.security-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.22);
}

.security-item__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(41, 85, 255, 0.1);
    border-radius: 16px;
}

.security-item__icon svg {
    width: 32px;
    height: 32px;
}

.security-item__title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    margin-bottom: 8px;
    color: var(--text-primary);
}

.security-item__desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.5;
}

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
.testimonials__header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

/* =========================================
   TESTIMONIALS SECTION (CAROUSEL)
   ========================================= */
.testimonials__header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-carousel {
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow: hidden;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.carousel-row {
    display: flex;
    gap: 24px;
    width: max-content;
    /* Duplicate content logic handled by infinite animation on long container, 
       but for pure CSS we want 'animation: scroll'. */
}

.carousel-track {
    display: flex;
    gap: 24px;
    animation: scroll 40s linear infinite;
    /* will-change removed - causes GPU memory overhead for infinite carousels */
}

.carousel-track.reverse {
    animation-direction: reverse;
}

.testimonial-card-small {
    flex: 0 0 300px;
    /* Fixed width for smooth scroll */
    transition: transform 0.3s ease;
}

.testimonial-card-small:hover {
    transform: scale(1.05);
    z-index: 10;
}

.testimonial-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-subtle);
    display: block;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.footer {
    border-top: 1px solid var(--border-subtle);
    background: #000;
    padding: 80px 20px 40px;
    margin-top: 80px;
}

.footer__container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer__brand p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    margin-top: 16px;
    max-width: 250px;
    line-height: 1.6;
}

.footer__column h4 {
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer__column ul {
    list-style: none;
}

.footer__column a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: var(--text-sm);
    transition: color 0.2s;
}

.footer__column a:hover {
    color: var(--text-primary);
}

.footer__discord {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #5865F2;
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: var(--font-medium);
    margin-top: 8px;
}

.footer__bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 12px;
}

/* Responsive updates for new sections */
@media (max-width: 900px) {
    .pricing__container {
        padding: 0 20px;
    }

    .security__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
    }

    .footer__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .security__grid {
        grid-template-columns: 1fr;
    }

    .flow-step {
        width: 100%;
        max-width: none;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* =========================================
   CYBERPUNK EFFECTS — SPEED & NEON
   ========================================= */

/* Speed Lines Background */
.speed-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.speed-lines::before,
.speed-lines::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-violet), transparent);
    opacity: 0.15;
    animation: speed-line 3s linear infinite;
}

.speed-lines::before {
    top: 20%;
    left: -50%;
    transform: rotate(-5deg);
    animation-delay: 0s;
}

.speed-lines::after {
    top: 70%;
    left: -50%;
    transform: rotate(-3deg);
    animation-delay: 1.5s;
}

@keyframes speed-line {
    0% {
        transform: translateX(-50%) rotate(-5deg);
        opacity: 0;
    }

    10% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.15;
    }

    90% {
        opacity: 0.1;
    }

    100% {
        transform: translateX(100%) rotate(-5deg);
        opacity: 0;
    }
}

/* Grid Perspective Background */
.cyber-grid {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background:
        linear-gradient(transparent 0%, rgba(0, 0, 0, 0.8) 100%),
        repeating-linear-gradient(90deg,
            rgba(0, 240, 255, 0.03) 0px,
            rgba(0, 240, 255, 0.03) 1px,
            transparent 1px,
            transparent 80px),
        repeating-linear-gradient(0deg,
            rgba(0, 240, 255, 0.03) 0px,
            rgba(0, 240, 255, 0.03) 1px,
            transparent 1px,
            transparent 80px);
    transform: perspective(500px) rotateX(60deg);
    transform-origin: bottom center;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* Neon Text Glow */
.text-neon {
    text-shadow:
        0 0 10px var(--glow-violet),
        0 0 20px var(--glow-violet),
        0 0 40px var(--glow-blue);
}

/* Neon Border Glow */
.neon-border {
    border: 1px solid var(--border-accent);
    border: 1px solid var(--border-accent);
    box-shadow: none;
    background: rgba(41, 85, 255, 0.05);
}

/* Pulse Animation for CTA */
.pulse-neon {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow:
            0 4px 20px var(--glow-violet),
            0 0 40px var(--glow-blue);
    }

    50% {
        box-shadow:
            0 6px 30px var(--glow-violet),
            0 0 60px var(--glow-blue),
            0 0 80px var(--glow-cyan);
    }
}

/* Intensified Card Glow on Hover */
.glow-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.glow-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-violet);
    border-color: var(--accent-violet);
    box-shadow: none;
}

/* Disable hover effect on security wrapper */
.security-wrapper.glow-card:hover {
    transform: none;
    border-color: rgba(41, 85, 255, 0.3);
}

/* Speed Streak Effect */
.speed-streak {
    position: relative;
    overflow: hidden;
}

.speed-streak::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: streak 3s ease-in-out infinite;
}

@keyframes streak {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 200%;
    }
}

/* Fast CTA Button */
.cta-speed {
    position: relative;
    background: var(--accent-gradient);
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    box-shadow: 0 4px 20px var(--glow-blue);
}

.cta-speed:hover {
    transform: scale(1.03);
    box-shadow:
        0 6px 30px var(--glow-blue),
        0 0 50px var(--glow-cyan);
}

.cta-speed::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.4s ease;
}

.cta-speed:hover::before {
    left: 100%;
}

/* =========================================
   FLOATING GEOMETRIC SHAPES
   ========================================= */

/* Floating Hexagons Container */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Individual Hexagon */
.hexagon {
    position: absolute;
    width: 60px;
    height: 35px;
    background: transparent;
    border: 1px solid var(--border-neon);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
    will-change: transform;
}

.hexagon::before,
.hexagon::after {
    content: '';
    position: absolute;
    width: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
}

.hexagon::before {
    top: -17px;
    border-bottom: 17px solid var(--accent-cyan);
    opacity: 0.3;
}

.hexagon::after {
    bottom: -17px;
    border-top: 17px solid var(--accent-violet);
    opacity: 0.3;
}

/* Hexagon Positions & Variations */
.hexagon:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    transform: scale(0.8);
}

.hexagon:nth-child(2) {
    top: 30%;
    right: 8%;
    animation-delay: -5s;
    transform: scale(1.2);
}

.hexagon:nth-child(3) {
    top: 60%;
    left: 10%;
    animation-delay: -10s;
    transform: scale(0.6);
}

.hexagon:nth-child(4) {
    top: 80%;
    right: 15%;
    animation-delay: -15s;
    transform: scale(1);
}

.hexagon:nth-child(5) {
    top: 45%;
    left: 85%;
    animation-delay: -7s;
    transform: scale(0.7);
}

.hexagon:nth-child(6) {
    top: 15%;
    right: 20%;
    animation-delay: -12s;
    transform: scale(0.9);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(5deg);
    }

    50% {
        transform: translateY(-10px) rotate(-3deg);
    }

    75% {
        transform: translateY(-25px) rotate(3deg);
    }
}

/* Speed Triangles */
.speed-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 16px solid var(--accent-cyan);
    opacity: 0.2;
    animation: glide 8s linear infinite;
    will-change: transform;
}

.speed-triangle:nth-child(1) {
    top: 25%;
    left: -20px;
    animation-delay: 0s;
}

.speed-triangle:nth-child(2) {
    top: 55%;
    left: -20px;
    animation-delay: -2s;
    opacity: 0.15;
}

.speed-triangle:nth-child(3) {
    top: 75%;
    left: -20px;
    animation-delay: -4s;
    opacity: 0.1;
}

.speed-triangle:nth-child(4) {
    top: 40%;
    left: -20px;
    animation-delay: -6s;
    transform: scale(1.5);
}

@keyframes glide {
    0% {
        transform: translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.2;
    }

    90% {
        opacity: 0.1;
    }

    100% {
        transform: translateX(calc(100vw + 40px));
        opacity: 0;
    }
}

/* Glow Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse-orb 6s ease-in-out infinite;
    will-change: opacity, transform;
}

.glow-orb--cyan {
    width: 200px;
    height: 200px;
    background: var(--glow-cyan);
    top: 20%;
    left: 10%;
    opacity: 0.15;
}

.glow-orb--violet {
    width: 300px;
    height: 300px;
    background: var(--glow-violet);
    bottom: 30%;
    right: 5%;
    opacity: 0.1;
    animation-delay: -3s;
}

.glow-orb--small {
    width: 100px;
    height: 100px;
    background: var(--glow-blue);
    top: 60%;
    left: 50%;
    opacity: 0.12;
    animation-delay: -1.5s;
}

@keyframes pulse-orb {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.2;
    }
}

/* Particle Field */
.particle-field {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent-cyan);
    border-radius: 50%;
    opacity: 0;
    animation: twinkle 4s ease-in-out infinite;
    will-change: opacity;
}

.particle:nth-child(1) {
    top: 15%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 35%;
    left: 70%;
    animation-delay: -1s;
}

.particle:nth-child(3) {
    top: 55%;
    left: 40%;
    animation-delay: -2s;
}

.particle:nth-child(4) {
    top: 75%;
    left: 85%;
    animation-delay: -0.5s;
}

.particle:nth-child(5) {
    top: 25%;
    left: 55%;
    animation-delay: -1.5s;
}

.particle:nth-child(6) {
    top: 65%;
    left: 15%;
    animation-delay: -3s;
}

.particle:nth-child(7) {
    top: 45%;
    left: 90%;
    animation-delay: -2.5s;
}

.particle:nth-child(8) {
    top: 85%;
    left: 30%;
    animation-delay: -3.5s;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        opacity: 0.8;
        transform: scale(1);
    }
}

/* Motion Trail on Cards */
.motion-trail {
    position: relative;
    overflow: hidden;
}

.motion-trail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, var(--glow-cyan) 50%, transparent 100%);
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.motion-trail:hover::before {
    opacity: 0.15;
    animation: trail-sweep 0.6s ease-out;
}

@keyframes trail-sweep {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* =========================================
   SCROLL-TRIGGERED SPEED LINES (WARP EFFECT)
   ========================================= */

.scroll-speed-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.15s ease-out;
    overflow: hidden;
}

.scroll-speed-lines.active {
    opacity: 1;
}

/* Vertical lines removed in favor of dynamic dashes below */

/* Central intense lines */
.speed-line-center {
    position: absolute;
    width: 2px;
    background: linear-gradient(180deg,
            transparent 0%,
            var(--accent-blue) 30%,
            var(--accent-violet) 70%,
            transparent 100%);
    filter: blur(1px);
    box-shadow: 0 0 10px var(--glow-violet);
    animation: speed-dash-up linear infinite;
    will-change: transform, opacity;
}

@keyframes speed-dash-up {
    0% {
        transform: translateY(100vh);
        opacity: 0;
    }

    20% {
        opacity: var(--line-opacity, 0.6);
    }

    80% {
        opacity: var(--line-opacity, 0.6);
    }

    100% {
        transform: translateY(-100vh);
        opacity: 0;
    }
}

/* Left Side Lines (1-10) */
.speed-line-center:nth-child(1) {
    left: 0.5%;
    height: 350px;
    animation-duration: 3s;
    animation-delay: 0s;
    --line-opacity: 0.7;
}

.speed-line-center:nth-child(2) {
    left: 1.5%;
    height: 180px;
    animation-duration: 5s;
    animation-delay: -1s;
    --line-opacity: 0.5;
}

.speed-line-center:nth-child(3) {
    left: 2.5%;
    height: 450px;
    animation-duration: 2.5s;
    animation-delay: -4s;
    --line-opacity: 0.4;
}

.speed-line-center:nth-child(4) {
    left: 3.5%;
    height: 220px;
    animation-duration: 6s;
    animation-delay: -2s;
    --line-opacity: 0.35;
}

.speed-line-center:nth-child(5) {
    left: 5.0%;
    height: 300px;
    animation-duration: 4s;
    animation-delay: -3s;
    --line-opacity: 0.25;
}

.speed-line-center:nth-child(6) {
    left: 6.5%;
    height: 150px;
    animation-duration: 5.5s;
    animation-delay: -6s;
    --line-opacity: 0.15;
}

.speed-line-center:nth-child(7) {
    left: 8.0%;
    height: 280px;
    animation-duration: 4.5s;
    animation-delay: -1.5s;
    --line-opacity: 0.1;
}

.speed-line-center:nth-child(8) {
    left: 9.5%;
    height: 400px;
    animation-duration: 3.5s;
    animation-delay: -5s;
    --line-opacity: 0.05;
}

.speed-line-center:nth-child(9) {
    left: 11.0%;
    height: 120px;
    animation-duration: 7s;
    animation-delay: -2.5s;
    --line-opacity: 0.03;
}

.speed-line-center:nth-child(10) {
    left: 13.0%;
    height: 250px;
    animation-duration: 5s;
    animation-delay: -4.5s;
    --line-opacity: 0.01;
}

/* Right Side Lines (11-20) */
.speed-line-center:nth-child(11) {
    right: 0.5%;
    height: 320px;
    animation-duration: 3.2s;
    animation-delay: -0.5s;
    --line-opacity: 0.7;
}

.speed-line-center:nth-child(12) {
    right: 1.5%;
    height: 190px;
    animation-duration: 4.8s;
    animation-delay: -1.2s;
    --line-opacity: 0.5;
}

.speed-line-center:nth-child(13) {
    right: 2.5%;
    height: 430px;
    animation-duration: 2.7s;
    animation-delay: -3.5s;
    --line-opacity: 0.4;
}

.speed-line-center:nth-child(14) {
    right: 3.5%;
    height: 210px;
    animation-duration: 6.5s;
    animation-delay: -1.8s;
    --line-opacity: 0.35;
}

.speed-line-center:nth-child(15) {
    right: 5.0%;
    height: 310px;
    animation-duration: 4.2s;
    animation-delay: -2.8s;
    --line-opacity: 0.25;
}

.speed-line-center:nth-child(16) {
    right: 6.5%;
    height: 140px;
    animation-duration: 5.3s;
    animation-delay: -5.5s;
    --line-opacity: 0.15;
}

.speed-line-center:nth-child(17) {
    right: 8.0%;
    height: 290px;
    animation-duration: 4.3s;
    animation-delay: -1.2s;
    --line-opacity: 0.1;
}

.speed-line-center:nth-child(18) {
    right: 9.5%;
    height: 410px;
    animation-duration: 3.7s;
    animation-delay: -4.5s;
    --line-opacity: 0.05;
}

.speed-line-center:nth-child(19) {
    right: 11.0%;
    height: 130px;
    animation-duration: 6.8s;
    animation-delay: -2.2s;
    --line-opacity: 0.03;
}

.speed-line-center:nth-child(20) {
    right: 13.0%;
    height: 240px;
    animation-duration: 5.2s;
    animation-delay: -4.2s;
    --line-opacity: 0.01;
}

/* =========================================
   DECORATIVE ELEMENTS — DIVIDERS & BADGES
   ========================================= */

/* Animated Chevron Divider */
.section-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 40px 0;
    position: relative;
}

.chevron {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 10px solid var(--accent-violet);
    opacity: 0.4;
    animation: chevron-pulse 2s ease-in-out infinite;
}

.chevron:nth-child(2) {
    animation-delay: 0.15s;
    opacity: 0.6;
}

.chevron:nth-child(3) {
    animation-delay: 0.3s;
    opacity: 0.8;
}

@keyframes chevron-pulse {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.3;
    }

    50% {
        transform: translateY(6px);
        opacity: 0.8;
    }
}

/* Performance Badge */
.perf-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(179, 102, 255, 0.15);
    border: 1px solid var(--border-accent);
    border-radius: 50px;
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--accent-violet);
    /* box-shadow: 0 0 20px rgba(179, 102, 255, 0.2); */
    /* animation: badge-glow 3s ease-in-out infinite; */
}

.perf-badge--blue {
    background: rgba(124, 138, 255, 0.15);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    /* box-shadow: 0 0 20px rgba(124, 138, 255, 0.2); */
}

.perf-badge__icon {
    font-size: 1.1em;
}

@keyframes badge-glow {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(179, 102, 255, 0.15);
    }

    50% {
        box-shadow: 0 0 25px rgba(179, 102, 255, 0.35);
    }
}

/* Neon Line Separator */
.neon-separator {
    width: 100%;
    max-width: 600px;
    height: 1px;
    margin: 0 auto;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--accent-blue) 20%,
            var(--accent-violet) 50%,
            var(--accent-blue) 80%,
            transparent 100%);
    position: relative;
    overflow: hidden;
}

.neon-separator::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 200%;
    }
}

/* Badge Container */
.badge-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 20px 0;
}

/* =========================================
   ADVANCED DECORATIVE ELEMENTS (CYBERPUNK)
   ========================================= */

/* 1. Grid Accents (Rotating Crosses) */
.decor-grid-plus {
    position: absolute;
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 1;
}

.decor-grid-plus::before,
.decor-grid-plus::after {
    content: '';
    position: absolute;
    background: var(--accent-cyan);
    opacity: 0.4;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 5px var(--glow-cyan);
}

.decor-grid-plus::before {
    width: 100%;
    height: 2px;
}

.decor-grid-plus::after {
    width: 2px;
    height: 100%;
}

.decor-grid-plus.rotate {
    animation: spin-slow 10s linear infinite;
}

.decor-grid-plus.blink {
    animation: blink-random 4s infinite;
}

@keyframes spin-slow {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes blink-random {

    0%,
    90%,
    100% {
        opacity: 0.4;
    }

    92% {
        opacity: 1;
    }

    94% {
        opacity: 0.1;
    }

    96% {
        opacity: 1;
    }
}

/* 2. Side Tech Bars */
.tech-bar {
    position: absolute;
    width: 2px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
    overflow: hidden;
}

.tech-bar::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 30%;
    background: var(--accent-violet);
    box-shadow: 0 0 10px var(--accent-violet);
    animation: scan-down 3s ease-in-out infinite;
}

@keyframes scan-down {
    0% {
        top: -50%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 150%;
        opacity: 0;
    }
}

/* 3. Cyber Corners (HUD Brackets) */
.cyber-corner-container {
    position: relative;
}

.cyber-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-cyan);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.cyber-corner:hover {
    opacity: 1;
    box-shadow: 0 0 8px var(--glow-cyan);
}

.cyber-corner--tl {
    top: -10px;
    left: -10px;
    border-right: none;
    border-bottom: none;
}

.cyber-corner--tr {
    top: -10px;
    right: -10px;
    border-left: none;
    border-bottom: none;
}

.cyber-corner--bl {
    bottom: -10px;
    left: -10px;
    border-right: none;
    border-top: none;
}

.cyber-corner--br {
    bottom: -10px;
    right: -10px;
    border-left: none;
    border-top: none;
}

/* Mobile Optimization: Reduce speed lines count by half */
@media (max-width: 768px) {
    .speed-line-center:nth-child(even) {
        display: none;
    }
}