/* ============================================
   ADDITIONAL UI COMPONENTS FOR AI PAGES
   ============================================ */
/* Data flow visualization */
.data-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    margin: 40px 0;
    overflow-x: auto;
}
.data-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    min-width: 120px;
    text-align: center;
    transition: all 0.3s;
}
.data-node:hover {
    border-color: var(--terminal-green);
    transform: translateY(-3px);
}
.data-node.secure {
    border-color: var(--terminal-green);
    background: rgba(0, 255, 136, 0.03);
}
.data-node-icon {
    font-size: 2rem;
}
.data-node-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}
.data-arrow {
    font-size: 1.5rem;
    color: var(--terminal-green);
    animation: arrowPulse 1.5s ease-in-out infinite;
}
@keyframes arrowPulse {
    0%, 100% { opacity: 0.5; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(5px); }
}

/* Security badge */
.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid var(--terminal-green);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: var(--terminal-green);
}
.security-badge::before {
    content: '🔒';
}

/* Use case cards */
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.use-case-card {
    background: linear-gradient(150deg, rgba(15, 20, 30, 0.55) 0%, rgba(8, 12, 20, 0.4) 100%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 18px;
    padding: clamp(20px, 2.5vw, 32px);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--terminal-green), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 18px 18px 0 0;
}
.use-case-card:hover {
    border-color: rgba(0, 255, 136, 0.18);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 0 16px rgba(0, 255, 136, 0.05);
}
.use-case-card:hover::before {
    opacity: 1;
}
.use-case-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.use-case-card h4 {
    font-size: 1.1rem;
    color: var(--text-bright);
    margin-bottom: 12px;
}
.use-case-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}
.use-case-link {
    font-size: 0.75rem;
    color: var(--terminal-green);
    letter-spacing: 0.1em;
    transition: all 0.3s;
}
.use-case-link:hover {
    letter-spacing: 0.15em;
}

/* Metrics display */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}
.metric-card {
    background: linear-gradient(150deg, rgba(15, 20, 30, 0.55) 0%, rgba(8, 12, 20, 0.4) 100%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: var(--space-lg) 22px;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.metric-value {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--terminal-green);
    text-shadow: 0 0 30px var(--glow-green);
    margin-bottom: var(--space-xs);
}
.metric-label {
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-wider);
    color: var(--text-dim);
}
.metric-sublabel {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: 8px;
}

/* Process steps */
.process-steps {
    display: flex;
    gap: 0;
    margin: 40px 0;
}
.process-step {
    flex: 1;
    padding: var(--space-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    position: relative;
    text-align: center;
}
.process-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--terminal-green);
    z-index: 1;
}
.process-step-num {
    width: 30px;
    height: 30px;
    background: var(--terminal-green);
    color: var(--void);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0 auto 15px;
}
.process-step h4 {
    font-size: 0.9rem;
    color: var(--text-bright);
    margin-bottom: 8px;
}
.process-step p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Comparison table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
}
.comparison-table th,
.comparison-table td {
    padding: 18px 20px;
    text-align: left;
    border: 1px solid var(--border);
}
.comparison-table th {
    background: var(--surface);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--terminal-green);
    font-weight: 500;
}
.comparison-table td {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.comparison-table tr:hover td {
    background: rgba(0, 255, 136, 0.02);
}
.comparison-table .check {
    color: var(--terminal-green);
}
.comparison-table .cross {
    color: #ff5f56;
}

/* Image placeholder with aspect ratio */
.image-placeholder {
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-elevated) 100%);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}
.image-placeholder.ratio-16-9 { aspect-ratio: 16/9; }
.image-placeholder.ratio-4-3 { aspect-ratio: 4/3; }
.image-placeholder.ratio-1-1 { aspect-ratio: 1/1; }
.image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(45deg, transparent 48%, var(--border) 49%, var(--border) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, var(--border) 49%, var(--border) 51%, transparent 52%);
    background-size: 30px 30px;
    opacity: 0.3;
}
.image-placeholder-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}
.image-placeholder-text {
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.15em;
    position: relative;
    z-index: 1;
}

/* Animated typing text */
.typing-text {
    display: inline;
    border-right: 2px solid var(--terminal-green);
    animation: typingCursor 0.8s step-end infinite;
}
@keyframes typingCursor {
    0%, 100% { border-color: var(--terminal-green); }
    50% { border-color: transparent; }
}

/* Responsive adjustments for new components */
@media (max-width: 1100px) {
    .use-case-grid { grid-template-columns: repeat(2, 1fr); }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { flex-wrap: wrap; }
    .process-step { min-width: 200px; }
    .process-step:not(:last-child)::after { display: none; }
}
@media (max-width: 600px) {
    .use-case-grid { grid-template-columns: 1fr; }
    .metrics-grid { grid-template-columns: 1fr; }
    .data-flow { flex-direction: column; }
    .data-arrow { transform: rotate(90deg); }
    .comparison-table { font-size: 0.75rem; }
    .comparison-table th, .comparison-table td { padding: 12px 10px; }
}

/* Print styles */
@media print {
    .preloader, .bg-container, .bg-layer, .page-transition { display: none; }
    .header, .site-header { position: static; }
    .main, .main-content { padding-top: 0; }
}

/* ============================================
   DYNAMIC GREETING BANNER
   ============================================ */
.dynamic-greeting {
    display: none;
    background: linear-gradient(90deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 255, 136, 0.05) 50%, rgba(0, 255, 136, 0.1) 100%);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
    padding: 15px 25px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--terminal-green);
    font-size: 1rem;
    letter-spacing: 0.02em;
    animation: greetingFadeIn 0.6s ease-out;
    position: relative;
    overflow: hidden;
}
.dynamic-greeting::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    animation: greetingShine 3s ease-in-out infinite;
}
@keyframes greetingFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes greetingShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* REMOVED: Mobile nav CSS moved to self-contained template v30
   MOBILE HAMBURGER MENU - toggle, overlay, nav, items, dropdown, parent
   (148 lines removed)
*/

@media (max-width: 900px) {
/* REMOVED: Mobile nav CSS moved to self-contained template v30
   mobile-menu-toggle and mobile-nav-overlay display rules
   (6 lines removed)
*/
    .header-row-2 {
        display: none !important;
    }
    .header-contact-info {
        display: none;
    }
    .header-cta-group {
        display: none;
    }
    .lang-switcher-nav {
        margin-right: 10px;
    }
}

/* ============================================
   HERO SECTION UNIQUE EFFECTS
   ============================================ */
.page-hero {
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.03) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--terminal-green), transparent);
    opacity: 0.5;
}
@keyframes heroGlow {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(5%, 5%) scale(1.1); opacity: 0.8; }
}

/* Hero floating particles */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--terminal-green);
    border-radius: 50%;
    opacity: 0;
    animation: heroParticleFloat 6s ease-in-out infinite;
}
@keyframes heroParticleFloat {
    0% { transform: translateY(100%) translateX(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100vh) translateX(20px); opacity: 0; }
}

/* ============================================
   CTA BOX GLOW & PARTICLES
   ============================================ */
.cta-box {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 136, 0.3);
    box-shadow: 
        0 0 20px rgba(0, 255, 136, 0.1),
        inset 0 0 30px rgba(0, 255, 136, 0.02);
}
.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    animation: ctaShine 4s ease-in-out infinite;
}
.cta-box::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--terminal-green), transparent, var(--terminal-green));
    z-index: -1;
    opacity: 0.2;
    animation: ctaBorderGlow 3s ease-in-out infinite alternate;
}
@keyframes ctaShine {
    0% { left: -100%; }
    50%, 100% { left: 150%; }
}
@keyframes ctaBorderGlow {
    0% { opacity: 0.1; }
    100% { opacity: 0.3; }
}

/* ============================================
   FEATURE CARD GLOW EFFECTS
   ============================================ */
.feature-card,
.service-card,
.card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-card::before,
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.feature-card:hover::before,
.service-card:hover::before {
    opacity: 1;
}
.feature-card:hover,
.service-card:hover {
    border-color: rgba(0, 255, 136, 0.18);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.25),
        0 0 15px rgba(0, 255, 136, 0.06);
}

/* Subtle particle dots in corners */
.feature-card::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 4px;
    height: 4px;
    background: var(--terminal-green);
    border-radius: 50%;
    opacity: 0.3;
    animation: featureCardDot 2s ease-in-out infinite;
}
@keyframes featureCardDot {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

/* ============================================
   PRELOADER DESKTOP FIX (ensure glow shows)
   ============================================ */
@media (min-width: 901px) {
    .preloader-bar {
        box-shadow: 
            0 0 15px rgba(0, 255, 136, 0.3),
            0 0 30px rgba(0, 255, 136, 0.2);
    }
    .preloader-progress {
        box-shadow: 
            0 0 10px var(--glow-green),
            0 0 20px var(--glow-green),
            0 0 40px rgba(0, 255, 136, 0.3);
    }
    .preloader-content::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 400px;
        height: 400px;
        transform: translate(-50%, -50%);
        background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
        animation: preloaderDesktopGlow 3s ease-in-out infinite;
        pointer-events: none;
    }
    @keyframes preloaderDesktopGlow {
        0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
        50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
    }
}

