/* ==========================================================================
           1. CSS VARIABLES & RESET
           ========================================================================== */
:root {
    --bg-main: #0b1120;
    --bg-secondary: #0f172a;
    --card-bg: #1e293b;
    --card-hover: #253248;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-primary: #3b82f6;
    --accent-hover: #2563eb;
    --accent-green: #10b981;
    --accent-green-hover: #059669;
    --accent-red: #ef4444;
    --accent-yellow: #f59e0b;
    --accent-whatsapp: #25D366;
    --border-color: #334155;

    --font-sans: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --section-padding: 100px 5%;
    --border-radius: 16px;
    --border-radius-sm: 8px;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    /* FIXED: Stops mobile horizontal scrolling */
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    /* FIXED: Ensures no content runs off screen */
    -webkit-font-smoothing: antialiased;
    width: 100%;
}

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

ul {
    list-style: none;
}

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

code {
    font-family: var(--font-mono);
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--accent-yellow);
}

/* Fix for fixed navbar overlapping sections */
section[id] {
    scroll-margin-top: 90px;
}

/* ==========================================================================
           2. LIVE NETWORK CANVAS & BACKGROUND ORBS
           ========================================================================== */
#network-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.3;
    animation: floatOrb 10s infinite alternate ease-in-out;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(59, 130, 246, 0.2);
}

.orb-2 {
    top: 40%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(16, 185, 129, 0.15);
    animation-delay: -5s;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

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

    100% {
        background-position: 200% center;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseBorder {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

@keyframes blink {
    50% {
        opacity: 0.5;
    }
}

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

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

/* ==========================================================================
           3. NAVBAR & SCROLL SPY (FIXED ANIMATION)
           ========================================================================== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(11, 17, 32, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
    transition: var(--transition-normal);
}

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

.logo-img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    border-radius: 8px;
}

.logo span {
    color: var(--accent-primary);
}

/* Desktop Nav */
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a.nav-link {
    position: relative;
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
    padding-bottom: 5px;
}

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

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

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

.nav-btn {
    background: var(--accent-green);
    color: #000 !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    transition: 0.3s;
}

.nav-btn:hover {
    background: var(--accent-green-hover);
    color: #fff !important;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
    padding: 5px;
}

/* ==========================================================================
           4. HERO SECTION
           ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 160px 20px 80px;
    position: relative;
}

.hero-badge {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--accent-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    animation: slideUp 0.8s ease-out;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: blink 1s infinite alternate;
    box-shadow: 0 0 8px var(--accent-green);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    max-width: 1000px;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    animation: slideUp 0.8s ease-out 0.1s backwards;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 40px;
    animation: slideUp 0.8s ease-out 0.2s backwards;
}

.cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
    animation: slideUp 0.8s ease-out 0.3s backwards;
    width: 100%;
    max-width: 600px;
}

.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background: var(--accent-primary);
    color: #fff;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.5);
}

.shimmer {
    background-image: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    background-size: 200% 100%;
    animation: shimmer 3s infinite linear;
}

.btn-whatsapp {
    background: var(--accent-whatsapp);
    color: #fff;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #1fa855;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.trust-signals {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.trust-signals span {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.trust-signals span i {
    color: var(--accent-green);
}

.hero-image-wrapper {
    width: 100%;
    max-width: 1100px;
    position: relative;
    perspective: 1000px;
    padding: 0 10px;
}

.hero-image-placeholder {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    display: block;
    position: relative;
    overflow: hidden;
    transform: rotateX(5deg);
    transition: var(--transition-slow);
}

.hero-image-placeholder:hover {
    transform: rotateX(0deg) scale(1.02);
}

.hero-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.hero-image-placeholder video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

/* ==========================================================================
           5. STATS BAR
           ========================================================================== */
.stats-bar {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background: var(--bg-secondary);
    padding: 40px 5%;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number span {
    color: var(--accent-primary);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
           6. CORE FEATURES GRID
           ========================================================================== */
.features {
    padding: var(--section-padding);
    background: var(--bg-main);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 10px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    padding: 32px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100% 0%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition-normal);
    pointer-events: none;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--accent-primary);
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
           7. DEEP DIVE SECTIONS
           ========================================================================== */
.deep-dive {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.deep-dive-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.deep-dive-container.reverse {
    flex-direction: row-reverse;
}

.deep-dive-content {
    flex: 1;
}

.deep-dive-content .badge {
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
}

.deep-dive-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.deep-dive-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.deep-dive-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-main);
    font-size: 0.95rem;
}

.deep-dive-list i {
    color: var(--accent-green);
    margin-top: 4px;
}

.deep-dive-image {
    flex: 1;
    width: 100%;
    min-width: 0;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.deep-dive-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* ==========================================================================
           8. COMPREHENSIVE FEATURE LIST
           ========================================================================== */
.all-features {
    padding: var(--section-padding);
    background: var(--bg-main);
}

.features-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.list-item {
    background: var(--card-bg);
    padding: 16px 20px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.list-item:hover {
    background: var(--card-hover);
    border-color: var(--accent-primary);
}

.list-item i {
    color: var(--accent-primary);
    width: 20px;
    text-align: center;
}

/* ==========================================================================
           9. HOW IT WORKS SECTION
           ========================================================================== */
.how-it-works {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

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

.step-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-main);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--accent-primary);
    margin: 0 auto 20px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
    transition: var(--transition-normal);
}

.step-item:hover .step-icon {
    background: var(--accent-primary);
    color: #fff;
    transform: scale(1.1);
}

.step-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.step-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.step-connector {
    flex: 1;
    height: 2px;
    background: dashed 2px var(--border-color);
    border-top: 2px dashed var(--border-color);
    margin-top: 35px;
    z-index: 1;
    max-width: 100px;
}

/* ==========================================================================
           10. PRICING SECTION
           ========================================================================== */
.pricing {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--bg-main) 0%, #060a14 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    position: relative;
    text-align: center;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.pricing-card.popular {
    border: 2px solid var(--accent-primary);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
    min-height: 40px;
}

.price-wrap {
    margin-bottom: 30px;
}

.old-price {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 5px;
}

.new-price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent-green);
    line-height: 1;
}

.new-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-features {
    text-align: left;
    margin-bottom: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.pricing-features li i {
    color: var(--accent-green);
}

.guarantee-banner {
    max-width: 900px;
    margin: 40px auto 0;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--border-radius);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.guarantee-icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.guarantee-banner h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-main);
}

