:root {
    /* Colors */
    --bg-dark: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-cyan: #00f0ff;
    --accent-purple: #bd00ff;
    --accent-blue: #0055ff;

    /* Gradients */
    --gradient-main: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    /* Soft animated gradient */
    background: radial-gradient(circle at 50% 50%, #1a1a2e 0%, #050505 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

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

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

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Base Layout */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(5, 5, 5, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-image {
    height: 60px;
    /* Adjust based on preference */
    width: auto;
    object-fit: contain;
    /* Optional: if the logo has a white background, we might want to blend it or filter it */
    /* filter: brightness(0) invert(1); Use this if you want to force it white */
}

button {
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.cta-button {
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.cta-button.small {
    padding: 0.5rem 1rem;
    border: 1px solid var(--text-primary);
    background: transparent;
    color: var(--text-primary);
}

.cta-button.primary {
    background: var(--text-primary);
    color: var(--bg-dark);
}

.cta-button.secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    margin-left: var(--spacing-sm);
}

.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 var(--spacing-md);
    position: relative;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: var(--spacing-md);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

.value-prop-section {
    padding: var(--spacing-xl) var(--spacing-md);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

/* Electric Border Card Styles */
.card-container {
    padding: 2px;
    border-radius: 24px;
    position: relative;
    background: linear-gradient(-30deg, rgba(0, 240, 255, 0.4), transparent, rgba(0, 240, 255, 0.4));
    isolation: isolate;
    min-height: 350px;
    cursor: default;
}

/* Inner container */
.inner-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Border layers */
.border-outer {
    border: 2px solid rgba(0, 240, 255, 0.5);
    border-radius: 24px;
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.main-card {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    border: 2px solid var(--accent-cyan);
    filter: url(#turbulent-displace);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.8;
}

/* Glow effects */
.glow-layer-1 {
    border: 2px solid rgba(0, 240, 255, 0.6);
    border-radius: 24px;
    position: absolute;
    inset: 0;
    filter: blur(1px);
}

.glow-layer-2 {
    border: 2px solid var(--accent-blue);
    border-radius: 24px;
    position: absolute;
    inset: 0;
    filter: blur(4px);
    opacity: 0.5;
}

/* Overlay effects */
.overlay-1 {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    opacity: 0.5;
    mix-blend-mode: overlay;
    filter: blur(16px);
    background: linear-gradient(-30deg, rgba(255, 255, 255, 0.2), transparent 30%, transparent 70%, rgba(255, 255, 255, 0.2));
    pointer-events: none;
}

.overlay-2 {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    opacity: 0.3;
    mix-blend-mode: overlay;
    filter: blur(16px);
    background: linear-gradient(-30deg, rgba(255, 255, 255, 0.2), transparent 30%, transparent 70%, rgba(255, 255, 255, 0.2));
    pointer-events: none;
}

/* Background glow */
.background-glow {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    filter: blur(32px);
    opacity: 0.1;
    z-index: -1;
    background: linear-gradient(-30deg, var(--accent-cyan), transparent, var(--accent-blue));
    transition: opacity 0.3s ease;
}

.card-container:hover .background-glow {
    opacity: 0.3;
}

/* Content container */
.content-container {
    position: relative;
    z-index: 2;
    padding: var(--spacing-md);
    height: 100%;
    display: flex;
    flex-direction: column;
    background: rgba(5, 5, 5, 0.85);
    /* Slightly clearer background to read text */
    border-radius: 24px;
    backdrop-filter: blur(5px);
}

/* Maintain existing badge styles but ensure z-index */
.card-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    z-index: 10;
}

.scarcity-text {
    color: #ffaa00;
    /* Amber warning color */
    margin-top: 5px;
    /* Reduced margin to keep it close to header if needed, or adjust */
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    display: inline-block;
    transition: transform 0.3s ease;
}

.card-container:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Star Field Background */
#star-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
    overflow: hidden;
}

#stars,
#stars2,
#stars3 {
    width: 1px;
    height: 1px;
    background: transparent;
    animation: animStar 50s linear infinite;
}

#stars2 {
    width: 2px;
    height: 2px;
    animation-duration: 100s;
}

#stars3 {
    width: 3px;
    height: 3px;
    animation-duration: 150s;
}

#stars::after,
#stars2::after,
#stars3::after {
    content: " ";
    position: absolute;
    top: 2000px;
    width: inherit;
    height: inherit;
    background: transparent;
    box-shadow: inherit;
}

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

    to {
        transform: translateY(-2000px);
    }
}

