/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-secondary: #0f172a;
    --color-accent: #f59e0b;
    --color-text: #1e293b;
    --color-text-light: #64748b;
    --color-bg-light: #edf1f7;
    --color-bg-dark: #0f172a;
    --color-white: #ffffff;
    --color-surface: #ffffff;
    --color-border: #e2e8f0;
    --color-border-light: rgba(0,0,0,0.05);
    --color-border-medium: rgba(0,0,0,0.1);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--color-text);
    line-height: 1.6;
    background: var(--color-surface);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border-light);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-secondary);
}

.logo-img {
    height: 28px;
    width: 28px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--color-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-bg-light);
    border-color: var(--color-border);
}

.btn-nav {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.apple-icon {
    width: 18px;
    height: 18px;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--color-white);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn-secondary,
.section-accent .btn-secondary {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--color-white);
}

.hero .btn-secondary:hover,
.section-accent .btn-secondary:hover {
    background: rgba(255,255,255,0.25);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-light {
    background: var(--color-bg-light);
}

.section-dark {
    background: var(--color-bg-dark);
    color: var(--color-white);
}

.section-accent {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--color-white);
    padding: 60px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-dark .section-tag {
    background: var(--color-accent);
    color: var(--color-secondary);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.section-dark .section-header p {
    color: rgba(255,255,255,0.7);
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.features-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
    .features-grid, .features-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-grid, .features-grid-4 {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--color-surface);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-card-dark {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

.feature-card-dark:hover {
    background: rgba(255,255,255,0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

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

.feature-card-dark p {
    color: rgba(255,255,255,0.7);
}

/* App Showcase */
.app-showcase {
    margin-top: 60px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 800px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand p {
    margin-top: 16px;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-brand .logo {
    color: var(--color-white);
}

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* Landing Page Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 800px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card-featured {
    border: 2px solid var(--color-primary);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-free {
    background: #dcfce7;
    color: #166534;
}

.badge-new {
    background: var(--color-primary);
    color: var(--color-white);
}

.product-card h2 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.product-tagline {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.product-description {
    color: var(--color-text);
    margin-bottom: 24px;
    line-height: 1.7;
}

.product-features {
    list-style: none;
    margin-bottom: 32px;
}

.product-features li {
    padding: 8px 0;
    color: var(--color-text);
    font-size: 0.95rem;
}

.product-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Sports Tags */
.sports-grid {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.sport-tag {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
}

/* Hero Variants */
.hero-landing {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    padding: 180px 0 120px;
}

.hero-club {
    background: linear-gradient(135deg, #0f766e 0%, #134e4a 100%);
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-note {
    margin-top: 20px;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Feature Rows */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-row-reverse {
    direction: rtl;
}

.feature-row-reverse > * {
    direction: ltr;
}

@media (max-width: 900px) {
    .feature-row,
    .feature-row-reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
}

.feature-content {
    max-width: 500px;
}

.feature-tag {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.feature-content h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature-content p {
    color: var(--color-text-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--color-text);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 600;
}

.feature-image {
    text-align: center;
}

.screenshot {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.screenshot:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 36px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

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

/* Use Cases */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 800px) {
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
}

.use-case {
    text-align: center;
    padding: 32px 20px;
    background: var(--color-surface);
    border-radius: var(--radius-md);
}

.use-case-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.use-case h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.use-case p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* Section Variants */
.section-white {
    background: var(--color-surface);
}

/* Button Variants */
.btn-white {
    background: var(--color-white);
    color: var(--color-text);
}

.btn-white:hover {
    background: var(--color-bg-light);
}

/* Text Utilities */
.text-center {
    text-align: center;
}

.cta-subtitle {
    color: var(--color-text-light);
    margin-bottom: 32px;
    font-size: 1.1rem;
}

.section-accent .cta-subtitle,
.section-dark .cta-subtitle {
    color: rgba(255,255,255,0.8);
}

.also-text {
    color: var(--color-text-light);
    margin-bottom: 16px;
}

/* Nav Active State */
.nav-links a.active {
    color: var(--color-primary);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Nav */
@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 16px 24px;
        gap: 0;
        border-bottom: 1px solid var(--color-border-medium);
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 12px 0;
        border-bottom: 1px solid var(--color-border-light);
    }

    .nav-links a:last-child {
        border-bottom: none;
        margin-top: 8px;
    }
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero {
        padding: 120px 0 80px;
    }

    .hero-landing {
        padding: 140px 0 100px;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .product-card {
        padding: 32px 24px;
    }
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.effective-date {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border-medium);
}

.faq-item summary {
    padding: 1.25rem 0;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-text-light);
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    padding: 0 0 1.25rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.pricing-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
    align-items: start;
}

.pricing-card {
    background: var(--color-surface);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.pricing-card-popular {
    border: 2px solid var(--color-primary);
    transform: scale(1.02);
}

.pricing-card-popular:hover {
    transform: scale(1.02) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pricing-note-free {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-top: -0.25rem;
}

.pricing-note-free a {
    color: var(--color-primary);
    text-decoration: underline;
}

.pricing-header {
    text-align: center;
}

.pricing-header h3 {
    margin: 0 0 0.25rem;
    font-size: 1.5rem;
}

.pricing-members {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.pricing-price {
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.price-period {
    color: var(--color-text-light);
    font-size: 1rem;
}

.price-from, .price-plus {
    font-size: 1rem;
    color: var(--color-text-light);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--color-text);
    font-size: 0.95rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.currency-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.currency-label {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.currency-btn {
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
    transition: all 0.2s ease;
}

.currency-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.currency-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* Includes Grid (mini feature cards) */
.includes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.includes-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 1.25rem 1rem;
    text-align: center;
    transition: background 0.2s;
}

.includes-card:hover {
    background: rgba(255,255,255,0.1);
}

.includes-icon {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.includes-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    line-height: 1.3;
}

/* Light section variant */
.section-white .includes-card,
.section-light .includes-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.section-white .includes-card:hover,
.section-light .includes-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.section-white .includes-label,
.section-light .includes-label {
    color: var(--color-text);
}

/* Descriptive variant — 2-column with icon + label + description */
.includes-grid-desc {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1000px;
    gap: 1.25rem;
}

.includes-grid-desc .includes-card {
    display: flex;
    align-items: flex-start;
    text-align: left;
    padding: 1.25rem 1.5rem;
    gap: 1rem;
}

.includes-grid-desc .includes-icon {
    font-size: 1.5rem;
    margin-bottom: 0;
    flex-shrink: 0;
    line-height: 1;
}

.includes-text {
    min-width: 0;
}

.includes-desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
    margin-top: 0.25rem;
}

.section-white .includes-desc,
.section-light .includes-desc {
    color: var(--color-text-light);
}

@media (max-width: 800px) {
    .includes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .includes-grid-desc {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 550px) {
    .includes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .includes-grid-desc {
        grid-template-columns: 1fr;
    }
}

.pricing-card-note {
    color: var(--color-text-light);
    font-size: 0.95rem;
    text-align: center;
    margin: 0 0 1.5rem;
    flex-grow: 1;
}

.pricing-features-short {
    flex-grow: 0;
}

/* Pricing Table (inside cards) */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0 1rem;
}

.pricing-table tr {
    border-bottom: 1px solid var(--color-border);
}

.pricing-table tr:last-child {
    border-bottom: none;
}

.pricing-table td {
    padding: 0.75rem 0;
    font-size: 0.95rem;
}

.pricing-table .tier-name {
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
}

.pricing-table .tier-members {
    color: var(--color-text-light);
    padding-left: 1rem;
}

.pricing-table .tier-price {
    text-align: right;
    font-weight: 600;
    white-space: nowrap;
    color: var(--color-text);
}

.pricing-table .tier-price .price-amount {
    font-size: 1.25rem;
    font-weight: 700;
}

.pricing-table .tier-price .price-currency {
    font-size: 0.95rem;
    font-weight: 600;
}

.pricing-table .tier-price .price-period {
    font-size: 0.85rem;
    font-weight: 400;
}

.pricing-table .tier-price .price-from {
    font-size: 0.8rem;
    font-weight: 400;
}

.pricing-table-note {
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin: 0 0 1.5rem;
}

@media (max-width: 900px) {
    .pricing-grid-3 {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card-popular {
        transform: none;
    }

    .pricing-card-popular:hover {
        transform: translateY(-4px);
    }
}

/* Dark Mode — auto-detect */
@media (prefers-color-scheme: dark) {
    :root:not(.light) {
        --color-primary: #3b82f6;
        --color-primary-dark: #2563eb;
        --color-accent: #fbbf24;
        --color-text: #e2e8f0;
        --color-text-light: #94a3b8;
        --color-bg-light: #131c2b;
        --color-surface: #1e293b;
        --color-border: #334155;
        --color-border-light: rgba(255,255,255,0.05);
        --color-border-medium: rgba(255,255,255,0.1);
        --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
        --shadow-md: 0 4px 6px rgba(0,0,0,0.3);
        --shadow-lg: 0 10px 25px rgba(0,0,0,0.4);
    }

    :root:not(.light) .nav {
        background: rgba(15,23,42,0.95);
    }

    :root:not(.light) .logo {
        color: var(--color-text);
    }

    :root:not(.light) .price-amount,
    :root:not(.light) .price-currency {
        color: var(--color-text);
    }

    :root:not(.light) .pricing-table .tier-name,
    :root:not(.light) .pricing-table .tier-price {
        color: var(--color-text);
    }

    :root:not(.light) .pricing-card {
        box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }

    :root:not(.light) .pricing-card:hover {
        box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    }

    :root:not(.light) .badge-free {
        background: #166534;
        color: #bbf7d0;
    }

    :root:not(.light) .effective-date {
        color: var(--color-text-light);
    }

    :root:not(.light) .screenshot:hover {
        box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    }

    @media (max-width: 900px) {
        :root:not(.light) .nav-links {
            background: rgba(15,23,42,0.98);
        }
    }
}

/* Dark Mode — manual override via URL hash */
:root.dark {
    --color-primary: #3b82f6;
    --color-primary-dark: #2563eb;
    --color-accent: #fbbf24;
    --color-text: #e2e8f0;
    --color-text-light: #94a3b8;
    --color-bg-light: #131c2b;
    --color-surface: #1e293b;
    --color-border: #334155;
    --color-border-light: rgba(255,255,255,0.05);
    --color-border-medium: rgba(255,255,255,0.1);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.3);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.4);
}

:root.dark .nav {
    background: rgba(15,23,42,0.95);
}

:root.dark .logo {
    color: var(--color-text);
}

:root.dark .price-amount,
:root.dark .price-currency {
    color: var(--color-text);
}

:root.dark .pricing-table .tier-name,
:root.dark .pricing-table .tier-price {
    color: var(--color-text);
}

:root.dark .pricing-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

:root.dark .pricing-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

:root.dark .badge-free {
    background: #166534;
    color: #bbf7d0;
}

:root.dark .effective-date {
    color: var(--color-text-light);
}

:root.dark .screenshot:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

@media (max-width: 900px) {
    :root.dark .nav-links {
        background: rgba(15,23,42,0.98);
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    z-index: 9999;
    max-width: 400px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-lg);
}

.cookie-banner p {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-text-light);
}

.cookie-banner a {
    color: var(--color-primary);
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 0.5rem;
}

.cookie-banner-buttons button {
    flex: 1;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
}

.cookie-btn-accept {
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
}

.cookie-btn-accept:hover {
    background: var(--color-primary-dark);
}

.cookie-btn-decline {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-light);
}

.cookie-btn-decline:hover {
    border-color: var(--color-text-light);
}