.guarantee-banner p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
           11. PAYMENT METHODS SECTION (ANIMATED)
           ========================================================================== */
.payments {
    padding: var(--section-padding);
    background: var(--bg-main);
    border-top: 1px solid var(--border-color);
}

.payments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto 40px;
    perspective: 1000px;
}

.payment-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    transform-style: preserve-3d;
}

.payment-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.premium-card {
    border-color: var(--accent-primary);
    animation: pulseBorder 3s infinite;
    overflow: hidden;
}

.premium-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.payment-card.premium-card:hover::after {
    left: 125%;
}

.badge-instant {
    display: inline-block;
    margin-top: 10px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.pulse-anim {
    animation: blink 2s infinite alternate;
}

.wa-card {
    border-color: rgba(37, 211, 102, 0.3);
}

.wa-card:hover {
    border-color: var(--accent-whatsapp);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.2);
}

.wa-card p {
    color: var(--accent-whatsapp);
    font-weight: 600;
}

.wa-link-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.2rem;
    color: var(--accent-whatsapp);
    opacity: 0.5;
    transition: var(--transition-fast);
}

.wa-card:hover .wa-link-icon {
    opacity: 1;
    transform: scale(1.2) rotate(15deg);
}

.payment-icon {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.payment-icon img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

.payment-icon i {
    font-size: 2.5rem;
}

.payment-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.payment-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.card-icons {
    gap: 10px;
}

.card-icons i {
    font-size: 2.5rem;
    transition: transform 0.3s ease;
}

.payment-card:hover .fa-cc-visa,
.payment-card:hover .fa-cc-mastercard {
    transform: scale(1.1) translateZ(20px);
}

.payment-security {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--border-radius-sm);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.payment-security i {
    color: var(--accent-green);
    font-size: 2rem;
    flex-shrink: 0;
}

.payment-security p {
    color: var(--text-main);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
           12. FAQ & DEVELOPER SECTIONS
           ========================================================================== */
.faq {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

details {
    background: var(--card-bg);
    margin-bottom: 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

summary {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-primary);
    font-weight: 300;
    transition: var(--transition-fast);
}

details[open] summary {
    border-bottom: 1px solid var(--border-color);
}

details[open] summary::after {
    content: '-';
}

summary:hover {
    background: var(--card-hover);
}

.faq-content {
    padding: 20px 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.developer {
    padding: var(--section-padding);
    background: var(--bg-main);
    position: relative;
    overflow: hidden;
}

.developer::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.dev-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.dev-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 48px;
    display: flex;
    gap: 48px;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.dev-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at 100% 0%, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.dev-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.dev-avatar-wrap {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.dev-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-green));
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.3);
    animation: pulse-glow 3s infinite;
}

.dev-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-secondary);
}

.dev-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--accent-green);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.dev-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.dev-info h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.dev-role {
    color: var(--accent-primary) !important;
    font-weight: 600;
    font-size: 1rem !important;
    margin-bottom: 20px !important;
}