/* ============================================
   IMPROVED PRELOADER PARTICLES
   ============================================ */
.preloader-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--terminal-green);
    border-radius: 50%;
    opacity: 0;
    animation: particleRise 6s ease-out infinite;
    box-shadow: 0 0 6px var(--terminal-green);
}
@keyframes particleRise {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}

/* REMOVED: Mobile nav CSS moved to self-contained template v30
   v25 override - mobile-nav, overlay, items, dropdown, cta
   (90 lines removed)
*/

@media (max-width: 1024px) {
/* REMOVED: Mobile nav CSS moved to self-contained template v30
   v25 override - mobile display rules
   (13 lines removed)
*/
    .header-row-2 {
        display: none;
    }
    .header-cta-group {
        display: none;
    }
    .header-contact-info {
        display: none;
    }
    .lang-switcher-nav {
        margin-right: 15px;
    }
    .header-row-1 {
        padding: 15px 20px;
    }
    .header-logo img.logo-s,
    .header-logo img.s-logo {
        height: 28px;
    }
    .header-logo img.logo-full {
        display: none !important;
    }
    .header-tagline {
        display: none;
    }
}

/* ============================================
   HERO SECTION UNIQUE EFFECTS
   ============================================ */
.page-hero {
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.03) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--terminal-green), transparent);
    animation: heroLine 3s ease-in-out infinite;
}
@keyframes heroGlow {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(5%, 5%) scale(1.1); opacity: 1; }
}
@keyframes heroLine {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Hero floating particles */
.page-hero .hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--terminal-green);
    border-radius: 50%;
    opacity: 0;
    animation: heroParticleFloat 6s ease-in-out infinite;
}
@keyframes heroParticleFloat {
    0% { transform: translateY(100%) scale(0); opacity: 0; }
    20% { opacity: 0.8; }
    80% { opacity: 0.8; }
    100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

/* ============================================
   CTA BOX GLOW & PARTICLES
   ============================================ */
.cta-box {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 12px;
    padding: 40px;
}
.cta-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--terminal-green), transparent, var(--terminal-green));
    border-radius: 14px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.cta-box:hover::before {
    opacity: 0.3;
    animation: ctaGlowPulse 2s ease-in-out infinite;
}
@keyframes ctaGlowPulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
}

/* CTA floating particles */
.cta-box::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(0, 255, 136, 0.5) 0%, transparent 100%),
        radial-gradient(2px 2px at 80% 70%, rgba(0, 255, 136, 0.4) 0%, transparent 100%),
        radial-gradient(2px 2px at 40% 80%, rgba(0, 255, 136, 0.3) 0%, transparent 100%),
        radial-gradient(2px 2px at 60% 20%, rgba(0, 255, 136, 0.4) 0%, transparent 100%);
    animation: ctaParticles 4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes ctaParticles {
    0%, 100% { opacity: 0.5; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-5px); }
}

/* ============================================
   FEATURE CARD GLOW & PARTICLES
   ============================================ */
.service-card,
.feature-item,
.pricing-card,
.value-card {
    position: relative;
    overflow: hidden;
}
.service-card::before,
.feature-item::before,
.pricing-card::before,
.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top left, rgba(0, 255, 136, 0.08) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.service-card:hover::before,
.feature-item:hover::before,
.pricing-card:hover::before,
.value-card:hover::before {
    opacity: 1;
}

/* Feature card corner glow */
.service-card::after,
.feature-item::after {
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at top right, rgba(0, 255, 136, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.service-card:hover::after,
.feature-item:hover::after {
    opacity: 1;
}

/* Floating particles on hover for premium cards */
.pricing-card.featured {
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.15);
}
.pricing-card.featured::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(1px 1px at 10% 20%, rgba(0, 255, 136, 0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 30%, rgba(0, 255, 136, 0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 30% 90%, rgba(0, 255, 136, 0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 60%, rgba(0, 255, 136, 0.5) 0%, transparent 100%);
    animation: featuredParticles 5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes featuredParticles {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ============================================
   ENHANCED PRELOADER FOR DESKTOP
   ============================================ */
@media (min-width: 769px) {
    .preloader-bar {
        box-shadow: 
            0 0 15px var(--glow-green),
            0 0 30px rgba(0, 255, 136, 0.2);
    }
    .preloader-progress {
        box-shadow: 
            0 0 15px var(--glow-green),
            0 0 30px var(--glow-green),
            0 0 45px rgba(0, 255, 136, 0.3);
    }
    .preloader-particles {
        display: block !important;
    }
    .preloader-particle {
        width: 3px;
        height: 3px;
        box-shadow: 0 0 6px var(--terminal-green);
    }
}

/* ============================================
   ENHANCED TEXT VISIBILITY
   ============================================ */
.page-desc,
.section-desc,
.service-desc,
.feature-desc {
    color: var(--text-secondary);
}
.footer-desc {
    color: var(--text-secondary);
}

/* ============================================
   MOBILE RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 clamp(16px, 4vw, 20px);
    }
    .page-hero {
        padding: 100px 0 80px;
    }
    .page-title {
        font-size: 2.4rem;
        letter-spacing: -0.02em;
        margin-bottom: clamp(14px, 3vw, 24px);
    }
    .section {
        padding: clamp(50px, 7vw, 72px) 0;
    }
    .section.alt, .section-alt {
        padding: clamp(56px, 8vw, 80px) 0;
    }
    .section-header, .section-header-centered {
        margin-bottom: clamp(28px, 5vw, 48px);
    }
    .section-title {
        font-size: var(--text-2xl);
        margin-bottom: clamp(1rem, 3vw, 2.5rem);
    }
    .section-desc, .section-subtitle {
        margin-bottom: clamp(28px, 5vw, 48px);
        font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.05rem);
    }
    .hero, .hero-section {
        padding: 80px 0 100px;
    }
    .cta-box {
        padding: 48px 32px;
        gap: 40px;
    }
    .mini-lead-section {
        padding: 56px 0;
    }
    .section-spacer {
        height: clamp(32px, 5vw, 48px);
    }
}

/* ============================================
   v5.10 MOBILE FIXES
   ============================================ */

/* 1. Smaller preloader on mobile - not hitting edges */
@media (max-width: 768px) {
    .preloader-content {
        width: 85%;
        max-width: 280px;
        padding: 0 20px;
    }
    .preloader-video {
        width: 60vw !important;
        max-width: 180px !important;
    }
    .preloader-bar-container {
        width: 100%;
        max-width: 220px;
        margin: 0 auto;
    }
    .preloader-bar {
        width: 100%;
    }
    .preloader-text {
        font-size: 0.55rem !important;
        letter-spacing: 0.2em !important;
    }
    .preloader-percent {
        font-size: 0.6rem !important;
    }

    /* Boot sequence — scale down for mobile */
    .boot-sequence {
        width: 95% !important;
        max-width: 300px !important;
        margin-top: 10px !important;
    }
    .boot-logo {
        font-size: 1.2rem !important;
        letter-spacing: 0.25em !important;
    }
    .boot-version {
        font-size: 0.55rem !important;
        letter-spacing: 0.15em !important;
    }
    .boot-header {
        margin-bottom: 15px !important;
    }
    .boot-terminal {
        padding: 12px !important;
        max-height: 160px !important;
        font-size: 0.55rem !important;
        line-height: 1.6 !important;
    }
    .boot-line {
        font-size: 0.55rem !important;
    }
    .boot-edge-info {
        padding: 10px !important;
    }
    .boot-edge-label {
        font-size: 0.5rem !important;
        letter-spacing: 0.15em !important;
    }
    .boot-edge-route {
        font-size: 0.55rem !important;
        gap: 6px !important;
    }
    .edge-from, .edge-to {
        font-size: 0.5rem !important;
    }
    .edge-arrow {
        font-size: 0.5rem !important;
    }
    .boot-latency {
        font-size: 0.5rem !important;
    }
    .boot-status {
        font-size: 0.5rem !important;
        letter-spacing: 0.15em !important;
    }
}

/* 2. Logo much bigger on mobile (2x) — target ONLY .logo-s to avoid showing both logos */
@media (max-width: 768px) {
    .header-logo img.logo-s,
    .header-logo img.s-logo {
        height: 48px !important;
        width: auto !important;
    }
    .header-logo img.logo-full {
        display: none !important;
    }
    .header-row-1 {
        padding: 12px 15px;
    }
}

@media (max-width: 480px) {
    .header-logo img.logo-s,
    .header-logo img.s-logo {
        height: 44px !important;
        width: auto !important;
    }
    .header-logo img.logo-full {
        display: none !important;
    }
}

/* 4. Background more visible on mobile */
@media (max-width: 768px) {
    .bg-image {
        opacity: 0.75 !important;
    }
    .bg-overlay {
        background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.4) 100%) !important;
    }
}

/* 9. Epic footer tagline styling */
.footer-tagline-epic {
    text-align: center;
    padding: 40px 20px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}
.footer-tagline-epic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--terminal-green), transparent);
}
.footer-tagline-text {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--terminal-green), var(--terminal-silver-bright), var(--terminal-green));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: epicTaglineShine 4s ease-in-out infinite;
}
@keyframes epicTaglineShine {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}
.footer-tagline-sub {
    margin-top: 10px;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}
