/* --- BASE THEME & SYSTEM --- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;700&family=Inter:wght@200;400;600;800&display=swap');

:root {
    --bg: #0a0a0c;
    --bg-deep: #060608;
    --bg-card: rgba(20, 25, 45, 0.5);
    --primary: #0070f3;
    --primary-rgb: 0, 112, 243;
    --accent-gold: #ffc107;
    --accent-gold-rgb: 252, 194, 0;
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --bg-darker: #0d121f;
    
    --glass: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.18);
    --inner-glow: inset 0 0 25px rgba(var(--primary-rgb), 0.08);
    --blue-glow: 0 0 60px rgba(var(--primary-rgb), 0.5);
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --section-padding: 15vh 0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: initial; overflow-x: hidden; background: var(--bg-deep); font-size: 17px; }
body { background: var(--bg-deep); color: var(--text-white); font-family: var(--font-body); line-height: 1.5; -webkit-font-smoothing: antialiased; font-size: 1rem; hyphens: none; word-break: normal; overflow-wrap: normal; overflow-x: hidden; width: 100%; }

/* Selection & Scrollbar */
::selection { background: var(--primary); color: #fff; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

/* Utilities */
.container { max-width: 1650px; margin: 0 auto; padding: 0 4%; }
.section-padding { padding: var(--section-padding); }
.glass-card { 
    background: var(--glass); 
    backdrop-filter: blur(40px); 
    border: 1px solid var(--glass-border); 
    border-radius: 32px; 
    transition: var(--transition); 
    box-shadow: var(--inner-glow);
    position: relative;
    overflow: hidden;
}
.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}
.glass-card:hover { 
    border-color: rgba(var(--primary-rgb), 0.6); 
    background: rgba(255, 255, 255, 0.05); 
    box-shadow: var(--blue-glow); 
    transform: translateY(-12px) scale(1.02);
}
.gradient-text { background: linear-gradient(135deg, #fff 0%, var(--primary) 50%, var(--accent-gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.hero-badge { 
    display: inline-block; 
    padding: 1.2rem 3.5rem; 
    background: rgba(var(--primary-rgb), 0.05); 
    border: 2px solid var(--primary); 
    border-radius: 100px; 
    font-size: 0.7rem; 
    font-family: var(--font-heading); 
    letter-spacing: 0.3rem; 
    color: var(--primary); 
    margin-bottom: 2.5rem; 
    text-transform: uppercase; 
    font-weight: 800; 
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3), inset 0 0 10px rgba(var(--primary-rgb), 0.2);
    position: relative;
    overflow: visible;
    opacity: 0;
    filter: blur(20px);
    transform: translateY(30px);
}
.hero-badge::before {
    content: '';
    position: absolute;
    left: -30px; top: 50%; width: 10px; height: 10px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 15px var(--primary);
}
.hero-badge::after {
    content: '';
    position: absolute;
    left: -15px; top: 50%; width: 5px; height: 5px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
}

/* Buttons */
.btn-premium { position: relative; padding: 1rem 3rem; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); color: #fff; font-family: var(--font-heading); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1rem; text-transform: uppercase; border-radius: 100px; transition: var(--transition); text-decoration: none; backdrop-filter: blur(15px); text-align: center; display: inline-block; }
.btn-premium:hover { background: var(--primary); transform: translateY(-5px); box-shadow: 0 15px 45px rgba(var(--primary-rgb), 0.3); }
.btn-gold { border-color: rgba(var(--accent-gold-rgb), 0.3); }
.btn-gold:hover { background: var(--accent-gold); color: #000; box-shadow: 0 15px 45px rgba(var(--accent-gold-rgb), 0.4); }

/* --- COMPONENTS --- */

/* GLOBAL NAVIGATION */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(-20px);
}
#main-nav.scrolled { padding: 1.2rem 0; background: rgba(5, 5, 5, 0.85); backdrop-filter: blur(25px); border-bottom: 1px solid var(--glass-border); transform: translateY(0) !important; opacity: 1 !important; }

.nav-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%;
}

.logo { 
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading); 
    font-size: 1.6rem; 
    font-weight: 800; 
    color: #fff; 
    text-decoration: none; 
    letter-spacing: 1px;
}

.logo span { color: var(--primary); }