/* Base Variables - Updated for Star Theme compatibility */
:root {
    --bg-dark: #090A0F;
    /* Matching the star gradient bottom */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --accent-cyan: #00f0ff;
    --accent-blue: #0055ff;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --container-width: 1200px;
}

/* Scroll Reveals */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* Micro-interactions */
.cta-button:hover {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
    transform: translateY(-2px);
}

/* Border Light Button Style */
.border-light-btn {
    position: relative;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-primary);
    background: var(--bg-dark);
    border: none;
    border-radius: 9999px;
    /* Pill shape */
    cursor: pointer;
    overflow: hidden;
    text-transform: uppercase;
    transition: transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.border-light-btn:hover {
    box-shadow: 0 0 15px var(--accent-cyan), 0 0 30px rgba(0, 85, 255, 0.4);
}

.border-light-btn:active {
    transform: scale(0.98);
}

/* The tracking glowing border */
.border-light-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    /* Border width */
    background: radial-gradient(circle 100px at var(--x, 50%) var(--y, 50%),
            var(--accent-cyan),
            var(--accent-blue) 40%,
            transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

/* Inner static border/background to ensure visibility */
.border-light-btn::after {
    content: "";
    position: absolute;
    inset: 2px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: inherit;
    z-index: -2;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.border-light-btn:hover::before {
    opacity: 1;
}

.border-light-btn span {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Reusing generic CTA classes for layout, overriding styles */
.cta-button {
    /* Resetting previous generic styles if mixed */
}

/* Magic UI Inspired Pulsating Button */
.pulsating-button {
    position: relative;
    background: var(--text-primary);
    color: var(--bg-dark);
    border: none;
    border-radius: 9999px;
    /* Rounded pill shape */
    padding: 1rem 2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    z-index: 1;
    overflow: visible;
    /* Needed for the pulse ring */
}

.pulsating-button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    opacity: 0.7;
    z-index: -1;
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.pulsating-button:hover {
    transform: scale(1.05);
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

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

/* Secondary ghost button style update to match pill shape */
.cta-button.secondary {
    border-radius: 9999px;
}

/* Journey Section */
.journey-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    flex-wrap: wrap;
    gap: 2rem;
}

.journey-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px var(--accent-cyan);
    margin-bottom: var(--spacing-sm);
    opacity: 0.5;
}

.journey-step h3 {
    margin-bottom: var(--spacing-xs);
    color: var(--accent-cyan);
}

/* Connective line for desktop */
@media (min-width: 900px) {
    .journey-grid::before {
        content: '';
        position: absolute;
        top: 2rem;
        /* Align with numbers roughly */
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
        z-index: 1;
    }
}

/* Booking Section */
.calendly-container {
    margin-top: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.05);
}

.scarcity-text.large {
    font-size: 1.2rem;
    color: #ffaa00;
    margin-bottom: var(--spacing-md);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

/* Volumetric Light Social Icons */
:root {
    --facebook-color: #3b5998;
    --twitter-color: #00acee;
    --instagram-color: #E1306C;
    --linkedin-color: #0077B5;
    --icon-size: 60px;
}

.social-icons-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 3rem;
    padding-bottom: 2rem;
}

.social-icon {
    position: relative;
    width: var(--icon-size);
    height: var(--icon-size);
    display: flex;
    justify-content: center;

    .glass-card {
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        /* Stronger border */
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        /* Bright top highlight */
        border-left: 1px solid rgba(255, 255, 255, 0.3);
        /* Bright left highlight */
        border-radius: 16px;
        padding: 2.5rem;
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
        /* Deeper shadow */
        transform-style: preserve-3d;
        transform: perspective(1000px);
        transition: transform 0.1s ease-out;
        will-change: transform;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .glass-card:hover {
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
        box-shadow:
            0 20px 40px rgba(0, 0, 0, 0.4),
            0 0 50px rgba(0, 240, 255, 0.2);
        /* Stronger glow */
        border-color: rgba(255, 255, 255, 0.4);
    }

    border-radius: 50%;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon i {
    font-size: calc(var(--icon-size) / 2);
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

/* Volumetric Light Effect on hover */
.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--icon-color) 0%, transparent 60%);
    border-radius: 50%;
    box-shadow: 0 0 50px var(--icon-color);
    opacity: 0;
    transition: opacity 0.5s ease, box-shadow 0.5s ease;
    z-index: -1;
}

/* Specific Hover Colors */
.social-icon.facebook:hover {
    --icon-color: var(--facebook-color);
}

.social-icon.twitter:hover {
    --icon-color: var(--twitter-color);
}

.social-icon.instagram:hover {
    --icon-color: var(--instagram-color);
}

.social-icon.linkedin:hover {
    --icon-color: var(--linkedin-color);
}

.social-icon.facebook:hover::before {
    box-shadow: 0 0 80px var(--facebook-color);
    opacity: 1;
}

.social-icon.twitter:hover::before {
    box-shadow: 0 0 80px var(--twitter-color);
    opacity: 1;
}

.social-icon.instagram:hover::before {
    box-shadow: 0 0 80px var(--instagram-color);
    opacity: 1;
}

.social-icon.linkedin:hover::before {
    box-shadow: 0 0 80px var(--linkedin-color);
    opacity: 1;
}

.social-icon:hover {
    transform: scale(1.1) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.social-icon:hover i {
    color: white;
    transform: scale(1.1);
    text-shadow: 0 0 15px var(--icon-color);
}

/* Hybrid Electric & Glass Slide-Up Cards */
.electric-glass-card {
    position: relative;
    width: 100%;
    min-width: 280px;
    height: 350px;
    border-radius: 12px;
    z-index: 1;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

/* Electric Border Layers */
.electric-glass-card .inner-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

/* Glass Content Wrapper */
.glass-content-wrapper {
    position: absolute;
    inset: 4px;
    /* Inside border */
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Icon BG */
.electric-glass-card .card-icon-bg {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.1);
    transition: transform 0.5s, opacity 0.5s, filter 0.3s, color 0.3s;
    filter: blur(2px);
    z-index: 0;
}

.electric-glass-card:hover .card-icon-bg {
    transform: translateY(-50px) scale(0.8);
    opacity: 1;
    filter: blur(0);
    color: var(--accent-cyan);
    text-shadow: 0 0 30px var(--accent-cyan);
}

/* Content Panel */
.electric-glass-card .content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    /* Default: Hidden (Transparent) */
    background: transparent;
    backdrop-filter: none;
    border-top: none;

    /* Position: Pushed down so only Title is visible */
    transform: translateY(calc(100% - 70px));

    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), background 0.5s, backdrop-filter 0.5s, border-color 0.5s;
    z-index: 10;
}

.electric-glass-card:hover .content {
    transform: translateY(0);
    /* Reveal */
    background: rgba(5, 10, 20, 0.9);
    /* Glass ON HOVER ONLY */
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Title */
.electric-glass-card .contentBx h3 {
    color: #fff;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    transition: color 0.3s;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.electric-glass-card:hover .contentBx h3 {
    color: var(--accent-cyan);
    text-shadow: none;
}

/* Description Details */
/* Description Details - Simplified now that badge is gone */
.electric-glass-card .details {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s;
    width: 100%;
    /* No need for forcing flex column gap anymore if only p exists */
}

.electric-glass-card:hover .details {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.electric-glass-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Floating Badge - Top Right */
.electric-glass-card .card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 20;
    /* Above everything */

    background: rgba(0, 240, 255, 0.15);
    color: var(--accent-cyan);
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;

    border: 1px solid rgba(0, 240, 255, 0.3);
    white-space: nowrap;

    /* Animation - Pop up/in */
    opacity: 0;
    transform: translateY(-10px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    /* Let hover pass through to card */
}

.electric-glass-card:hover .card-badge {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.1s;
}

/* =========================================
   Advanced Glow Effect (User Request)
   ========================================= */

/* Font Import */
@font-face {
    font-family: "Geist Sans";
    src: url("https://assets.codepen.io/605876/GeistVF.ttf") format("truetype");
}

/* Base Variables for the Glow Cards */
/* Base Variables for the Glow Cards */
[data-glow] {
    --backdrop: hsl(0 0% 60% / 0.15);
    --radius: 12;
    --border: 2;
    --backup-border: rgba(255, 255, 255, 0.02);
    /* Fainter backup border */
    --size: 200;
    --hue: 210;
    --saturation: 100;
    --lightness: 70;
    --glow-opacity: 0.0005;
    /* Reverted to 0.05% - Extremely subtle */

    --border-size: calc(var(--border) * 1px);
    --spotlight-size: calc(var(--size) * 1px);

    font-family: "Geist Sans", "SF Pro Text", system-ui, sans-serif;
    border-radius: calc(var(--radius) * 1px);
    position: relative;
    z-index: 10;
    overflow: visible;

    /* Base Glass Background */
    background-color: var(--backdrop);
    background-size: calc(100% + (2 * var(--border-size))) calc(100% + (2 * var(--border-size)));
    background-position: 50% 50%;
    border: var(--border-size) solid var(--backup-border);
    transition: transform 0.1s;

    /* Dynamic Background Spotlight (Inner Wash) */
    background-image: radial-gradient(var(--spotlight-size) var(--spotlight-size) at calc(var(--x, 0) * 1px) calc(var(--y, 0) * 1px),
            hsl(var(--hue, 210) calc(var(--saturation, 100) * 1%) calc(var(--lightness, 70) * 1%) / var(--glow-opacity, 0.001)), transparent);
}

/* 
   GLOW PSEUDO-ELEMENTS
   Adapted to use local coordinates (var(--x)) instead of fixed/offset math 
*/

[data-glow]::before,
[data-glow]::after {
    pointer-events: none;
    content: "";
    position: absolute;
    inset: calc(var(--border-size) * -1);
    border: var(--border-size) solid transparent;
    border-radius: calc(var(--radius) * 1px);
    background-size: calc(100% + (2 * var(--border-size))) calc(100% + (2 * var(--border-size)));
    background-repeat: no-repeat;
    background-position: 50% 50%;

    mask:
        linear-gradient(transparent, transparent),
        linear-gradient(white, white);
    mask-clip: padding-box, border-box;
    mask-composite: exclude;
    -webkit-mask:
        linear-gradient(transparent, transparent),
        linear-gradient(white, white);
    -webkit-mask-clip: padding-box, border-box;
    -webkit-mask-composite: xor;
}

/* This is the emphasis light (Border Hotspot) */
[data-glow]::before {
    z-index: 2;
    background-image: radial-gradient(calc(var(--spotlight-size) * 0.75) calc(var(--spotlight-size) * 0.75) at calc(var(--x, 0) * 1px) calc(var(--y, 0) * 1px),
            hsl(var(--hue, 210) calc(var(--saturation, 100) * 1%) calc(var(--lightness, 50) * 1%) / 0.05), transparent 100%);
    filter: brightness(2);
}

/* This is the spotlight (Inner/Outer Glow spill) */
[data-glow]::after {
    z-index: 1;
    background-image: radial-gradient(calc(var(--spotlight-size) * 0.5) calc(var(--spotlight-size) * 0.5) at calc(var(--x, 0) * 1px) calc(var(--y, 0) * 1px),
            hsl(0 100% 100% / 0.01), transparent 100%);
}

/* Remove default glass Card borders/shadows to let the new effect take over */
.glass-card[data-glow] {
    border: 1px solid transparent;
    box-shadow: none;
}

/* Explicit overrides for transparency to allow backdrop to work */
[data-glow] .card-icon,
[data-glow] h3,
[data-glow] p {
    position: relative;
    z-index: 20;
    pointer-events: none;
    /* Let hover pass through text */
}

/* =========================================
   Mobile & Responsive Overrides
   ========================================= */

@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .journey-grid {
        flex-direction: column;
        gap: 3rem;
    }

    .journey-grid::before {
        display: none;
    }

    .journey-step {
        width: 100%;
        max-width: 300px;
        /* Limit width */
        margin: 0 auto;
    }

    /* Reveal content on touch devices automatically or reducing friction */
    /* Check for hover:none capability (Touch) */
    @media (hover: none) {
        .electric-glass-card .content {
            transform: translateY(0);
            background: rgba(5, 10, 20, 0.8);
            backdrop-filter: blur(10px);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .electric-glass-card .details {
            opacity: 1;
            transform: translateY(0);
        }

        .electric-glass-card .card-badge {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
}