:root {
    /* Color Palette - Luxury Cyber / Garnet Gemstone */
    --bg-obsidian: #050505;
    --bg-obsidian-soft: #0a0a0a;
    --garnet-deep: hsl(348, 83%, 25%);
    --garnet-main: hsl(348, 83%, 47%);
    --garnet-glow: hsla(348, 83%, 47%, 0.4);
    --garnet-rim: hsla(348, 83%, 60%, 0.15);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);

    --glass-bg: rgba(15, 15, 15, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-glow: hsla(348, 83%, 47%, 0.1);

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

    /* Layout & Motion */
    --container-max: 1200px;
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-med: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 1. Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-obsidian);
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* 2. Signature Backgrounds */

/* Aurora Mesh Background */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle at 20% 30%, var(--garnet-deep) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, #1a0510 0%, transparent 40%);
    filter: blur(80px);
    opacity: 0.5;
    animation: auroraShift 20s ease-in-out infinite alternate;
}

@keyframes auroraShift {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.1) translate(5%, 5%);
    }
}

/* Perspective Gridfield */
.gridfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    perspective: 1000px;
    transform: rotateX(60deg) scale(2);
    transform-origin: top;
    opacity: 0.4;
}

.grid-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--garnet-glow), transparent);
    background-size: 100% 200%;
    animation: shimmer 8s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% 100%;
    }

    100% {
        background-position: 0% -100%;
    }
}

/* 3. Global Header */
header.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-med);
}

header.main-nav.scrolled {
    padding: 0.8rem 0;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition-med);
}

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

.logo span {
    background: linear-gradient(135deg, var(--text-primary), var(--garnet-main));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition-med);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: var(--garnet-main);
    box-shadow: 0 0 10px var(--garnet-main);
    transition: var(--transition-med);
    transform: translateX(-50%);
}

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

.btn-primary {
    padding: 0.7rem 1.6rem;
    background: var(--garnet-main);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-med);
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%) skewX(45deg);
    transition: 0.5s;
    pointer-events: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(183, 18, 52, 0.3);
}

.btn-primary:hover::before {
    width: 150%;
}

.btn-secondary {
    padding: 0.7rem 1.6rem;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 4px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-med);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-secondary);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: var(--transition-med);
}

/* 4. Glassmorphism Components */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.8rem;
    transition: var(--transition-med);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 0 20px var(--glass-glow);
    transform: translateY(-5px);
}

/* Testimonials & Metrics */
/* Testimonials Section - Data Stream Flare */
.testimonials {
    position: relative;
    background: linear-gradient(rgba(5, 5, 5, 0.95), rgba(5, 5, 5, 0.85)),
        url('assets/images/garnet-data-stream.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    padding: 8rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border-radius: 8px;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: #ff5f33;
    /* Recovered orange/garnet accent */
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
}

.testimonial-quote {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.7;
    flex-grow: 1;
}

.testimonial-author h4 {
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

.testimonial-author p {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.metrics-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4rem;
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 1px solid var(--glass-border);
}

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

.metric-value {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--garnet-main);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 0.8rem;
}

.metric-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Immersive Expertise Tiles */
.tile-bg {
    position: relative;
    overflow: hidden;
    background: var(--bg-obsidian-soft) !important;
    /* Base for contrast */
}

.tile-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--tile-img);
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    filter: saturate(0.5) brightness(0.8);
    transition: var(--transition-med);
    z-index: 0;
}

.tile-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(5, 5, 5, 0.2) 0%,
            rgba(5, 5, 5, 0.7) 40%,
            #050505 100%);
    z-index: 1;
}

.tile-bg>* {
    position: relative;
    z-index: 2;
}

.tile-bg:hover::before {
    opacity: 0.3;
    transform: scale(1.1);
    filter: saturate(1) brightness(1);
}

/* UI Elements */
.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 8px var(--garnet-glow));
}

.case-study-img,
.showcase-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--garnet-rim);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.showcase-img {
    height: 300px;
}

/* Background Utilities */
.bg-nebula {
    background: linear-gradient(rgba(10, 10, 12, 0.8), rgba(10, 10, 12, 0.8)),
        url('assets/images/header-nebula.png') no-repeat center center;
    background-size: cover;
}

.bg-fluid {
    background: linear-gradient(rgba(10, 10, 12, 0.8), rgba(10, 10, 12, 0.8)),
        url('assets/images/header-fluid.png') no-repeat center center;
    background-size: cover;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 4. Page Layouts */
section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    position: relative;
}

.hero-content {
    max-width: 700px;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 60%, var(--garnet-main));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    z-index: 1;
}

.garnet-orb {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, var(--garnet-main), var(--garnet-deep));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(2px);
    box-shadow: 0 0 100px var(--garnet-glow), inset -20px -20px 50px rgba(0, 0, 0, 0.5);
    animation: orbMorph 15s ease-in-out infinite alternate;
}

@keyframes orbMorph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }

    100% {
        border-radius: 40% 60% 40% 60% / 40% 40% 60% 60%;
    }
}

/* Grid Sections */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

/* What We Build Section */
.what-we-build {
    position: relative;
}

/* Strict Grid for What We Build */
.what-we-build .card-grid {
    grid-template-columns: repeat(4, 1fr);
}



/* Unified Landing Page Background (Post-JGPT) */
.expertise-preview,
.engagement-tiers,
.why-garnet,
.testimonials,
.cta-banner {
    position: relative;
    background: linear-gradient(rgba(5, 5, 5, 0.95), rgba(5, 5, 5, 0.85)),
        url('assets/images/garnet-data-stream.png') no-repeat center center !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    padding: 6rem 0;
    /* Reduced global padding */
    border-top: 1px solid rgba(162, 23, 62, 0.1);
}

/* Specific spacing adjustments for flow */
.engagement-tiers {
    padding-bottom: 2rem !important;
    border-bottom: none !important;
}

.why-garnet {
    padding-top: 2rem !important;
    border-top: none !important;
}

/* Metrics Storytelling Visual */
.metrics-visual {
    text-align: center;
    margin-bottom: -2rem;
    margin-top: 6rem;
    /* Increased spacing from testimonials */
    position: relative;
    z-index: 1;
    height: 300px;
    /* Fixed height for stability */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.metrics-story-container {
    position: relative;
    width: 600px;
    max-width: 100%;
    height: 100%;
}

.story-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    max-height: 100%;
    opacity: 0;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(162, 23, 62, 0.4);
    border: 1px solid rgba(162, 23, 62, 0.3);
}

/*
   Animation Sequence (16s cycle -> 4s per slide)
   We use a 25% window per slide.
   To crossfade smoothly:
   - Slide 1: 0% -> 25% (Visible). Fade out 25% -> 30%.
   - Slide 2: Starts fading in at 20%. Fully visible 25% -> 50%. Fade out 50% -> 55%.

   Actually, simpler approach: All slides have same animation, just delayed.
   Keyframes:
   0% - 20%: Opacity 1 (Show)
   25% - 95%: Opacity 0 (Hide)
   100%: Opacity 1 (Loop back)

   Animation Sequence (16s cycle -> 2s per slide)
   8 Slides. 
   Window = 12.5% per slide.
   Slide duration: 2s.
   Overlap: Slide holds solid until next slide fades in.
*/

.slide-1 {
    animation: storyCycle 16s infinite;
    animation-delay: 0s;
}

.slide-2 {
    animation: storyCycle 16s infinite;
    animation-delay: 2s;
}

.slide-3 {
    animation: storyCycle 16s infinite;
    animation-delay: 4s;
}

