/* ============================================================
   CarKro Marketing — Professional Redesign v2
   Design: Modern Mobility — Glassmorphism + Mesh Gradients
   ============================================================ */

/* ── Fonts ─────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Nastaliq+Urdu:wght@400;700&display=swap');

/* ── CSS Custom Properties ──────────────────────────────────── */
:root {
    /* Brand palette */
    --ck-blue:        #1565C0;
    --ck-blue-mid:    #1976D2;
    --ck-blue-light:  #42A5F5;
    --ck-blue-pale:   #E3F2FD;
    --ck-orange:      #F57C00;
    --ck-orange-dark: #E65100;
    --ck-orange-light:#FFA726;
    --ck-green:       #43A047;
    --ck-teal:        #00897B;
    --ck-navy:        #0A0E1A;
    --ck-navy-mid:    #0D1B2A;
    --ck-navy-card:   #111827;

    /* Gradient presets */
    --grad-hero:      linear-gradient(135deg, #0A0E1A 0%, #0D2137 50%, #091627 100%);
    --grad-blue:      linear-gradient(135deg, #1565C0, #1E88E5);
    --grad-orange:    linear-gradient(135deg, #F57C00, #E65100);
    --grad-green:     linear-gradient(135deg, #2E7D32, #43A047);
    --grad-teal:      linear-gradient(135deg, #00695C, #00897B);
    --grad-purple:    linear-gradient(135deg, #4527A0, #7B1FA2);
    --grad-mixed:     linear-gradient(135deg, #1565C0 0%, #43A047 100%);

    /* Light surface palette */
    --bg-body:        #F4F7FD;
    --bg-surface:     #FFFFFF;
    --bg-elevated:    #FFFFFF;
    --bg-subtle:      #F0F4FB;
    --bg-footer:      #050A14;

    /* Text */
    --text-primary:   #0D1B2A;
    --text-secondary: #4A5568;
    --text-muted:     #8898AA;
    --text-on-dark:   #FFFFFF;
    --text-on-dark-2: rgba(255,255,255,0.8);

    /* Borders & shadows */
    --border-color:   #E2E8F0;
    --shadow-xs:      0 1px 3px rgba(13,27,42,0.08);
    --shadow-sm:      0 4px 16px rgba(13,27,42,0.08);
    --shadow-md:      0 8px 32px rgba(13,27,42,0.12);
    --shadow-lg:      0 16px 48px rgba(13,27,42,0.16);
    --shadow-blue:    0 8px 32px rgba(21,101,192,0.3);
    --shadow-orange:  0 8px 32px rgba(245,124,0,0.35);

    /* Spacing */
    --section-pad:    96px 0;
    --section-pad-sm: 64px 0;

    /* Radius */
    --radius-sm:  8px;
    --radius-md:  16px;
    --radius-lg:  24px;
    --radius-xl:  32px;
    --radius-pill:9999px;
}

/* Dark theme override */
[data-theme="dark"] {
    --bg-body:        #0D1117;
    --bg-surface:     #161B27;
    --bg-elevated:    #1C2333;
    --bg-subtle:      #161B27;
    --bg-footer:      #030509;
    --text-primary:   #E2E8F0;
    --text-secondary: #94A3B8;
    --text-muted:     #64748B;
    --border-color:   #2D3748;
    --shadow-sm:      0 4px 16px rgba(0,0,0,0.3);
    --shadow-md:      0 8px 32px rgba(0,0,0,0.4);
    --ck-blue-pale:   rgba(21,101,192,0.15);
}

/* ── Base Reset ─────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

html, body {
    font-family: 'Inter', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── Glassmorphism Navbar ───────────────────────────────────── */
.ck-navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    background: transparent;
}

.ck-navbar.scrolled {
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}

.ck-navbar-light.scrolled {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.ck-nav-brand {
    font-size: 22px;
    font-weight: 800;
    background: var(--grad-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.3px;
    text-decoration: none;
    cursor: pointer;
}

.ck-nav-link {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.85) !important;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ck-nav-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.1);
}

/* ── MudBlazor AppBar Override ──────────────────────────────── */
.mud-appbar {
    transition: background-color 0.4s ease, box-shadow 0.4s ease !important;
}

/* ── Hero Section ───────────────────────────────────────────── */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--grad-hero);
    overflow: hidden;
    padding: 96px 0 80px;
}

/* Animated mesh orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orb-float 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-orb-1 {
    width: 520px; height: 520px;
    top: -120px; left: -100px;
    background: radial-gradient(circle, rgba(21,101,192,0.4), transparent 70%);
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 400px; height: 400px;
    top: 20%; right: -80px;
    background: radial-gradient(circle, rgba(67,160,71,0.25), transparent 70%);
    animation-delay: -3s;
}

.hero-orb-3 {
    width: 300px; height: 300px;
    bottom: -50px; left: 35%;
    background: radial-gradient(circle, rgba(245,124,0,0.2), transparent 70%);
    animation-delay: -5s;
}

@keyframes orb-float {
    0%, 100% { transform: translateY(0) scale(1); }
    33%       { transform: translateY(-30px) scale(1.05); }
    66%       { transform: translateY(20px) scale(0.97); }
}

/* Hero grid */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-illustration { display: none; }
    .hero-trust-row { justify-content: center !important; }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-pill);
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.hero-eyebrow-dot {
    width: 8px; height: 8px;
    background: var(--ck-orange-light);
    border-radius: 50%;
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.6; transform: scale(1.3); }
}

.hero-headline {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -0.03em;
    margin: 0 0 20px;
}

.hero-headline .gradient-word {
    background: linear-gradient(90deg, #60AFFF, #43E88A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtext {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-cta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-primary-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--grad-orange);
    color: #fff !important;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-orange);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary-hero::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.5s ease;
}

.btn-primary-hero:hover::after { left: 140%; }
.btn-primary-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(245,124,0,0.45);
}

.btn-outline-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    color: #fff !important;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.25);
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.btn-outline-hero:hover {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.hero-trust-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.trust-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    backdrop-filter: blur(8px);
}

.trust-chip-icon {
    font-size: 16px;
}

/* ── Stats Strip ─────────────────────────────────────────────── */
.stats-strip {
    background: var(--bg-surface);
    padding: 48px 0;
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.stat-item {
    text-align: center;
    padding: 24px 16px;
    border-right: 1px solid var(--border-color);
    position: relative;
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    background: var(--grad-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ── Section Common ──────────────────────────────────────────── */
.section {
    padding: var(--section-pad);
}

.section-sm {
    padding: var(--section-pad-sm);
}

.section-dark {
    background: var(--ck-navy);
}

.section-subtle {
    background: var(--bg-subtle);
}

.section-surface {
    background: var(--bg-surface);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ck-blue-mid);
    background: var(--ck-blue-pale);
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
}

[data-theme="dark"] .section-eyebrow {
    color: var(--ck-blue-light);
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-title-accent {
    position: relative;
    display: inline-block;
}

.section-title-accent::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 4px;
    background: var(--grad-blue);
    border-radius: 2px;
}

/* ── Feature Cards ───────────────────────────────────────────── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .feature-grid { grid-template-columns: 1fr; } }

.feature-card-v2 {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card-v2::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.feature-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(21,101,192,0.3);
}

.feature-card-v2:hover::before {
    transform: scaleX(1);
}

.feature-icon-wrap {
    width: 56px; height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 26px;
}

.icon-blue   { background: linear-gradient(135deg,#EBF3FF,#C7DFF7); color: #1565C0; }
.icon-orange { background: linear-gradient(135deg,#FFF3E0,#FFE0B2); color: #E65100; }
.icon-green  { background: linear-gradient(135deg,#E8F5E9,#C8E6C9); color: #2E7D32; }
.icon-teal   { background: linear-gradient(135deg,#E0F2F1,#B2DFDB); color: #00695C; }
.icon-purple { background: linear-gradient(135deg,#EDE7F6,#D1C4E9); color: #4527A0; }
.icon-pink   { background: linear-gradient(135deg,#FCE4EC,#F8BBD0); color: #880E4F; }

.feature-card-v2 h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.feature-card-v2 p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* ── How It Works ────────────────────────────────────────────── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
}

@media (max-width: 768px) {
    .steps-grid { grid-template-columns: 1fr; }
    .step-connector { display: none; }
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(16.67% + 28px);
    right: calc(16.67% + 28px);
    height: 2px;
    background: linear-gradient(90deg, var(--ck-blue-mid), var(--ck-green));
    border-radius: 1px;
}

@media (max-width: 768px) { .steps-grid::before { display: none; } }

.step-item {
    text-align: center;
    padding: 0 24px;
}

.step-number {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--grad-blue);
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-blue);
    position: relative;
    z-index: 1;
}

.step-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px;
}

.step-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* ── Service Cards ───────────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .services-grid { grid-template-columns: 1fr; } }

.service-card-v2 {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.service-card-v2:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(21,101,192,0.2);
    transform: translateY(-4px);
}

.service-icon-circle {
    width: 52px; height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
}

.service-card-v2 h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px;
}

.service-card-v2 p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.service-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    margin-top: 10px;
    letter-spacing: 0.05em;
}

.tag-new {
    background: #E8F5E9;
    color: #2E7D32;
}

/* ── Testimonials ────────────────────────────────────────────── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial-card-v2 {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card-v2:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.testimonial-quote-mark {
    font-size: 64px;
    line-height: 1;
    color: var(--ck-blue-pale);
    font-family: Georgia, serif;
    position: absolute;
    top: 12px; left: 24px;
    font-style: normal;
}

[data-theme="dark"] .testimonial-quote-mark {
    color: rgba(66,165,245,0.15);
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 32px 0 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.avatar-blue   { background: var(--grad-blue); }
.avatar-orange { background: var(--grad-orange); }
.avatar-green  { background: var(--grad-green); }

.testimonial-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 2px;
}

.testimonial-role {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

.star-row {
    display: flex;
    gap: 2px;
    color: #FFC107;
    font-size: 14px;
    margin-top: 4px;
}

/* ── App Download Section ────────────────────────────────────── */
.download-section {
    background: var(--ck-navy);
    padding: var(--section-pad);
    position: relative;
    overflow: hidden;
}

.download-section::before {
    content: '';
    position: absolute;
    top: -200px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(21,101,192,0.25), transparent 70%);
    border-radius: 50%;
}

.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 768px) {
    .download-grid { grid-template-columns: 1fr; text-align: center; }
    .download-btns { justify-content: center; }
}

.download-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ck-orange-light);
    margin-bottom: 16px;
}