.dev-bio {
    color: var(--text-muted) !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
    margin-bottom: 24px !important;
}

.dev-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: var(--text-main);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.skill-tag i {
    color: var(--accent-primary);
    font-size: 0.9rem;
}

.skill-tag:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.dev-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.dev-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.dev-link i {
    color: var(--accent-primary);
    font-size: 1.1rem;
}

.dev-link:hover {
    color: var(--text-main);
    transform: translateX(3px);
}

.dev-link:hover i {
    color: var(--accent-green);
}

.dev-address {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: default;
}

.dev-address i {
    color: var(--accent-primary);
    font-size: 1.1rem;
}

.dev-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.dev-stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 24px;
    text-align: center;
    transition: var(--transition-fast);
}

.dev-stat-card:hover {
    border-color: var(--accent-primary);
    background: var(--card-hover);
    transform: translateY(-3px);
}

.dev-stat-card i {
    color: var(--accent-primary);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.dev-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
    margin-bottom: 4px;
}

.dev-stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ==========================================================================
           13. FOOTER & FIXED COMPANY INFO
           ========================================================================== */
footer {
    background: #060a14;
    padding: 60px 5% 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.company-info {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-primary);
    border-radius: var(--border-radius-sm);
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition-normal);
    width: 100%;
}

.company-info:hover {
    background: rgba(30, 41, 59, 0.7);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.company-info h4 {
    margin-bottom: 16px;
    color: var(--text-main);
    font-size: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.company-name-title {
    color: var(--text-main) !important;
    font-size: 1.15rem !important;
    font-weight: 800;
    display: block;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.company-trading-as {
    font-size: 0.75rem;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    display: block;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border-color);
}

.company-info ul li {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
    transition: var(--transition-fast);
    width: 100%;
}

.company-info ul li:hover {
    color: var(--text-main);
}

.company-info ul li:last-child {
    margin-bottom: 0;
}

.company-info ul li i {
    color: var(--accent-primary);
    margin-top: 4px;
    width: 16px;
    text-align: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.company-info ul li span {
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* ==========================================================================
           14. STICKY BOTTOM CTA BAR & SAFE AREA
           ========================================================================== */
.sticky-cta {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--accent-primary);
    padding: 15px 5%;
    z-index: 999;
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    /* FIXED: Respects phone notch/home bar safe area */
    padding-bottom: calc(15px + env(safe-area-inset-bottom));
}

.sticky-cta.show {
    bottom: 0;
}

.sticky-cta-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.sticky-cta-text strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-main);
}

.sticky-cta-text span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.sticky-cta-text b {
    color: var(--accent-green);
}

/* FIXED: Adds bottom spacing globally so footer is never covered */
body {
    padding-bottom: 80px;
}

/* ==========================================================================
           15. LEGAL PAGES (PRIVACY & TERMS)
           ========================================================================== */
.legal-page {
    padding: 160px 5% 80px;
    background: var(--bg-main);
    min-height: 100vh;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.legal-container h1 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: -1px;
}

.legal-container .last-updated {
    color: var(--accent-primary);
    font-size: 0.9rem;
    margin-bottom: 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal-container h2 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin: 40px 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
}

.legal-container h3,
.legal-container h4 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin: 25px 0 10px;
    font-weight: 600;
}

.legal-container p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-container ul {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 20px;
}

.legal-container li {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.legal-container a {
    color: var(--accent-primary);
    text-decoration: underline;
    transition: var(--transition-fast);
}

.legal-container a:hover {
    color: var(--accent-hover);
}

/* ==========================================================================
           16. MOBILE RESPONSIVENESS (FULLY FIXED)
           ========================================================================== */
@media (max-width: 992px) {

    /* FIXED: Mobile Menu uses hardware acceleration (translateY) instead of 'left' */
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-main);
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);

        /* Animation Hardware Acceleration */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
        will-change: transform, opacity;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .hamburger {
        display: block;
    }

    .deep-dive-container,
    .deep-dive-container.reverse {
        flex-direction: column;
        gap: 40px;
    }

    .hero-image-placeholder {
        height: auto;
    }

    .deep-dive-image {
        height: auto;
    }
}

