/* ==========================================================================
   CSS Variables & Global Styles — Premium Dark Theme
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    /* Colors */
    --primary: #00ffcc;
    --primary-dim: #00d4aa;
    --primary-hover: #00e6b8;
    --primary-glow: rgba(0, 255, 204, 0.25);
    --primary-glow-sm: rgba(0, 255, 204, 0.12);
    --gold: #f59e0b;
    --gold-glow: rgba(245, 158, 11, 0.3);

    /* Backgrounds */
    --background: #030712;
    --foreground: #f1f5f9;
    --muted: #0d1424;
    --muted-foreground: #64748b;
    --card: rgba(15, 23, 42, 0.8);
    --border: rgba(255, 255, 255, 0.07);
    --border-accent: rgba(0, 255, 204, 0.2);

    /* Shadows */
    --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 20px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px var(--primary-glow);

    --radius: 0.75rem;
    --font-sans: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Ambient background glow */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 255, 204, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 80% 90%, rgba(99, 102, 241, 0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

body>* {
    position: relative;
    z-index: 1;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.bg-muted {
    background-color: var(--muted);
}

.text-primary {
    color: var(--primary);
}

.mt-auto {
    margin-top: auto;
}

/* ==========================================================================
   Typography
   ========================================================================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--foreground);
    line-height: 1.1;
}

.section-subtitle {
    text-align: center;
    color: var(--muted-foreground);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    font-family: inherit;
    padding: 0.55rem 1.2rem;
    border: 1px solid transparent;
    letter-spacing: 0.01em;
}

.btn-large {
    height: 3.25rem;
    padding: 0 2rem;
    font-size: 1rem;
    border-radius: calc(var(--radius) * 1.3);
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dim) 100%);
    color: #000;
    font-weight: 700;
    box-shadow: 0 4px 18px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--primary-glow);
    filter: brightness(1.06);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: var(--border);
    color: var(--foreground);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Download APK Button */
.btn-download-apk {
    background: linear-gradient(135deg, #1a8a3a 0%, #22c55e 100%);
    color: #ffffff;
    font-weight: 700;
    border: 1px solid rgba(61, 220, 132, 0.4);
    box-shadow: 0 4px 18px rgba(34, 197, 94, 0.3);
    animation: apk-pulse 2.8s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.btn-download-apk::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.btn-download-apk:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.55);
    filter: brightness(1.1);
}

.btn-download-apk:active {
    transform: translateY(0) scale(1);
}

@keyframes apk-pulse {
    0%, 100% { box-shadow: 0 4px 18px rgba(34, 197, 94, 0.3); }
    50%       { box-shadow: 0 4px 32px rgba(34, 197, 94, 0.65); }
}

.icon-bolt {
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.4));
}

/* ==========================================================================
   Logo
   ========================================================================== */
.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-text {
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: var(--foreground);
}

/* ==========================================================================
   Header Navbar
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid var(--border);
    background-color: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.header-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .header-actions .btn {
        padding: 0.4rem 0.75rem !important;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 5rem 0 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-container {
    max-width: 820px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Platform icons pill */
.platform-icons {
    display: flex;
    gap: 12px;
    align-items: center;
    background: rgba(255, 255, 255, 0.04) !important;
    padding: 8px 18px !important;
    border-radius: 50px !important;
    border: 1px solid var(--border) !important;
}

/* Accuracy badge */
.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    border: 1px solid var(--border-accent);
    background-color: rgba(0, 255, 204, 0.08);
    color: var(--primary);
    padding: 0.3rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0;
    box-shadow: 0 0 18px rgba(0, 255, 204, 0.2);
    animation: badge-glow 2.5s ease-in-out infinite;
    letter-spacing: 0.02em;
}

@keyframes badge-glow {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(0, 255, 204, 0.15);
    }

    50% {
        box-shadow: 0 0 28px rgba(0, 255, 204, 0.45);
    }
}

.hero-title {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: var(--foreground);
    animation: fadeUp 0.7s ease-out forwards;
}