.download-headline {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.download-subtext {
    font-size: 16px;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-bottom: 36px;
}

.download-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.store-btn:hover {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-2px);
    color: #fff;
}

.store-btn-icon {
    font-size: 28px;
    line-height: 1;
}

.store-btn-text-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    display: block;
}

.store-btn-text-main {
    font-size: 16px;
    font-weight: 700;
    display: block;
}

/* ── Final CTA Section ───────────────────────────────────────── */
.cta-section {
    background: var(--grad-orange);
    padding: 80px 0;
    text-align: center;
    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.05'%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-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.cta-btn-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn-cta-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ck-navy);
    color: #fff !important;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cta-dark:hover {
    background: var(--ck-navy-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    color: #fff !important;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cta-white:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* ── Footer ──────────────────────────────────────────────────── */
.ck-footer {
    background: var(--bg-footer);
    color: rgba(255,255,255,0.75);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    margin: 16px 0 24px;
    max-width: 280px;
}

.footer-social-row {
    display: flex;
    gap: 12px;
}

.footer-social-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    transition: all 0.2s ease;
}

.footer-social-btn:hover {
    background: var(--ck-blue-mid);
    border-color: var(--ck-blue-mid);
    color: #fff;
    transform: translateY(-2px);
}

.footer-col-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.9);
    margin: 0 0 20px;
}

