/* GASTROCHAIN NEURAL SHARED STYLES */
:root {
    --electric: #00c2ff;
    --darker: #0b0b0f;
    --glass: rgba(255, 255, 255, 0.03);
}

html,
body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    background-color: #000000;
    color: #d1d1d6;
    line-height: 1.8;
    letter-spacing: 0.015em;
    position: relative;
    background-attachment: fixed;
}

/* Typography & Content Structure (replacing massive @apply) */
article h2 {
    font-size: 1.875rem;
    /* 3xl */
    font-weight: 900;
    color: #ffffff;
    margin-top: 6rem;
    /* 24 */
    margin-bottom: 3rem;
    /* 12 */
    text-transform: uppercase;
    letter-spacing: -0.05em;
    /* tracking-tighter */
    border-left: 4px solid var(--electric);
    padding-left: 1.5rem;
    background: linear-gradient(to right, rgba(0, 194, 255, 0.1), transparent);
}

@media (min-width: 768px) {
    article h2 {
        font-size: 3rem;
        /* 5xl */
        margin-top: 12rem;
        /* 48 */
        margin-bottom: 6rem;
        /* 24 */
        border-left-width: 8px;
        padding-left: 2.5rem;
    }
}

article h3 {
    font-size: 1.5rem;
    /* 2xl */
    font-weight: 700;
    color: #ffffff;
    margin-top: 4rem;
    /* 16 */
    margin-bottom: 2rem;
    /* 8 */
    text-transform: uppercase;
    letter-spacing: -0.025em;
    /* tracking-tight */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

@media (min-width: 768px) {
    article h3 {
        font-size: 1.875rem;
        /* 3xl */
        margin-top: 8rem;
        /* 32 */
        margin-bottom: 3rem;
        /* 12 */
    }
}

article h4 {
    font-size: 1.25rem;
    /* xl */
    font-weight: 700;
    color: var(--electric);
    margin-top: 3rem;
    /* 12 */
    margin-bottom: 1.5rem;
    /* 6 */
}

@media (min-width: 768px) {
    article h4 {
        font-size: 1.5rem;
        /* 2xl */
        margin-top: 5rem;
        /* 20 */
        margin-bottom: 2rem;
        /* 8 */
    }
}

article p {
    margin-bottom: 2.5rem;
    /* 10 */
    color: #d1d5db;
    /* text-zinc-300 */
    font-size: 1.125rem;
    /* lg */
    line-height: 1.8;
    font-weight: 300;
}

@media (min-width: 768px) {
    article p {
        margin-bottom: 5rem;
        /* 20 */
        font-size: 1.25rem;
        /* xl */
        line-height: 1.9;
    }
}

article ul {
    margin-bottom: 3rem;
    /* 12 */
    list-style: none;
}

@media (min-width: 768px) {
    article ul {
        margin-bottom: 6rem;
        /* 24 */
    }
}

article li {
    padding-left: 2.5rem;
    /* 10 */
    position: relative;
    color: #d1d5db;
    /* text-zinc-300 */
    font-size: 1rem;
    line-height: 1.625;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    article li {
        padding-left: 3rem;
        /* 12 */
        font-size: 1.125rem;
        /* lg */
        margin-bottom: 2.5rem;
    }
}

article li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--electric);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 194, 255, 0.8);
}

/* Specialized Components */
.stat-card {
    background: linear-gradient(180deg, rgba(15, 15, 25, 0.9), rgba(0, 0, 0, 0.95));
    border: 1px solid rgba(0, 194, 255, 0.25);
    padding: 2rem;
    border-radius: 2rem;
    transition: all 0.7s duration-700 ease;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(0, 194, 255, 0.05);
}

@media (min-width: 768px) {
    .stat-card {
        padding: 4rem;
        border-radius: 4rem;
    }
}

.stat-card:hover {
    border-color: var(--electric);
    background-color: rgba(0, 194, 255, 0.08);
    transform: translateY(-0.75rem);
    box-shadow: 0 30px 100px -20px rgba(0, 194, 255, 0.4);
}

.mini-card {
    background: rgba(20, 20, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 1rem;
    transition: all 0.5s ease;
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
    .mini-card {
        padding: 2.5rem;
        border-radius: 2.5rem;
    }
}

.mini-card:hover {
    background-color: rgba(0, 194, 255, 0.1);
    border-color: rgba(0, 194, 255, 0.5);
    transform: scale(1.03);
}

.highlight-box {
    background: linear-gradient(135deg, rgba(0, 194, 255, 0.15) 0%, rgba(147, 51, 234, 0.15) 50%, rgba(0, 194, 255, 0.15) 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    border: 1px solid rgba(0, 194, 255, 0.3);
    padding: 2rem;
    border-radius: 2.5rem;
    margin: 1rem 0;
    font-style: italic;
    color: #ffffff;
    font-size: 1.125rem;
    line-height: 1.6;
    position: relative;
    overflow: hidden;
    box-shadow: 0 50px 150px -30px rgba(0, 194, 255, 0.3);
}

@media (min-width: 768px) {
    .highlight-box {
        padding: 3rem;
        border-radius: 4rem;
        margin: 1.5rem 0;
        font-size: 1.25rem;
    }
}

.highlight-box::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--electric), transparent);
    opacity: 0.3;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Glow Blobs */
