/*
================================================================================
FILE: frontend/css/marketing.css
VERSION: 1.0.0
REVISION DATE: 2026-07-03
PURPOSE: Marketing landing page styles - hero, countdown, pain/solution sections
DEPENDENCIES: global.css (for variables and base styles)
USAGE: Included in index.html after global.css
AUTHOR: Ghanshyam Acharya
CODE OWNER: AviaSafeSystems
================================================================================
*/

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 26, 46, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    padding: 12px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar .logo .logo-icon {
    font-size: 28px;
    color: var(--secondary);
}

.navbar .logo .logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.navbar .logo .logo-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    display: block;
}

.navbar .nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navbar .nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar .nav-links a:hover {
    color: var(--secondary);
}

.navbar .nav-links .btn-cta-nav {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar .nav-links .btn-cta-nav:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(232, 168, 56, 0.3);
}

.navbar .nav-links .btn-cta-primary {
    background: var(--secondary);
    color: var(--primary);
    font-weight: 700;
}

.navbar .nav-links .btn-cta-primary:hover {
    background: var(--secondary-light);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a1a2e 0%, #1a3a5c 50%, #0d2b4a 100%);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 168, 56, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(77, 171, 247, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content .deadline-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    color: #ff6b6b;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 24px;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { border-color: rgba(231, 76, 60, 0.3); }
    50% { border-color: rgba(231, 76, 60, 0.8); }
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero-content h1 .highlight {
    color: var(--secondary);
}

.hero-content .hero-sub {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    font-weight: 400;
}

.hero-content .hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 500px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--secondary);
    color: var(--primary);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--secondary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(232, 168, 56, 0.4);
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(4px);
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 500px;
}

.hero-stats .stat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(4px);
}

.hero-stats .stat .number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--secondary);
}

.hero-stats .stat .label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

/* Hero Card */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
}

.hero-card .card-title {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-card .card-score {
    text-align: center;
    padding: 20px 0;
}

.hero-card .card-score .gauge-wrap {
    position: relative;
    display: inline-block;
}

.hero-card .card-score .gauge-wrap svg {
    width: 140px;
    height: 140px;
    transform: rotate(-90deg);
}

.hero-card .card-score .gauge-wrap svg .bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 8;
}

.hero-card .card-score .gauge-wrap svg .progress {
    fill: none;
    stroke: var(--secondary);
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s ease;
}

.hero-card .card-score .gauge-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.hero-card .card-score .gauge-label .score {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
}

.hero-card .card-score .gauge-label .status {
    font-size: 14px;
    color: var(--secondary);
    font-weight: 600;
}

.hero-card .pillar-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.hero-card .pillar-bars .bar-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-card .pillar-bars .bar-item .bar-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    min-width: 100px;
    font-weight: 500;
}

.hero-card .pillar-bars .bar-item .bar-track {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.hero-card .pillar-bars .bar-item .bar-track .bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1.5s ease;
}

.hero-card .pillar-bars .bar-item .bar-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    min-width: 36px;
    text-align: right;
}

/* ============================================================
   COUNTDOWN BANNER
   ============================================================ */
.countdown-banner {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 24px 0;
    border-bottom: 3px solid var(--danger);
    text-align: center;
}

.countdown-banner .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.countdown-banner .countdown-text {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 15px;
}

.countdown-banner .countdown-text strong {
    color: var(--danger);
}

.countdown-banner .countdown-timer {
    display: flex;
    gap: 12px;
}

.countdown-banner .countdown-timer .time-block {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.countdown-banner .countdown-timer .time-block .num {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.countdown-banner .countdown-timer .time-block .lbl {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown-banner .countdown-date {
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
}

/* ============================================================
   PAIN SECTION
   ============================================================ */
.pain-section {
    padding: 80px 0;
    background: var(--white);
}

.section-label {
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.pain-section .section-label {
    color: var(--danger);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.section-desc {
    text-align: center;
    font-size: 18px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 48px;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pain-card {
    background: var(--gray-50);
    padding: 32px;
    border-radius: 16px;
    border-left: 4px solid var(--danger);
    transition: all 0.3s ease;
}

.pain-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.pain-card .icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.pain-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.pain-card p {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================================
   SOLUTION SECTION
   ============================================================ */
.solution-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.solution-section .section-label {
    color: var(--secondary);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.solution-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary);
}

.solution-card .icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.solution-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.solution-card p {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================================
   TIMELINE SECTION
   ============================================================ */
.timeline-section {
    padding: 80px 0;
    background: var(--primary);
    color: var(--white);
}

.timeline-section .section-title {
    color: var(--white);
}

.timeline-section .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

.timeline-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.timeline-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-step {
    text-align: center;
    position: relative;
}

.timeline-step .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--primary);
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.timeline-step .step-num.danger {
    background: var(--danger);
    color: white;
}

.timeline-step h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.timeline-step p {
    font-size: 14px;
    opacity: 0.6;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a1a2e, #1a3a5c);
    text-align: center;
}

.cta-section h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-section > .container > p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 500px;
    margin: 0 auto 32px;
}

.trust-section {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-section .trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232, 168, 56, 0.1);
    padding: 6px 18px;
    border-radius: 50px;
    border: 1px solid rgba(232, 168, 56, 0.15);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.trust-section .trust-badge .badge-icon {
    color: var(--secondary);
}

.trust-section .trust-text {
    margin-top: 16px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.4);
}

.trust-section .trust-text .trust-highlight {
    color: var(--secondary);
}

.target-audience {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

.target-audience .audience-tag {
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.trust-pilot {
    margin-top: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.2);
}

.trust-pilot i {
    margin-right: 6px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: #06121e;
    padding: 40px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer .brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer .brand .icon {
    font-size: 24px;
    color: var(--secondary);
}

.footer .brand .text {
    font-weight: 700;
    color: var(--white);
    font-size: 18px;
}

.footer .brand .sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    display: block;
}

.footer .links {
    display: flex;
    gap: 24px;
}

.footer .links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer .links a:hover {
    color: var(--secondary);
}

.footer .copy {
    color: rgba(255, 255, 255, 0.2);
    font-size: 13px;
    text-align: right;
}

.footer .copy .copy-pilot {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.15);
    margin-top: 4px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-content .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-visual {
        order: -1;
    }
    .pain-grid,
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .timeline-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .timeline-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .pain-grid,
    .solution-grid {
        grid-template-columns: 1fr;
    }
    .timeline-steps {
        grid-template-columns: 1fr;
    }
    .navbar .nav-links {
        display: none;
    }
    .navbar .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 26, 46, 0.98);
        padding: 24px;
        gap: 16px;
        backdrop-filter: blur(12px);
    }
    .nav-toggle {
        display: flex;
    }
    .footer .container {
        flex-direction: column;
        text-align: center;
    }
    .footer .copy {
        text-align: center;
    }
    .countdown-banner .container {
        flex-direction: column;
        gap: 12px;
    }
    .countdown-banner .countdown-timer .time-block .num {
        font-size: 18px;
    }
    .cta-section h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 26px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .btn-primary,
    .btn-outline-light {
        width: 100%;
        justify-content: center;
    }
    .hero-stats .stat .number {
        font-size: 20px;
    }
    .cta-section h2 {
        font-size: 24px;
    }
    .target-audience .audience-tag {
        font-size: 11px;
        padding: 4px 12px;
    }
}