/* =========================================
   VARIABLES & DESIGN TOKENS
   ========================================= */
   :root {
    /* Colors */
    --bg-dark: #050B14;
    --bg-card: rgba(20, 28, 47, 0.6);
    --primary: #0D72FF;
    --primary-light: #438BFF;
    --primary-glow: rgba(13, 114, 255, 0.4);
    --secondary: #00F0FF;
    --text-main: #FFFFFF;
    --text-muted: #A0ABC0;
    --border-color: rgba(255, 255, 255, 0.08);
    
    /* Typography */
    --font-main: 'Outfit', sans-serif;
    
    /* Layout & Transitions */
    --max-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =========================================
   BACKGROUND GLOW EFFECTS
   ========================================= */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary);
    filter: blur(150px);
    border-radius: 50%;
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

.glow-1 {
    top: -100px;
    left: -200px;
}

.glow-2 {
    bottom: 20%;
    right: -200px;
    background: var(--secondary);
    opacity: 0.1;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-store {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: var(--radius-md);
    gap: 12px;
}

.btn-store i {
    font-size: 1.8rem;
}

.btn-store .btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-store small {
    font-size: 0.7rem;
    line-height: 1;
    color: var(--text-muted);
    font-weight: 400;
}

.btn-store strong {
    font-size: 1.1rem;
    line-height: 1.2;
}

.btn-store:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(5, 11, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo img {
    width: 40px;
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-main);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(13, 114, 255, 0.15);
    border: 1px solid rgba(13, 114, 255, 0.3);
    border-radius: var(--radius-full);
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.hero-content p {
    margin-bottom: 40px;
    max-width: 90%;
    font-size: 1.25rem;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.justify-center {
    justify-content: center;
}

.stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* App Mockup Animation */
.hero-image {
    position: relative;
    perspective: 1000px;
}

.app-mockup {
    width: 320px;
    height: 650px;
    margin: 0 auto;
    background: linear-gradient(180deg, #1A2235 0%, #0D1424 100%);
    border-radius: 40px;
    border: 8px solid #2A3655;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1) inset;
    transform: rotateY(-15deg) rotateX(5deg);
    position: relative;
    overflow: hidden;
}

.app-mockup::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #2A3655;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.mockup-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

.floating-card {
    position: absolute;
    background: rgba(20, 28, 47, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: float 6s ease-in-out infinite;
}

.fc-1 {
    top: 15%;
    right: -40px;
    animation-delay: 0s;
}

.fc-2 {
    bottom: 25%;
    left: -20px;
    animation-delay: 3s;
}

.text-warning { color: #FFB800; }
.text-primary { color: var(--primary-light); }

/* =========================================
   SERVICES SECTION
   ========================================= */
.services {
    padding: 100px 0;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-card {
    width: 100%;
    max-width: 350px;
    flex: 1 1 300px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at top right, var(--primary-glow), transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(13, 114, 255, 0.3);
    background: rgba(25, 35, 55, 0.8);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(13, 114, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-light);
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.service-list {
    margin: 16px 0 24px;
    padding-left: 0;
}

.service-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.service-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.8rem;
    top: 4px;
}

.service-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.95rem;
}

.service-card:hover .service-link {
    gap: 12px;
}

/* =========================================
   HOW IT WORKS SECTION
   ========================================= */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent, rgba(13,114,255,0.03), transparent);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 60px;
    position: relative;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0 auto 20px;
    box-shadow: 0 0 20px var(--primary-glow);
}

.step-icon {
    font-size: 3rem;
    color: var(--text-main);
    margin-bottom: 24px;
}

.step h3 {
    margin-bottom: 12px;
}

.step-connector {
    width: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    margin-top: 20px;
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
    padding: 100px 0;
}

.cta-box {
    background: linear-gradient(135deg, rgba(13,114,255,0.1), rgba(0,240,255,0.1));
    border: 1px solid rgba(13, 114, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 50%);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.cta-box > * {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.cta-box p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.mt-4 { margin-top: 32px; }

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

.footer-container {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin: 24px 0;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.link-group h4 {
    margin-bottom: 24px;
    color: var(--text-main);
}

.link-group ul li {
    margin-bottom: 12px;
}

.link-group a {
    color: var(--text-muted);
}

.link-group a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 24px;
}

.footer-bottom p {
    font-size: 0.9rem;
}

/* =========================================
   ANIMATIONS & RESPONSIVE
   ========================================= */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible, .slide-in-right.visible {
    opacity: 1;
    transform: translate(0);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content p {
        margin: 0 auto 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .stats {
        justify-content: center;
    }

    .hero-image {
        margin-top: 60px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .step-connector {
        width: 2px;
        height: 40px;
        background: linear-gradient(180deg, var(--primary), transparent);
        margin: 0;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-card {
        display: none;
    }
}