.slide-4 {
    animation: storyCycle 16s infinite;
    animation-delay: 6s;
}

.slide-5 {
    animation: storyCycle 16s infinite;
    animation-delay: 8s;
}

.slide-6 {
    animation: storyCycle 16s infinite;
    animation-delay: 10s;
}

.slide-7 {
    animation: storyCycle 16s infinite;
    animation-delay: 12s;
}

.slide-8 {
    animation: storyCycle 16s infinite;
    animation-delay: 14s;
}

@keyframes storyCycle {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.95);
        z-index: 2;
    }

    5% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        z-index: 2;
    }

    12.5% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.02);
        z-index: 1;
    }

    15% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.03);
        z-index: 1;
    }

    /* Hold */
    15.1% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.03);
        z-index: 0;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.95);
        z-index: 0;
    }
}

@media (max-width: 600px) {
    .what-we-build .card-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    background: var(--bg-obsidian-soft);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--garnet-rim);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-med);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--garnet-main);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Mobile Menu Slide-out */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    padding: 8rem 3rem;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid var(--garnet-rim);
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav a {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.mobile-nav a.active {
    color: var(--garnet-main);
}

/* Toolbelt Strip */
.toolbelt {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 3rem 0;
    margin-top: 4rem;
}

.tool-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    opacity: 0.6;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
}

.tool-icon {
    width: 40px;
    height: 40px;
    background: var(--garnet-rim);
    border: 1px solid var(--garnet-main);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--garnet-main);
    font-family: monospace;
}

/* List Styles */
.deliverables-list {
    list-style: none;
    margin-top: 1.5rem;
}

.deliverables-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.deliverables-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--garnet-main);
}

/* Before/After Comparison */
.ba-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.ba-card {
    padding: 3rem;
    position: relative;
}

.ba-card.before {
    background: rgba(255, 255, 255, 0.02);
    border-right: 1px solid var(--glass-border);
}

.ba-card.after {
    background: var(--glass-bg);
}

.ba-tag {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 800;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
}

.before .ba-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.after .ba-tag {
    background: var(--garnet-main);
    color: white;
}

/* Engagement Tiers */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.tier-card {
    text-align: center;
}

.tier-num {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--garnet-main);
    opacity: 0.3;
    margin-bottom: -1.5rem;
}

/* Sub-nav for Product Pages */
.sub-nav {
    position: sticky;
    top: 80px;
    background: var(--bg-obsidian);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    z-index: 900;
    margin-bottom: 2rem;
}

.sub-nav .container {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
}

.sub-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    transition: var(--transition-med);
}

.sub-nav a:hover {
    color: var(--garnet-main);
}

/* Feature Grid for JGPT */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 8rem;
}

.feature-row:nth-child(even) {
    direction: rtl;
}

.feature-row:nth-child(even) .feature-text {
    direction: ltr;
}

.stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.stat-val {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--garnet-main);
    font-family: var(--font-heading);
}

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

/* Code Block */
.code-panel {
    background: #000;
    border: 1px solid var(--garnet-rim);
    padding: 2rem;
    border-radius: 8px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    position: relative;
    overflow-x: auto;
}

.code-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--garnet-main), transparent);
}

.code-keyword {
    color: #f92672;
}

.code-class {
    color: #a6e22e;
}

.code-string {
    color: #e6db74;
}

.code-comment {
    color: #75715e;
}

/* CTA Banner */
/* CTA Banner - Garnet Grid Background */
/* CTA Banner - Obsidian Reflex */
.cta-banner {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    background: transparent;
}

/* Transform the container into a floating card */
.cta-banner .container {
    background: linear-gradient(145deg, #0a0a0a, #000000);
    border: 1px solid var(--garnet-rim);
    border-radius: 24px;
    padding: 5rem 3rem;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(162, 23, 62, 0.1);
    max-width: 1000px;
    /* Contain width */
    margin: 0 auto;
    text-align: center;
}

/* Subtle gloss effect */
.cta-banner .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.05), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Deep garnet pulse at bottom */
.cta-banner .container::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 100px;
    background: var(--garnet-main);
    filter: blur(80px);
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

.cta-banner .section-header {
    position: relative;
    z-index: 2;
}

.cta-banner .section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 60%, var(--garnet-main));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-banner h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 60%, var(--garnet-main));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive */

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

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

    .ba-card.before {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }

    header.main-nav {
        padding: 1rem 0;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        gap: 2rem;
    }

    .nav-links.mobile-active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .mobile-toggle {
        display: block;
        position: relative;
        z-index: 1100;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-toggle.active span:nth-child(2) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-btn {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .hero {
        text-align: center;
        justify-content: center;
    }

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

    .hero-btns {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    section {
        padding: 5rem 0;
    }

    /* Responsive Adjustments */
    .stats-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Technology Ecosystem Grid */
.tech-stack-section {
    padding: 4rem 0;
    text-align: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.tech-item {
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: var(--garnet-main);
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.2);
}

.tech-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.tech-category {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Enhanced Showcase Visuals */

/* Animated gradient border for showcase cards */
.showcase-content .glass-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
            var(--garnet-main),
            #ff6b9d,
            var(--garnet-main),
            #c71585);
    background-size: 300% 300%;
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: gradientShift 4s ease infinite;
}

.showcase-content .glass-card:hover::before {
    opacity: 0.6;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Code panel syntax highlighting enhancement */
.code-panel {
    position: relative;
    overflow: hidden;
}

.code-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(220, 20, 60, 0.1),
            transparent);
    transition: left 0.5s ease;
}

.glass-card:hover .code-panel::after {
    left: 100%;
}

/* Stats row enhancement with pulse effect */
.stat-box {
    position: relative;
    overflow: hidden;
}

.stat-val {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    color: var(--garnet-main);
    text-shadow: 0 0 20px rgba(220, 20, 60, 0.3);
    transition: transform 0.3s ease;
}

.stat-box:hover .stat-val {
    transform: scale(1.1);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

/* Tech grid stagger animation */
.tech-item {
    opacity: 0;
    transform: translateY(20px);
    animation: techFadeIn 0.6s ease forwards;
}

.tech-item:nth-child(1) {
    animation-delay: 0.1s;
}

.tech-item:nth-child(2) {
    animation-delay: 0.2s;
}

.tech-item:nth-child(3) {
    animation-delay: 0.3s;
}

.tech-item:nth-child(4) {
    animation-delay: 0.4s;
}

.tech-item:nth-child(5) {
    animation-delay: 0.5s;
}

.tech-item:nth-child(6) {
    animation-delay: 0.6s;
}

.tech-item:nth-child(7) {
    animation-delay: 0.7s;
}

.tech-item:nth-child(8) {
    animation-delay: 0.8s;
}

@keyframes techFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Showcase section dividers with animated line */
.showcase-divider {
    position: relative;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            var(--garnet-rim),
            transparent);
    margin: 4rem 0;
    overflow: hidden;
}

.showcase-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            var(--garnet-main),
            transparent);
    animation: dividerScan 3s ease-in-out infinite;
}

@keyframes dividerScan {

    0%,
    100% {
        left: -100%;
    }

    50% {
        left: 100%;
    }
}

/* Image hover zoom effect */
.glass-card img {
    transition: transform 0.5s ease, filter 0.5s ease;
}

.glass-card:hover img {
    transform: scale(1.05);
    filter: brightness(1.1) saturate(1.2);
}

/* Section number badges */
.section-header h2::before {
    content: attr(data-number);
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: linear-gradient(135deg, var(--garnet-main), #c71585);
    border-radius: 50%;
    margin-right: 1rem;
    font-size: 1.2rem;
    font-weight: 900;
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.4);
}