.glow-blob {
    position: fixed;
    pointer-events: none;
    z-index: -10;
    filter: blur(180px);
    opacity: 0.25;
    border-radius: 9999px;
    width: 800px;
    height: 800px;
    animation: drift 30s ease-in-out infinite alternate;
}

@keyframes drift {
    0% {
        transform: translate(-5%, -5%) scale(1);
    }

    100% {
        transform: translate(5%, 5%) scale(1.1);
    }
}

/* Global Texture (Optional overlay) */
.glass-grain::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    mix-blend-mode: overlay;
    z-index: 1;
}

/* Comparison Tables */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 3rem 0;
    /* 12 */
}

@media (min-width: 768px) {
    .comparison-table {
        margin: 6rem 0;
        /* 24 */
    }
}

.comparison-table th {
    padding: 1rem;
    /* 4 */
    text-align: left;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    /* tracking-widest */
    color: #71717a;
    /* text-zinc-500 */
    border-bottom: 1px solid #18181b;
    /* text-zinc-900 */
}

@media (min-width: 768px) {
    .comparison-table th {
        padding: 1.5rem;
        /* 6 */
        font-size: 10px;
    }
}

.comparison-table td {
    padding: 1rem;
    /* 4 */
    font-size: 0.75rem;
    /* xs */
    border-bottom: 1px solid rgba(24, 24, 27, 0.5);
    vertical-align: middle;
}

@media (min-width: 768px) {
    .comparison-table td {
        padding: 1.5rem;
        /* 6 */
        font-size: 0.875rem;
        /* sm */
    }
}

.comparison-table tr:hover td {
    background-color: rgba(24, 24, 27, 0.3);
    color: #ffffff;
}

.comparison-table .highlight {
    color: var(--electric);
    font-weight: 900;
    background-color: rgba(0, 194, 255, 0.05);
}

/* Section Dividers */
.section-divider {
    height: 2px;
    width: 100%;
    margin: 6rem 0;
    /* 24 */
    background: linear-gradient(to right, transparent, rgba(0, 194, 255, 0.4), transparent);
    box-shadow: 0 0 20px rgba(0, 194, 255, 0.1);
}

@media (min-width: 768px) {
    .section-divider {
        margin: 12rem 0;
        /* 48 */
    }
}

/* Epilogue / Call to Action Cards */
.epilogue-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    border: 1px solid #18181b;
    /* border-zinc-900 */
    padding: 3rem;
    /* 12 */
    border-radius: 2rem;
    margin: 4rem 0;
    /* 16 */
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .epilogue-card {
        padding: 6rem;
        /* 24 */
        border-radius: 4rem;
        margin: 8rem 0;
        /* 32 */
    }
}

.epilogue-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 194, 255, 0.05) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

/* Core Animations */
@keyframes gradient-x {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes plasma-flow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(5%, 10%) scale(1.1);
    }

    66% {
        transform: translate(-5%, 5%) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes border-dance {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes shine {
    100% {
        transform: translateX(100%);
    }
}

@keyframes text-shimmer {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

/* Base Utility Classes */
.hero-gradient {
    background: radial-gradient(circle at 50% 50%, rgba(0, 194, 255, 0.25), transparent 85%);
}

.luminous-bloom {
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 194, 255, 0.05), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.05), transparent 40%);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
}

.glass-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--electric);
    outline: none;
    box-shadow: 0 0 20px rgba(0, 194, 255, 0.2);
}

.neon-glow-border {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1.5rem;
    transition: all 0.5s ease;
    z-index: 1;
}

.neon-glow-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #00f2fe, #4facfe, #f093fb, #f5576c, #f97316, #14b8a6);
    background-size: 400%;
    z-index: -1;
    animation: border-dance 12s linear infinite;
    border-radius: 1.6rem;
    opacity: 0.4;
    filter: blur(8px);
}

.neon-glow-border:hover::before {
    opacity: 1;
    filter: blur(12px);
}

.animate-gradient-x {
    background-size: 200% 200%;
    animation: gradient-x 10s ease infinite;
}

.animate-marquee {
    animation: marquee 25s linear infinite;
}

.animate-plasma {
    animation: plasma-flow 15s ease-in-out infinite;
}

.animate-shine {
    animation: shine 1.5s infinite;
}

.animate-text-shimmer {
    background-size: 200% auto;
    animation: text-shimmer 3s linear infinite;
}

/* Responsive Mobile Fixes */
@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Disable hover effects on touch devices */
    .pricing-card:hover,
    .floating-shot:hover,
    .module-card:hover,
    .chat-card-backlit:hover,
    .stat-card:hover {
        transform: none !important;
        scale: 1 !important;
        z-index: 10 !important;
        transition: none !important;
    }

    /* Mobile Typography */
    h1 {
        font-size: 2.2rem !important;
        line-height: 1.1 !important;
    }

    h2,
    h2 span {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
    }

    p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }

    section {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        width: 100vw !important;
        overflow-x: hidden !important;
    }

    .animate-marquee {
        animation-duration: 40s !important;
    }

    .neural-flow-container,
    .constellation-layer,
    .quantum-epicenter {
        display: none !important;
    }
}