.footer-tagline-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.footer-tagline-particles::before,
.footer-tagline-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--terminal-green);
    border-radius: 50%;
    opacity: 0.6;
    animation: footerParticleFloat 6s ease-in-out infinite;
}
.footer-tagline-particles::before {
    left: 20%;
    animation-delay: 0s;
}
.footer-tagline-particles::after {
    right: 20%;
    animation-delay: 3s;
}
@keyframes footerParticleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-20px) scale(1.5); opacity: 0.8; }
}

@media (max-width: 768px) {
    .footer-tagline-text {
        font-size: 0.9rem;
    }
}

/* ============================================
   FORMS - ELEGANT STYLING WITH EFFECTS
   ============================================ */

/* Base Form Styles */
.seraphim-form {
    background: linear-gradient(135deg, rgba(20, 25, 30, 0.95), rgba(10, 15, 20, 0.98));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}
.seraphim-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--terminal-green), transparent);
    animation: formGlowLine 3s ease-in-out infinite;
}
@keyframes formGlowLine {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}
.seraphim-form::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.03) 0%, transparent 50%);
    pointer-events: none;
    animation: formAmbientGlow 8s ease-in-out infinite;
}
@keyframes formAmbientGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5%, 5%); }
}

.form-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}
.form-subtitle {
    color: var(--text-secondary);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

/* Form Groups */
.form-group {
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}
.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--terminal-green);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-bright);
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
}
.form-input:hover,
.form-textarea:hover,
.form-select:hover {
    border-color: rgba(0, 255, 136, 0.4);
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--terminal-green);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.15), 0 0 20px rgba(0, 255, 136, 0.1);
    background: rgba(0, 0, 0, 0.6);
}
.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}
.form-textarea {
    min-height: 120px;
    resize: vertical;
}
.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2300ff88' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}
.form-select option {
    background: #0a0f14;
    color: var(--text-bright);
}

/* Checkbox Group */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.checkbox-item:hover {
    border-color: rgba(0, 255, 136, 0.4);
    background: rgba(0, 255, 136, 0.05);
}
.checkbox-item input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}
.checkbox-item input[type="checkbox"]:checked {
    background: var(--terminal-green);
    border-color: var(--terminal-green);
}
.checkbox-item input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 14px;
    font-weight: bold;
}
.checkbox-item input[type="checkbox"]:checked + span {
    color: var(--terminal-green);
}
.checkbox-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

/* Form Row (2 columns) */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Submit Button */
.form-submit {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--terminal-green), #00cc6a);
    border: none;
    border-radius: 8px;
    color: #000;
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 10px;
}
.form-submit::before {
    content: '';
    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;
}
.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}
.form-submit:hover::before {
    left: 100%;
}
.form-submit:active {
    transform: translateY(0);
}

/* Form Success State */
.form-success {
    text-align: center;
    padding: 60px 40px;
}
.form-success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--terminal-green), #00cc6a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 40px;
    animation: successPulse 2s ease-in-out infinite;
}
@keyframes successPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4); }
    50% { box-shadow: 0 0 0 20px rgba(0, 255, 136, 0); }
}
.form-success h3 {
    color: var(--text-bright);
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.form-success p {
    color: var(--text-secondary);
}

/* ============================================
   REQUEST QUOTE POPUP
   ============================================ */
.quote-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.quote-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}
.quote-popup {
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.98), rgba(5, 10, 15, 0.99));
    border: 1px solid var(--border);
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s ease;
}
.quote-popup-overlay.active .quote-popup {
    transform: scale(1) translateY(0);
}
.quote-popup-header {
    padding: 30px 40px 20px;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.quote-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.quote-popup-close:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.3);
    color: #ff4444;
}
.quote-popup-body {
    padding: 30px 40px 40px;
}
.quote-popup .seraphim-form {
    background: transparent;
    border: none;
    padding: 0;
}
.quote-popup .seraphim-form::before,
.quote-popup .seraphim-form::after {
    display: none;
}

/* Popup Particles */
.quote-popup-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    border-radius: 20px;
}
.quote-popup-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--terminal-green);
    border-radius: 50%;
    opacity: 0.5;
    animation: popupParticle 10s linear infinite;
}
@keyframes popupParticle {
    0% { transform: translateY(100%) rotate(0deg); opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* ============================================
   MINI LEAD FORM (Mid-page)
   ============================================ */
.mini-lead-section {
    padding: 80px 0;
    position: relative;
}
.mini-lead-form {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(20, 25, 30, 0.9), rgba(10, 15, 20, 0.95));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}
.mini-lead-form::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.3), transparent, rgba(0, 255, 136, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.mini-lead-form .form-title {
    font-size: 1.4rem;
    text-align: center;
}
.mini-lead-form .form-subtitle {
    text-align: center;
    font-size: 0.9rem;
}
.mini-lead-form .form-row {
    margin-bottom: 16px;
}
.mini-lead-form .form-group {
    margin-bottom: 16px;
}

/* ============================================
   HEADER QUOTE BUTTON
   ============================================ */
.header-quote-btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--terminal-green);
    border-radius: 6px;
    color: var(--terminal-green);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.header-quote-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--terminal-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: -1;
}
.header-quote-btn:hover {
    color: #000;
}
.header-quote-btn:hover::before {
    transform: scaleX(1);
}

/* Footer Quote CTA */
.footer-quote-cta {
    text-align: center;
    padding: 30px 20px;
    margin-top: 20px;
    border-top: 1px solid var(--border);
}
.footer-quote-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--terminal-green), #00cc6a);
    border: none;
    border-radius: 8px;
    color: #000;
    font-family: 'Syne', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.footer-quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}
.footer-quote-btn span {
    font-size: 1.2rem;
}

/* Input Focus Animation */
.form-input:focus + .input-glow,
.form-textarea:focus + .input-glow {
    opacity: 1;
}
.input-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--terminal-green);
    transition: width 0.3s ease;
    opacity: 0;
}
.form-input:focus ~ .input-glow,
.form-textarea:focus ~ .input-glow {
    width: 100%;
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .seraphim-form {
        padding: 30px 20px;
    }
    .quote-popup-header,
    .quote-popup-body {
        padding-left: 20px;
        padding-right: 20px;
    }
    .mini-lead-form {
        padding: 30px 20px;
        margin: 0 15px;
    }
    .checkbox-group {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   v5.12 FORM ENHANCEMENTS
   ============================================ */

/* Form Floating Particles */
.form-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    border-radius: inherit;
}
.form-particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--terminal-green);
    border-radius: 50%;
    opacity: 0.4;
    animation: formParticleFloat 12s linear infinite;
}
@keyframes formParticleFloat {
    0% { transform: translateY(100%) translateX(0) scale(0); opacity: 0; }
    10% { opacity: 0.5; transform: scale(1); }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100%) translateX(20px) scale(0.5); opacity: 0; }
}

/* Moving Gradient Background for Forms */
.seraphim-form {
    background: linear-gradient(135deg, rgba(20, 25, 30, 0.95), rgba(10, 15, 20, 0.98));
    position: relative;
}
.seraphim-form::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: conic-gradient(from 0deg at 50% 50%, 
        transparent 0deg, 
        rgba(0, 255, 136, 0.03) 60deg, 
        transparent 120deg,
        rgba(0, 255, 136, 0.02) 180deg,
        transparent 240deg,
        rgba(0, 255, 136, 0.03) 300deg,
        transparent 360deg);
    animation: formGradientRotate 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}
@keyframes formGradientRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.seraphim-form > * {
    position: relative;
    z-index: 1;
}

/* Custom Scrollbar for Forms/Popup */
.quote-popup::-webkit-scrollbar,
.seraphim-form::-webkit-scrollbar {
    width: 6px;
}
.quote-popup::-webkit-scrollbar-track,
.seraphim-form::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}
.quote-popup::-webkit-scrollbar-thumb,
.seraphim-form::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--terminal-green), #00aa66);
    border-radius: 3px;
}
.quote-popup::-webkit-scrollbar-thumb:hover,
.seraphim-form::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00ff99, var(--terminal-green));
}
/* Firefox */
.quote-popup,
.seraphim-form {
    scrollbar-width: thin;
    scrollbar-color: var(--terminal-green) rgba(0, 0, 0, 0.3);
}

