/* ==========================================
   CTA & FOOTER - PREMIUM DARK ENGINEERING UI
   ========================================== */

:root {
    --bg-dark-extreme: #05080D; /* Pitch dark for maximum contrast */
    --bg-navy-main: #0B121C;
    --tech-blue: #2C96EA; 
    --text-white: #F4F5F7;
    --text-muted: #9BA3AE;
    --whatsapp-color: #25D366;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================
   CTA BANNER - PROFESSIONAL & ENGAGING
   ========================================== */
.cta-premium-glass {
    position: relative;
    background-color: var(--bg-navy-main);
    padding: 120px 0 160px 0; /* Extra bottom padding to accommodate the dome overlap */
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 1; /* Keep below footer */
}

/* Technical Grid Pattern Background */
.cta-tech-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(44, 150, 234, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 150, 234, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

/* Ambient Deep Glow */
.cta-glow-bg {
    position: absolute;
    top: 50%; left: 30%;
    transform: translate(-50%, -50%);
    width: 80vw; height: 80vw;
    max-width: 800px; max-height: 800px;
    background: radial-gradient(circle, rgba(44, 150, 234, 0.05) 0%, transparent 70%);
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 3;
    /* Solid, sleek card background instead of blurry glass */
    background: #0E1623;
    padding: 60px 70px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.cta-content {
    max-width: 550px;
}

/* Live Status Indicator (for CTA card) */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.2);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.pulse-dot {
    width: 8px; height: 8px;
    background-color: var(--whatsapp-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--whatsapp-color);
    animation: pulseGlow 1.5s infinite alternate;
}

@keyframes pulseGlow {
    0% { transform: scale(0.9); opacity: 0.7; }
    100% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 15px var(--whatsapp-color); }
}

.status-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--whatsapp-color);
}

/* Fluid Typography for perfect scaling */
.cta-content h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 15px;
    letter-spacing: -1px;
    line-height: 1.15;
}

.cta-content p {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.05rem, 1.5vw, 1.15rem);
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.cta-content strong {
    color: var(--text-white);
}

/* Ultra-Pro WhatsApp Button */
.btn-whatsapp-pro {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 42px;
    background-color: transparent;
    color: var(--whatsapp-color); 
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 4px; /* Professional solid shape, not a pill */
    border: 1px solid var(--whatsapp-color);
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.1);
}

.btn-whatsapp-pro::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--whatsapp-color);
    transform: scaleX(0);
    transform-origin: right; 
    transition: transform 0.5s cubic-bezier(0.86, 0, 0.07, 1);
    z-index: 0;
}

.btn-whatsapp-pro:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-whatsapp-pro:hover {
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp-pro .btn-text {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.3s ease;
}

.btn-whatsapp-pro:hover .btn-text {
    color: var(--bg-dark-extreme);
}

/* ==========================================
   FOOTER - ENTERPRISE ANCHOR (DEEP DOME SHAPE)
   ========================================== */
.footer-enterprise {
    background-color: transparent; 
    position: relative;
    margin-top: -120px; /* Pulls footer up over the CTA section */
    z-index: 5;
}

/* --- Architectural Dome Curve (Solid) --- */
.footer-top-dome {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px; /* Deep curve as requested */
    z-index: -1;
    overflow: hidden;
}

.footer-top-dome svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Solid Dark Fill matching the footer background */
.footer-top-dome svg path {
    fill: var(--bg-dark-extreme); 
}

/* Crisp Technical outline tracing the dome */
.dome-glow-line {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(ellipse at top, rgba(44, 150, 234, 0.2) 0%, transparent 50%);
    opacity: 1;
    pointer-events: none;
}

/* Wrapper to hold content below the dome */
.footer-content-wrapper {
    background-color: var(--bg-dark-extreme); 
    padding: 80px 20px 20px 20px; 
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.3fr 1fr;
    gap: 60px;
    margin-bottom: 70px;
    max-width: 1200px; 
    margin-left: auto;
    margin-right: auto;
}

.footer-brand .footer-logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--tech-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 25px;
}

.footer-desc {
    line-height: 1.8;
    max-width: 320px;
    font-size: 0.95rem;
}