.nav-links { 
    display: flex; 
    gap: 2.5rem; 
    list-style: none; 
    margin: 0 auto;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.mobile-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.lang-switcher {
    flex-shrink: 0;
}

.nav-link { 
    text-decoration: none; 
    color: var(--text-muted); 
    font-size: 0.7rem; 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 0.1rem; 
    transition: 0.4s; 
}

.nav-link:hover { color: var(--primary); }
.nav-link.active { color: var(--primary) !important; position: relative; }
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.6);
}
.lang-switcher { display: flex; gap: 0.5rem; padding: 0.3rem; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 100px; }
.lang-btn { padding: 0.3rem 0.8rem; border-radius: 100px; font-size: 0.6rem; font-weight: 700; color: rgba(255, 255, 255, 0.4); background: transparent; border: none; cursor: pointer; }
.lang-btn.active { color: #fff; background: var(--primary); }

/* Hero */
#hero { position: relative; height: 110vh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding-top: 15vh; text-align: center; }
#experience-canvas { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none; }
.hero-content { position: relative; z-index: 2; width: 100%; border-radius: 100%; padding: 4rem; background: transparent; }
.hero-title { font-family: var(--font-heading); font-size: clamp(2.5rem, 8vw, 4.5rem); line-height: 1.05; font-weight: 700; margin-bottom: 2.5rem; letter-spacing: -1px; opacity: 0; filter: blur(20px); transform: translateY(30px); width: 100%; text-shadow: 0 0 40px rgba(0,0,0,0.8); }
.hero-desc { max-width: 700px; font-size: 0.97rem; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.8); margin: 0 auto 4rem; opacity: 0; filter: blur(10px); transform: translateY(20px); }
.hero-actions { 
    position: absolute;
    bottom: 5vh;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    display: flex; 
    gap: 2.5rem; 
    justify-content: center; 
    opacity: 0; 
    width: 100%;
    z-index: 10;
}

/* Stats (Hero) */
.hero-stats-group { position: absolute; width: 100%; height: 100%; pointer-events: none; z-index: 3; top: 0; left: 0; opacity: 0; scale: 0.8; }
.floating-card { position: absolute; padding: 1.5rem; display: flex; align-items: center; gap: 1rem; border-radius: 20px; }
.card-icon { font-size: 1.5rem; width: 45px; height: 45px; background: rgba(var(--primary-rgb), 0.1); border-radius: 12px; display: flex; justify-content: center; align-items: center; }
.card-text strong { display: block; font-size: 1.1rem; color: var(--primary); }
.card-text span { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }

/* Sections Common */
.section-head { margin-bottom: 5rem; max-width: 800px; }
.section-head h2 { font-family: var(--font-heading); font-size: clamp(1.4rem, 3.5vw, 2.4rem); margin-bottom: 1.2rem; }

/* --- REVEAL ANIMATIONS (GLOBAL SYSTEM) --- */
.reveal-up { 
    opacity: 0; 
    transform: translateY(40px); 
    transition: opacity 1s, transform 1s; /* Fallback transition */
}

/* No-JS Visibility Fallback */
body.no-gsap .reveal-up,
body.no-gsap .reveal-left,
body.no-gsap .reveal-right,
body.no-gsap .reveal-stagger {
    opacity: 1 !important;
    transform: none !important;
}

/* SUB-PAGE: IMMEDIATE VISIBILITY PROTOCOL (No Animations) */
.details-page .reveal-up,
.details-page .reveal-left,
.details-page .reveal-right,
.details-page .reveal-stagger,
.details-page .glass-card,
.details-page .hero-title,
.details-page .hero-desc,
.details-page .hero-actions,
.details-page .pricing-card,
.details-page .schematic-step {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    visibility: visible !important;
}

/* Grid Layouts */
.services-grid, .store-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; margin-top: 3rem; }
.pricing-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 3.5rem; 
    margin-top: 6rem; 
    align-items: stretch; /* Keep headers/buttons aligned */
    margin-bottom: 5rem;
}
@media (max-width: 1200px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 768px) {
    .pricing-grid { grid-template-columns: 1fr; }
}

/* Pricing Cards */
.pricing-card {
    padding: 3.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    background: rgba(var(--primary-rgb), 0.12);
    border-color: var(--primary);
    transform: translateY(-35px) scale(1.08); /* STRONG PUSH */
    box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 40px rgba(var(--primary-rgb), 0.3);
    z-index: 10;
}

.product-badge.popular {
    position: absolute;
    top: 1rem;
    padding: 0.3rem 1rem;
    background: var(--primary);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    border-radius: 100px;
}

.card-tier {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    margin-bottom: 2rem;
}

.tier-features {
    list-style: none;
    margin: 2rem 0 3rem;
    width: 100%;
}

