
/* ═══════════════════════════════════════════════════════════════════════════
   HIGH-CONVERSION HOMEPAGE — AUDIT IMPLEMENTATION
   
   IMPROVEMENT 1: Enhanced 2x4 Grid Layout with Micro-interactions
   IMPROVEMENT 2: Technical Imagery Integration with Gradient Overlays  
   IMPROVEMENT 3: Strategic CTA Placement Post-Social Proof
═══════════════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════════════
   IMPROVEMENT 1 — ENHANCED SERVICES GRID
   ══════════════════════════════════════════════════════════════════════════
   
   PREVIOUS: Linear 1-column stack on mobile, causes scanning fatigue
   NEW: Symmetric 2x4 grid with radar-pulse micro-interactions
        Reduces cognitive load, signals technical authority
   ══════════════════════════════════════════════════════════════════════════ */

.core-services {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 24px;
    text-align: center;
}

.core-services h2 {
    font-family: 'Rajdhani', sans-serif;
    color: var(--navy-deep);
    font-size: 2.75rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.section-subtitle {
    color: var(--gray-mid);
    font-size: 1.2rem;
    margin-bottom: 60px;
    font-weight: 500;
}

/* NEW 2x4 Grid — symmetric, professional, reduces choice paralysis */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

/* Micro-interaction: Radar pulse border on hover */
.service-tile {
    background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
    border: 2px solid var(--gray-light);
    padding: 32px 24px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

/* Animated radar-green top border — slides in on hover */
.service-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--radar-green), 
        var(--data-blue), 
        var(--sky-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Pulsing radar-glow effect on hover */
.service-tile::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0,255,65,0.15) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease-out;
    pointer-events: none;
}

.service-tile:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(11, 60, 93, 0.18);
    border-color: var(--navy-mid);
    background: var(--white);
}

.service-tile:hover::before {
    transform: scaleX(1);
}

.service-tile:hover::after {
    width: 300px;
    height: 300px;
}

.service-tile strong {
    font-family: 'Rajdhani', sans-serif;
    color: var(--navy-mid);
    font-size: 17px;
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.service-tile p {
    font-size: 13.5px;
    margin-top: 10px;
    color: var(--gray-dark);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Technical green bullet accent */
.service-tile strong::before {
    content: '◆';
    color: var(--radar-green);
    margin-right: 6px;
    font-size: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-tile:hover strong::before {
    opacity: 1;
}

/* Responsive grid breakpoints — maintains symmetry */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .service-tile {
        padding: 24px 18px;
    }
    .service-tile strong {
        font-size: 15px;
    }
}

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

/* ══════════════════════════════════════════════════════════════════════════
   IMPROVEMENT 2 — TECHNICAL IMAGERY INTEGRATION
   ══════════════════════════════════════════════════════════════════════════
   
   NEW: High-impact ATC tower imagery with navy gradient overlay
        Anchors expertise in reality while maintaining readability
   ══════════════════════════════════════════════════════════════════════════ */

/* Enhanced hero with technical imagery */
.home-hero {
    height: 75vh;
    min-height: 600px;
    background:
        linear-gradient(135deg, 
            rgba(10, 35, 66, 0.92) 0%, 
            rgba(11, 60, 93, 0.85) 50%, 
            rgba(30, 91, 133, 0.78) 100%),
        url("../images/atc-hero2.png") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Animated radar grid overlay — subtle technical texture */
.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, 
            transparent, transparent 50px, 
            rgba(0,255,65,0.03) 50px, rgba(0,255,65,0.03) 51px),
        repeating-linear-gradient(90deg, 
            transparent, transparent 50px, 
            rgba(0,255,65,0.03) 50px, rgba(0,255,65,0.03) 51px);
    pointer-events: none;
    animation: grid-drift 30s linear infinite;
}

@keyframes grid-drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Pulsing radar sweep — creates depth and motion */
.home-hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212,175,55,0.12) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-sweep 8s ease-in-out infinite;
    pointer-events: none;
}

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

.home-hero-overlay {
    max-width: 1000px;
    padding: 40px 30px;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.home-hero-overlay h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
    animation: fadeInUp 0.8s ease-out;
}

.home-hero-overlay p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
    text-shadow: 0 2px 15px rgba(0,0,0,0.4);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