/* Deliverables list enhancement */
.deliverables-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.deliverables-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    transition: transform 0.2s ease, color 0.2s ease;
}

.deliverables-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--garnet-main);
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.deliverables-list li:hover {
    transform: translateX(5px);
    color: var(--garnet-main);
}

.deliverables-list li:hover::before {
    transform: translateX(-3px);
}

/* Floating particles background for showcase */
.showcase-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--garnet-main);
    border-radius: 50%;
    animation: float 20s infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--garnet-main), #ff6b9d);
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
}

/* Enhanced stat boxes with glow */
.stat-box {
    position: relative;
    padding: 1.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(220, 20, 60, 0.2);
    transition: all 0.3s ease;
}

.stat-box::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 8px;
    padding: 1px;
    background: linear-gradient(135deg, var(--garnet-main), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-box:hover::before {
    opacity: 1;
}

/* Code panel line numbers */
.code-panel {
    position: relative;
    counter-reset: line;
}

.code-panel br::before {
    counter-increment: line;
    content: counter(line);
    display: inline-block;
    width: 2em;
    margin-right: 1em;
    color: var(--garnet-rim);
    text-align: right;
    user-select: none;
}

/* Responsive grid adjustments */
@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .section-header h2::before {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1rem;
    }
}

/* Remove section number badges */
.section-header h2::before {
    content: none !important;
    display: none !important;
}

/* Technology Ecosystem - Redesigned as even 4x2 grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.tech-item {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

/* Alternating layout for showcase sections */
.showcase-section-left .glass-card>div {
    grid-template-columns: 1fr 1.5fr !important;
}

.showcase-section-right .glass-card>div {
    grid-template-columns: 1.5fr 1fr !important;
}

/* Ensure proper alternation */
.pbi-showcase .glass-card>div {
    grid-template-columns: 1fr 1.5fr !important;
    /* Image left */
}

.xplusplus-showcase .glass-card>div {
    grid-template-columns: 1.5fr 1fr !important;
    /* Content left */
}

.sql-showcase .glass-card>div {
    grid-template-columns: 1fr 1.5fr !important;
    /* Image left */
}

.web-showcase .glass-card>div {
    grid-template-columns: 1.5fr 1fr !important;
    /* Content left */
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }

    .pbi-showcase .glass-card>div,
    .xplusplus-showcase .glass-card>div,
    .sql-showcase .glass-card>div,
    .web-showcase .glass-card>div {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================
   CONTACT PAGE - LUXURY DESIGN
   ======================================== */

/* Contact Hero with Animated Background */
.contact-hero {
    position: relative;
    padding: 10rem 0 8rem;
    overflow: hidden;
}

.contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%,
            rgba(220, 20, 60, 0.15),
            transparent 70%);
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {

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

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

.hero-label {
    display: inline-block;
    color: var(--garnet-main);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Contact Main Section */
.contact-main-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Premium Form Card */
.contact-form-wrapper {
    position: relative;
}

.contact-form-card {
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--garnet-main), #ff6b9d, var(--garnet-main));
    background-size: 200% 100%;
    animation: shimmerTop 3s linear infinite;
}

@keyframes shimmerTop {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.form-header {
    margin-bottom: 2.5rem;
}

.form-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Luxury Form Styling */
.contact-form-luxury {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group-luxury {
    position: relative;
    display: flex;
    flex-direction: column;
}

.form-group-luxury label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input-luxury,
.form-select-luxury,
.form-textarea-luxury {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    position: relative;
}

.form-input-luxury:focus,
.form-select-luxury:focus,
.form-textarea-luxury:focus {
    outline: none;
    border-color: var(--garnet-main);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}

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

.form-textarea-luxury {
    resize: vertical;
    min-height: 150px;
}

/* Animated Focus Border */
.input-focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--garnet-main), #ff6b9d);
    transition: width 0.4s ease;
}

.form-input-luxury:focus~.input-focus-border,
.form-select-luxury:focus~.input-focus-border,
.form-textarea-luxury:focus~.input-focus-border {
    width: 100%;
}

/* Premium Submit Button */
.btn-submit-luxury {
    position: relative;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, var(--garnet-main), #c71585);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 1rem;
}

.btn-submit-luxury:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.4);
}

.btn-submit-luxury .btn-text {
    position: relative;
    z-index: 2;
}

.btn-submit-luxury .btn-icon {
    position: relative;
    z-index: 2;
    margin-left: 0.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-submit-luxury:hover .btn-icon {
    transform: translateX(5px);
}

.btn-shimmer {
    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 ease;
}

.btn-submit-luxury:hover .btn-shimmer {
    left: 100%;
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.2);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.2), rgba(199, 21, 133, 0.2));
    border-radius: 50%;
    color: var(--garnet-main);
}

.contact-info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.contact-link {
    display: inline-block;
    color: var(--garnet-main);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.contact-link:hover {
    color: #ff6b9d;
    transform: translateX(3px);
}

.contact-detail {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Security Badge */
.security-badge {
    background: rgba(220, 20, 60, 0.05);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.security-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.security-text h4 {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.security-text p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-accordion-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-accordion-item:hover {
    border-color: var(--garnet-main);
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.1);
}

.faq-accordion-header {
    width: 100%;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-accordion-header:hover {
    color: var(--garnet-main);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--garnet-main);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

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

.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 2rem;
}

.faq-accordion-item.active .faq-accordion-content {
    max-height: 500px;
    padding: 0 2rem 1.5rem;
}

.faq-accordion-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* Final CTA Section */
.cta-final-section {
    padding: 4rem 0 8rem;
}

.cta-final-card {
    padding: 4rem;
    text-align: center;
    background: linear-gradient(135deg,
            rgba(220, 20, 60, 0.1),
            rgba(199, 21, 133, 0.05));
    position: relative;
    overflow: hidden;
}

.cta-final-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle,
            rgba(220, 20, 60, 0.1),
            transparent 50%);
    animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

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

.cta-final-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-final-content>p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.cta-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    color: var(--garnet-main);
    text-shadow: 0 0 20px rgba(220, 20, 60, 0.3);
}

.cta-stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 6rem 0 4rem;
    }

    .contact-hero h1 {
        font-size: 3rem !important;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .cta-final-card {
        padding: 3rem 2rem;
    }

    .cta-final-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .contact-form-card {
        padding: 2rem 1.5rem;
    }

    .btn-submit-luxury {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   OUTCOMES PAGE - LUXURY DESIGN
   ======================================== */

/* Outcomes Hero */
.outcomes-hero {
    position: relative;
    padding: 12rem 0 6rem;
    overflow: hidden;
}

.outcomes-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%,
            rgba(220, 20, 60, 0.2),
            transparent 60%);
    animation: pulseGlow 10s ease-in-out infinite;
}

