/* assets/css/style.css - GSMXPay Flagship Dark Fintech & GSM Infrastructure Landing Page */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    --gx-bg-deep: #05070b;
    --gx-bg-graphite: #090d16;
    --gx-bg-navy: #0e1525;
    --gx-bg-card: rgba(14, 21, 37, 0.78);
    --gx-cyan: #38bdf8;
    --gx-blue: #0ea5e9;
    --gx-cobalt: #2563eb;
    --gx-emerald: #10b981;
    --gx-amber: #f59e0b;
    --gx-border: rgba(148, 163, 184, 0.11);
    --gx-border-glow: rgba(56, 189, 248, 0.32);
    --gx-text-main: #f8fafc;
    --gx-text-secondary: #cbd5e1;
    --gx-text-muted: #64748b;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.gx-landing {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--gx-bg-deep);
    color: var(--gx-text-main);
    margin: 0;
    overflow-x: hidden;
    line-height: 1.6;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Subtle Ambient Grid & Radial Glows */
.gx-ambient-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(circle at 18% 12%, rgba(14, 165, 233, 0.11) 0%, transparent 40%),
        radial-gradient(circle at 84% 22%, rgba(37, 99, 235, 0.10) 0%, transparent 42%),
        radial-gradient(circle at 50% 88%, rgba(14, 165, 233, 0.06) 0%, transparent 45%);
}

/* Navbar */
.gx-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 16px 0;
    background: rgba(5, 7, 11, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gx-border);
    transition: padding 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.gx-navbar.scrolled {
    padding: 12px 0;
    background: rgba(5, 7, 11, 0.92);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

.gx-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    color: #fff;
}

.gx-brand-emblem {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.22) 0%, rgba(37, 99, 235, 0.28) 100%);
    border: 1px solid rgba(56, 189, 248, 0.38);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 22px rgba(14, 165, 233, 0.22);
}

.gx-brand-wordmark {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.7px;
    color: #ffffff;
}

.gx-brand-wordmark span {
    background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gx-nav-link {
    color: var(--gx-text-secondary) !important;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px !important;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}

.gx-nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.04);
}

.gx-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gx-blue) 0%, var(--gx-cobalt) 100%);
    color: #ffffff !important;
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 11px;
    padding: 11px 22px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 8px 24px -6px rgba(14, 165, 233, 0.42);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.gx-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -6px rgba(14, 165, 233, 0.58);
    filter: brightness(1.06);
}

.gx-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.65);
    color: var(--gx-text-main) !important;
    border: 1px solid var(--gx-border);
    border-radius: 11px;
    padding: 11px 22px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.gx-btn-secondary:hover {
    background: rgba(14, 165, 233, 0.1);
    border-color: var(--gx-border-glow);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Hero Section */
.gx-hero {
    position: relative;
    z-index: 1;
    padding: 155px 0 95px;
}

.gx-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.26);
    color: var(--gx-cyan);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.gx-hero-title {
    font-size: clamp(2.4rem, 4.6vw, 4.1rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 22px;
}

.gx-text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #38bdf8 55%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gx-hero-lead {
    font-size: 17px;
    color: var(--gx-text-secondary);
    max-width: 580px;
    margin-bottom: 32px;
    line-height: 1.68;
}

.gx-method-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.gx-method-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: 9px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid var(--gx-border);
    font-size: 12px;
    font-weight: 600;
    color: var(--gx-text-secondary);
}

/* Interactive Payment Visualization Card */
.gx-payment-visual {
    background: linear-gradient(165deg, rgba(16, 24, 42, 0.9) 0%, rgba(8, 12, 20, 0.96) 100%);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 22px;
    padding: 26px;
    box-shadow:
        0 28px 65px -15px rgba(0, 0, 0, 0.75),
        0 0 40px -10px rgba(14, 165, 233, 0.18);
    position: relative;
    overflow: hidden;
}

.gx-payment-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gx-cyan), transparent);
}

.gx-pv-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--gx-border);
    margin-bottom: 18px;
}

.gx-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gx-emerald);
    box-shadow: 0 0 10px var(--gx-emerald);
    display: inline-block;
    animation: gxPulse 2s infinite;
}

@keyframes gxPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.65; }
}

.gx-pv-amount-box {
    background: rgba(5, 7, 11, 0.65);
    border: 1px solid var(--gx-border);
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gx-pv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.gx-pv-cell {
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.08);
    border-radius: 12px;
    padding: 11px 14px;
}

.gx-pv-cell .pv-label {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--gx-text-muted);
    font-weight: 600;
}

.gx-pv-cell .pv-val {
    font-size: 13px;
    font-weight: 600;
    color: var(--gx-text-main);
    margin-top: 2px;
}

.gx-pv-pipeline {
    display: flex;
    flex-direction: column;
    gap: 9px;
    background: rgba(5, 7, 11, 0.55);
    border: 1px solid var(--gx-border);
    border-radius: 14px;
    padding: 14px 16px;
}

.gx-pv-step {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: var(--gx-text-secondary);
    transition: all 0.3s ease;
}

.gx-pv-step.done {
    color: #f8fafc;
}

/* Section Headers */
.gx-section {
    position: relative;
    z-index: 1;
    padding: 90px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.07);
}

.gx-section-title {
    font-size: clamp(1.85rem, 3vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #ffffff;
    margin-bottom: 14px;
}

/* Feature Cards */
.gx-feature-card {
    background: var(--gx-bg-card);
    border: 1px solid var(--gx-border);
    border-radius: 18px;
    padding: 26px 24px;
    height: 100%;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.gx-feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--gx-border-glow);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.65), 0 0 24px -6px rgba(14, 165, 233, 0.14);
}

.gx-feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.18) 0%, rgba(37, 99, 235, 0.18) 100%);
    border: 1px solid rgba(56, 189, 248, 0.28);
    color: var(--gx-cyan);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 18px;
}

/* Developer Code Terminal */
.gx-code-window {
    background: #060911;
    border: 1px solid rgba(56, 189, 248, 0.24);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 55px -12px rgba(0, 0, 0, 0.75);
}

.gx-code-topbar {
    background: #0b111e;
    border-bottom: 1px solid var(--gx-border);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gx-window-dots {
    display: flex;
    gap: 7px;
}

.gx-window-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.gx-code-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.gx-code-tab {
    background: transparent;
    border: 1px solid transparent;
    color: var(--gx-text-muted);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gx-code-tab.active {
    background: rgba(14, 165, 233, 0.14);
    border-color: rgba(56, 189, 248, 0.32);
    color: var(--gx-cyan);
}

.gx-code-pre {
    margin: 0;
    padding: 22px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.8px;
    line-height: 1.65;
    color: #e2e8f0;
    overflow-x: auto;
}

/* Security Pillar Cards */
.gx-sec-card {
    background: linear-gradient(180deg, rgba(14, 21, 37, 0.72) 0%, rgba(9, 13, 22, 0.9) 100%);
    border: 1px solid var(--gx-border);
    border-radius: 16px;
    padding: 22px;
    height: 100%;
    transition: border-color 0.22s ease, transform 0.22s ease;
}

.gx-sec-card:hover {
    border-color: rgba(16, 185, 129, 0.35);
    transform: translateY(-2px);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.gx-footer {
    background: #04060a;
    border-top: 1px solid var(--gx-border);
    padding: 65px 0 35px;
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .gx-hero {
        padding: 125px 0 65px;
    }
    .gx-pv-grid {
        grid-template-columns: 1fr;
    }
}