/* CTA buttons with ripple effect */
.hero-cta {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 16px 40px;
    margin: 8px;
    border-radius: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    min-width: 220px;
    text-align: center;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Ripple animation on hover */
.btn-primary::before,
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-mid) 100%);
    color: var(--navy-deep);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    position: relative;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 3px solid var(--white);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--gold-mid);
    color: var(--gold-mid);
    transform: translateY(-4px);
}

/* Mobile hero adjustments */
@media (max-width: 768px) {
    .home-hero { height: 65vh; min-height: 500px; }
    .home-hero-overlay h1 { font-size: 2rem; }
    .home-hero-overlay p { font-size: 1.05rem; }
    .btn-primary, .btn-secondary { 
        display: block; 
        width: 100%; 
        max-width: 320px; 
        margin: 12px auto; 
        font-size: 16px; 
    }
    .hero-cta { flex-direction: column; align-items: center; }
}

/* ══════════════════════════════════════════════════════════════════════════
   STATS ROW — unchanged, already excellent social proof
   ══════════════════════════════════════════════════════════════════════════ */

.stats-row {
    max-width: 1200px;
    margin: -60px auto 60px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 10;
}

.stat-box {
    background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
    border: 2px solid var(--gray-light);
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-mid), var(--sky-blue), var(--data-blue));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.stat-box:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
    border-color: var(--gold-mid);
}

.stat-box:hover::before {
    transform: translateX(0);
}

.stat-box h3 {
    margin: 0 0 12px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.5rem;
    color: var(--navy-mid);
    font-weight: 700;
}

.stat-box p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-mid);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ══════════════════════════════════════════════════════════════════════════
   IMPROVEMENT 3 — STRATEGIC CTA POST-SOCIAL PROOF
   ══════════════════════════════════════════════════════════════════════════
   
   NEW: Gold-gradient CTA placed immediately after stats row
        Capitalizes on peak trust moment to reduce conversion friction
   ══════════════════════════════════════════════════════════════════════════ */

.post-stats-cta {
    max-width: 1200px;
    margin: 80px auto 100px;
    padding: 0 24px;
    text-align: center;
}

.cta-container {
    background: linear-gradient(135deg, 
        rgba(10, 35, 66, 0.97) 0%, 
        rgba(11, 60, 93, 0.94) 100%);
    border-radius: 24px;
    padding: 56px 48px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 50px rgba(0,0,0,0.15);
}

/* Animated radar rings background */
.cta-container::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,0.1);
    box-shadow:
        0 0 0 60px rgba(212,175,55,0.06),
        0 0 0 120px rgba(212,175,55,0.04),
        0 0 0 180px rgba(212,175,55,0.02);
    pointer-events: none;
    animation: pulse-rings 6s ease-in-out infinite;
}

@keyframes pulse-rings {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.7; }
}

/* Gold accent line at top */
.cta-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--gold-mid), 
        var(--gold-light), 
        var(--gold-mid), 
        transparent);
}

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

.cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212,175,55,0.15);
    border: 1px solid rgba(212,175,55,0.4);
    color: var(--gold-light);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 24px;
}

.cta-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--radar-green);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

.cta-heading {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 18px;
}

.cta-heading span {
    color: var(--gold-mid);
}

.cta-subtext {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

/* Primary CTA button — gold gradient, maximum visual weight */
.cta-button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 48px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-mid) 100%);
    color: var(--navy-deep);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(212, 175, 55, 0.45);
}

.cta-button-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button-primary:hover::before {
    width: 400px;
    height: 400px;
}

.cta-button-primary:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 16px 40px rgba(212, 175, 55, 0.6);
}

.cta-button-primary:active {
    transform: translateY(-2px) scale(1.01);
}

.cta-icon {
    font-size: 22px;
    position: relative;
    z-index: 1;
}

/* Trust badges below CTA */
.cta-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.cta-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

.cta-badge-icon {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-mid));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--navy-deep);
    font-weight: 700;
}

/* Responsive CTA section */
@media (max-width: 768px) {
    .cta-container {
        padding: 40px 28px;
    }
    .cta-heading {
        font-size: 1.8rem;
    }
    .cta-subtext {
        font-size: 1rem;
    }
    .cta-button-primary {
        width: 100%;
        max-width: 360px;
        padding: 16px 36px;
        font-size: 17px;
    }
    .cta-badges {
        flex-direction: column;
        gap: 16px;
    }
}

    </style>