.hero-label {
    display: inline-block;
    color: var(--garnet-main);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Transformation Journey */
.transformation-journey {
    padding: 6rem 0;
    position: relative;
}

.journey-timeline {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.journey-card {
    padding: 3rem;
    position: relative;
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

.journey-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.before-icon {
    filter: grayscale(100%) brightness(0.7);
}

.after-icon {
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {

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

    50% {
        transform: scale(1.1);
        filter: brightness(1.3);
    }
}

.journey-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    align-self: flex-start;
}

.success-badge {
    background: rgba(220, 20, 60, 0.1);
    border-color: var(--garnet-main);
    color: var(--garnet-main);
}

.journey-card h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.journey-problems,
.journey-solutions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.problem-item,
.solution-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.problem-icon,
.solution-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.problem-icon {
    background: rgba(255, 0, 0, 0.1);
}

.solution-icon {
    background: rgba(220, 20, 60, 0.2);
    color: var(--garnet-main);
}

.problem-item h4,
.solution-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.problem-item p,
.solution-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Journey Arrow */
.journey-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.arrow-line {
    width: 2px;
    height: 100px;
    background: linear-gradient(180deg,
            transparent,
            var(--garnet-main),
            transparent);
}

.arrow-head {
    font-size: 3rem;
    color: var(--garnet-main);
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {

    0%,
    100% {
        transform: translateX(0);
        opacity: 0.7;
    }

    50% {
        transform: translateX(10px);
        opacity: 1;
    }
}

.arrow-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--garnet-main);
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* Impact Metrics */
.impact-metrics {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.2);
}

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

.metric-card {
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.3);
}

.metric-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.metric-value {
    font-size: 4rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    color: var(--garnet-main);
    line-height: 1;
    display: inline-block;
}

.metric-unit {
    font-size: 2rem;
    font-weight: 700;
    color: var(--garnet-main);
    margin-left: 0.25rem;
}

.metric-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 1rem 0 0.5rem;
}

.metric-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Value Pillars */
.value-pillars {
    padding: 6rem 0;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.pillar-card {
    padding: 3rem;
    position: relative;
    transition: all 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
}

.pillar-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 6rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    color: rgba(220, 20, 60, 0.1);
    line-height: 1;
}

.pillar-icon-large {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.pillar-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--garnet-main);
}

.pillar-card>p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.pillar-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pillar-benefits li {
    padding-left: 2rem;
    position: relative;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.pillar-benefits li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--garnet-main);
    font-weight: 700;
}

/* Case Studies Luxury */
.case-studies-luxury {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.case-study-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-10px);
    border-color: var(--garnet-main);
    box-shadow: 0 20px 50px rgba(220, 20, 60, 0.3);
}

.case-study-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-study-card:hover .case-study-image img {
    transform: scale(1.1);
}

.case-study-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            transparent 50%,
            rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.case-study-industry {
    padding: 0.5rem 1.5rem;
    background: rgba(220, 20, 60, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
}

.case-study-content {
    padding: 2.5rem;
}

.case-study-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.case-study-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.case-study-stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background: rgba(220, 20, 60, 0.05);
    border-left: 3px solid var(--garnet-main);
    border-radius: 8px;
    margin-bottom: 2rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    color: var(--garnet-main);
}

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

.case-study-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Engagement Models */
.engagement-models {
    padding: 6rem 0;
}

.engagement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.engagement-card {
    padding: 3rem 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.engagement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.2);
}

.featured-engagement {
    background: linear-gradient(135deg,
            rgba(220, 20, 60, 0.1),
            rgba(199, 21, 133, 0.05));
    border-color: var(--garnet-main);
    transform: scale(1.05);
}

.featured-engagement:hover {
    transform: scale(1.08) translateY(-5px);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--garnet-main), #c71585);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.4);
}

.engagement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.engagement-number {
    font-size: 4rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    color: rgba(220, 20, 60, 0.3);
    line-height: 1;
}

.engagement-icon {
    font-size: 3rem;
}

.engagement-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--garnet-main);
}

.engagement-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.engagement-details {
    flex: 1;
    margin-bottom: 2rem;
}

.engagement-details h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--garnet-main);
    margin: 1.5rem 0 0.75rem;
}

.engagement-details h4:first-child {
    margin-top: 0;
}

.engagement-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.engagement-details li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.engagement-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--garnet-main);
}

.engagement-duration {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(220, 20, 60, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.duration-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--garnet-main);
}

/* Outcomes CTA */
.outcomes-cta {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.outcomes-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%,
            rgba(220, 20, 60, 0.15),
            transparent 70%);
    animation: pulseGlow 8s ease-in-out infinite;
}

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

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .journey-timeline {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .journey-arrow {
        flex-direction: row;
        transform: rotate(90deg);
    }

    .arrow-label {
        writing-mode: horizontal-tb;
    }

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

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

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

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

    .featured-engagement:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .outcomes-hero h1 {
        font-size: 3rem !important;
    }

    .journey-card {
        min-height: auto;
        padding: 2rem;
    }

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

    .case-studies-grid {
        grid-template-columns: 1fr;
    }

    .metric-value {
        font-size: 3rem;
    }

    .pillar-number {
        font-size: 4rem;
        top: 1rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .journey-icon {
        font-size: 3rem;
    }

    .engagement-card {
        padding: 2rem 1.5rem;
    }

    .engagement-number {
        font-size: 3rem;
    }

    .engagement-icon {
        font-size: 2rem;
    }
}

/* ========================================
   OUTCOMES PAGE - BACKGROUND FLARES
   ======================================== */

/* Hero Section - Radial Burst Flare */
.outcomes-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center,
            rgba(220, 20, 60, 0.3) 0%,
            rgba(199, 21, 133, 0.2) 20%,
            rgba(138, 43, 226, 0.1) 40%,
            transparent 70%);
    animation: heroFlare 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes heroFlare {

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

    50% {
        transform: translateX(-50%) scale(1.2);
        opacity: 0.9;
    }
}

/* Hero Section - Diagonal Light Sweep */
.outcomes-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg,
            transparent 0%,
            transparent 40%,
            rgba(220, 20, 60, 0.15) 45%,
            rgba(220, 20, 60, 0.3) 50%,
            rgba(220, 20, 60, 0.15) 55%,
            transparent 60%,
            transparent 100%);
    animation: diagonalSweep 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

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

    100% {
        transform: translateX(100%) translateY(100%);
    }
}

/* Transformation Journey - Particle Field */
.transformation-journey {
    position: relative;
}

.transformation-journey::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(220, 20, 60, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(199, 21, 133, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
    animation: particleFloat 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes particleFloat {

    0%,
    100% {
        background-position: 0% 0%, 100% 100%, 50% 50%;
    }

    33% {
        background-position: 30% 20%, 70% 80%, 60% 40%;
    }

    66% {
        background-position: 60% 40%, 40% 60%, 30% 70%;
    }
}

/* Impact Metrics - Pulsing Grid */
.impact-metrics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(90deg, rgba(220, 20, 60, 0.05) 1px, transparent 1px),
        linear-gradient(0deg, rgba(220, 20, 60, 0.05) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: gridPulse 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gridPulse {

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

    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

/* Impact Metrics - Spotlight Effect */
.impact-metrics::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse at center,
            rgba(220, 20, 60, 0.2) 0%,
            transparent 70%);
    animation: spotlightPulse 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes spotlightPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Value Pillars - Ambient Glow */
.value-pillars::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(220, 20, 60, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(199, 21, 133, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(138, 43, 226, 0.06) 0%, transparent 50%);
    animation: ambientGlow 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes ambientGlow {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

/* Ensure content is above background effects */
.outcomes-hero .container,
.transformation-journey .container,
.impact-metrics .container,
.value-pillars .container {
    position: relative;
    z-index: 1;
}

/* Case Studies - Scanning Line Effect */
.case-studies-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(220, 20, 60, 0.5) 50%,
            transparent 100%);
    animation: scanLine 8s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes scanLine {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(600px);
        opacity: 0;
    }
}

/* Responsive adjustments for background effects */
@media (max-width: 768px) {

    .outcomes-hero::before,
    .outcomes-hero::after {
        width: 200%;
        height: 200%;
    }

    .transformation-journey::before,
    .impact-metrics::before,
    .value-pillars::before {
        opacity: 0.5;
    }
}

/* ========================================
   CUSTOM SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
    background: #020202;
}

::-webkit-scrollbar-track {
    background: #020202;
    border-left: 1px solid rgba(220, 20, 60, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--garnet-main);
    border-radius: 4px;
    box-shadow: 0 0 15px var(--garnet-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: #ff2d55;
    box-shadow: 0 0 25px var(--garnet-glow);
}

/* ========================================
   ARCHITECT RIBBON - ULTRA-SLIM DATA STRIP
   ======================================== */
.architect-ribbon {
    background: #020202;
    padding: 2.2rem 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(220, 20, 60, 0.15);
}

.ribbon-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.ribbon-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(220, 20, 60, 0.2) 20%,
            var(--garnet-main) 50%,
            rgba(220, 20, 60, 0.2) 80%,
            transparent 100%);
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.3);
}