.tier-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* NEW: SETUP FEE HIERARCHY */
.setup-fee {
    font-size: 4.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.setup-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 2rem;
    font-weight: 800;
}
.recurring-badge {
    padding: 0.6rem 1.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}
.recurring-badge strong { color: #fff; }


.custom-offer-section {
    margin-top: 6rem;
}

.pricing-card.custom-offer {
    border: 2px dashed rgba(var(--primary-rgb), 0.4);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--primary-rgb), 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 40px;
    padding: 6rem 4rem;
    width: 100%;
    transition: var(--transition);
}

.pricing-card.custom-offer:hover {
    border-style: solid;
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
    box-shadow: 0 0 60px rgba(var(--primary-rgb), 0.3);
}

.custom-offer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 6rem;
    text-align: left;
}

@media (max-width: 992px) {
    .custom-offer-content { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
}

.custom-offer h3 {
    font-size: 3.5rem !important;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
}


/* Cards & Items */
.service-card { padding: 3.5rem; position: relative; overflow: hidden; }
.service-icon { font-size: 2.5rem; margin-bottom: 2rem; display: inline-block; transition: 0.3s; }
.service-card:hover .service-icon { transform: scale(1.2) rotate(5deg); filter: drop-shadow(0 0 15px var(--primary)); }

.service-glow { position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1), transparent 70%); opacity: 0; transition: 0.6s; z-index: 0; pointer-events: none; }
.service-card:hover .service-glow { opacity: 1; }

.matrix-list { list-style: none; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05); }
.matrix-list li { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.75rem; }
.matrix-list li::before { content: '⚡'; font-size: 0.6rem; color: var(--primary); }

/* Portfolio */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 2.5rem; }
.portfolio-item { overflow: hidden; padding: 0; }
.portfolio-image { width: 100%; height: 260px; position: relative; overflow: hidden; }
.portfolio-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s; }
.portfolio-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(var(--primary-rgb), 0.75); backdrop-filter: blur(15px); display: flex; justify-content: center; align-items: center; opacity: 0; transition: 0.4s; }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-item:hover .portfolio-image img { transform: scale(1.1); }
.portfolio-content { padding: 2rem; }
.portfolio-tag { display: inline-block; padding: 0.3rem 1rem; background: rgba(255,255,255,0.05); border-radius: 100px; font-size: 0.6rem; text-transform: uppercase; margin-top: 1rem; border: 1px solid var(--glass-border); }


/* Store */
.product-card { padding: 0; overflow: hidden; border: 1px solid var(--glass-border); transition: var(--transition); position: relative; }
.product-card:hover { border-color: var(--accent-gold); box-shadow: 0 0 30px rgba(var(--accent-gold-rgb), 0.2); }
.product-badge { position: absolute; top: 1.5rem; right: 1.5rem; padding: 0.5rem 1.2rem; background: var(--accent-gold); color: #000; font-family: var(--font-heading); font-size: 0.5rem; font-weight: 800; border-radius: 100px; z-index: 10; letter-spacing: 2px; }
.product-img { width: 100%; height: 260px; object-fit: cover; border-bottom: 1px solid var(--glass-border); transition: transform 0.8s; }
.product-card:hover .product-img { transform: scale(1.05); }
.product-info { padding: 2.5rem; }
.product-price { font-size: 1.8rem; font-weight: 800; margin: 1.5rem 0; display: flex; align-items: center; gap: 1rem; }
.price-old { font-size: 1rem; color: var(--text-muted); text-decoration: line-through; }

/* Metrics */
.metrics-dashboard { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 3rem; }
.metric-display-card { padding: 3.5rem; }
.metric-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; border-bottom: 1px solid var(--glass-border); padding-bottom: 1.5rem; }
.client-name { font-family: var(--font-heading); font-size: 0.75rem; letter-spacing: 2px; color: var(--primary); }
.metric-main { display: flex; justify-content: space-between; align-items: center; gap: 3rem; }
.metric-group { flex: 1; }
.metric-label { font-size: 0.65rem; text-transform: uppercase; color: var(--text-muted); letter-spacing: 1px; margin-bottom: 0.5rem; }
.metric-value { font-size: 2.8rem; font-weight: 800; color: var(--text-white); }