.footer-contact h4, .footer-links-col h4 {
    font-size: 1.1rem;
    color: var(--text-white);
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Pro Contact List */
.contact-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-glass {
    width: 45px; height: 45px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(44, 150, 234, 0.05);
    border: 1px solid rgba(44, 150, 234, 0.15);
    border-radius: 8px; /* Professional squircle */
    color: var(--tech-blue);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.contact-list li:hover .icon-glass {
    background: var(--tech-blue);
    color: var(--text-white);
    box-shadow: 0 5px 15px rgba(44, 150, 234, 0.2);
    transform: translateY(-2px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-info span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

.contact-info strong, .phone-link {
    font-size: 1.1rem;
    color: var(--text-white);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-link:hover { color: var(--tech-blue); }

/* Quick Navigation */
.footer-links {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a::before {
    content: '';
    width: 0; height: 1px;
    background-color: var(--tech-blue);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-white);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 20px;
}

.footer-links .highlight-link {
    color: var(--whatsapp-color);
}
.footer-links .highlight-link::before { background-color: var(--whatsapp-color); }

/* --- Footer Bottom & Text-Only Agency Credit --- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Inter', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
}

.copyright p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

/* Minimalist Agency Credit - Text Only */
.agency-credit-sleek {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    padding: 6px 0;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.3, 1);
}

.agency-credit-sleek:hover {
    transform: translateY(-2px); /* Subtle lift */
}

.credit-text-minimal {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35); /* Muted stealth color */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    transition: color 0.4s ease;
}

.agency-name-pro {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 800;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
}

/* Premium Hover Reveal Effect */
.agency-credit-sleek:hover .credit-text-minimal {
    color: rgba(255, 255, 255, 0.7);
}

.agency-credit-sleek:hover .agency-name-pro {
    color: #00F0FF; /* Arbiforge Signature Neon Cyan */
    text-shadow: 0 0 12px rgba(0, 240, 255, 0.35); /* Soft inner glow */
}

/* ==========================================
   MOBILE RESPONSIVENESS (ENGAGING & PRO CTA FIX)
   ========================================== */
@media (max-width: 992px) {
    /* Tablet / Small Laptop Fixes */
    .cta-container {
        flex-direction: column;
        text-align: left;
        padding: 50px 50px;
        align-items: flex-start;
        gap: 35px;
    }
    
    .cta-content {
        max-width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .footer-desc { max-width: 100%; }
}

@media (max-width: 768px) {
    /* Mobile Focus: Fixing the CTA Card */
    .cta-premium-glass { 
        padding: 60px 20px 140px 20px; /* Reduced top padding, kept bottom for dome overlap */
    }
    
    .cta-container {
        flex-direction: column;
        align-items: flex-start; /* Left alignment is more premium for text heavy cards */
        text-align: left;
        padding: 40px 25px;
        background: #0E1623; 
        border-radius: 16px; /* Slightly tighter border radius for mobile */
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
        gap: 30px;
    }
    
    /* Typography adjustments for mobile CTA */
    .cta-content h2 { 
        font-size: 1.8rem; /* Controlled size to prevent wrapping issues */
        line-height: 1.25;
        margin-bottom: 12px;
    }
    
    .cta-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Full width, highly clickable CTA button for mobile UX */
    .cta-action {
        width: 100%;
    }
    
    .btn-whatsapp-pro { 
        width: 100%; 
        padding: 16px 20px;
        display: flex;
        justify-content: center;
        border-radius: 6px;
    }
    
    /* --- Mobile Footer Adjustments (Keeping consistent theme) --- */
    .footer-enterprise { margin-top: -80px; }
    .footer-top-dome { height: 80px; }
    .footer-top-dome svg { transform: scale(1.5); }
    
    .footer-content-wrapper { padding: 40px 20px 30px 20px; }
    .contact-list li { gap: 15px; }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding-top: 25px;
    }
}

/* Extra Small Screens (Like iPhone SE) */
@media (max-width: 480px) {
    .cta-container {
        padding: 30px 20px;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
    }
    
    .cta-premium-glass {
        padding-top: 40px;
    }
}