.ribbon-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100px;
    width: 200px;
    height: 1px;
    background: #fff;
    box-shadow: 0 0 20px #fff, 0 0 40px var(--garnet-main);
    animation: ribbonScan 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes ribbonScan {
    0% {
        left: -10%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: 110%;
        opacity: 0;
    }
}

.ribbon-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.ribbon-branding {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-shrink: 0;
}

.ribbon-title {
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.15rem;
    color: #fff;
    opacity: 0.9;
}

.ribbon-title strong {
    font-weight: 900;
    color: var(--garnet-main);
}

.ribbon-meta {
    font-family: monospace;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.05rem;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 2px;
}

.ribbon-nav {
    display: flex;
    gap: 4rem;
    flex-grow: 1;
    justify-content: center;
}

.nav-segment {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.segment-label {
    font-family: monospace;
    font-size: 0.65rem;
    color: var(--garnet-main);
    letter-spacing: 0.1rem;
    opacity: 0.7;
    font-weight: 700;
}

.nav-segment a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-segment a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
}

.nav-segment a:hover::after {
    width: 100%;
}

.ribbon-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.status-code {
    font-family: monospace;
    font-size: 0.7rem;
    color: #00ff88;
    letter-spacing: 0.1rem;
    opacity: 0.9;
}

/* Mobile Footer Fixes */
@media (max-width: 900px) {
    .ribbon-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .ribbon-branding {
        justify-content: center;
        width: 100%;
    }

    .ribbon-nav {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }

    .nav-segment {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .ribbon-status {
        width: 100%;
        justify-content: center;
    }
}

.status-pulse {
    width: 6px;
    height: 6px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff88;
    animation: pulse-mini 2s infinite;
}

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

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

    100% {
        opacity: 0.4;
        transform: scale(0.8);
    }
}

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

.ribbon-bottom .legal,
.ribbon-bottom .tagline {
    font-size: 0.7rem;
    font-family: monospace;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.12rem;
}

/* ========================================
   ARCHITECT QUANTUM CORE - CSS-ONLY 3D LOGO
   ======================================== */
.arch-logo-v2 {
    width: 36px;
    height: 36px;
    position: relative;
    perspective: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    pointer-events: none;
    margin-right: 1rem;
}

.logo-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: logo-master-spin 15s linear infinite;
}

.core-nucleus {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: var(--garnet-main);
    transform: translate(-50%, -50%) rotateX(45deg) rotateZ(45deg);
    box-shadow: 0 0 15px var(--garnet-main), inset 0 0 5px rgba(255, 255, 255, 0.8);
    animation: nucleus-pulse 3s ease-in-out infinite;
}

.grid-shell {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
}

.shell-plane {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 2px;
}

.shell-plane:nth-child(1) {
    transform: rotateY(0deg);
}

.shell-plane:nth-child(2) {
    transform: rotateY(60deg);
}

.shell-plane:nth-child(3) {
    transform: rotateY(120deg);
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotateX(70deg);
}

.orbit-ring::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px #fff;
    animation: orbit-dot 4s linear infinite;
}

@keyframes logo-master-spin {
    from {
        transform: rotateY(0deg) rotateX(0deg);
    }

    to {
        transform: rotateY(360deg) rotateX(360deg);
    }
}

@keyframes nucleus-pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) rotateX(45deg) rotateZ(45deg) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) rotateX(45deg) rotateZ(45deg) scale(1.3);
        opacity: 1;
        filter: brightness(1.5);
    }
}

@keyframes orbit-dot {
    from {
        transform: translateX(-50%) rotate(0deg) translateY(-22px);
    }

    to {
        transform: translateX(-50%) rotate(360deg) translateY(-22px);
    }
}

.ribbon-branding .arch-logo-v2 {
    width: 28px;
    height: 28px;
    transform: scale(0.8);
    margin-right: 0.8rem;
}

/* ========================================
   HERO SECTION - DAZZLE EFFECT (From Team Page)
   ======================================== */
.dazzle-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-label {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5rem;
    color: var(--garnet-main);
    text-transform: uppercase;
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center the lines around the text */
    gap: 2rem;
    width: 100%;
    /* Ensure it spans the container for centering */
    opacity: 0;
    animation: labelDazzleIn 1s cubic-bezier(0.2, 0, 0.2, 1) forwards;
}

.hero-label::before,
.hero-label::after {
    content: '';
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--garnet-main), transparent);
}

@keyframes labelDazzleIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
        letter-spacing: 1.5rem;
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        letter-spacing: 0.5rem;
    }
}