/* Better Mobile Form Fit */
@media (max-width: 768px) {
    .seraphim-form {
        padding: 25px 18px;
        border-radius: 12px;
    }
    .form-title {
        font-size: 1.4rem;
    }
    .form-subtitle {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }
    .form-group {
        margin-bottom: 16px;
    }
    .form-label {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }
    .form-input,
    .form-textarea,
    .form-select {
        padding: 12px 14px;
        font-size: 16px;
    }
    .form-row {
        gap: 12px;
    }
    .checkbox-group {
        gap: 8px;
    }
    .checkbox-item {
        padding: 10px 12px;
    }
    .checkbox-item span {
        font-size: 0.8rem;
    }
    .form-submit {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
    .quote-popup {
        max-height: 95vh;
        margin: 10px;
        border-radius: 16px;
    }
    .quote-popup-header {
        padding: 20px 18px 15px;
    }
    .quote-popup-body {
        padding: 15px 18px 25px;
    }
    .mini-lead-form {
        padding: 25px 18px;
        margin: 0 10px;
    }
    .mini-lead-form .form-title {
        font-size: 1.2rem;
    }
}

/* Form Success Animation */
.form-success-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 15, 20, 0.98), rgba(5, 10, 15, 0.99));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    z-index: 100;
    border-radius: inherit;
}
.form-success-overlay.active {
    opacity: 1;
    visibility: visible;
}
.success-icon-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
}
.success-ring {
    position: absolute;
    inset: 0;
    border: 3px solid var(--terminal-green);
    border-radius: 50%;
    animation: successRingPulse 2s ease-out infinite;
}
.success-ring:nth-child(2) { animation-delay: 0.3s; }
.success-ring:nth-child(3) { animation-delay: 0.6s; }
@keyframes successRingPulse {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}
.success-check {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: var(--terminal-green);
    animation: successCheckPop 0.5s ease-out forwards;
}
@keyframes successCheckPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}
.success-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 15px;
    text-align: center;
    animation: successFadeUp 0.6s ease-out 0.3s both;
}
.success-message {
    color: var(--text-secondary);
    text-align: center;
    max-width: 350px;
    line-height: 1.6;
    animation: successFadeUp 0.6s ease-out 0.5s both;
}
.success-brand {
    margin-top: 30px;
    font-family: 'Syne', sans-serif;
    font-size: 0.85rem;
    color: var(--terminal-green);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: successFadeUp 0.6s ease-out 0.7s both;
}
@keyframes successFadeUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
.success-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.success-particles span {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--terminal-green);
    border-radius: 50%;
    animation: successParticleBurst 1.5s ease-out forwards;
}
@keyframes successParticleBurst {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}

/* ============================================
   MOBILE HEADER SCROLL HIDE
   ============================================ */