/* Forms & UI */
.lead-content { max-width: 650px; margin: 0 auto; text-align: center; }
.lead-form { display: flex; gap: 1rem; margin-top: 3rem; }
.lead-input { flex: 1; background: var(--bg-card); border: 1px solid var(--glass-border); padding: 1.25rem 2rem; border-radius: 100px; color: #fff; font-family: var(--font-body); transition: 0.3s; }
.lead-input:focus { outline: none; border-color: var(--primary); box-shadow: var(--blue-glow); }

/* Global UI */
/* Consolidating cursor styles - see below for master definition */
.whatsapp-float { position: fixed; bottom: 2rem; right: 2rem; width: 60px; height: 60px; background: #25d366; border-radius: 50%; display: flex; justify-content: center; align-items: center; z-index: 1000; box-shadow: 0 15px 30px rgba(0,0,0,0.4); transition: 0.4s; }
.whatsapp-float:hover { transform: scale(1.1) rotate(10deg); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }



/* --- PERFECTION EDITION COMPONENTS --- */

.btn-pill-secure {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem 3.5rem;
    background: transparent;
    border: 2px solid #0066ff;
    border-radius: 100px;
    color: #0066ff;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.2);
}

.btn-pill-secure::before {
    content: '';
    width: 10px;
    height: 10px;
    background: #0066ff;
    border-radius: 50%;
    box-shadow: 0 0 15px #0066ff, 0 0 30px #0066ff;
    animation: pulse-blue 2s infinite;
}

.btn-pill-secure:hover {
    background: rgba(0, 102, 255, 0.05);
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 102, 255, 0.4);
    color: #fff;
    border-color: #fff;
}

.btn-pill-secure:hover::before {
    background: #fff;
    box-shadow: 0 0 15px #fff, 0 0 30px #fff;
}

@keyframes pulse-blue {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/* Flagship Hero Card */
.hero-product-card {
    min-height: 70vh;
    width: 100%;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 50% 50%, rgba(var(--primary-rgb), 0.05), transparent 70%);
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 4rem 0;
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--glass-border);
}

.hero-product-card .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.hero-product-visual {
    position: relative;
    transform-style: preserve-3d;
}

.hero-product-visual img {
    width: 80%;
    border-radius: 30px;
    box-shadow: 0 0 60px rgba(var(--primary-rgb), 0.3);
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.hero-product-card:hover .hero-product-visual img {
    transform: perspective(1000px) rotateX(2deg) rotateY(-5deg) scale(1.02);
}

.price-old {
    font-size: 1.5rem;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.6;
    margin-right: 1.5rem;
}

.discount-badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--accent-gold);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.7rem;
    letter-spacing: 2px;
    border-radius: 100px;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(var(--accent-gold-rgb), 0.4);
    animation: flash-gold 2s infinite;
}

@keyframes flash-gold {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
    100% { filter: brightness(1); }
}

#hero-logo-intro {
    position: absolute;
    top: 45%; /* Slightly higher to allow subtitle below */
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    pointer-events: none;
    text-align: center;
    width: 100%;
}

.logo-parts-wrap {
    display: flex;
    justify-content: center;
    gap: 0;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2.5rem, 8vw, 6.5rem);
}

.logo-part {
    display: inline-block;
    color: #fff;
    opacity: 0;
    filter: blur(20px);
    text-shadow: 0 0 30px rgba(var(--primary-rgb), 0.8), 0 0 60px rgba(var(--primary-rgb), 0.4);
}

.logo-left { transform: translateX(-100px); }
.logo-right { transform: translateX(100px); color: var(--primary) !important; text-shadow: 0 0 40px var(--primary); }

#hero-intro-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: #fff !important;
    letter-spacing: 0.5rem;
    text-transform: uppercase;
    margin-top: 2rem;
    opacity: 0;
    filter: blur(10px);
    width: 100%;
    text-shadow: 0 0 20px rgba(var(--primary-rgb), 0.6);
    font-weight: 700;
}

#hero-intro-cta-phrase {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--primary);
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    opacity: 0;
    filter: blur(30px);
    z-index: 101;
    text-align: center;
    width: 100%;
    pointer-events: none;
    text-shadow: 0 0 30px rgba(var(--primary-rgb), 0.5);
}

.glitch-active {
    animation: digital-glitch 0.2s infinite;
}

@keyframes digital-glitch {
    0% { transform: translate(-50%, -50%) skew(0deg); }
    20% { transform: translate(-52%, -48%) skew(2deg); clip-path: inset(10% 0 30% 0); }
    40% { transform: translate(-48%, -52%) skew(-2deg); clip-path: inset(40% 0 10% 0); }
    60% { transform: translate(-51%, -49%) skew(1deg); clip-path: inset(20% 0 50% 0); }
    80% { transform: translate(-49%, -51%) skew(-1deg); clip-path: inset(50% 0 10% 0); }
    100% { transform: translate(-50%, -50%) skew(0deg); }
}