.dazzle-heading {
    font-size: 6.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 3rem;
    /* Spacing below the heading */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.d-row {
    display: block;
    background: linear-gradient(90deg,
            #ffffff 0%,
            rgba(255, 255, 255, 0.7) 40%,
            var(--garnet-main) 50%,
            rgba(255, 255, 255, 0.7) 60%,
            #ffffff 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(40px);
    filter: blur(8px);
    animation:
        rowReveal 1.2s cubic-bezier(0.2, 0, 0.2, 1) forwards,
        shimmerSweep 6s linear infinite,
        textDazzlePulse 3s ease-in-out infinite;
}

.d-row:nth-child(1) {
    animation-delay: 0.2s, 0s, 0s;
}

.d-row:nth-child(2) {
    animation-delay: 0.4s, 1s, 0.5s;
}

.d-row:nth-child(3) {
    animation-delay: 0.6s, 2s, 1s;
}

@keyframes rowReveal {
    0% {
        opacity: 0;
        transform: translateY(60px);
        filter: blur(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes shimmerSweep {
    0% {
        background-position: -300% center;
    }

    100% {
        background-position: 300% center;
    }
}

@keyframes textDazzlePulse {

    0%,
    100% {
        text-shadow: 0 0 30px rgba(220, 20, 60, 0.2);
    }

    50% {
        text-shadow: 0 0 60px rgba(220, 20, 60, 0.6), 0 0 20px rgba(220, 20, 60, 0.4);
    }
}

.hero-subtitle {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 1.2s;
}

@media (max-width: 1024px) {
    .dazzle-heading {
        font-size: 4.5rem;
    }
}

@media (max-width: 768px) {
    .dazzle-heading {
        font-size: 3rem;
    }

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

/* ========================================
   COMPLEX LAYERED CODE BACKGROUND
   ======================================== */
.matrix-complex-bg {
    position: relative;
    background-color: #050505;
    overflow: hidden;
    /* Ensure text contrast */
    color: #e0e0e0;
    --code-color: rgba(220, 20, 60, 0.08);
    /* Faint Garnet */
    --code-color-bright: rgba(220, 20, 60, 0.15);
}

/* Layer 1: Static Grid Texture */
.matrix-complex-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
}

/* Layer 2: Deep Scrolling Code Column */
.code-layer-1 {
    position: absolute;
    top: -50%;
    left: 5%;
    width: 25%;
    height: 200%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300" viewBox="0 0 300 300"><text x="10" y="20" fill="rgba(220,20,60,0.05)" font-family="monospace" font-size="12">0x4F A2 C1 99\nFUNCTION_INIT(0x1)\nBUFFER_OVERFLOW\nSYSTEM_CHECK: OK\nMEMORY_ALLOC: 4TB\n0010101010101</text></svg>');
    opacity: 0.6;
    animation: scrollDown 60s linear infinite;
    z-index: 2;
    pointer-events: none;
}

/* Layer 3: Angled Data Stream (Parallax) */
.code-layer-2 {
    position: absolute;
    top: -50%;
    right: 10%;
    width: 30%;
    height: 200%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 400 400"><text x="10" y="20" fill="rgba(255,255,255,0.03)" font-family="monospace" font-size="14">SELECT * FROM DATA_LAKE\nWHERE INTEGRITY = 100%\nORDER BY TIMESTAMP DESC\nJOIN ARCHITECTURE_TABLE\nON ID = NODE_01</text></svg>');
    transform: rotate(-5deg);
    animation: scrollUp 45s linear infinite;
    z-index: 2;
    pointer-events: none;
}

/* Layer 4: Ambient Glow Orbs */
.glow-layer {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(220, 20, 60, 0.1) 0%, transparent 70%);
    top: 20%;
    left: 40%;
    filter: blur(40px);
    animation: pulseGlow 10s ease-in-out infinite alternate;
    z-index: 3;
    pointer-events: none;
}

@keyframes scrollDown {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(50%);
    }
}

@keyframes scrollUp {
    0% {
        transform: translateY(0) rotate(-5deg);
    }

    100% {
        transform: translateY(-50%) rotate(-5deg);
    }
}

@keyframes pulseGlow {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }

    100% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* ========================================
   ENHANCED CASE STUDY CARDS (Live Code)
   ======================================== */
.case-studies-luxury {
    background: transparent;
    /* Let the matrix bg show through */
    position: relative;
    z-index: 10;
    padding: 6rem 0;
}

.case-study-card {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 4px;
    /* More angular/technical */
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.case-study-card:hover {
    border-color: var(--garnet-main);
    transform: translateY(-5px);
    box-shadow:
        0 20px 40px -15px rgba(0, 0, 0, 0.7),
        0 0 20px rgba(220, 20, 60, 0.2);
    /* Red glow */
}

/* Terminal Header for Card */
.card-terminal-header {
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.terminal-dots {
    display: flex;
    gap: 4px;
}

.terminal-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.card-terminal-header span {
    letter-spacing: 1px;
}

/* Live Code Snippet Container (Replaces Image Overlay) */
.live-code-container {
    height: 140px;
    background: #0d0d0d;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem;
}

.live-code-content {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #a0a0a0;
    white-space: pre;
    position: absolute;
    top: 100%;
    /* Start below */
    animation: codeScroll 15s linear infinite;
}

/* Syntax Highlighting Sim */
.code-keyword {
    color: #dc143c;
}

/* Garnet */
.code-var {
    color: #fff;
}

.code-comment {
    color: #555;
}

.code-string {
    color: #888;
}

@keyframes codeScroll {
    0% {
        top: 100%;
    }

    100% {
        top: -200%;
    }

    /* Scroll all the way up */
}

/* Specific delays for variety */
.case-study-card:nth-child(2) .live-code-content {
    animation-delay: -5s;
}

.case-study-card:nth-child(3) .live-code-content {
    animation-delay: -2s;
}

.case-study-card:nth-child(4) .live-code-content {
    animation-delay: -8s;
}

/* Keep existing content styles but refine them */
.case-study-content {
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01) 0%, transparent 100%);
}

.case-study-tags .tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.stat-value {
    color: var(--garnet-main);
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.3);
}

/* ========================================
   SHOWCASE: MATRIX BLUEPRINT BACKGROUND
   ======================================== */
.matrix-blueprint-bg {
    position: relative;
    background-color: #050505;
    overflow: hidden;
    color: #e0e0e0;
}

/* Layer 1: Technical Grid */
.matrix-blueprint-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(220, 20, 60, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 20, 60, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: 1;
    pointer-events: none;
}

/* Layer 2: Floating Schematics */
.blueprint-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(220, 20, 60, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.02) 0%, transparent 20%);
    z-index: 2;
    pointer-events: none;
}

/* Layer 3: Moving Data Fragments */
.data-stream-vertical {
    position: absolute;
    top: -50%;
    left: 20px;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.03);
    white-space: pre;
    line-height: 12px;
    animation: scrollVertical 40s linear infinite;
    z-index: 1;
}

@keyframes scrollVertical {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(50%);
    }
}

/* ========================================
   NEW VISUAL ASSETS (CSS-ONLY)
   ======================================== */

/* Asset 5: Digital Marketing / SEO Terminal */
.seo-terminal-viz {
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    border-left: 1px solid var(--garnet-rim);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.seo-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.seo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #555;
}

.seo-dot.active {
    background: #27c93f;
    box-shadow: 0 0 5px #27c93f;
}

.seo-content-area {
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #a0a0a0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.seo-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 100px;
    margin-top: 2rem;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

.seo-bar {
    width: 15px;
    background: var(--garnet-main);
    opacity: 0.7;
    animation: growBar 2s ease-out infinite alternate;
}

.seo-bar:nth-child(2) {
    animation-delay: 0.2s;
    height: 40%;
}

.seo-bar:nth-child(3) {
    animation-delay: 0.4s;
    height: 60%;
}

.seo-bar:nth-child(4) {
    animation-delay: 0.6s;
    height: 80%;
}

.seo-bar:nth-child(5) {
    animation-delay: 0.8s;
    height: 50%;
}

@keyframes growBar {
    from {
        transform: scaleY(0.8);
        opacity: 0.5;
    }

    to {
        transform: scaleY(1.1);
        opacity: 0.9;
    }
}

/* Asset 6: Process Automation Flow */
.automation-flow-viz {
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    border-right: 1px solid var(--garnet-rim);
    /* Left or Right depending on layout */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.node-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.auto-node {
    width: 40px;
    height: 40px;
    border: 1px solid var(--garnet-main);
    background: rgba(220, 20, 60, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.2);
    font-size: 1.2rem;
}

.packet {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px #fff;
    filter: blur(1px);
    animation: packetPath 3s linear infinite;
}

@keyframes packetPath {
    0% {
        top: 20%;
        left: 20%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 80%;
        left: 80%;
        opacity: 0;
    }
}

/* Adjustments for Layout */
.showcase-content-wrapper {
    position: relative;
    z-index: 10;
}

/* ========================================
   SHOWCASE: COSMIC DATA GRID BACKGROUND
   ======================================== */
.cosmic-grid-bg {
    position: relative;
    background: radial-gradient(circle at 50% -20%, #1a0505 0%, #000000 100%);
    overflow: hidden;
    min-height: 100vh;
}

/* Deep Space Stars/Nodes */
.cosmic-grid-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1px 1px at 10% 10%, rgba(255, 255, 255, 0.3) 1px, transparent 0),
        radial-gradient(1px 1px at 20% 20%, rgba(220, 20, 60, 0.3) 1px, transparent 0),
        radial-gradient(1px 1px at 30% 30%, rgba(255, 255, 255, 0.3) 1px, transparent 0),
        radial-gradient(2px 2px at 40% 40%, rgba(220, 20, 60, 0.4) 1px, transparent 0),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.3) 1px, transparent 0),
        radial-gradient(1px 1px at 60% 60%, rgba(220, 20, 60, 0.3) 1px, transparent 0),
        radial-gradient(1px 1px at 70% 70%, rgba(255, 255, 255, 0.3) 1px, transparent 0),
        radial-gradient(2px 2px at 80% 80%, rgba(220, 20, 60, 0.5) 1px, transparent 0),
        radial-gradient(1px 1px at 90% 90%, rgba(255, 255, 255, 0.3) 1px, transparent 0);
    background-size: 500px 500px;
    animation: cosmicFloat 60s linear infinite;
    z-index: 0;
    opacity: 0.6;
}

