/* ===================================
   INLOMAX - Professional Fintech CSS
   Mobile-First, High-Converting
   =================================== */

/* =====================
   MOBILE NAVIGATION
   ===================== */

/* Slide-in drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark);
    z-index: 2000;
    padding: 80px 30px 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.4);
    overflow-y: auto;
}

.mobile-nav.active { right: 0; }

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
    list-style: none;
}

.mobile-nav ul li a {
    display: block;
    padding: 12px 16px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    text-decoration: none;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a:active {
    background: rgba(255,255,255,0.08);
    color: white;
}

.mobile-nav-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255,255,255,0.08);
    border: none;
    color: rgba(255,255,255,0.8);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-close:hover { background: rgba(255,255,255,0.15); color: white; }

.mobile-nav-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-nav-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.95rem;
}

.mobile-nav-actions .btn-secondary {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.15);
}

.mobile-nav-actions .btn-secondary:hover {
    background: rgba(255,255,255,0.15);
}

/* Overlay */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,20,0.7);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Google Fonts loaded via <link> in header to eliminate render-blocking @import */

/* ---- CSS Variables ---- */
:root {
    --primary: #0052ff;
    --primary-dark: #003ccc;
    --primary-light: #e8f0ff;
    --secondary: #00c9a7;
    --accent: #ff6b2b;
    --dark: #0a0e1a;
    --dark-2: #1a2035;
    --light: #f5f7ff;
    --white: #ffffff;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --border: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --gradient-1: linear-gradient(135deg, #0052ff 0%, #00c9a7 100%);
    --gradient-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hero: linear-gradient(160deg, #0a0e1a 0%, #0d1b3e 50%, #0052ff22 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-primary: 0 10px 30px rgba(0, 82, 255, 0.25);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* ---- Reset ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    font-size: 16px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ---- Utilities ---- */
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

section { padding: 80px 0; }

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-white { color: var(--white); }

/* ---- Typography ---- */
h1 { font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 600; line-height: 1.35; }
h4 { font-size: 1rem; font-weight: 600; }

.section-title {
    text-align: center;
    margin-bottom: 12px;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 82, 255, 0.35);
}

.btn-primary:active { transform: translateY(0); }

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--dark);
    color: white;
}

.btn-dark:hover { background: var(--dark-2); transform: translateY(-2px); }

.btn-white {
    background: white;
    color: var(--primary);
    font-weight: 700;
}

.btn-white:hover {
    background: #f0f4ff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
    border-radius: 10px;
}

/* ---- Card ---- */
.card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    padding: 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* =====================
   HEADER / NAV
   ===================== */
header {
    background: var(--dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

header.header-hidden {
    transform: translateY(-100%);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 20px;
    min-height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
}

.logo-text span { color: var(--secondary); }

nav.desktop-nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
}

nav.desktop-nav a {
    color: rgba(255,255,255,0.75);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
    padding: 4px 0;
}

nav.desktop-nav a:hover { color: white; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-actions .btn {
    padding: 9px 20px;
    font-size: 0.85rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
    -webkit-tap-highlight-color: transparent;
}

/* =====================
   HERO SECTION
   ===================== */
.hero {
    background: var(--gradient-hero);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    min-height: 580px;
    display: flex;
    align-items: center;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255,255,255,0.08);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 7px 16px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.hero-badge .badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero h1 {
    color: white;
    margin-bottom: 20px;
}

.hero h1 .highlight {
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
}

.hero-desc {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-store-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-store-label {
    color: rgba(255,255,255,0.45);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-right: 4px;
}

.app-store-btn, .google-play-btn {
    display: inline-block;
    transition: transform 0.25s, opacity 0.25s;
    opacity: 0.9;
}

.app-store-btn:hover, .google-play-btn:hover {
    transform: translateY(-3px);
    opacity: 1;
}

.app-store-btn img, .google-play-btn img {
    height: 44px;
    width: auto;
    border-radius: 8px;
}

.hero-stats {
    display: flex;
    gap: 24px;
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.hero-stats::-webkit-scrollbar { display: none; }

.stat { display: flex; flex-direction: column; }

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-mockup {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 40px 80px rgba(0,0,0,0.4));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.phone-mockup img {
    max-width: 280px;
    border-radius: 28px;
}

.hero-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 82, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(40px);
    z-index: 1;
}

.float-card {
    position: absolute;
    background: white;
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    white-space: nowrap;
    z-index: 3;
    animation: float-card 3s ease-in-out infinite;
}

.float-card.card-1 { top: 10%; right: -5%; animation-delay: 0s; }
.float-card.card-2 { bottom: 15%; left: -5%; animation-delay: 1.5s; }

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.float-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.float-card-icon.green { background: #d1fae5; color: var(--success); }
.float-card-icon.blue { background: var(--primary-light); color: var(--primary); }

/* =====================
   TRUST BAR (MARQUEE)
   ===================== */
.trust-bar {
    background: white;
    padding: 28px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    width: 100%;
}

.trust-bar-label {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-light);
    margin-bottom: 18px;
}

.marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
}

.marquee-row {
    overflow: hidden;
    width: 100%;
}

.marquee-content {
    display: flex;
    flex-wrap: nowrap !important;
    gap: 48px;
    width: max-content;
    animation: marquee-left 50s linear infinite;
    will-change: transform;
}

.marquee-content-reverse {
    animation: marquee-right 55s linear infinite;
    will-change: transform;
}

@keyframes marquee-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes marquee-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray);
    white-space: nowrap;
    flex-shrink: 0;
    opacity: 0.75;
    transition: opacity 0.3s;
}

