:root {
    --primary-brand: #0B1F4D;    /* Deep Blue - Main Brand */
    --accent-blue: #1E6BFF;     /* Royal Blue - Interactive */
    --cta-orange: #FF7A00;      /* Safety Orange - Conversion */
    --teal: #17C6D1;            /* Teal - Accents */
    --background: #FFFFFF;
    --background-alt: #F8FAFC;
    --surface: rgba(255, 255, 255, 0.9);
    --text-main: #1E293B;
    --text-secondary: #64748B;
    --glass-border: rgba(11, 31, 77, 0.08);
    
    --gradient-premium: linear-gradient(135deg, #FF7A00 0%, #FFB800 50%, #FF7A00 100%);
    --gradient-glow: linear-gradient(135deg, #1E6BFF 0%, #17C6D1 100%);
    
    --shadow-sm: 0 2px 4px rgba(11, 31, 77, 0.04);
    --shadow-md: 0 10px 15px -3px rgba(11, 31, 77, 0.08);
    --shadow-lg: 0 25px 50px -12px rgba(11, 31, 77, 0.12);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.625;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    color: var(--primary-brand);
}

/* Glassmorphism */
.glass-card {
    background: #FFFFFF;
    border: 1px solid var(--glass-border);
    border-radius: 2.5rem;
    padding: 3rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-blue);
}

/* Navbar Overhaul - Light & Aesthetic */
header {
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(11, 31, 77, 0.05);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: 0 10px 40px -15px rgba(11, 31, 77, 0.1);
    border-bottom: 1px solid rgba(11, 31, 77, 0.05);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-brand);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    opacity: 0.8;
}

.nav-links a:hover {
    color: var(--accent-blue);
    opacity: 1;
}

/* Hero Section: Gaps Optimized */
.hero {
    background: radial-gradient(circle at top right, rgba(23, 198, 209, 0.03), transparent),
                radial-gradient(circle at 10% 20%, rgba(30, 107, 255, 0.03), transparent),
                #FFFFFF;
}

.hero h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.05;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
}

/* Premium Animated Price Tag */
.price-animated {
    display: inline-block;
    background: var(--gradient-premium);
    background-size: 200% auto;
    color: white;
    padding: 0.25em 0.75em;
    border-radius: 1rem;
    font-weight: 900;
    box-shadow: 0 10px 20px -5px rgba(255, 122, 0, 0.4);
    animation: gradient-shimmer 3s linear infinite;
}

@keyframes gradient-shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Statistics layout */
.stats-container {
    max-width: 1200px;
    margin: -3rem auto 0;
    background: #FFFFFF;
    border-radius: 3rem;
    padding: 3.5rem;
    box-shadow: 0 30px 60px -20px rgba(11, 31, 77, 0.1);
    position: relative;
    z-index: 20;
}

.grid-justified {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
    border-right: 1px solid rgba(11, 31, 77, 0.05);
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-brand);
    display: block;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.stat-label {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
}

/* App Highlighting Overlap Fix */
.app-illustration {
    position: relative;
    z-index: 10;
}
.completion-card {
    transition: var(--transition);
}
.completion-card:hover {
    transform: translateY(-5px);
}

.play-badge img {
    height: 4.5rem;
    transition: var(--transition);
}

.play-badge:hover img {
    transform: scale(1.05);
}

/* Footer CSS Support */
footer {
    background: #020817; /* High-end Deep Black/Blue */
    padding: 8rem 0 4rem;
    color: white;
}

.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    gap: 5rem;
}

.footer-col h3 {
    color: white !important;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2.5rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 1.25rem; }

.footer-col a {
    color: #94A3B8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--teal);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1280px;
    margin: 5rem auto 0;
    padding: 2.5rem 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

/* CTA Styles */
.btn-cta {
    background: var(--cta-orange);
    color: #FFFFFF !important;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3); /* Ensure contrast on bright background */
    padding: 1.25rem 3rem;
    border-radius: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    border: none;
    box-shadow: 0 15px 30px -10px rgba(255, 122, 0, 0.4);
}

.btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -12px rgba(255, 122, 0, 0.5);
    background: #FF8B26;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 991px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 4rem; }
    .grid-justified { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; }
    .grid-justified { grid-template-columns: 1fr; }
    .hero { padding-top: 8rem; text-align: center; } /* Reduced top padding for mobile */
    .hero .flex { justify-content: center; }
    .completion-card { display: none; }
    
    /* Responsive Article Adjustments */
    .article-body {
        font-size: 1.1rem;
        line-height: 1.8;
    }
    .article-body h2 { font-size: 1.75rem !important; }
    .article-body h3 { font-size: 1.5rem !important; }
}