.header {
    transition: transform 0.3s ease;
}
.header.header-hidden {
    transform: translateY(-100%);
}
.header-row-1,
.header-quote-btn {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.header.header-compact .header-row-1 {
    height: 0;
    overflow: hidden;
    padding: 0;
    opacity: 0;
}
.header.header-compact .header-quote-btn {
    display: none;
}

/* ============================================
   ENHANCED HEADER TRANSPARENCY & SMOOTHNESS
   More glassmorphic, see-through on scroll
   ============================================ */
.header, .site-header {
    background: 
        linear-gradient(180deg, 
            rgba(255, 255, 255, 0.03) 0%, 
            transparent 40%),
        linear-gradient(135deg, 
            var(--glass-primary, rgba(0, 100, 150, 0.06)) 0%, 
            var(--glass-secondary, rgba(0, 50, 100, 0.04)) 25%,
            rgba(0, 20, 40, 0.02) 50%,
            var(--glass-accent, rgba(0, 80, 120, 0.05)) 75%,
            var(--glass-primary, rgba(0, 100, 150, 0.06)) 100%),
        radial-gradient(ellipse at 20% 50%, var(--ambient-glow-1, rgba(0, 200, 255, 0.06)) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, var(--ambient-glow-2, rgba(0, 255, 136, 0.04)) 0%, transparent 50%),
        rgba(3, 5, 8, 0.75) !important;
    backdrop-filter: blur(25px) saturate(180%) brightness(95%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) brightness(95%) !important;
}

/* Smooth mobile header hide/show animation */
@media (max-width: 768px) {
    .header, .site-header {
        transition: 
            transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.3s ease,
            background 0.5s ease !important;
    }
    
    .header.header-compact {
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
    }
    
    .header:not(.header-compact) {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
}

/* ============================================
   MOBILE HEADER TAGLINE
   Show tagline below logo on mobile
   ============================================ */
@media (max-width: 768px) {
    .header-logo {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    
    .header-tagline {
        display: block !important;
        font-family: 'JetBrains Mono', monospace;
        font-size: 0.5rem;
        letter-spacing: 0.15em;
        color: var(--terminal-green);
        opacity: 0.8;
        text-transform: uppercase;
        margin-top: 2px;
        /* Reset desktop styles */
        border-left: none;
        padding-left: 0;
        max-width: none;
        line-height: 1.2;
    }
    
    .header-tagline::before {
        display: none;
    }
}

/* ============================================
   LOGO SIZE FIX - 50% viewport on mobile (S logo only)
   ============================================ */
@media (max-width: 768px) {
    .header-logo img.logo-s,
    .header-logo img.s-logo {
        width: auto !important;
        max-width: 200px !important;
        height: 48px !important;
    }
    .header-logo img.logo-full {
        display: none !important;
    }
}
@media (max-width: 480px) {
    .header-logo img.logo-s,
    .header-logo img.s-logo {
        width: auto !important;
        max-width: 180px !important;
        height: 44px !important;
    }
    .header-logo img.logo-full {
        display: none !important;
    }
}

/* ============================================
   ZALO/WHATSAPP FOOTER LINKS - PREMIUM EDITION
   ============================================ */
.footer-social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}
.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(20, 25, 30, 0.9) 0%, rgba(10, 15, 20, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    color: var(--text-secondary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.footer-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    transition: all 0.3s ease;
}
.footer-social-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.footer-social-link:hover::after {
    opacity: 0.5;
}
.footer-social-link.whatsapp {
    border-color: rgba(37, 211, 102, 0.3);
    color: #25D366;
}
.footer-social-link.whatsapp::before {
    background: linear-gradient(180deg, #25D366, #128C7E);
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.5);
}
.footer-social-link.whatsapp:hover {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.15) 0%, rgba(18, 140, 126, 0.1) 100%);
    border-color: #25D366;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.3), inset 0 0 20px rgba(37, 211, 102, 0.05);
    transform: translateX(3px);
}
.footer-social-link.zalo {
    border-color: rgba(0, 104, 255, 0.3);
    color: #0068FF;
}
.footer-social-link.zalo::before {
    background: linear-gradient(180deg, #0068FF, #0050CC);
    box-shadow: 0 0 10px rgba(0, 104, 255, 0.5);
}
.footer-social-link.zalo:hover {
    background: linear-gradient(135deg, rgba(0, 104, 255, 0.15) 0%, rgba(0, 80, 204, 0.1) 100%);
    border-color: #0068FF;
    box-shadow: 0 0 20px rgba(0, 104, 255, 0.3), inset 0 0 20px rgba(0, 104, 255, 0.05);
    transform: translateX(3px);
}
@media (max-width: 768px) {
    .footer-social-links {
        justify-content: center;
    }
}

/* REMOVED: Mobile nav CSS moved to self-contained template v30
   Mobile Menu Social PREMIUM EDITION
   (110 lines removed)
*/

/* ============================================
   v5.25 PREMIUM MOBILE MENU - GLASSMORPHISM
   Day/Night adaptive, Space Grotesk typography
   ============================================ */

/* Mobile Menu Container */
@media (max-width: 768px) {
    .header-row-2 {
        position: fixed;
        top: 0;
        left: -100%;
        width: 88%;
        max-width: 340px;
        height: 100vh;
        height: 100dvh;
        
        /* Adaptive glassmorphism background */
        background: 
            /* Top light refraction */
            linear-gradient(180deg, 
                rgba(255, 255, 255, 0.03) 0%, 
                transparent 20%),
            /* Primary glass layers */
            linear-gradient(165deg, 
                var(--glass-primary) 0%, 
                var(--glass-secondary) 30%,
                var(--glass-accent) 60%,
                transparent 100%),
            /* Ambient glow spots */
            radial-gradient(ellipse at 20% 30%, var(--ambient-glow-1) 0%, transparent 50%),
            radial-gradient(ellipse at 80% 70%, var(--ambient-glow-2) 0%, transparent 40%),
            /* Base */
            linear-gradient(180deg, 
                rgba(8, 10, 14, 0.97) 0%, 
                rgba(5, 8, 12, 0.99) 50%,
                rgba(3, 5, 8, 0.995) 100%);
        
        backdrop-filter: var(--glass-blur-heavy);
        -webkit-backdrop-filter: var(--glass-blur-heavy);
        
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 0;
        z-index: 9999999;
        transition: left 0.45s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        overflow-x: hidden;
        
        /* Prismatic edge */
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 
            20px 0 60px rgba(0, 0, 0, 0.8),
            inset -1px 0 0 rgba(255, 255, 255, 0.04),
            inset 0 0 100px rgba(0, 0, 0, 0.3);
    }
    
    .header-row-2.active {
        left: 0;
    }
    
    /* Premium menu header */
    .header-row-2::before {
        content: '◆ SERAPHIM';
        display: flex;
        align-items: center;
        padding: 28px 24px 24px;
        font-family: 'Space Grotesk', sans-serif;
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--terminal-green);
        letter-spacing: 0.18em;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        background: linear-gradient(135deg, 
            var(--ambient-glow-1) 0%, 
            transparent 60%);
        text-shadow: 0 0 30px var(--particle-primary);
        position: relative;
    }
    
    /* Animated prismatic edge bar */
    .header-row-2::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 2px;
        height: 100%;
        background: linear-gradient(180deg, 
            transparent 0%,
            var(--edge-prismatic-1) 20%,
            var(--edge-prismatic-2) 40%,
            var(--edge-prismatic-3) 60%,
            var(--edge-prismatic-2) 80%,
            transparent 100%);
        opacity: 0.8;
        animation: menuEdgeGlow 4s ease-in-out infinite;
    }
    
    @keyframes menuEdgeGlow {
        0%, 100% { opacity: 0.5; filter: brightness(0.8); }
        50% { opacity: 1; filter: brightness(1.2); }
    }
    
    /* ===== NAVIGATION ITEMS - SPACE GROTESK ===== */
    .header-row-2 > a.nav-item,
    .header-row-2 > .nav-item.has-dropdown > span {
        display: flex;
        align-items: center;
        padding: 18px 24px;
        font-family: 'Space Grotesk', sans-serif;
        font-size: 0.8rem;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--text-secondary);
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        cursor: pointer;
        background: transparent;
    }
    
    /* Left accent bar on hover */
    .header-row-2 > a.nav-item::before,
    .header-row-2 > .nav-item.has-dropdown > span::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 0;
        background: linear-gradient(180deg, 
            var(--edge-prismatic-1), 
            var(--edge-prismatic-2),
            var(--edge-prismatic-1));
        box-shadow: 0 0 12px var(--particle-primary);
        transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Arrow indicator */
    .header-row-2 > a.nav-item::after,
    .header-row-2 > .nav-item.has-dropdown > span::after {
        content: '→';
        position: absolute;
        right: 24px;
        opacity: 0;
        color: var(--terminal-green);
        font-family: 'JetBrains Mono', monospace;
        font-size: 0.85rem;
        transform: translateX(-10px);
        transition: all 0.3s ease;
    }
    
    .header-row-2 > .nav-item.has-dropdown > span::after {
        content: '+';
    }
    
    .header-row-2 > .nav-item.has-dropdown.open > span::after {
        content: '−';
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Hover & Active States */
    .header-row-2 > a.nav-item:hover,
    .header-row-2 > a.nav-item:active,
    .header-row-2 > a.nav-item.active,
    .header-row-2 > .nav-item.has-dropdown:hover > span,
    .header-row-2 > .nav-item.has-dropdown.open > span {
        background: linear-gradient(90deg, 
            var(--ambient-glow-1) 0%, 
            transparent 70%);
        color: var(--terminal-green);
        padding-left: 32px;
        text-shadow: 0 0 20px var(--particle-primary);
    }
    
    .header-row-2 > a.nav-item:hover::before,
    .header-row-2 > a.nav-item:active::before,
    .header-row-2 > a.nav-item.active::before,
    .header-row-2 > .nav-item.has-dropdown:hover > span::before,
    .header-row-2 > .nav-item.has-dropdown.open > span::before {
        height: 60%;
    }
    
    .header-row-2 > a.nav-item:hover::after,
    .header-row-2 > a.nav-item:active::after,
    .header-row-2 > a.nav-item.active::after,
    .header-row-2 > .nav-item.has-dropdown:hover > span::after {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* ===== DROPDOWN - MATCHES DESKTOP FONT ===== */
    .header-row-2 .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: linear-gradient(180deg, 
            rgba(0, 0, 0, 0.5) 0%, 
            rgba(0, 0, 0, 0.3) 100%);
        backdrop-filter: blur(10px);
        border: none;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
        padding: 8px 0;
        display: none;
        border-left: 2px solid var(--edge-prismatic-2);
        margin-left: 24px;
        margin-right: 16px;
        margin-bottom: 8px;
    }
    
    .header-row-2 .has-dropdown.open .nav-dropdown {
        display: block;
        animation: dropdownSlide 0.3s ease-out;
    }
    
    @keyframes dropdownSlide {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    /* Dropdown items - same font as desktop nav */
    .header-row-2 .nav-dropdown a {
        padding: 14px 20px;
        font-family: 'JetBrains Mono', monospace;
        font-size: 0.7rem;
        letter-spacing: 0.06em;
        color: var(--text-muted);
        border-bottom: none;
        position: relative;
        transition: all 0.25s ease;
    }
    
    .header-row-2 .nav-dropdown a::before {
        content: '//';
        margin-right: 10px;
        color: var(--edge-prismatic-2);
        opacity: 0.5;
        font-size: 0.65rem;
        transition: opacity 0.2s;
    }
    
    .header-row-2 .nav-dropdown a:hover,
    .header-row-2 .nav-dropdown a:active {
        color: var(--terminal-green);
        background: linear-gradient(90deg, var(--ambient-glow-1), transparent);
        padding-left: 24px;
    }
    
    .header-row-2 .nav-dropdown a:hover::before {
        opacity: 1;
    }
    
/* REMOVED: Mobile nav CSS moved to self-contained template v30
   Mobile menu overlay glassmorphism
   (20 lines removed)
*/
    
    /* ===== HAMBURGER BUTTON ===== */
    .hamburger {
        width: 28px;
        height: 22px;
        position: relative;
        cursor: pointer;
        z-index: 10000000;
        background: transparent;
        border: none;
        padding: 0;
    }
    
    .hamburger span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--terminal-green);
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 0 8px var(--particle-primary);
    }
    
    .hamburger span:nth-child(1) { top: 0; width: 100%; }
    .hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); width: 75%; }
    .hamburger span:nth-child(3) { bottom: 0; width: 50%; }
    
    .hamburger:hover span:nth-child(2) { width: 100%; }
    .hamburger:hover span:nth-child(3) { width: 100%; }
    
    .hamburger.active span {
        width: 100%;
        box-shadow: 0 0 15px var(--particle-primary);
    }
    
    .hamburger.active span:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }
    
    .hamburger.active span:nth-child(3) {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
    }
}
/* REMOVED: Mobile nav CSS moved to self-contained template v30
   Premium social buttons Space Grotesk
   (307 lines removed)
*/
        50% { opacity: 0.9; }
    }
    
    /* Nav items styling */
    .header-row-2 > a.nav-item,
    .header-row-2 > .nav-item.has-dropdown > span {
        display: flex !important;
        align-items: center !important;
        padding: 16px 20px !important;
        font-family: 'JetBrains Mono', monospace !important;
        font-size: 0.85rem !important;
        letter-spacing: 0.08em !important;
        color: var(--text-secondary) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        transition: all 0.3s ease !important;
        position: relative !important;
        cursor: pointer !important;
        text-decoration: none !important;
    }
    
    .header-row-2 > a.nav-item::before,
    .header-row-2 > .nav-item.has-dropdown > span::before {
        content: '>' !important;
        position: absolute !important;
        left: 8px !important;
        opacity: 0 !important;
        color: var(--terminal-green) !important;
        transform: translateX(-10px) !important;
        transition: all 0.3s ease !important;
        font-family: 'JetBrains Mono', monospace !important;
    }
    
    .header-row-2 > a.nav-item:hover,
    .header-row-2 > a.nav-item.active,
    .header-row-2 > .nav-item.has-dropdown:hover > span {
        background: linear-gradient(90deg, rgba(0, 255, 136, 0.1), transparent) !important;
        color: var(--terminal-green) !important;
        padding-left: 30px !important;
    }
    
    .header-row-2 > a.nav-item:hover::before,
    .header-row-2 > a.nav-item.active::before,
    .header-row-2 > .nav-item.has-dropdown:hover > span::before {
        opacity: 1 !important;
        transform: translateX(0) !important;
    }
    
    /* Dropdown styling for mobile */
    .header-row-2 .nav-dropdown {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background: rgba(0, 0, 0, 0.4) !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        display: none !important;
        border-left: 2px solid var(--terminal-green) !important;
        margin-left: 20px !important;
    }
    
    .header-row-2 .has-dropdown.open .nav-dropdown {
        display: block !important;
    }
    
    .header-row-2 .nav-dropdown a {
        padding: 12px 20px !important;
        font-size: 0.8rem !important;
        color: var(--text-muted) !important;
        display: block !important;
        text-decoration: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.03) !important;
    }
    
    .header-row-2 .nav-dropdown a:hover {
        color: var(--terminal-green) !important;
        background: rgba(0, 255, 136, 0.05) !important;
    }
    
/* REMOVED: Mobile nav CSS moved to self-contained template v30
   Mobile menu social in slide-out
   (67 lines removed)
*/
}

/* REMOVED: Mobile nav CSS moved to self-contained template v30
   Hide mobile social on desktop
   (6 lines removed)
*/

/* REMOVED: Mobile nav CSS moved to self-contained template v30
   v5.14 FIXES mobile menu social
   (145 lines removed)
*/

/* Security Dropdown in Nav */
.nav-dropdown-security {
    position: relative;
}

.nav-dropdown-security .dropdown-menu {
    min-width: 220px;
}

/* REMOVED: Mobile nav CSS moved to self-contained template v30
   v5.15 mobile overlay
   (38 lines removed)
*/

