/* Product Page Styles */
:root {
    --bg-primary: #080808;
    --bg-secondary: #0d0d0d;
    --bg-card: #111111;
    --bg-card-hover: #161616;
    --accent-cyan: #4f8ef5;
    --accent-purple: #2563eb;
    --accent-gradient: linear-gradient(135deg, #6ba3f7 0%, #4f8ef5 50%, #2563eb 100%);
    --accent-glow: rgba(79, 142, 245, 0.5);
    --text-primary: #ffffff;
    --text-secondary: #9a9aaa;
    --border-color: rgba(255,255,255,.07);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(79, 142, 245, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(37, 99, 235, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
    background: var(--accent-gradient);
    border-radius: 10px;
}

/* Navbar */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: padding 0.4s ease;
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 32px;
    background: rgba(8,8,8,0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 999px;
    padding: 10px 20px;
    transition: all 0.4s ease;
}
.nav.scrolled { padding: 10px 0; }
.nav.scrolled .nav-inner {
    background: rgba(8,8,8,0.92);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.brand-name {
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.5px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    flex: 1;
}
.nav-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.btn-nav-ghost {
    padding: 7px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    background: transparent;
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}
.btn-nav-ghost:hover { border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-nav-primary {
    padding: 7px 16px;
    border-radius: 8px;
    border: none;
    background: #4f8ef5;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.btn-nav-primary:hover { background: #3a7ae8; transform: translateY(-1px); }
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
    margin-left: auto;
}
.hamburger span {
    width: 22px; height: 2px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Legacy .navbar alias for product page HTML */
.navbar { all: unset; }

/* Hero Section */
.hero { isolation: isolate;
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px;
    text-align: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,8,8,.5) 0%, rgba(8,8,8,.68) 55%, var(--bg-primary) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-image {
    position: absolute;
    inset: -24px;
    width: calc(100% + 48px);
    height: calc(100% + 48px);
    object-fit: cover;
    object-position: center;
    filter: blur(8px);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
}
.product-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(79, 142, 245, 0.15);
    border: 1px solid rgba(79, 142, 245, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.product-badge.free {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.badge-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: #fff;
}

.hero p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* Screenshots Section */
.screenshots-section {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 22px;
    border: 1px solid var(--border-color);
}

.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title svg {
    width: 24px;
    height: 24px;
    color: var(--accent-cyan);
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.screenshot-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/9;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.screenshot-item:hover {
    border-color: var(--accent-cyan);
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(79, 142, 245, 0.2);
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.screenshot-item.main {
    grid-column: span 2;
}

.screenshot-item.placeholder {
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.screenshot-item.placeholder:hover {
    border-color: transparent;
    transform: none;
    box-shadow: none;
}

.placeholder-content {
    text-align: center;
    color: var(--text-secondary);
}

.placeholder-content svg {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Purchase Card */
.purchase-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border-color);
    position: sticky;
    top: 80px;
}

.price-display {
    text-align: center;
    margin-bottom: 25px;
}

.price-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.price {
    font-size: 2.4rem;
    font-weight: 900;
    color: #4f8ef5;
}

.price-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

.price-old {
    text-decoration: line-through;
    color: var(--text-secondary);
    font-size: 1.5rem;
    margin-right: 10px;
    opacity: 0.6;
    -webkit-text-fill-color: var(--text-secondary);
}

/* Countdown Timer */
.countdown-wrapper {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.13) 0%, rgba(234, 179, 8, 0.06) 100%);
    border: 1px solid rgba(234, 179, 8, 0.3);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.countdown-label {
    font-size: 0.8rem;
    color: #eab308;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #eab308;
    min-width: 50px;
}

.countdown-unit {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.countdown-separator {
    font-size: 1.8rem;
    font-weight: 800;
    color: #eab308;
    line-height: 1.2;
}

/* Purchase Buttons - Enhanced */
.purchase-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #6ba3f7 0%, #4f8ef5 50%, #2563eb 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(79, 142, 245, 0.25);
}

.purchase-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.purchase-btn:hover::before {
    left: 100%;
}

.purchase-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 142, 245, 0.4);
}

.purchase-btn:active {
    transform: translateY(0);
}

.purchase-btn svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.purchase-btn:hover svg {
    transform: scale(1.05);
}

/* Free Button */
.purchase-btn.free-btn {
    background: transparent;
    border: 2px solid rgba(34, 197, 94, 0.5);
    color: #4ade80;
    box-shadow: none;
}

.purchase-btn.free-btn:hover {
    background: rgba(34, 197, 94, 0.1);
    border-color: #4ade80;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.2);
}

/* Secondary Button - Outline */
.purchase-btn.secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    box-shadow: none;
}

.purchase-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    box-shadow: none;
}

.features-list {
    list-style: none;
    margin-top: 25px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: none;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.features-list li svg {
    width: 18px;
    height: 18px;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

/* Video Section */
.video-section {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 22px;
    border: 1px solid var(--border-color);
    margin-top: 30px;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--text-secondary);
}

.video-placeholder svg {
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* Description Section */
.description-section {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 22px;
    border: 1px solid var(--border-color);
    margin-top: 30px;
}

.description-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.description-content h3 {
    color: var(--text-primary);
    font-weight: 700;
    margin: 25px 0 15px;
    font-size: 1.1rem;
}

.description-content h3:first-child {
    margin-top: 0;
}

.description-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.description-content li {
    margin-bottom: 8px;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 50px;
    color: #22c55e;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.status-badge.offline {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.status-badge.dev {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Payment Modal */
.payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.payment-modal.active {
    display: flex;
}

.payment-modal-content {
    background: linear-gradient(180deg, #1a1a24 0%, #14141c 100%);
    border-radius: 24px;
    padding: 40px;
    max-width: 420px;
    width: 100%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.payment-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.payment-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.payment-modal-icon {
    width: 60px;
    height: 60px;
    background: rgba(79, 142, 245, 0.12);
    border: 1px solid rgba(79, 142, 245, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #4f8ef5;
}

.payment-modal-icon svg {
    color: inherit;
}

.payment-modal-title {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -.01em;
    text-align: center;
    margin-bottom: 24px;
    color: #fff;
}

.payment-option {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 12px;
    transition: background .2s ease, border-color .2s ease;
}

.payment-option:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.payment-option:last-child {
    margin-bottom: 0;
}

.payment-option-header {
    margin-bottom: 14px;
}

.payment-option-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.payment-option-header p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.payment-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 24px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.payment-btn svg { flex-shrink: 0; }
.payment-btn:hover { transform: translateY(-1px); }

.payment-btn.card-btn {
    background: #4f8ef5;
    color: #fff;
}

.payment-btn.card-btn:hover {
    background: #2563eb;
}

.payment-btn.crypto-btn {
    background: rgba(247, 147, 26, 0.12);
    border-color: rgba(247, 147, 26, 0.35);
    color: #f7931a;
}

.payment-btn.crypto-btn:hover {
    background: rgba(247, 147, 26, 0.2);
    border-color: rgba(247, 147, 26, 0.55);
}

.payment-option-tag {
    display: inline-block; padding: 3px 10px; border-radius: 8px; font-size: 0.65rem;
    font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
    background: rgba(34, 197, 94, 0.15); border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ade80; margin-left: 8px; vertical-align: middle;
}

.payment-btn.support-btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.13);
    color: #f4f4f7;
}

.payment-btn.support-btn:hover {
    background: rgba(255, 255, 255, 0.09);
}

/* Tier Selection Modal */
.tier-modal-content {
    background: linear-gradient(180deg, #1a1a24 0%, #14141c 100%);
    border-radius: 24px;
    padding: 40px;
    max-width: 820px;
    width: 100%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}

.tier-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.tier-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tier-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(79, 142, 245, 0.15);
}

.tier-card-featured {
    border-color: rgba(79, 142, 245, 0.4);
    background: rgba(79, 142, 245, 0.05);
}

.tier-card-featured:hover {
    box-shadow: 0 12px 40px rgba(79, 142, 245, 0.25);
}

.tier-card-upgrade {
    border-color: rgba(168, 85, 247, 0.3);
    background: rgba(168, 85, 247, 0.05);
}

.tier-card-upgrade:hover {
    border-color: #a855f7;
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.2);
}

.tier-card-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.tier-card-badge.featured {
    background: linear-gradient(135deg, rgba(79, 142, 245, 0.2), rgba(37, 99, 235, 0.2));
    border-color: rgba(79, 142, 245, 0.4);
    color: var(--accent-cyan);
}

.tier-card-badge.upgrade {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(139, 92, 246, 0.2));
    border-color: rgba(168, 85, 247, 0.4);
    color: #a855f7;
}

.tier-card-upgrade-note {
    font-size: 0.75rem;
    color: #a855f7;
    margin-top: 8px;
    margin-bottom: 4px;
    font-weight: 500;
}

.tier-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 14px 0 12px;
}

.tier-card-price {
    margin-bottom: 16px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.tier-price-old {
    font-size: 1rem;
    color: var(--text-secondary);
    text-decoration: line-through;
    opacity: 0.5;
}

.tier-price-current {
    font-size: 2rem;
    font-weight: 800;
    color: #4f8ef5;
}

.tier-card-upgrade .tier-price-current {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tier-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    width: 100%;
    flex-grow: 1;
}

.tier-card-features li {
    padding: 6px 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.tier-card-features li:last-child {
    border-bottom: none;
}

.tier-card-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #6ba3f7 0%, #4f8ef5 50%, #2563eb 100%);
    border-radius: 10px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.tier-card:hover .tier-card-btn {
    box-shadow: 0 4px 15px rgba(79, 142, 245, 0.3);
}

.tier-card-upgrade .tier-card-btn {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    color: #fff;
}

.tier-card-upgrade:hover .tier-card-btn {
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

@media (max-width: 480px) {
    .payment-modal-content {
        padding: 25px 20px;
    }

    .payment-modal-title {
        font-size: 1.25rem;
    }
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 60px 0 0;
    margin-top: 80px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-brand-name {
    font-size: 1.3rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}
.footer-tag {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
    margin-bottom: 20px;
}
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.35);
    margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-bottom-links {
    display: flex;
    gap: 20px;
}
.footer-bottom-links a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* Hamburger Menu */
.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 1001;
}
.hamburger-btn span {
    width: 24px;
    height: 2px;
    background: #4f8ef5;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .purchase-card {
        position: static;
    }
}

@media (max-width: 768px) {
    /* Navbar */
    .navbar {
        padding: 12px 16px;
    }

    .hamburger-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding: 24px 20px;
        gap: 4px;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-links.mobile-open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 14px 20px !important;
        font-size: 1rem !important;
        color: rgba(255, 255, 255, 0.8) !important;
        border-radius: 10px;
    }

    .nav-links a:hover {
        background: rgba(79, 142, 245, 0.1);
    }

    /* Hero */
    .hero { isolation: isolate;
        min-height: 45vh;
        padding: 90px 16px 40px;
    }

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

    .hero p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .badge-group {
        gap: 6px;
        margin-bottom: 14px;
    }

    .product-badge {
        padding: 6px 14px;
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }

    /* Main Content */
    .main-content {
        padding: 0 14px 60px;
    }

    .content-grid {
        gap: 24px;
    }

    /* Screenshots */
    .screenshots-section {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .screenshot-gallery {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .screenshot-item.main {
        grid-column: span 1;
    }

    /* Section Titles */
    .section-title {
        font-size: 1.1rem;
        margin-bottom: 18px;
    }

    /* Purchase Card */
    .purchase-card {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .price {
        font-size: 2.5rem;
    }

    .price-old {
        font-size: 1.2rem;
    }

    .countdown-value {
        font-size: 1.4rem;
        min-width: 40px;
    }

    .countdown-separator {
        font-size: 1.4rem;
    }

    /* Buttons - Larger touch targets */
    .purchase-btn {
        padding: 16px 24px;
        font-size: 0.9rem;
        border-radius: 12px;
        min-height: 50px;
    }

    .features-list li {
        padding: 12px 0;
        font-size: 0.9rem;
    }

    /* Video */
    .video-section {
        padding: 20px 16px;
        border-radius: 16px;
        margin-top: 24px;
    }

    /* Description */
    .description-section {
        padding: 20px 16px;
        border-radius: 16px;
        margin-top: 24px;
    }

    .description-content h3 {
        font-size: 1rem;
        margin: 20px 0 12px;
    }

    .description-content p,
    .description-content li {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    /* Payment Modal */
    .payment-modal {
        padding: 12px;
    }

    .payment-modal-content {
        padding: 28px 18px;
        border-radius: 18px;
    }

    .payment-modal-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .payment-modal-icon {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        margin-bottom: 18px;
    }

    .payment-modal-icon svg {
        width: 26px;
        height: 26px;
    }

    .payment-option {
        padding: 16px;
        border-radius: 12px;
        margin-bottom: 10px;
    }

    .payment-btn {
        padding: 14px 20px;
        min-height: 48px;
        font-size: 0.9rem;
        border-radius: 10px;
    }

    /* Tier Modal */
    .tier-modal-content {
        padding: 24px 14px;
        border-radius: 18px;
    }

    .tier-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tier-card {
        padding: 22px 18px;
    }

    .tier-card-btn {
        padding: 14px;
        min-height: 48px;
        font-size: 0.9rem;
    }

    .tier-price-current {
        font-size: 1.8rem;
    }

    /* Lightbox */
    .lightbox {
        padding: 16px;
    }

    .lightbox-close {
        top: 12px;
        right: 16px;
        font-size: 1.6rem;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }

    /* Footer */
    .footer {
        padding: 30px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 380px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .price {
        font-size: 2rem;
    }

    .countdown-value {
        font-size: 1.2rem;
        min-width: 34px;
    }

    .countdown-separator {
        font-size: 1.2rem;
    }

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

    .tier-price-current {
        font-size: 1.5rem;
    }

    .payment-modal-title {
        font-size: 1.05rem;
    }
}

/* ---- Native banner slot -------------------------------------------------
   The ad network injects into #container-…; it needs a real block with width
   to render into. Previously the container sat bare after </footer>, where it
   had no box to fill and was effectively invisible. */
.scooby-ad-slot {
    width: min(970px, calc(100% - 40px));
    margin: 56px auto;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    background: rgba(255, 255, 255, .02);
}

.scooby-ad-slot > span {
    display: block;
    margin-bottom: 10px;
    color: #6c6c7c;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-align: center;
    text-transform: uppercase;
}

/* Let the injected markup size itself - no centring shrink-wrap, no clipping. */
.scooby-ad-slot > div { display: block; width: 100%; min-height: 90px; }

/* Compact payment chooser, scoped separately from the plan selector. */
#paymentModal { padding:20px; background:#05070bbd; backdrop-filter:blur(7px); }
#paymentModal .payment-modal-content { max-width:580px; padding:32px; border-radius:20px; background:#12151c; border:1px solid #2a303d; max-height:calc(100dvh - 40px); overflow-y:auto; box-shadow:0 24px 90px #0008; }
#paymentModal .payment-modal-close { top:16px; right:16px; width:36px; height:36px; border-radius:10px; background:transparent; color:#abb5c5; font-size:25px; }
#paymentModal .payment-eyebrow { margin:0 45px 12px 0; color:#8eaff0; font-size:.65rem; font-weight:700; letter-spacing:.15em; }
#paymentModal .payment-modal-title { text-align:left; font-size:1.5rem; font-weight:650; letter-spacing:-.035em; line-height:1.25; margin:0 25px 8px 0; }
#paymentModal .payment-intro { color:#9ba7ba; font-size:.85rem; margin:0 0 25px; line-height:1.6; }
#paymentModal .payment-option { display:grid; grid-template-columns:minmax(0,1fr) 165px; align-items:center; gap:16px; padding:20px 18px; margin-bottom:12px; border-radius:12px; background:#191e28; border:1px solid #2b3342; }
#paymentModal .payment-option:hover { background:#1d2430; border-color:#475975; }
#paymentModal .payment-option-header { margin:0; }
#paymentModal .payment-option-header h3 { display:flex; align-items:center; flex-wrap:wrap; gap:8px; color:#f0f3f9; font-size:.92rem; font-weight:600; margin:0 0 7px; line-height:1.4; }
#paymentModal .payment-option-header p { color:#a2adc0; font-size:.74rem; line-height:1.6; margin:0; }
#paymentModal .payment-option-tag { margin:0; padding:2px 7px; font-size:.57rem; letter-spacing:.02em; color:#92dfb3; background:#203d30; border:1px solid #315b44; border-radius:5px; white-space:nowrap; }
#paymentModal .payment-btn { padding:12px 8px; min-height:44px; border-radius:8px; font-size:.76rem; gap:7px; line-height:1.4; }
#paymentModal .payment-btn svg { width:17px; height:17px; }
#paymentModal .card-btn { background:#5486ed; color:#fff; }
#paymentModal .card-btn:hover { background:#6595fa; }
#paymentModal .crypto-btn { color:#efbc78; background:#352b20; border-color:#635033; }
#paymentModal .support-btn { background:#242c39; border-color:#3a475b; color:#d8e2f4; }
#paymentModal .payment-footnote { color:#8e9bad; font-size:.7rem; line-height:1.65; margin:18px 2px 0; }
#paymentModal a:focus-visible,#paymentModal button:focus-visible { outline:2px solid #a4c5ff; outline-offset:4px; }
@media(max-width:560px) { #paymentModal { padding:12px; } #paymentModal .payment-modal-content { padding:26px 20px 22px; max-height:calc(100dvh - 24px); border-radius:16px; } #paymentModal .payment-modal-title { font-size:1.3rem; } #paymentModal .payment-option { grid-template-columns:1fr; gap:13px; padding:16px; } #paymentModal .payment-btn { font-size:.83rem; } #paymentModal .payment-intro { margin-bottom:20px; } }
@media(prefers-reduced-motion:reduce) { #paymentModal .payment-modal-content { animation:none; } #paymentModal .payment-btn { transition:none; transform:none; } }