.massive-glow {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.3) 0%, transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 99;
    opacity: 0;
    transition: opacity 2s ease;
}

.scanline-intro {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(255,255,255,0.05) 50.1%);
    background-size: 100% 4px;
    z-index: 101;
    pointer-events: none;
    opacity: 0.2;
}

/* Social Proof: Ascended Clients */
.ascended-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem; margin-top: 4rem; }
.client-card { padding: 2.5rem; display: flex; flex-direction: column; align-items: center; text-align: center; border-left: 4px solid transparent; transition: var(--transition); }
.client-card:nth-child(1) { border-color: #a855f7; }
.client-card:nth-child(2) { border-color: #ec4899; }
.client-card:nth-child(3) { border-color: #3b82f6; }
.client-card:nth-child(4) { border-color: #06b6d4; }
.client-card:nth-child(5) { border-color: #8b5cf6; }
.client-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: 1.5rem; border: 2px solid var(--glass-border); }
.client-info h4 { font-family: var(--font-heading); font-size: 0.9rem; margin-bottom: 0.2rem; }
.client-info span { font-size: 0.65rem; color: var(--primary); text-transform: uppercase; font-weight: 800; letter-spacing: 1px; }
.client-quote { font-style: italic; font-size: 0.85rem; color: var(--text-muted); margin: 1.5rem 0; line-height: 1.6; }
.client-metric { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: #fff; }
.client-card:hover { transform: translateY(-15px); background: rgba(255,255,255,0.05); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }

/* Animated Metrics Dashboard */
.metrics-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4rem; text-align: center; background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%); padding: 6rem; border-radius: 40px; border: 1px solid var(--glass-border); }
.counter-item h2 { font-size: 4.5rem; font-family: var(--font-heading); background: linear-gradient(135deg, #a855f7, #ec4899); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 1rem; font-weight: 800; }
.counter-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 3px; color: var(--text-muted); line-height: 1.4; }

/* FAQ Accordion */
.faq-container { max-width: 900px; margin: 4rem auto 0; }
.faq-item { margin-bottom: 1rem; border: 1px solid var(--glass-border); border-radius: 20px; overflow: hidden; transition: var(--transition); }
.faq-trigger { width: 100%; padding: 2rem; background: rgba(255,255,255,0.02); border: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; text-align: left; transition: 0.3s; }
.faq-trigger h4 { font-family: var(--font-heading); font-size: 1.1rem; color: #fff; }
.faq-icon { font-size: 1.5rem; color: var(--primary); transition: 0.4s; }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1); background: rgba(255,255,255,0.01); }
.faq-inner { padding: 0 2rem 2rem; color: var(--text-muted); line-height: 1.8; font-size: 1rem; }
.faq-item.active { border-color: var(--primary); background: rgba(var(--primary-rgb), 0.03); }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-item.active .faq-content { max-height: 500px; }

/* Portfolio Hover Enhancement */
.portfolio-overlay-stats { position: absolute; inset: 0; background: rgba(0,0,0,0.9); backdrop-filter: blur(15px); padding: 3rem; display: flex; flex-direction: column; justify-content: center; opacity: 0; transition: var(--transition); pointer-events: none; }
.portfolio-item:hover .portfolio-overlay-stats { opacity: 1; pointer-events: all; }
.stat-reveal { margin-bottom: 1rem; transform: translateY(20px); opacity: 0; transition: 0.4s; }
.portfolio-item:hover .stat-reveal { transform: translateY(0); opacity: 1; }
.portfolio-item:hover .stat-reveal:nth-child(2) { transition-delay: 0.1s; }
.portfolio-item:hover .stat-reveal:nth-child(3) { transition-delay: 0.2s; }

/* Advanced CTA Groups */
.cta-sequence { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 2rem; width: 100%; }
.cta-light { padding: 0.6rem 1rem; font-size: 0.55rem; background: transparent; border: 1px solid rgba(255,255,255,0.1); }
.cta-heavy { padding: 1.2rem; font-size: 0.8rem; background: var(--primary); box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.4); animation: pulse-glow 3s infinite; }
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(var(--primary-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0); }
}

/* Resources / Blog Grid */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 4rem; }
.blog-card { overflow: hidden; transition: var(--transition); }
.blog-img-wrap { height: 220px; overflow: hidden; position: relative; }
.blog-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: 0.8s; }
.blog-card:hover .blog-img-wrap img { transform: scale(1.1) rotate(2deg); }
.blog-body { padding: 2rem; }
.blog-meta { font-size: 0.6rem; color: var(--primary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem; display: block; }
.blog-card h3 { font-size: 1.4rem; font-family: var(--font-heading); margin-bottom: 1.2rem; line-height: 1.3; }

/* Responsive Perfection */
@media (max-width: 992px) {
    .ascended-grid, .metrics-row, .blog-grid { grid-template-columns: 1fr; }
    .metrics-row { padding: 3rem; gap: 3rem; }
    .client-card { border-left: none; border-bottom: 4px solid var(--primary); }
}

/* Footer */
#main-footer { background: #020202; padding: 8rem 0 4rem; border-top: 1px solid var(--glass-border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 6rem; }
.footer-links-column h5 { font-family: var(--font-heading); font-size: 0.65rem; color: var(--primary); margin-bottom: 2.5rem; letter-spacing: 3px; }
.footer-links-column ul { list-style: none; }
.footer-links-column li { margin-bottom: 1.2rem; }
.footer-links-column a { text-decoration: none; color: var(--text-muted); font-size: 0.85rem; transition: 0.3s; }
.footer-links-column a:hover { color: #fff; padding-left: 5px; }
.footer-bottom-tier { display: flex; justify-content: space-between; align-items: center; margin-top: 6rem; padding-top: 3rem; border-top: 1px solid var(--glass-border); font-size: 0.7rem; color: var(--text-muted); }

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
    .metrics-dashboard { grid-template-columns: 1fr; }
    .footer-grid { gap: 4rem; }
}

@media (max-width: 992px) {
    .ceo-split { grid-template-columns: 1fr; gap: 4rem; text-align: center; }
    .ceo-expertise { align-items: center; }
    .expertise-item { flex-direction: column; gap: 0.5rem; align-items: center; }
    .ceo-signature { justify-content: center; display: flex; }
    .hero-title { font-size: 3.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    html { font-size: 15px; }
    .mobile-toggle { display: flex; }
    
    .nav-links { 
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 10, 0.98);
        backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        margin: 0;
    }
    
    .nav-links.active { right: 0; }
    
    .nav-link { font-size: 1.2rem; }
    
    .nav-container { padding: 0 5%; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .lead-form { flex-direction: column; }
    .btn-premium { width: 100%; }
    .section-padding { padding: 9vh 0; }
    .hero-stats-group { display: none; }
    .pricing-card.featured { transform: scale(1); margin: 2rem 0; }
    
    .pricing-grid { gap: 2rem; }
    
    /* Vertical CTA mobile adjustment */
    .vertical-cta {
        position: fixed;
        bottom: 0;
        right: 0;
        width: 100%;
        transform: none;
        top: auto;
        border-radius: 0;
        text-align: center;
        padding: 1.5rem;
        z-index: 999;
    }
    
    .vertical-cta:hover { padding-bottom: 1.5rem; }
    
    #hero { height: auto; min-height: 80vh; padding: 6rem 5% 3rem; }
    .hero-content { padding: 1.5rem; background: none; }
    .hero-title { font-size: 2.2rem; }
    .hero-desc { font-size: 0.95rem; margin-bottom: 2rem; }
    .hero-actions { flex-direction: column; gap: 0.8rem; width: 100%; }
    
    .schematic-step { flex-direction: column !important; text-align: center; }
    .step-card { width: 100% !important; margin-bottom: 2rem; }
    .schematic-path { display: none; }
    
    /* Founder Split Fix */
    .founder-layout { grid-template-columns: 1fr !important; gap: 3rem; }
    .founder-content { text-align: center; }
    
    /* Forms */
    .lead-form, #bespoke-form { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; letter-spacing: -1px; }
    .section-head h2 { font-size: 1.8rem; }
    .glass-card { padding: 2rem !important; }
}

/* Standard Excellence & Specs */
.standard-features {
    padding-top: 4rem;
}

.standard-features h4 {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.standard-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: var(--transition);
}

.standard-item:hover {
    background: rgba(var(--primary-rgb), 0.05);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.standard-item strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: #fff;
}

/* Modal Overlay & Container */
/* Ascension Protocol (Process) Styles: Vertical Cinematic Journey */
.process-vertical-story {
    max-width: 1000px;
    margin: 8rem auto 0;
    position: relative;
}

.process-story-item {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 6rem;
    margin-bottom: 12rem;
    align-items: center;
    position: relative;
    opacity: 1; /* Safety Fallback */
}

.story-visual {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(var(--primary-rgb), 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    overflow: hidden;
}

.story-visual .step-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18rem;
    font-weight: 900;
    color: rgba(255,255,255,0.02);
    z-index: 1;
}

.story-visual svg {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.2));
}