/* Perspective Grid Floor */
.grid-floor {
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 100%;
    background-image:
        linear-gradient(rgba(220, 20, 60, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 20, 60, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    animation: gridScroll 20s linear infinite;
    z-index: 0;
    pointer-events: none;
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, transparent 60%);
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, transparent 60%);
}

/* Ambient Glow Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
    animation: glowPulse 10s ease-in-out infinite alternate;
}

.glow-orb-1 {
    top: 10%;
    left: 20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #dc143c, transparent);
    animation-delay: 0s;
}

.glow-orb-2 {
    bottom: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #3a0ca3, transparent);
    /* Deep purple for contrast */
    animation-delay: -5s;
}

/* Content Wrapper to lift content above background */
.showcase-content-wrapper {
    position: relative;
    z-index: 10;
}

/* Animations */
@keyframes cosmicFloat {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 500px 500px;
    }
}

@keyframes gridScroll {
    from {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }

    to {
        transform: perspective(500px) rotateX(60deg) translateY(50px);
    }
}

@keyframes glowPulse {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }

    100% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* ========================================
   PRICING PAGE STYLES
   ======================================== */
.pricing-section {
    position: relative;
    z-index: 10;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    background: rgba(10, 10, 12, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2.5rem;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--garnet-main);
}

.pricing-card.featured {
    background: rgba(220, 20, 60, 0.05);
    /* Slight garnet tint */
    border: 1px solid var(--garnet-main);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 0 30px rgba(220, 20, 60, 0.15);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 0 50px rgba(220, 20, 60, 0.3);
}

.tier-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.tier-badge.main {
    background: var(--garnet-main);
    color: #fff;
    border-color: var(--garnet-main);
    box-shadow: 0 0 10px var(--garnet-glow);
}

.pricing-card h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin: 1.5rem 0;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-secondary);
    vertical-align: top;
}

.price .period {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.card-features {
    margin: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.card-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-features li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.card-features .check {
    color: var(--garnet-main);
    font-weight: bold;
}

.full-width {
    width: 100%;
    text-align: center;
    display: block;
}

/* FIX: Home Page Hero Text Clipping */
.dazzle-heading .d-row {
    padding-bottom: 0.15em;
    /* Prevent descender clipping */
    margin-bottom: -0.1em;
    display: block;
    /* Ensure block formatting context */
}

/* SQL Showcase Visualization */
.sql-core-viz {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 0.5rem;
    width: 100%;
    height: 100%;
    position: relative;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-right: 1px solid var(--garnet-rim);
}

.sql-node {
    border: 1px solid rgba(220, 20, 60, 0.3);
    background: rgba(220, 20, 60, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: monospace;
    font-size: 0.6rem;
    color: var(--text-secondary);
    position: relative;
}

.sql-node.master {
    background: rgba(220, 20, 60, 0.15);
    border-color: var(--garnet-main);
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.2);
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    z-index: 2;
    color: var(--garnet-main);
    font-weight: bold;
}

.sql-node::before {
    content: 'DS_0' attr(data-id);
    opacity: 0.5;
}

.sql-pulse {
    position: absolute;
    inset: 0;
    border: 1px solid var(--garnet-main);
    animation: sqlPulse 2s infinite;
    opacity: 0;
}

@keyframes sqlPulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

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

/* ========================================
   NEW VISUAL ASSETS
   ======================================== */

/* 1. Server Rack Visualization (Home Page) */
.server-rack-viz {
    width: 100%;
    height: 100%;
    background: #0d0d10;
    border: 1px solid var(--garnet-rim);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8);
}

.server-unit {
    height: 12px;
    background: #1a1a20;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 15px;
}

.server-unit:nth-child(3n) {
    background: rgba(220, 20, 60, 0.05);
}

.blink-led {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #333;
    box-shadow: 0 0 2px #333;
}

.blink-led.active {
    background: var(--garnet-main);
    box-shadow: 0 0 8px var(--garnet-main);
    animation: ledBlink 0.5s infinite alternate;
}

.blink-led.processing {
    background: #fff;
    box-shadow: 0 0 8px #fff;
    animation: ledBlink 0.1s infinite alternate;
}

@keyframes ledBlink {
    from {
        opacity: 0.3;
    }

    to {
        opacity: 1;
    }
}

.data-cable {
    position: absolute;
    bottom: -50%;
    left: 50%;
    width: 2px;
    height: 200%;
    background: linear-gradient(to top, transparent, var(--garnet-main), transparent);
    animation: cableFlow 2s linear infinite;
    opacity: 0.5;
}

@keyframes cableFlow {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(-100%);
    }
}

/* 2. Digital Hologram Background (Showcase Header) */
.digital-hologram-bg {
    position: relative;
    background: #050505;
    overflow: hidden;
    border-bottom: 1px solid var(--garnet-rim);
}

.holo-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(220, 20, 60, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 20, 60, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    transform: perspective(500px) rotateX(20deg) scale(1.5);
    opacity: 0.3;
    animation: gridScan 10s linear infinite;
}

@keyframes gridScan {
    0% {
        background-position: center 0;
    }

    100% {
        background-position: center 40px;
    }
}

.holo-flare {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(220, 20, 60, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

/* ========================================
   VISUALT ASSET: METATRON'S CUBE LAYER
   ======================================== */
.metatron-bg-layer {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    opacity: 0.03;
    /* Subtle background presence */
}

.metatron-cube {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translate(-50%, -50%);
    animation: metatronRotate 60s linear infinite;
}

.meta-circle {
    position: absolute;
    border: 1px solid var(--garnet-main);
    border-radius: 50%;
    width: 200px;
    height: 200px;
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.2);
}

/* Central Circle */
.meta-c-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Inner Ring (6 circles) */
.meta-c-1 {
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.meta-c-2 {
    top: 32.5%;
    left: 80.3%;
    transform: translate(-50%, -50%);
}

.meta-c-3 {
    top: 67.5%;
    left: 80.3%;
    transform: translate(-50%, -50%);
}

.meta-c-4 {
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.meta-c-5 {
    top: 67.5%;
    left: 19.7%;
    transform: translate(-50%, -50%);
}

.meta-c-6 {
    top: 32.5%;
    left: 19.7%;
    transform: translate(-50%, -50%);
}

/* Connecting Lines (Sacred Geometry) */
.meta-line {
    position: absolute;
    background: var(--garnet-main);
    opacity: 0.3;
    transform-origin: left center;
}

/* Animation */
@keyframes metatronRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* RESPONSIVE & MOBILE OPTIMIZATIONS (Task #4) */
@media (max-width: 768px) {
    .metatron-cube {
        width: 400px;
        height: 400px;
        opacity: 0.05;
        /* Slightly more visible on mobile to compensate for screen size */
    }

    .meta-circle {
        width: 100px;
        height: 100px;
    }

    /* Header/Nav Mobile alignment */
    .main-nav .nav-container {
        padding: 0 1.5rem;
    }

    /* Stack pricing cards */
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    /* Server Rack Viz scaling */
    .server-rack-viz {
        min-height: 200px;
    }

    /* Global Mobile Fixes */
    html,
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.5rem;
        word-wrap: break-word;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 1rem;
    }

    .ribbon-nav {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }

    .nav-segment {
        flex-direction: column;
        gap: 0.5rem;
    }

    .glass-card {
        width: 100%;
        min-width: 0;
    }
}

/* ========================================
   TEAM PAGE ENHANCEMENTS & JOURNEY
   ======================================== */

/* 1. Solo Advantage Alignment */
.advantage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

/* Visualization for the right side of Solo Advantage */
.synapse-network {
    position: relative;
    width: 100%;
    height: 500px;
    background: radial-gradient(circle at center, rgba(220, 20, 60, 0.05), transparent 70%);
    border: 1px solid var(--garnet-rim);
    border-radius: 12px;
    overflow: hidden;
}

.synapse-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--garnet-main);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--garnet-main);
    animation: pulseNode 3s infinite;
}