/* Enhanced Mobile Menu Container */
@media (max-width: 768px) {
    .header-row-2 {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 340px;
        height: 100vh;
        background: 
            linear-gradient(135deg, rgba(0, 10, 5, 0.98) 0%, rgba(5, 15, 10, 0.99) 100%);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 0;
        z-index: 9999;
        transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        border-right: 2px solid rgba(0, 255, 136, 0.3);
        box-shadow: 
            10px 0 60px rgba(0, 255, 136, 0.1),
            inset -1px 0 0 rgba(0, 255, 136, 0.2);
    }
    
    .header-row-2.active {
        left: 0;
    }
    
    /* Terminal-style header */
    .header-row-2::before {
        content: '⟁ SERAPHIM VIETNAM';
        display: block;
        padding: 25px 20px;
        font-family: 'JetBrains Mono', monospace;
        font-size: 1rem;
        font-weight: 600;
        color: var(--terminal-green);
        letter-spacing: 0.1em;
        border-bottom: 1px solid rgba(0, 255, 136, 0.2);
        background: 
            linear-gradient(90deg, rgba(0, 255, 136, 0.15) 0%, transparent 70%),
            repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 136, 0.03) 2px, rgba(0, 255, 136, 0.03) 4px);
        text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
        position: relative;
    }
    
    .header-row-2::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: 
            repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 136, 0.02) 2px, rgba(0, 255, 136, 0.02) 4px);
        pointer-events: none;
        z-index: -1;
    }
    
    /* Menu items with terminal style */
    .header-row-2 > .nav-item,
    .header-row-2 > a {
        display: flex;
        align-items: center;
        padding: 16px 20px;
        font-family: 'JetBrains Mono', monospace;
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--text-secondary);
        border-bottom: 1px solid rgba(0, 255, 136, 0.08);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .header-row-2 > .nav-item::before,
    .header-row-2 > a::before {
        content: '>';
        position: absolute;
        left: 8px;
        opacity: 0;
        color: var(--terminal-green);
        font-family: 'JetBrains Mono', monospace;
        transform: translateX(-15px);
        transition: all 0.3s ease;
    }
    
    .header-row-2 > .nav-item:hover,
    .header-row-2 > a:hover,
    .header-row-2 > .nav-item.active,
    .header-row-2 > a.active {
        background: linear-gradient(90deg, rgba(0, 255, 136, 0.1) 0%, transparent 100%);
        color: var(--terminal-green);
        padding-left: 35px;
    }
    
    .header-row-2 > .nav-item:hover::before,
    .header-row-2 > a:hover::before,
    .header-row-2 > .nav-item.active::before,
    .header-row-2 > a.active::before {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Dropdown styling */
    .header-row-2 .has-dropdown {
        flex-direction: column;
        align-items: stretch;
    }
    
    .header-row-2 .has-dropdown > span {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        cursor: pointer;
        font-family: 'JetBrains Mono', monospace;
        font-size: 0.9rem;
        color: var(--text-secondary);
        border-bottom: 1px solid rgba(0, 255, 136, 0.08);
        transition: all 0.3s ease;
    }
    
    .header-row-2 .has-dropdown > span::after {
        content: '+';
        font-size: 1.2rem;
        color: var(--terminal-green);
        transition: transform 0.3s ease;
    }
    
    .header-row-2 .has-dropdown.open > span::after {
        transform: rotate(45deg);
    }
    
    .header-row-2 .has-dropdown.open > span {
        background: linear-gradient(90deg, rgba(0, 255, 136, 0.1) 0%, transparent 100%);
        color: var(--terminal-green);
    }
    
    .header-row-2 .nav-dropdown {
        display: none;
        background: rgba(0, 0, 0, 0.3);
        border-left: 2px solid rgba(0, 255, 136, 0.2);
        margin-left: 15px;
    }
    
    .header-row-2 .has-dropdown.open .nav-dropdown {
        display: block;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .header-row-2 .nav-dropdown a {
        padding: 12px 20px;
        font-size: 0.85rem;
        color: var(--text-muted);
        display: block;
        transition: all 0.2s ease;
        position: relative;
    }
    
    .header-row-2 .nav-dropdown a::before {
        content: '─';
        margin-right: 10px;
        color: rgba(0, 255, 136, 0.3);
    }
    
    .header-row-2 .nav-dropdown a:hover {
        color: var(--terminal-green);
        background: rgba(0, 255, 136, 0.05);
        padding-left: 25px;
    }
}

/* REMOVED: Mobile nav CSS moved to self-contained template v30
   Mobile social super enhanced
   (81 lines removed)
*/

/* Hamburger enhancement */
.hamburger {
    display: none;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 10px;
        cursor: pointer;
        z-index: 10000;
    }
    
    .hamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--terminal-green);
        transition: all 0.3s ease;
        box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* Scanline effect for menu */
@media (max-width: 768px) {
    .header-row-2::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 136, 0.015) 2px,
            rgba(0, 255, 136, 0.015) 4px
        );
        pointer-events: none;
        z-index: 1;
    }
}

/* REMOVED: Mobile nav CSS moved to self-contained template v30
   v5.16 terminal mobile menu
   (326 lines removed)
*/

/* REMOVED: Mobile nav CSS moved to self-contained template v30
   v5.20 mobile menu
   (405 lines removed)
*/
    25% { background-position: 30% 40%, 70% 50%, 100% 0; }
    50% { background-position: 25% 50%, 75% 40%, 0% 0; }
    75% { background-position: 15% 35%, 85% 55%, -100% 0; }
}

@keyframes headerOrb2 {
    0%, 100% { background-position: 20% 30%, 80% 60%, 200% 0; }
    33% { background-position: 35% 25%, 65% 70%, 50% 0; }
    66% { background-position: 10% 45%, 90% 45%, -50% 0; }
}

/* ===== FOOTER GLASSMORPHISM - DAY/NIGHT ===== */
.footer, .site-footer {
    position: relative;
    z-index: 1;
    background: 
        /* Subtle noise */
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)' opacity='0.02'/%3E%3C/svg%3E"),
        /* Glass layers */
        linear-gradient(180deg,
            var(--glass-accent) 0%,
            transparent 30%),
        linear-gradient(0deg,
            var(--glass-primary) 0%,
            transparent 50%),
        var(--surface);
    
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    
    transition: all 0.8s ease;
}

/* Footer top accent - day/night responsive */
.footer-top-accent {
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--prismatic-1) 15%,
        var(--prismatic-2) 35%,
        var(--prismatic-3) 50%, 
        var(--prismatic-2) 65%,
        var(--prismatic-1) 85%, 
        transparent 100%
    );
    box-shadow: 
        0 0 30px var(--glow-primary), 
        0 0 60px var(--glow-secondary),
        0 2px 20px var(--glow-primary);
    position: relative;
    overflow: hidden;
    transition: all 0.8s ease;
}

/* Animated shimmer on footer accent bar */
.footer-top-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: footerAccentShimmer 4s ease-in-out infinite;
}

@keyframes footerAccentShimmer {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

/* Footer bottom enhanced glow */
.footer-bottom::before {
    background: radial-gradient(
        ellipse at center bottom, 
        var(--glow-primary) 0%, 
        var(--glow-secondary) 30%,
        transparent 70%
    );
    transition: all 0.8s ease;
}

/* Footer ambient particle field */
.footer-main {
    position: relative;
    overflow: hidden;
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, var(--glow-primary) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, var(--glow-secondary) 0%, transparent 25%),
        radial-gradient(circle at 50% 50%, var(--glass-accent) 0%, transparent 40%);
    opacity: 0.15;
    animation: footerAmbient 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes footerAmbient {
    0%, 100% { 
        background-position: 10% 20%, 90% 80%, 50% 50%;
        opacity: 0.1;
    }
    33% { 
        background-position: 20% 30%, 80% 70%, 45% 55%;
        opacity: 0.2;
    }
    66% { 
        background-position: 15% 15%, 85% 85%, 55% 45%;
        opacity: 0.15;
    }
}

/* ===== MOBILE HEADER GLASSMORPHISM ===== */
@media (max-width: 768px) {
    .header, .site-header {
        background: 
            url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E"),
            linear-gradient(180deg, 
                rgba(255, 255, 255, 0.05) 0%, 
                transparent 50%),
            linear-gradient(135deg, 
                var(--glass-primary) 0%, 
                var(--glass-secondary) 50%,
                var(--glass-accent) 100%),
            rgba(5, 8, 12, 0.95);
        
        backdrop-filter: blur(30px) saturate(180%);
        -webkit-backdrop-filter: blur(30px) saturate(180%);
    }
    
    body.daytime .header,
    body.daytime .site-header {
        background: 
            url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E"),
            linear-gradient(180deg, 
                rgba(255, 255, 255, 0.1) 0%, 
                rgba(255, 250, 240, 0.05) 50%,
                transparent 100%),
            linear-gradient(135deg, 
                var(--glass-primary) 0%, 
                var(--glass-secondary) 50%,
                var(--glass-accent) 100%),
            rgba(8, 10, 14, 0.92);
    }
}

/* ===== MOBILE MENU SLIDE-OUT GLASSMORPHISM ===== */
@media (max-width: 768px) {
    .header-row-2 {
        background: 
            /* Noise texture */
            url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E"),
            /* Top highlight */
            linear-gradient(180deg,
                rgba(255, 255, 255, 0.04) 0%,
                transparent 20%),
            /* Glass layers - day/night responsive */
            linear-gradient(165deg, 
                var(--glass-primary) 0%, 
                var(--glass-secondary) 30%,
                rgba(5, 8, 12, 0.02) 50%,
                var(--glass-accent) 100%),
            /* Accent glow at top */
            linear-gradient(180deg,
                var(--glow-primary) 0%,
                transparent 30%),
            /* Base */
            rgba(5, 8, 12, 0.97) !important;
        
        backdrop-filter: blur(35px) saturate(200%) brightness(95%) !important;
        -webkit-backdrop-filter: blur(35px) saturate(200%) brightness(95%) !important;
        
        border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: 
            25px 0 80px rgba(0, 0, 0, 0.7),
            inset -1px 0 0 rgba(255, 255, 255, 0.05),
            inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
    }
    
    body.daytime .header-row-2 {
        background: 
            url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E"),
            linear-gradient(180deg,
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 250, 240, 0.03) 20%,
                transparent 40%),
            linear-gradient(165deg, 
                var(--glass-primary) 0%, 
                var(--glass-secondary) 30%,
                var(--glass-accent) 100%),
            linear-gradient(180deg,
                var(--glow-primary) 0%,
                transparent 25%),
            rgba(8, 10, 14, 0.95) !important;
        
        box-shadow: 
            25px 0 80px rgba(50, 40, 20, 0.3),
            inset -1px 0 0 rgba(255, 255, 255, 0.08),
            inset 0 1px 0 rgba(255, 250, 240, 0.05) !important;
    }
    
    /* Mobile menu ambient particles */
    .header-row-2::before {
        content: '◆ SERAPHIM' !important;
        background: 
            /* Floating orbs */
            radial-gradient(circle at 30% 40%, var(--glow-primary) 0%, transparent 40%),
            radial-gradient(circle at 70% 70%, var(--glow-secondary) 0%, transparent 35%),
            /* Base gradient */
            linear-gradient(135deg, 
                rgba(0, 255, 136, 0.1) 0%, 
                rgba(0, 255, 136, 0.03) 50%,
                transparent 100%) !important;
        background-size: 150% 150%, 150% 150%, 100% 100% !important;
        animation: mobileMenuOrbs 15s ease-in-out infinite !important;
    }
    
    @keyframes mobileMenuOrbs {
        0%, 100% { background-position: 30% 40%, 70% 70%, 0 0; }
        33% { background-position: 40% 50%, 60% 60%, 0 0; }
        66% { background-position: 25% 35%, 75% 75%, 0 0; }
    }
    
    /* Enhanced edge glow - day/night */
    .header-row-2::after {
        background: linear-gradient(180deg, 
            transparent 0%,
            var(--prismatic-1) 20%,
            var(--prismatic-2) 50%,
            var(--prismatic-1) 80%,
            transparent 100%) !important;
        width: 3px !important;
        box-shadow: 
            -5px 0 20px var(--glow-primary),
            -2px 0 10px var(--glow-secondary) !important;
    }
}