.story-content h3 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
    letter-spacing: -1px;
}

.story-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
}

@media (max-width: 992px) {
    .process-story-item { grid-template-columns: 1fr; text-align: center; gap: 3rem; margin-bottom: 8rem; }
    .story-visual { margin: 0 auto; width: 240px; height: 240px; }
    .story-visual .step-number { font-size: 12rem; }
    .story-content h3 { font-size: 2rem; }
}

.modal-overlay.active {
    opacity: 1; pointer-events: all;
    visibility: visible;
    display: flex;
}

.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(25px);
    z-index: 9999;
    display: none;
    justify-content: center; align-items: center;
    opacity: 0; pointer-events: none;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

.modal-container {
    width: 90%; max-width: 1100px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 4rem;
    position: relative;
    max-height: 90vh; overflow-y: auto;
    transform: scale(0.9); transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-container { transform: scale(1); }

.modal-close {
    position: absolute; top: 2rem; right: 2rem;
    background: transparent; border: none; color: #fff;
    font-size: 2.5rem; cursor: pointer; opacity: 0.5; transition: 0.3s;
}

.modal-close:hover { opacity: 1; transform: rotate(90deg); }

.modal-grid {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem;
}

.modal-visual img {
    width: 100%; border-radius: 20px; border: 1px solid var(--glass-border);
}

.modal-bio { font-size: 1.1rem; color: var(--text-muted); margin: 2rem 0; }

.modal-features {
    display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem;
}

.feat-item { display: flex; align-items: center; gap: 1rem; font-size: 0.9rem; }
.feat-icon { font-size: 1.2rem; min-width: 30px; }

@media (max-width: 992px) {
    .modal-container { padding: 2rem; }
}

/* Feature Matrix Table */
.feature-matrix { margin-bottom: 5rem; }
.matrix-table { padding: 3rem; overflow-x: auto; }
.matrix-header { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; border-bottom: 1px solid var(--glass-border); padding-bottom: 1.5rem; margin-bottom: 1rem; }
.col-head { font-family: var(--font-heading); font-size: 0.65rem; color: var(--primary); letter-spacing: 2px; text-transform: uppercase; }
.matrix-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.03); font-size: 0.9rem; align-items: center; }
.matrix-label { font-weight: 600; color: #fff; }
.matrix-row > div:not(.matrix-label) { color: var(--text-muted); font-size: 0.85rem; }

@media (max-width: 768px) {
    .matrix-header, .matrix-row { grid-template-columns: 1fr 1fr 1fr 1fr; min-width: 800px; }
}

/* Checkout Modal System - Unified */
.checkout-modal {
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-container {
    max-width: 850px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    min-height: 550px;
    background: var(--bg-darker);
    position: relative;
    border-radius: 24px;
}

@media (max-width: 768px) {
    .checkout-container {
        grid-template-columns: 1fr;
        max-width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }
}

.checkout-summary-panel {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9), rgba(20, 20, 20, 0.95));
    padding: 4rem 2.5rem;
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.checkout-form-panel {
    padding: 3.5rem 3rem;
    background: var(--bg-darker);
    position: relative;
}

.checkout-product-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin: 1.5rem 0 0.5rem;
    letter-spacing: -1px;
}