.trust-item:hover { opacity: 1; }

.trust-item i {
    font-size: 0.95rem;
    color: var(--primary);
}

/* =====================
   WHY CHOOSE US (FEATURES)
   ===================== */
.features-section {
    background: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: var(--primary-light);
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.65;
    margin: 0;
}

/* =====================
   SERVICES SECTION
   ===================== */
.services-section { background: white; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--light);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    border: 1.5px solid transparent;
    transition: all 0.3s ease;
    cursor: default;
}

.service-card:hover {
    border-color: var(--primary);
    background: white;
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 16px;
}

.service-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.service-card p {
    font-size: 0.82rem;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

.s1 .service-icon { background: #e0f2fe; color: #0284c7; }
.s2 .service-icon { background: #f0fdf4; color: #16a34a; }
.s3 .service-icon { background: #fefce8; color: #ca8a04; }
.s4 .service-icon { background: #fdf4ff; color: #a21caf; }
.s5 .service-icon { background: #fff7ed; color: #ea580c; }
.s6 .service-icon { background: #eef2ff; color: #4f46e5; }
.s7 .service-icon { background: #f3e8ff; color: #7c3aed; }
.s8 .service-icon { background: #ecfdf5; color: #059669; }

/* =====================
   HOW IT WORKS
   ===================== */
.how-section { background: var(--light); }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(16.67% + 40px);
    right: calc(16.67% + 40px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.step:hover .step-number {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-primary);
}

.step h3 {
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.step p {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.65;
    margin: 0;
}

/* =====================
   TESTIMONIALS
   ===================== */
.testimonials-section { background: white; }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--light);
    border-radius: var(--radius-md);
    padding: 28px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 82, 255, 0.2);
}

.testimonial-stars {
    color: var(--warning);
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.9rem;
    color: var(--dark);
    line-height: 1.7;
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-info h4 { font-size: 0.9rem; color: var(--dark); margin-bottom: 2px; }
.author-info p { font-size: 0.78rem; color: var(--gray); margin: 0; }

/* =====================
   API SECTION
   ===================== */
.api-section {
    background: var(--dark);
    overflow: hidden;
    position: relative;
}

.api-bg-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,82,255,0.15) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.api-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.api-text { color: white; }

.api-text h2 {
    color: white;
    text-align: left;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    margin-bottom: 16px;
}

.api-text p {
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 32px;
}

.api-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}

.api-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
}

.api-feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1rem;
    flex-shrink: 0;
}

.api-feature-text h4 {
    font-size: 0.95rem;
    color: white;
    margin-bottom: 3px;
}

.api-feature-text p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
    line-height: 1.55;
}

.api-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.code-snippet {
    background: #0f172a;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.07);
}

.code-header {
    background: #1e293b;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.code-dots { display: flex; gap: 7px; }

.code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dots span:nth-child(1) { background: #ef4444; }
.code-dots span:nth-child(2) { background: #f59e0b; }
.code-dots span:nth-child(3) { background: #22c55e; }

.code-header-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    font-family: 'Courier New', monospace;
}

.code-content {
    padding: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.code-content pre {
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.82rem;
    line-height: 1.65;
    color: #e2e8f0;
    white-space: pre;
}

.code-content code { background: none; font-family: inherit; }
.code-keyword { color: #93c5fd; }
.code-string { color: #86efac; }
.code-value { color: #fde68a; }

/* =====================
   FAQ SECTION
   ===================== */
.faq-section { background: var(--light); }

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.faq-card:hover {
    border-color: rgba(0, 82, 255, 0.2);
    box-shadow: var(--shadow-sm);
}

.faq-card h3 {
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.faq-card h3::before {
    content: 'Q';
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
    letter-spacing: 0.02em;
}

.faq-card p {
    font-size: 0.87rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.65;
}

/* =====================
   CTA SECTION
   ===================== */
.cta-section {
    background: var(--gradient-1);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section h2 {
    color: white;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto 36px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* =====================
   DOWNLOAD APP SECTION
   ===================== */
.download-section { background: white; }

.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.download-text h2 {
    text-align: left;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    margin-bottom: 16px;
    color: var(--dark);
}

.download-text p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 28px;
}

.app-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
}

.app-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--dark);
}

.app-check-item i {
    color: var(--success);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.download-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.app-store-btn img, .google-play-btn img {
    height: 48px;
    width: auto;
    border-radius: 8px;
}

.download-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =====================
   FOOTER
   ===================== */
footer {
    background: var(--dark);
    color: rgba(255,255,255,0.65);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 0 0 20px;
    color: rgba(255,255,255,0.5);
}

/* Social Links in Footer */
.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    transition: all 0.2s;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-col h4 {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.footer-col ul a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
    text-decoration: none;
}

.footer-col ul a:hover { color: white; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    margin: 0;
}

/* ============================
   RESPONSIVE - MOBILE FIRST
   ============================ */

/* Tablet (1024px) */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero { min-height: auto; text-align: center; }
    .hero-content { max-width: 600px; margin: 0 auto; }
    .hero-desc { margin: 0 auto 28px; }
    .hero-actions { justify-content: center; }
    .hero-store-row { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }

    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .api-grid { grid-template-columns: 1fr; gap: 40px; }
    .api-text h2 { text-align: center; }
    .api-text p { text-align: center; }
    .api-features { align-items: flex-start; }
    .api-actions { justify-content: center; }
    .download-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .download-text h2 { text-align: center; }
    .app-checklist { max-width: 400px; margin-left: auto; margin-right: auto; }
    .download-buttons { justify-content: center; }
    .steps-grid::before { display: none; }
}

/* Mobile (768px) */
@media (max-width: 768px) {
    section { padding: 60px 0; }
    .container { padding: 0 16px; }

    /* NAV */
    nav.desktop-nav { display: none; }
    .header-actions { display: none; }
    .mobile-menu-btn { display: block; }

    /* HEADER — Give it breathing room on mobile */
    .header-container {
        padding: 20px 0;
        min-height: 72px;
    }
    .container { padding: 0 18px; }
    .logo-img {
        height: 44px;
        width: auto;
    }
    .mobile-menu-btn {
        font-size: 1.6rem;
        padding: 6px;
    }

    /* HERO */
    .hero { padding: 56px 0 44px; }
    .hero-badge { font-size: 0.72rem; padding: 6px 12px; }
    .hero h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
    .hero-desc { font-size: 0.95rem; }
    .hero-actions {
        display: flex;
        flex-direction: row;
        gap: 10px;
        justify-content: center;
        flex-wrap: nowrap;
        margin-bottom: 20px;
    }
    .hero-actions .btn {
        flex: 1;
        min-width: 0;
        padding: 13px 8px;
        font-size: 0.82rem;
    }
    .hero-store-row { justify-content: center; gap: 10px; }
    .hero-store-label { display: none; }
    .app-store-btn img, .google-play-btn img { height: 40px; }
    .hero-stats { gap: 20px; padding-top: 24px; margin-top: 28px; }
    .stat-value { font-size: 1.5rem; }

    /* TRUST BAR */
    .trust-bar { padding: 22px 0; }
    .marquee-wrapper { gap: 10px; }
    .trust-item { font-size: 0.82rem; gap: 6px; opacity: 0.8; }
    .trust-item i { font-size: 0.85rem; }

    /* GRIDS */
    .features-grid { grid-template-columns: 1fr; gap: 16px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

    /* SECTION HEADINGS */
    h2 { font-size: 1.7rem; }
    .section-subtitle { font-size: 0.92rem; margin-bottom: 36px; }

    /* API */
    .api-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .api-section { padding: 60px 0; }
    .api-text h2 { font-size: 1.7rem; text-align: center; }
    .api-text p { text-align: center; }
    .api-actions { justify-content: center; flex-wrap: wrap; }
    .api-actions .btn { flex: 1; min-width: 160px; justify-content: center; }
    .api-feature { text-align: left; }
    .api-features { align-items: flex-start; max-width: 480px; margin-left: auto; margin-right: auto; }
    .code-snippet { max-width: 100%; width: 100%; }
    .code-content { padding: 16px; }
    .code-content pre { font-size: 0.72rem; white-space: pre; overflow-x: auto; }

    /* CTA */
    .cta-section { padding: 60px 0; }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .cta-buttons .btn {
        width: 100%;
        max-width: 340px;
        justify-content: center;
    }

    /* DOWNLOAD */
    .download-text h2 { text-align: center; }
    .app-checklist { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto 28px; }
    .download-buttons { justify-content: center; }
    .download-visual { display: none; }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {
    .container { padding: 0 14px; }
    
    .hero-actions .btn { font-size: 0.78rem; padding: 12px 6px; }
    .app-store-btn img, .google-play-btn img { height: 36px; }

    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .service-card { padding: 20px 14px; }
    .service-icon { width: 52px; height: 52px; font-size: 1.3rem; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

    /* API small */
    .api-actions { flex-direction: column; align-items: center; }
    .api-actions .btn { width: 100%; max-width: 320px; }
    .code-content pre { font-size: 0.68rem; }

    .cta-buttons .btn { max-width: 320px; }

    .faq-card h3 { font-size: 0.88rem; }
}