/* ===== SPACE GROTESK FONT FOR MOBILE MENU & SOCIAL BUTTONS ===== */

/* Mobile menu navigation - Space Grotesk */
@media (max-width: 768px) {
    .header-row-2 > a.nav-item,
    .header-row-2 > .nav-item.has-dropdown > span {
        font-family: 'Space Grotesk', 'JetBrains Mono', sans-serif !important;
        font-weight: 500 !important;
        letter-spacing: 0.08em !important;
    }
    
    /* Dropdown items match desktop */
    .header-row-2 .nav-dropdown a {
        font-family: 'JetBrains Mono', monospace !important;
        font-size: 0.72rem !important;
        letter-spacing: 0.06em !important;
    }
}

/* REMOVED: Mobile nav CSS moved to self-contained template v30
   Mobile menu social Space Grotesk
   (15 lines removed)
*/

/* Footer social links - Space Grotesk */
.footer-social-link,
.footer-social-links a {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    font-size: 0.7rem !important;
}

/* All WhatsApp/Zalo buttons - Space Grotesk */
.btn.whatsapp, .btn-whatsapp,
.btn.zalo, .btn-zalo,
.whatsapp-link, .zalo-link {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
}

/* ===== CTA BUTTON PARTICLE EFFECTS ===== */

/* Base particle container for all CTA buttons */
.btn.primary, .btn-primary,
.header-cta-btn.primary,
.cta-btns .btn,
.btn.whatsapp, .btn-whatsapp,
.btn.zalo, .btn-zalo,
.header-cta-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Constant subtle shimmer effect */
.btn.primary::before, .btn-primary::before,
.header-cta-btn.primary::before,
.btn.whatsapp::before, .btn-whatsapp::before,
.btn.zalo::before, .btn-zalo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        transparent 30%,
        rgba(255, 255, 255, 0.15) 45%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0.15) 55%,
        transparent 70%,
        transparent 100%
    );
    animation: ctaShimmerConstant 4s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes ctaShimmerConstant {
    0%, 100% { left: -150%; opacity: 0.6; }
    50% { left: 150%; opacity: 1; }
}

/* Floating micro-particles */
.btn.primary::after, .btn-primary::after,
.header-cta-btn.primary::after,
.btn.whatsapp::after, .btn-whatsapp::after,
.btn.zalo::after, .btn-zalo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.4) 1px, transparent 1px),
        radial-gradient(circle at 40% 30%, rgba(255,255,255,0.3) 1px, transparent 1px),
        radial-gradient(circle at 60% 70%, rgba(255,255,255,0.5) 1px, transparent 1px),
        radial-gradient(circle at 80% 40%, rgba(255,255,255,0.3) 1px, transparent 1px),
        radial-gradient(circle at 30% 80%, rgba(255,255,255,0.4) 1px, transparent 1px),
        radial-gradient(circle at 70% 20%, rgba(255,255,255,0.3) 1px, transparent 1px);
    background-size: 100% 100%;
    animation: ctaParticlesFloat 6s ease-in-out infinite;
    opacity: 0.5;
    z-index: 2;
    pointer-events: none;
}

@keyframes ctaParticlesFloat {
    0%, 100% { 
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-3px) translateX(2px);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-5px) translateX(-1px);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-2px) translateX(-2px);
        opacity: 0.5;
    }
}

/* Hover intensification */
.btn.primary:hover::before, .btn-primary:hover::before,
.header-cta-btn.primary:hover::before,
.btn.whatsapp:hover::before, .btn-whatsapp:hover::before,
.btn.zalo:hover::before, .btn-zalo:hover::before {
    animation: ctaShimmerHover 0.8s ease-out;
}

@keyframes ctaShimmerHover {
    0% { left: -150%; opacity: 0.8; }
    100% { left: 150%; opacity: 1; }
}

.btn.primary:hover::after, .btn-primary:hover::after,
.header-cta-btn.primary:hover::after,
.btn.whatsapp:hover::after, .btn-whatsapp:hover::after,
.btn.zalo:hover::after, .btn-zalo:hover::after {
    animation: ctaParticlesHover 0.6s ease-out;
    opacity: 1;
}