.checkout-product-price {
    font-size: 1.6rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 2.5rem;
}

.checkout-form .input-group {
    margin-bottom: 1.8rem;
}

.checkout-form .input-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-white);
    margin-bottom: 0.8rem;
    font-weight: 600;
    opacity: 0.8;
}

.checkout-form input, 
.checkout-form select, 
.checkout-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 1.1rem 1.4rem;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.checkout-form input:focus, 
.checkout-form select:focus, 
.checkout-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.2);
}

.appointment-node {
    display: none;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.appointment-node.active {
    display: block;
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.checkout-trust-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    margin-top: auto;
}

.checkout-success-pane h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

/* Night Theme Overrides */
.night-theme {
    --bg: #010103;
    --bg-deep: #000001;
    --bg-card: rgba(5, 5, 15, 0.6);
    --primary: #4444ff;
    --primary-rgb: 68, 68, 255;
    --text-muted: rgba(200, 200, 255, 0.5);
}

.night-theme .glass-card {
    background: rgba(2, 2, 8, 0.4);
    border-color: rgba(68, 68, 255, 0.1);
}

/* --- ANIMATION ENGINES --- */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    width: 0%; height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent-gold));
    z-index: 9999;
    pointer-events: none;
}

.reveal-stagger { opacity: 1; }
.reveal-stagger > * { opacity: 1; transform: translateY(0); }