@media (max-width: 768px) {

    /* Typography & Spacing */
    :root {
        --section-padding: 60px 5%;
    }

    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: -1px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* Hero Buttons Stacking */
    .cta-group {
        flex-direction: column;
        width: 100%;
        padding: 0 10px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 1rem;
    }

    /* Layout Stacking */
    .stats-bar {
        flex-direction: column;
        gap: 20px;
        padding: 30px 5%;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .payments-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    /* How It Works Timeline Mobile */
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .step-connector {
        display: none;
    }

    .step-item {
        margin-bottom: 10px;
    }

    /* Sticky Bar Mobile */
    .sticky-cta-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .sticky-cta .btn {
        width: 100%;
    }

    /* Developer & Info Cards */
    .dev-card {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
    }

    .dev-avatar-wrap {
        align-self: center;
        margin-bottom: 20px;
    }

    .dev-contact,
    .dev-skills {
        justify-content: center;
    }

    .dev-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Misc */
    .new-price {
        font-size: 2.8rem;
    }

    .payment-security {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 20px;
    }

    .guarantee-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    /* Company Info Mobile Adjustments */
    .company-info {
        text-align: left;
        margin: 0 auto;
        max-width: 100%;
    }

    /* Legal Pages Mobile */
    .legal-page {
        padding: 120px 15px 50px;
    }

    .legal-container {
        padding: 30px 20px;
    }

    .legal-container h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .dev-stats-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.9rem;
    }
}

/* ==========================================================================
   FINAL MOBILE OVERRIDES (NO GAPS, NO OVERLAPS)
   ========================================================================== */
@media (max-width: 768px) {

    /* 1. Remove side gaps from the entire page */
    :root {
        --section-padding: 60px 15px;
        /* Reduced side padding to hug the walls */
    }

    .hero,
    .features,
    .deep-dive,
    .all-features,
    .how-it-works,
    .pricing,
    .payments,
    .faq,
    .developer,
    footer {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* 2. Make Hero Buttons fill the width */
    .cta-group {
        padding: 0 !important;
        /* Removes the old 10px gap */
        width: 100%;
    }

    .btn {
        width: 100%;
        border-radius: 8px;
        /* Slightly sharper corners for mobile */
    }

    /* 3. Fix Pricing Cards side gaps */
    .pricing-grid,
    .grid,
    .payments-grid,
    .features-list-grid {
        width: 100% !important;
        padding: 0 !important;
    }

    .pricing-card,
    .feature-card,
    .payment-card {
        padding: 30px 20px !important;
        /* Hug the walls tighter */
    }

    /* 4. Fix Sticky Bar Overlap */
    .sticky-cta {
        padding: 10px 15px !important;
        /* Make the bar slimmer */
        padding-bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    }

    .sticky-cta-content {
        gap: 8px !important;
    }

    .sticky-cta-text strong {
        font-size: 1rem !important;
    }

    .sticky-cta-text span {
        font-size: 0.8rem !important;
    }

    .sticky-cta .btn {
        padding: 10px 20px !important;
        /* Smaller button inside sticky bar */
        font-size: 0.95rem !important;
    }

    /* 5. THE MOST IMPORTANT FIX: Add extra padding to body so footer is NEVER hidden */
    body {
        padding-bottom: 130px !important;
    }

    /* Footer text align */
    .footer-bottom {
        padding-bottom: 20px;
    }
}

/* Ensure images never overflow their containers */
img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   MOBILE PERFORMANCE OPTIMIZATION (Fixes Lag)
   ========================================================================== */
@media (max-width: 992px) {

    /* Disable heavy backdrop blur on mobile phones */
    nav {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(11, 17, 32, 0.98) !important;
    }

    .sticky-cta {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: #0f172a !important;
    }

    /* Lighten the background blurs so the phone doesn't stutter while scrolling */
    .bg-orb {
        filter: blur(40px) !important;
    }

    /* Force hardware acceleration for smooth scrolling */
    .hero-image-placeholder,
    .pricing-card,
    .payment-card,
    .sticky-cta {
        will-change: transform;
        transform: translateZ(0);
    }
}

/* ==========================================================================
   NEW: FULLSCREEN LIGHTBOX & MEDIA HOVER EFFECTS
   ========================================================================== */

/* 1. Make media look clickable */
.clickable-media {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clickable-media:hover {
    transform: scale(1.01);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.4) !important;
}

/* 2. Play icon overlay for videos */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(11, 17, 32, 0.7);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.hero-image-placeholder:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* 3. Demo Section Layout */
.demo-section {
    background: var(--bg-secondary);
}

.demo-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.demo-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: inherit;
}

.demo-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 17, 32, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

.demo-container:hover .demo-play-overlay {
    background: rgba(11, 17, 32, 0.2);
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--accent-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.demo-container:hover .play-button {
    transform: scale(1.1);
    background: var(--accent-hover);
}

/* 4. The Lightbox Modal */
.lightbox {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox img,
.lightbox video {
    max-width: 95%;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10000;
    line-height: 1;
}

.close-lightbox:hover {
    color: var(--accent-primary);
}

/* Mobile adjustments for lightbox */
@media (max-width: 768px) {
    .close-lightbox {
        top: 15px;
        right: 20px;
        font-size: 30px;
    }
}