.synapse-connection {
    position: absolute;
    background: var(--garnet-main);
    opacity: 0.2;
    transform-origin: left center;
}

/* 2. Intricate Journey Timeline */
.journey-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* The vertical thread */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--garnet-main), transparent);
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
}

.timeline-node {
    position: relative;
    width: 100%;
    margin-bottom: 6rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline-node:nth-child(odd) {
    flex-direction: row-reverse;
}

.node-marker {
    position: absolute;
    left: 50%;
    width: 40px;
    height: 40px;
    background: #000;
    border: 2px solid var(--garnet-main);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.4);
}

.node-marker::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    animation: pulseNode 2s infinite;
}

.node-content {
    width: 45%;
    padding: 2rem;
    background: rgba(10, 10, 12, 0.8);
    border: 1px solid var(--garnet-rim);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    position: relative;
    transition: transform 0.3s ease;
}

.timeline-node:nth-child(odd) .node-content {
    margin-right: auto;
    text-align: right;
    border-right: 4px solid var(--garnet-main);
    transform: translateX(-50px);
    /* Initial position for animation */
}

.timeline-node:nth-child(even) .node-content {
    margin-left: auto;
    text-align: left;
    border-left: 4px solid var(--garnet-main);
    transform: translateX(50px);
}

.timeline-node:hover .node-content {
    background: rgba(220, 20, 60, 0.1);
    transform: translateX(0) scale(1.02);
}


.node-year {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: var(--garnet-main);
    color: #fff;
    font-weight: bold;
    font-size: 0.9rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
}

.node-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.node-role {
    font-size: 0.9rem;
    color: var(--garnet-main);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: block;
}

.node-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Asset decoration for nodes */
.node-asset {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    opacity: 0.2;
    pointer-events: none;
}

@keyframes pulseNode {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

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

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

/* Mobile Fixes for Timeline */
@media (max-width: 768px) {
    .timeline-container::before {
        left: 20px;
    }

    .timeline-node,
    .timeline-node:nth-child(odd) {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 50px;
        width: calc(100% - 50px);
    }

    .node-marker {
        left: 20px;
        transform: translateX(-50%);
    }

    .node-content,
    .timeline-node:nth-child(odd) .node-content {
        width: 100%;
        text-align: left;
        border-right: none;
        border-left: 4px solid var(--garnet-main);
        margin: 0;
        transform: none;
    }
}

/* ========================================
   SLEEK SLIM CTA & WOW BUTTONS
   ======================================== */

/* 1. Slim CTA Section */
.cta-slim-section {
    padding: 6rem 0;
    position: relative;
    z-index: 10;
}

.cta-slim-container {
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 20px;
    padding: 3rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.cta-slim-container:hover {
    border-color: var(--garnet-main);
    transform: translateY(-2px);
    box-shadow: 0 25px 60px rgba(220, 20, 60, 0.15);
}

.cta-slim-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--garnet-main);
    box-shadow: 0 0 15px var(--garnet-main);
}

.cta-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.cta-content-slim {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.cta-content-slim h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #fff, #ff6b9d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-heading);
}

.cta-content-slim p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
}

/* 2. WOW Button (Enhanced CTA) */
.btn-wow {
    position: relative;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--garnet-main), #a01030);
    border: none;
    border-radius: 50px;
    /* Pill shape for modern look */
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
    box-shadow: 0 10px 20px rgba(220, 20, 60, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-wow:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 15px 30px rgba(220, 20, 60, 0.5), 0 0 20px rgba(255, 105, 180, 0.4);
    background: linear-gradient(135deg, #ff1a4a, #c0123a);
}

.btn-wow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
    transform: scale(0);
    transition: transform 0.6s ease-out;
    opacity: 0;
}

.btn-wow:hover::after {
    transform: scale(1);
    opacity: 1;
    transition: transform 0s;
}

.btn-wow span {
    position: relative;
    z-index: 2;
}

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

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

/* Pulse animation for the button */
@keyframes pulseBtn {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 20, 60, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(220, 20, 60, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(220, 20, 60, 0);
    }
}

.btn-wow.pulse {
    animation: pulseBtn 2s infinite;
}

/* Mobile Responsiveness for Slim CTA */
@media (max-width: 992px) {
    .cta-slim-container {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
        gap: 2rem;
    }

    .cta-slim-container::before {
        width: 100%;
        height: 4px;
        top: 0;
        left: 0;
    }
}

/* Certifications Section */
.certifications-section {
    padding: 8rem 0;
    position: relative;
    background: var(--bg-obsidian-soft);
    border-top: 1px solid var(--glass-border);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cert-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: var(--transition-med);
}

.cert-card:hover {
    border-color: var(--garnet-main);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cert-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px var(--garnet-glow));
}

.cert-details h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.cert-issuer {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

/* Story Animation - Dynamic JGPT frames */
.story-animation-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000;
}

.story-animation-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: storyCycle 12s infinite;
}

.story-animation-frame:nth-child(1) {
    animation-delay: 0s;
}

.story-animation-frame:nth-child(2) {
    animation-delay: 3s;
}

.story-animation-frame:nth-child(3) {
    animation-delay: 6s;
}

.story-animation-frame:nth-child(4) {
    animation-delay: 9s;
}

@keyframes storyCycle {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    5% {
        opacity: 1;
    }

    25% {
        opacity: 1;
        transform: scale(1.05);
    }

    30% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* Mobile Optimization Fixes */
@media (max-width: 768px) {
    .ribbon-nav {
        width: 100% !important;
        min-width: 0 !important;
        left: 0 !important;
        transform: none !important;
        margin-left: 0 !important;
        border-radius: 0;
    }

    .glass-card {
        min-width: 0 !important;
        width: 100% !important;
    }

    .container {
        padding: 0 1rem;
        min-width: 0;
    }
}
/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    z-index: 10000;
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    margin: 0 auto;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--garnet-main);
    text-decoration: none;
    font-weight: 500;
}

.cookie-content a:hover {
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-primary-small {
    background: var(--garnet-gradient);
    border: none;
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary-small:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-secondary-small {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary-small:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 12px 12px 0 0;
        border-bottom: none;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .cookie-actions {
        width: 100%;
        margin-top: 0.5rem;
    }

    .btn-primary-small, .btn-secondary-small {
        flex: 1;
        text-align: center;
        padding: 0.75rem;
    }
}

/* Legal Links */
.legal .separator {
    opacity: 0.5;
    margin: 0 0.5rem;
}

.legal a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal a:hover {
    color: var(--garnet-main);
}