/* Cyan gradient word effect */
.hero-title .highlight {
    background: linear-gradient(90deg, var(--primary), #60dfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--muted-foreground);
    margin-bottom: 2.5rem;
    max-width: 580px;
    opacity: 0;
    animation: fadeUp 0.7s ease-out 0.2s forwards;
    line-height: 1.7;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-proof {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--muted-foreground);
}

.stars {
    color: #f59e0b;
    font-size: 1.15rem;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

/* ==========================================================================
   Video / Demo Section
   ========================================================================== */
.video-section {
    padding: 1rem 0 5rem !important;
}

.video-section .container>div {
    border-radius: 20px !important;
    box-shadow: var(--shadow-md), 0 0 0 1px var(--border) !important;
    border: 1px solid var(--border-accent) !important;
    overflow: hidden;
}

/* ==========================================================================
   Stats Bar (NEW)
   ========================================================================== */
.stats-bar {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: 1rem 1.5rem;
    border-right: 1px solid var(--border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--muted-foreground);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

@media (max-width: 600px) {
    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
        min-width: 50%;
    }

    .stat-item:last-child {
        border-bottom: none;
    }
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-section {
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background: var(--card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.75rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 0% 0%, rgba(0, 255, 204, 0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-accent);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: white;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.bg-blue {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.bg-purple {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
}

.bg-orange {
    background: linear-gradient(135deg, #f97316, #c2410c);
}

.bg-green {
    background: linear-gradient(135deg, #10b981, #057a55);
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.feature-card p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */
.how-it-works-section {
    padding: 5rem 0;
    background: var(--muted);
    position: relative;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
}

@media (min-width: 640px) {
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .steps-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 2rem 1.5rem;
    position: relative;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: border-color 0.25s, transform 0.25s;
    backdrop-filter: blur(8px);
}

.step-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
}

.step-number {
    width: 2.75rem;
    height: 2.75rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dim));
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    margin: 0 auto 1.25rem;
    box-shadow: 0 0 18px var(--primary-glow);
}

.step-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.step-card p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ==========================================================================
   Installation Guide Section
   ========================================================================== */
.installation-section {
    padding: 5rem 0;
}

.installation-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .installation-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.install-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(8px);
    transition: border-color 0.25s, transform 0.25s;
}

.install-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-3px);
}

.install-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--foreground);
}

.install-card ol {
    padding-left: 1.4rem;
    color: var(--muted-foreground);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.install-card li {
    line-height: 1.6;
    font-size: 0.9rem;
}

.install-card code {
    background: rgba(0, 255, 204, 0.08);
    border: 1px solid var(--border-accent);
    color: var(--primary);
    padding: 0.15rem 0.45rem;
    border-radius: 0.35rem;
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
}

.install-card strong {
    color: var(--foreground);
    font-weight: 600;
}

/* ==========================================================================
   Reviews Section
   ========================================================================== */
.reviews-section {
    padding: 5rem 0;
    background: var(--muted);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.review-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.75rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    backdrop-filter: blur(8px);
    transition: border-color 0.25s, transform 0.25s;
}

.review-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Quote mark above review */
.review-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.15;
    line-height: 0;
    display: block;
    margin-bottom: 0.25rem;
    font-family: Georgia, serif;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.review-meta h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.2rem;
}

.review-meta .stars {
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.review-body {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    line-height: 1.7;
    font-style: italic;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-section {
    padding: 5rem 0;
}

.pricing-header {
    margin-bottom: 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1.4fr 2fr;
        align-items: start;
    }
}

.pricing-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(12px);
    transition: transform 0.25s, border-color 0.25s;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card.featured {
    border: 1.5px solid var(--border-accent);
    box-shadow: var(--shadow-soft), 0 0 40px rgba(0, 255, 204, 0.1);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.pricing-card.small {
    padding: 1.5rem;
    text-align: center;
}

.pricing-card.small:hover {
    border-color: var(--border-accent);
}

.card-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.price .amount {
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--primary);
    text-shadow: 0 0 25px var(--primary-glow);
}

.price .period {
    color: var(--muted-foreground);
    font-weight: 500;
}

.original-price {
    color: var(--muted-foreground);
    text-decoration: line-through;
    font-size: 0.875rem;
}

.inr-price {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.features-list {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--foreground);
}

/* Credits grid */
.credits-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.credits-container .pricing-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--foreground);
}

.credits-container .price {
    font-size: 1.6rem;
    font-weight: 800;
    justify-content: center;
    margin-bottom: 0.2rem;
    color: var(--primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border);
    padding: 4rem 0 2.5rem;
    background-color: var(--muted);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.brand-col .logo-area {
    margin-bottom: 1rem;
}

.footer-desc {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    max-width: 300px;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.copyright {
    color: var(--muted-foreground);
    font-size: 0.8rem;
    opacity: 0.7;
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--foreground);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-col a {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--primary);
}

/* ==========================================================================
   Fake Sales Toast
   ========================================================================== */
.fake-toast {
    position: fixed;
    bottom: -120px;
    left: 20px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-accent);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1000;
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 320px;
}

.fake-toast.show {
    bottom: 22px;
}

.toast-icon {
    width: 38px;
    height: 38px;
    background: rgba(0, 255, 204, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    border: 1px solid var(--border-accent);
}

.toast-content p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--foreground);
    font-weight: 500;
}

.toast-content span {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    display: block;
    margin-top: 0.2rem;
}

@media (max-width: 480px) {
    .fake-toast {
        left: 12px;
        right: 12px;
        max-width: none;
        padding: 0.85rem 1rem;
        bottom: -120px;
    }
}