.footer-links {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: rgba(255,255,255,0.9);
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin: 0;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom-left {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

.footer-bottom-right {
    display: flex;
    gap: 24px;
}

.footer-bottom-right a {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom-right a:hover {
    color: rgba(255,255,255,0.8);
}

/* ── Scroll Reveal Animations ────────────────────────────────── */
@keyframes ck-reveal {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* CSS-only animation — no JS required, works with Blazor hydration */
.reveal {
    animation: ck-reveal 0.65s ease both;
}

/* .visible kept for backward compat but not needed */
.reveal.visible { animation: none; opacity: 1; transform: none; }

.reveal-delay-1 { animation-delay: 0.10s; }
.reveal-delay-2 { animation-delay: 0.20s; }
.reveal-delay-3 { animation-delay: 0.30s; }
.reveal-delay-4 { animation-delay: 0.40s; }

/* ── Miscellaneous Utilities ─────────────────────────────────── */
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

.text-center { text-align: center; }
.text-white  { color: #fff !important; }

.plan-popular {
    border: 2px solid var(--ck-orange);
    position: relative;
}

.plan-popular::before {
    content: "POPULAR";
    position: absolute;
    top: -13px; right: 20px;
    background: var(--grad-orange);
    color: white;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    box-shadow: var(--shadow-orange);
}

/* ── MudBlazor Appbar Tweak ──────────────────────────────────── */
.ck-transparent-bar .mud-appbar {
    background: transparent !important;
    box-shadow: none !important;
}

/* ── Scrollbar ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(21,101,192,0.35); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--ck-blue-mid); }

/* ── RTL Support ─────────────────────────────────────────────── */
[dir="rtl"] { font-family: 'Noto Nastaliq Urdu', 'Inter', sans-serif; }
[dir="rtl"] .hero-grid { direction: rtl; }
[dir="rtl"] .section-title-accent::after { left: unset; right: 0; }
[dir="rtl"] .feature-card-v2::before { transform-origin: right; }

/* ── Driver/Rider Layout Sidebar ─────────────────────────────── */
.mud-nav-link {
    border-radius: var(--radius-sm) !important;
    margin: 2px 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

.mud-nav-link:hover {
    background: var(--ck-blue-pale) !important;
}

[data-theme="dark"] .mud-nav-link:hover {
    background: rgba(66,165,245,0.1) !important;
}

/* ── Responsive Section Padding ──────────────────────────────── */
@media (max-width: 768px) {
    :root {
        --section-pad: 64px 0;
        --section-pad-sm: 48px 0;
    }
    .section-header { margin-bottom: 40px; }
    .footer-grid { gap: 32px; }
}

/* ── Shared Legal Page Styles (Terms & Privacy) ──────────────── */
.legal-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    align-items: start;
}
.legal-toc { position: sticky; top: 88px; }
.legal-toc-inner {
    background: var(--bg-surface);
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 18px;
    padding: 22px 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
[data-theme="dark"] .legal-toc-inner { border-color: rgba(255,255,255,0.07); }
.legal-toc-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 14px;
}
.legal-toc-link {
    display: block;
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background 0.18s, color 0.18s;
    margin-bottom: 2px;
    line-height: 1.4;
}
.legal-toc-link:hover { background: rgba(21,101,192,0.08); color: #1565C0; }
.legal-section {
    padding-bottom: 48px;
    margin-bottom: 48px;
    border-bottom: 1px solid rgba(0,0,0,0.07);
}
[data-theme="dark"] .legal-section { border-bottom-color: rgba(255,255,255,0.07); }
.legal-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.legal-section-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.legal-section-num {
    font-size: 0.72rem;
    font-weight: 800;
    color: #1565C0;
    background: rgba(21,101,192,0.10);
    border-radius: 8px;
    padding: 4px 9px;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}
.legal-section-title { font-size: 1.35rem; font-weight: 700; color: var(--text-primary); margin: 0; }
.legal-section p { color: var(--text-secondary); line-height: 1.85; margin-bottom: 16px; font-size: 0.95rem; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-subsection { margin-bottom: 24px; }
.legal-subsection h3 { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
.legal-list { padding-left: 0; list-style: none; margin: 0 0 16px; }
.legal-list li {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.75;
    padding: 8px 0 8px 28px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    position: relative;
}
[data-theme="dark"] .legal-list li { border-bottom-color: rgba(255,255,255,0.04); }
.legal-list li:last-child { border-bottom: none; }
.legal-list li::before {
    content: '';
    position: absolute;
    left: 8px; top: 18px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #1565C0;
}
.legal-highlight-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 0.88rem;
    line-height: 1.65;
    margin-top: 20px;
}
.legal-highlight-box svg { flex-shrink: 0; margin-top: 1px; }
.legal-highlight-green { background: rgba(67,160,71,0.08); border: 1px solid rgba(67,160,71,0.2); color: var(--text-secondary); }
.legal-highlight-green svg { color: #43A047; }
.legal-highlight-blue { background: rgba(21,101,192,0.08); border: 1px solid rgba(21,101,192,0.2); color: var(--text-secondary); }
.legal-highlight-blue svg { color: #1565C0; }
.legal-highlight-orange { background: rgba(245,124,0,0.08); border: 1px solid rgba(245,124,0,0.2); color: var(--text-secondary); }
.legal-highlight-orange svg { color: #F57C00; }
.legal-table-wrap { overflow-x: auto; margin: 20px 0; border-radius: 14px; border: 1px solid rgba(0,0,0,0.08); }
[data-theme="dark"] .legal-table-wrap { border-color: rgba(255,255,255,0.08); }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.legal-table th {
    background: rgba(21,101,192,0.08);
    color: var(--text-primary);
    font-weight: 700;
    padding: 12px 16px;
    text-align: left;
    white-space: nowrap;
}
.legal-table td { padding: 11px 16px; color: var(--text-secondary); border-top: 1px solid rgba(0,0,0,0.05); vertical-align: top; }
[data-theme="dark"] .legal-table td { border-top-color: rgba(255,255,255,0.05); }
.legal-table tr:hover td { background: rgba(21,101,192,0.03); }
.legal-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.legal-contact-card { background: var(--bg-surface); border: 1px solid rgba(0,0,0,0.07); border-radius: 14px; padding: 18px 20px; }
[data-theme="dark"] .legal-contact-card { border-color: rgba(255,255,255,0.07); }
/* Privacy-specific use cards */
.legal-use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0; }
.legal-use-card { background: var(--bg-surface); border: 1px solid rgba(0,0,0,0.07); border-radius: 14px; padding: 18px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
[data-theme="dark"] .legal-use-card { border-color: rgba(255,255,255,0.07); }
.legal-use-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.legal-use-title { font-size: 0.88rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.legal-use-desc { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.55; }
@media (max-width: 900px) {
    .legal-layout { grid-template-columns: 1fr; }
    .legal-toc { display: none; }
    .legal-use-grid { grid-template-columns: repeat(2, 1fr); }
    .legal-contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .legal-use-grid { grid-template-columns: 1fr; }
    .legal-contact-grid { grid-template-columns: 1fr; }
}