@keyframes ctaParticlesHover {
    0% { 
        transform: scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: scale(1.3);
        opacity: 1;
    }
    100% { 
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Edge glow pulse on CTA buttons */
.btn.primary, .btn-primary,
.header-cta-btn.primary {
    box-shadow: 
        0 0 20px rgba(0, 255, 136, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    animation: ctaGlowPulse 3s ease-in-out infinite;
}

@keyframes ctaGlowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 136, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
    50% { box-shadow: 0 0 35px rgba(0, 255, 136, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
}

.btn.primary:hover, .btn-primary:hover,
.header-cta-btn.primary:hover {
    box-shadow: 
        0 0 40px rgba(0, 255, 136, 0.6),
        0 0 80px rgba(0, 255, 136, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: none;
}

/* WhatsApp button glow */
.btn.whatsapp, .btn-whatsapp {
    box-shadow: 
        0 0 15px rgba(37, 211, 102, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    animation: whatsappGlow 3s ease-in-out infinite;
}

@keyframes whatsappGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(37, 211, 102, 0.3); }
    50% { box-shadow: 0 0 30px rgba(37, 211, 102, 0.5); }
}

.btn.whatsapp:hover, .btn-whatsapp:hover {
    box-shadow: 
        0 0 40px rgba(37, 211, 102, 0.6),
        0 0 80px rgba(37, 211, 102, 0.3);
    animation: none;
}

/* Zalo button glow */
.btn.zalo, .btn-zalo {
    box-shadow: 
        0 0 15px rgba(0, 104, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    animation: zaloGlow 3s ease-in-out infinite;
}

@keyframes zaloGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(0, 104, 255, 0.3); }
    50% { box-shadow: 0 0 30px rgba(0, 104, 255, 0.5); }
}

.btn.zalo:hover, .btn-zalo:hover {
    box-shadow: 
        0 0 40px rgba(0, 104, 255, 0.6),
        0 0 80px rgba(0, 104, 255, 0.3);
    animation: none;
}

/* ===== SECONDARY BUTTON EFFECTS ===== */
.btn.secondary, .btn-secondary {
    position: relative;
    overflow: hidden;
}

.btn.secondary::before, .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(200, 212, 224, 0.2), 
        transparent);
    animation: secondaryShimmer 3s ease-in-out infinite;
}

@keyframes secondaryShimmer {
    0%, 100% { left: -100%; }
    50% { left: 150%; }
}

/* ===== FOOTER EMAIL STYLING ===== */
.footer-email {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding: 12px 16px;
    background: linear-gradient(135deg, 
        rgba(0, 255, 136, 0.05) 0%, 
        rgba(0, 200, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid var(--terminal-green);
    font-family: 'Space Grotesk', 'JetBrains Mono', sans-serif;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-email:hover {
    background: linear-gradient(135deg, 
        rgba(0, 255, 136, 0.1) 0%, 
        rgba(0, 200, 255, 0.06) 100%);
    border-color: rgba(0, 255, 136, 0.3);
    color: var(--terminal-green);
    transform: translateX(5px);
}

.footer-email .email-icon {
    font-size: 1rem;
}

/* ===== DAYTIME INDICATOR (optional subtle) ===== */
body.daytime .header-logo::before {
    background: radial-gradient(circle, 
        rgba(255, 200, 100, 0.8) 0%, 
        rgba(255, 150, 50, 0.4) 50%, 
        transparent 70%) !important;
    box-shadow: 0 0 40px rgba(255, 180, 80, 0.6) !important;
}

body:not(.daytime) .header-logo::before {
    background: radial-gradient(circle, 
        rgba(0, 255, 136, 0.6) 0%, 
        rgba(0, 200, 255, 0.3) 50%, 
        transparent 70%) !important;
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.5) !important;
}

/* ============================================
   CTA BUTTON PARTICLE & SHIMMER SYSTEM
   Constant subtle effects + intensified on hover
   ============================================ */

/* Base CTA button setup */
.header-cta-btn,
.btn-header,
.btn-primary,
.btn-cta,
.cta-btn,
.hero-cta,
.contact-btn,
button[type="submit"],
.quote-submit-btn,
.form-submit {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* ===== CONSTANT SUBTLE SHIMMER ===== */
.header-cta-btn::before,
.btn-header::before,
.btn-primary::before,
.btn-cta::before,
.cta-btn::before,
.hero-cta::before,
.contact-btn::before,
button[type="submit"]::before,
.quote-submit-btn::before,
.form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.08),
        rgba(255, 255, 255, 0.15),
        rgba(255, 255, 255, 0.08),
        transparent
    );
    animation: ctaSubtleShimmer 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes ctaSubtleShimmer {
    0%, 100% { left: -100%; opacity: 0.5; }
    50% { left: 150%; opacity: 1; }
}

/* ===== FLOATING PARTICLE FIELD ===== */
.header-cta-btn::after,
.btn-header::after,
.btn-primary::after,
.btn-cta::after,
.cta-btn::after,
.hero-cta::after,
.contact-btn::after,
button[type="submit"]::after,
.quote-submit-btn::after,
.form-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, var(--particle-primary) 0%, transparent 2px),
        radial-gradient(circle at 60% 70%, var(--particle-secondary) 0%, transparent 1.5px),
        radial-gradient(circle at 80% 20%, var(--particle-tertiary) 0%, transparent 2px),
        radial-gradient(circle at 40% 80%, var(--particle-primary) 0%, transparent 1px),
        radial-gradient(circle at 10% 60%, var(--particle-secondary) 0%, transparent 1.5px),
        radial-gradient(circle at 90% 50%, var(--particle-tertiary) 0%, transparent 1px);
    opacity: 0.4;
    animation: ctaParticleFloat 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes ctaParticleFloat {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    25% { 
        transform: translateY(-2px) scale(1.05);
        opacity: 0.5;
    }
    50% { 
        transform: translateY(0) scale(1);
        opacity: 0.4;
    }
    75% { 
        transform: translateY(2px) scale(0.95);
        opacity: 0.5;
    }
}

/* ===== HOVER INTENSIFICATION ===== */
.header-cta-btn:hover::before,
.btn-header:hover::before,
.btn-primary:hover::before,
.btn-cta:hover::before,
.cta-btn:hover::before,
.hero-cta:hover::before,
.contact-btn:hover::before,
button[type="submit"]:hover::before,
.quote-submit-btn:hover::before,
.form-submit:hover::before {
    animation: ctaIntenseShimmer 1.5s ease-in-out infinite;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.15),
        transparent
    );
}

@keyframes ctaIntenseShimmer {
    0% { left: -100%; }
    100% { left: 150%; }
}

.header-cta-btn:hover::after,
.btn-header:hover::after,
.btn-primary:hover::after,
.btn-cta:hover::after,
.cta-btn:hover::after,
.hero-cta:hover::after,
.contact-btn:hover::after,
button[type="submit"]:hover::after,
.quote-submit-btn:hover::after,
.form-submit:hover::after {
    opacity: 0.8;
    animation: ctaParticleIntense 2s ease-in-out infinite;
}

@keyframes ctaParticleIntense {
    0%, 100% { 
        transform: translateY(0) scale(1);
        filter: brightness(1);
    }
    25% { 
        transform: translateY(-3px) scale(1.1);
        filter: brightness(1.3);
    }
    50% { 
        transform: translateY(0) scale(1.05);
        filter: brightness(1.1);
    }
    75% { 
        transform: translateY(3px) scale(0.95);
        filter: brightness(1.2);
    }
}

/* ===== EDGE GLOW PULSE ===== */
.header-cta-btn.primary,
.btn-header.primary,
.btn-primary,
.btn-cta,
.cta-btn,
.hero-cta,
.contact-btn,
button[type="submit"],
.quote-submit-btn,
.form-submit {
    box-shadow: 
        0 0 0 1px rgba(0, 255, 136, 0.3),
        0 0 15px rgba(0, 255, 136, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: ctaEdgePulse 3s ease-in-out infinite;
}

@keyframes ctaEdgePulse {
    0%, 100% { 
        box-shadow: 
            0 0 0 1px var(--edge-prismatic-1),
            0 0 15px var(--particle-primary),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% { 
        box-shadow: 
            0 0 0 2px var(--edge-prismatic-2),
            0 0 25px var(--particle-secondary),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
}

.header-cta-btn.primary:hover,
.btn-header.primary:hover,
.btn-primary:hover,
.btn-cta:hover,
.cta-btn:hover,
.hero-cta:hover,
.contact-btn:hover,
button[type="submit"]:hover,
.quote-submit-btn:hover,
.form-submit:hover {
    animation: ctaEdgeIntense 1s ease-in-out infinite;
}

@keyframes ctaEdgeIntense {
    0%, 100% { 
        box-shadow: 
            0 0 0 2px var(--edge-prismatic-1),
            0 0 30px var(--particle-primary),
            0 0 60px var(--particle-secondary),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
    50% { 
        box-shadow: 
            0 0 0 3px var(--edge-prismatic-2),
            0 0 40px var(--particle-secondary),
            0 0 80px var(--particle-primary),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
}

/* ===== RIPPLE EFFECT ON CLICK ===== */
.header-cta-btn:active,
.btn-header:active,
.btn-primary:active,
.btn-cta:active,
.cta-btn:active,
.hero-cta:active,
.contact-btn:active,
button[type="submit"]:active,
.quote-submit-btn:active,
.form-submit:active {
    transform: scale(0.98);
}

/* ===== SECONDARY BUTTONS - SUBTLE VERSION ===== */
.header-cta-btn.secondary,
.btn-header.secondary,
.btn-secondary {
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: ctaSecondaryPulse 4s ease-in-out infinite;
}

@keyframes ctaSecondaryPulse {
    0%, 100% { 
        box-shadow: 
            0 0 0 1px rgba(255, 255, 255, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }
    50% { 
        box-shadow: 
            0 0 0 1px var(--edge-prismatic-1),
            0 0 10px var(--ambient-glow-1),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }
}

.header-cta-btn.secondary:hover,
.btn-header.secondary:hover,
.btn-secondary:hover {
    animation: ctaSecondaryIntense 1.5s ease-in-out infinite;
}

@keyframes ctaSecondaryIntense {
    0%, 100% { 
        box-shadow: 
            0 0 0 1px var(--edge-prismatic-1),
            0 0 20px var(--particle-primary),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% { 
        box-shadow: 
            0 0 0 2px var(--edge-prismatic-2),
            0 0 30px var(--particle-secondary),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
}

/* ===== DESKTOP FOOTER SOCIAL LINKS - SPACE GROTESK ===== */
.footer-social-links a,
.footer-social-link {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 600;
    letter-spacing: 0.06em;
}

/* ===== MOBILE HEADER GLASSMORPHISM ===== */
@media (max-width: 768px) {
    .header, .site-header {
        background: 
            linear-gradient(180deg, 
                rgba(255, 255, 255, 0.03) 0%, 
                transparent 50%),
            linear-gradient(135deg, 
                var(--glass-primary) 0%, 
                var(--glass-secondary) 50%,
                var(--glass-accent) 100%),
            radial-gradient(ellipse at 50% 0%, var(--ambient-glow-1) 0%, transparent 50%),
            var(--glass-base);
        
        backdrop-filter: var(--glass-blur-heavy);
        -webkit-backdrop-filter: var(--glass-blur-heavy);
    }
    
    /* Simplified prismatic edge for mobile */
    .header::after {
        height: 1px;
        background: linear-gradient(90deg, 
            transparent 0%,
            var(--edge-prismatic-1) 20%,
            var(--edge-prismatic-2) 50%,
            var(--edge-prismatic-1) 80%,
            transparent 100%
        );
    }
}