[data-parallax] { will-change: transform; transition: transform 0.1s linear; }

.magnetic-btn { display: inline-block; transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1); }

/* Cinematic Transitions */
.section-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, transparent, var(--glass-border), transparent);
    margin: 4rem 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.floating { animation: float 6s ease-in-out infinite; }

/* --- MISSION SCHEMATIC (PROCESS REDESIGN) --- */
#process { 
    background: var(--bg-darker);
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.schematic-container {
    max-width: 1200px;
    margin: 4rem auto 0;
    position: relative;
}

/* Structural Path Line */
.schematic-path {
    position: absolute;
    top: 10%; left: 50%; width: 2px; height: 80%;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    opacity: 0.2;
    z-index: 0;
}

.schematic-step {
    display: flex;
    justify-content: flex-start; /* Default: Step 1 & 3 on left */
    align-items: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
}

.schematic-step.step-right {
    justify-content: flex-end; /* Step 2 & 4 on right */
}

.step-card {
    width: 46%;
    padding: 3rem;
    position: relative;
    border: 1px solid var(--glass-border);
    background: rgba(var(--bg-rgb), 0.5);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    transition: var(--transition);
    opacity: 0; /* JS will animate to 1 */
}

/* Initial States for Animation */
.schematic-step.step-left .step-card { transform: translateX(-50px); }
.schematic-step.step-right .step-card { transform: translateX(50px); }


.step-card:hover {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.05);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(var(--primary-rgb), 0.2);
}

.step-meta {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.6rem;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0.7;
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.step-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.step-icon-wrap {
    width: 80px;
    height: 80px;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0); /* JS will animate to scale(1) */
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.2);
    z-index: 2;
}


.step-card::before { /* Corner Brackets */
    content: '';
    position: absolute;
    top: -1px; left: -1px; width: 20px; height: 20px;
    border-top: 2px solid var(--primary);
    border-left: 2px solid var(--primary);
    border-radius: 4px 0 0 0;
    opacity: 0; transition: 0.3s;
}

.step-card:hover::before { opacity: 1; }

/* --- MASTER CUSTOM CURSOR SYSTEM --- */
.custom-cursor {
    width: 8px;
    height: 8px;
    background: var(--text-white);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.1s;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(var(--primary-rgb), 0.5);
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    position: fixed;
    top: -16px; left: -16px;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3);
}

@media (max-width: 992px) {
    .schematic-step, .schematic-step:nth-child(even) { flex-direction: column; text-align: center; gap: 3rem; }
    .step-card { width: 100%; }
    .schematic-path, .step-icon-wrap { display: none; }
    .custom-cursor, .cursor-follower { display: none; }
    * { cursor: auto !important; }
}

/* --- PAYMENT BUTTON STATES --- */
.btn-pill-secure:disabled,
.btn-premium:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-spinner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* --- CHECKOUT FORM SUBMIT BUTTON LOADING --- */
#checkout-submit-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

/* --- SUCCESS ANIMATION --- */
@keyframes bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    30% { transform: translateY(-15px) scale(1.1); }
    60% { transform: translateY(-5px) scale(1.02); }
}

/* --- FORM INPUT VALIDATION STATES --- */
.lead-input:invalid:not(:placeholder-shown) {
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.1);
}

.lead-input:valid:not(:placeholder-shown) {
    border-color: rgba(16, 185, 129, 0.4);
}

/* --- CHECKOUT FORM SLIDE IN --- */
#payment-nexus {
    animation: slideUpFade 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- PANEL TOP --- */
.panel-top {
    margin-bottom: 1rem;
}

/* --- INPUT ERROR STATE --- */
.checkout-form input.input-error {
    border-color: #ef4444;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.25);
    animation: shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes shake {
    10%, 90% { transform: translateX(-1px); }
    20%, 80% { transform: translateX(2px); }
    30%, 50%, 70% { transform: translateX(-4px); }
    40%, 60% { transform: translateX(4px); }
}