/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* RRingo brand palette (matches the app's Default Palette) */
    --primary: #1A7A6E;          /* teal — main brand */
    --primary-dark: #155F56;
    --primary-light: #2DA193;
    --secondary: #1B3557;        /* navy — secondary */
    --accent: #C8943A;           /* gold — winner / highlight */
    --dark: #0F1923;             /* dark background (lobby) */
    --dark-light: #1C2A38;       /* card surface */
    --gray: #64748b;
    --gray-light: #cbd5e1;
    --gray-lighter: #f1f5f9;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #1A7A6E 0%, #1B3557 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
}

.logo-image {
    width: 40px;
    height: 40px;
}

.logo-icon {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    transition: 0.3s;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--gray-light);
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

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

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f0fdf4 0%, #f1f5f9 100%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero-note {
    color: var(--gray);
    font-size: 0.9rem;
}

.arrow {
    transition: transform 0.3s;
}

.btn-primary:hover .arrow {
    transform: translateX(4px);
}

/* App Mockup */
.app-mockup {
    perspective: 1000px;
}

.mockup-phone {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 9/19;
    background: #1f2937;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s;
}

.mockup-phone:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 30px;
    background: #1f2937;
    border-radius: 0 0 20px 20px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}

.screen-content {
    padding: 40px 20px 20px;
}

.game-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.game-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.status-badge {
    background: #10b981;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

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

.stat {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 4px;
}

.stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 16px;
    background: var(--gray-lighter);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.feature-icon svg {
    width: 48px;
    height: 48px;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: var(--dark);
    color: white;
}

.how-it-works .section-subtitle {
    color: var(--gray-light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--gray-light);
    line-height: 1.8;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: white;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefits-list li {
    display: flex;
    gap: 1rem;
}

.check {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefits-list strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.benefits-list p {
    color: var(--gray);
}

.stats-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: var(--gray-lighter);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray);
    font-weight: 500;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: var(--gray-lighter);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s;
}

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

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-lighter);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.amount {
    font-size: 3rem;
    font-weight: 800;
}

.period {
    color: var(--gray);
    font-size: 1rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-lighter);
    display: flex;
    align-items: center;
}

.pricing-features li:before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
    margin-right: 0.75rem;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: var(--gradient);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--gray-light);
    margin-top: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-column a {
    display: block;
    color: var(--gray-light);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-light);
    color: var(--gray-light);
}

.footer-bottom-left {
    flex: 1;
}

.footer-social {
    display: none;
    gap: 1rem;
    align-items: center;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--dark-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content,
    .benefits-content,
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .mockup-phone {
        max-width: 280px;
        margin: 0 auto;
    }

    .nav-links {
        display: none;
    }

    .nav-links.mobile-active {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        padding: 0.5rem 0;
    }

    .nav-links.mobile-active a {
        padding: 0.85rem 1.5rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .benefits-list li {
        text-align: left;
    }

    .stats-showcase {
        margin-top: 2rem;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 100px 0 60px;
    }

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

    .hero-cta {
        flex-direction: column;
    }

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

    .cta h2 {
        font-size: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Demo Video Section */
.demo-video {
    padding: 80px 0;
    background: white;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    cursor: not-allowed;
}

.play-button {
    transition: transform 0.3s;
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
}

.video-placeholder p {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray);
}

.video-container iframe {
    width: 100%;
    height: 100%;
}

/* Disclaimer Section */
.disclaimer {
    padding: 40px 0;
    background: #fff8e1;
    border-top: 2px solid #ffd54f;
    border-bottom: 2px solid #ffd54f;
}

.disclaimer-content {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.disclaimer-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.disclaimer-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.disclaimer-text p {
    color: #5d4037;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Screenshots Section */
.screenshots {
    padding: 80px 0;
    background: var(--gray-lighter);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.screenshot-item {
    background: white;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.screenshot-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.screenshot-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.screenshot-item p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
}

/* Modes & Prize Tables */
.modes {
    padding: 80px 0;
    background: white;
}

.modes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.mode-card {
    background: var(--gray-lighter);
    border-radius: 18px;
    padding: 1.75rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.25s, box-shadow 0.25s;
}

.mode-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 25, 35, 0.08);
}

.mode-card--numbers { background: linear-gradient(135deg, #ECFDF5 0%, #F0FDF4 100%); }
.mode-card--music   { background: linear-gradient(135deg, #FEF3C7 0%, #FFFBEB 100%); }
.mode-card--movies  { background: linear-gradient(135deg, #EDE9FE 0%, #F5F3FF 100%); }
.mode-card--sports  { background: linear-gradient(135deg, #DBEAFE 0%, #EFF6FF 100%); }

.mode-card-head {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.mode-card-head .mode-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.mode-card-head h3 {
    margin: 0 0 0.25rem;
    font-size: 1.25rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mode-card-head p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--gray);
    line-height: 1.5;
}

.badge-new {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--dark);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    vertical-align: middle;
}

.mode-meta {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mode-meta li {
    font-size: 0.88rem;
    color: var(--dark);
    padding: 0.4rem 0;
    border-top: 1px dashed rgba(15, 25, 35, 0.08);
}

.mode-meta li:first-child { border-top: none; }
.mode-meta li strong { color: var(--primary-dark); margin-right: 0.4rem; }

.mode-meta-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 0.6rem;
}

.theme-chips {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.theme-chips li {
    background: white;
    border: 1px solid rgba(15, 25, 35, 0.08);
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-size: 0.78rem;
    color: var(--dark);
    font-weight: 500;
}

/* Prize table */
.prize-tables {
    background: var(--dark);
    color: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    margin-top: 1.5rem;
}

.prize-header h3 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    color: var(--white);
}

.prize-header p {
    margin: 0 0 1.75rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 720px;
}

.prize-grid {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.prize-row {
    display: grid;
    grid-template-columns: 180px 1fr 70px;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    background: var(--dark-light);
    border-left: 4px solid var(--primary-light);
    border-radius: 10px;
}

.prize-row--full {
    border-left-color: var(--accent);
    background: linear-gradient(90deg, rgba(200, 148, 58, 0.18) 0%, var(--dark-light) 100%);
}

.prize-name {
    font-weight: 700;
    color: var(--white);
    font-size: 0.98rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prize-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
}

.prize-pct {
    text-align: right;
    font-family: -apple-system, "SF Mono", monospace;
    font-weight: 800;
    color: var(--accent);
    font-size: 1.15rem;
}

.badge-headline {
    background: var(--accent);
    color: var(--dark);
    font-size: 0.6rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    letter-spacing: 0.06em;
    font-weight: 800;
}

.prize-note {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 768px) {
    .modes-grid { grid-template-columns: 1fr; }
    .prize-row {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "name pct"
            "desc desc";
    }
    .prize-name { grid-area: name; }
    .prize-pct  { grid-area: pct; }
    .prize-desc { grid-area: desc; }
    .prize-tables { padding: 1.5rem; }
}

/* Download Section */
.download-section {
    padding: 80px 0;
    background: white;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.download-card {
    background: var(--gray-lighter);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
    /* Grid items default to min-width:auto, so a track cannot shrink below its
       content's intrinsic width. The CTA buttons ("Join TestFlight Beta" etc.)
       then hold the 2-column layout wider than a 360px viewport, spilling ~9px
       off the right edge. min-width:0 lets the track shrink to its 1fr share so
       the button wraps inside the card instead of overflowing the page. */
    min-width: 0;
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    background: white;
}

.download-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.download-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.download-card p {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.download-card .btn-secondary.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Rate Us */
.rate-us {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rate-us p {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.rate-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.rate-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--primary);
    transition: all 0.3s ease;
}

.rate-link:hover {
    background: var(--primary);
    color: white;
}

.rate-link svg {
    flex-shrink: 0;
}

/* Benefits Image */
.benefits-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Footer Additions */
.footer-version {
    color: var(--gray-light);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-disclaimer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--dark-light);
}

.footer-disclaimer p {
    font-size: 0.85rem;
    color: var(--gray-light);
}

/* Page Styles for About, Privacy, Support, etc. */
.page-hero {
    padding: 120px 0 60px;
    background: var(--gradient);
    color: white;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

.page-content {
    padding: 60px 0;
    background: white;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.content-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--dark);
}

.content-section p {
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 1rem;
}

.content-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-section li {
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
}

.content-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.lead {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: var(--gray);
    line-height: 1.7;
}

.values-list {
    list-style: none;
    margin-left: 0;
}

.values-list li {
    padding: 1rem;
    background: var(--gray-lighter);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.values-list strong {
    color: var(--primary);
    font-weight: 600;
}

.cta-section {
    text-align: center;
    padding: 3rem;
    background: var(--gray-lighter);
    border-radius: 16px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Guide Sections */
.guide-section {
    margin-top: 3rem;
}

.guide-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid var(--gray-lighter);
}

.guide-step:last-child {
    border-bottom: none;
}

.guide-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.guide-content {
    flex: 1;
}

.guide-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.guide-content h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.tips-list {
    list-style: none;
    margin-left: 0;
}

.tips-list li {
    padding: 1rem;
    background: var(--gray-lighter);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    border-left: 4px solid var(--primary);
}

/* FAQ Section */
.faq-list {
    margin-top: 2rem;
}

.faq-item {
    background: var(--gray-lighter);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.faq-item h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--gray);
    line-height: 1.7;
}

.faq-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    background: var(--gray-lighter);
    padding: 2rem;
    border-radius: 12px;
}

.contact-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.contact-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    margin-top: 0.5rem;
}

.contact-link:hover {
    text-decoration: underline;
}

.resources-list {
    list-style: none;
    margin-left: 0;
}

.resources-list li {
    margin-bottom: 1rem;
}

.resources-list a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
}

.resources-list a:hover {
    text-decoration: underline;
}

/* Legal Content */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.highlight-box {
    background: #fff8e1;
    border: 2px solid #ffd54f;
    border-radius: 8px;
    padding: 1.5rem;
    color: #5d4037;
    font-weight: 500;
}

.contact-box {
    background: var(--gray-lighter);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.contact-box p {
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form-section {
    max-width: 600px;
    margin: 2rem auto;
}

.contact-form {
    background: var(--gray-lighter);
    padding: 2rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
}

.form-note {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.divider {
    text-align: center;
    margin: 3rem 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: var(--gray-light);
}

.divider span {
    position: relative;
    background: white;
    padding: 0 1rem;
    color: var(--gray);
    font-weight: 500;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
}

.cookie-consent.hidden {
    transform: translateY(100%);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    line-height: 1.6;
}

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

.cookie-content .btn-primary {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Responsive Updates */
@media (max-width: 968px) {
    .content-with-image {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .content-image img {
        margin: 0 auto;
    }

    .guide-step {
        flex-direction: column;
    }

    .disclaimer-content {
        flex-direction: column;
        text-align: center;
    }

    .screenshots-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 640px) {
    .page-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .download-options {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Full-width CTA so a long label wraps within the card rather than setting
       the track's min-width and pushing the grid past the viewport. */
    .download-card .btn-primary {
        width: 100%;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* App Store Badges */
.store-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.store-badge {
    display: inline-block;
    transition: transform 0.3s;
}

.store-badge:hover {
    transform: translateY(-4px);
}

.store-badge img {
    height: 50px;
    width: auto;
}

.store-badge.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ─── Video gallery (videos.html + inline clips on how-to-use.html) ───────────
   The clips are PORTRAIT phone captures (1206x2622, ~1:2.17). Constraining by
   max-height rather than width is what keeps a single video from running the
   whole length of the page on desktop, and the wrapper is centred because a
   portrait video in a full-width column otherwise pins to the left. */

.video-feature {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.video-feature video {
    width: auto;
    max-width: 100%;
    max-height: 70vh;
    border-radius: 12px;
    background: var(--dark);
    box-shadow: 0 10px 30px rgba(15, 25, 35, 0.18);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

/* Two featured clips shown side by side (videos.html top). They are portrait
   phone captures, so at half width each still reads as a phone; below 768px
   they stack. align-items:start keeps unequal caption lengths from stretching a
   column. */
.video-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.video-duo-item {
    min-width: 0;
}

.video-duo-item h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.video-duo-item p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.video-duo .video-feature {
    margin: 0.75rem 0 0;
}

@media (max-width: 768px) {
    .video-duo {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }
}

.video-card {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.video-card video {
    width: 100%;
    max-height: 60vh;
    border-radius: 12px;
    background: var(--dark);
    box-shadow: 0 6px 20px rgba(15, 25, 35, 0.15);
}

.video-card figcaption {
    padding-top: 0.9rem;
}

.video-card figcaption h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.35rem;
}

.video-card figcaption p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.5;
    margin: 0;
}

/* Inline clip beside a how-to step. Sits right of the text on wide screens and
   stacks above it on narrow ones. */
.step-video {
    display: flex;
    justify-content: center;
    margin: 1.25rem 0 0;
}

.step-video video {
    width: auto;
    max-width: 100%;
    max-height: 56vh;
    border-radius: 12px;
    background: var(--dark);
    box-shadow: 0 6px 20px rgba(15, 25, 35, 0.15);
}

@media (max-width: 640px) {
    .video-feature video,
    .step-video video { max-height: 62vh; }
    .video-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* ─── Pricing: Coming Soon tiers ─────────────────────────────────────────────
   Starter / Pro are not purchasable yet (payments are off — the
   app is a free social game). They are shown as teasers: muted card, a grey
   "Coming soon" badge instead of the brand gradient, no price, and a
   non-interactive CTA. Only the Free tier is live, so it wears the accent
   border the "Pro" card used to have. */

.pricing-card.coming-soon {
    opacity: 0.9;
    background: #fbfcfd;
}

.pricing-card.coming-soon:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.badge.badge-soon {
    background: var(--gray);
    letter-spacing: 0.02em;
}

.price-soon {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray);
}

/* Non-interactive CTA on a Coming Soon card — looks like a button, isn't one. */
.btn-disabled {
    background: var(--gray-lighter);
    color: var(--gray);
    border: 2px solid transparent;
    cursor: default;
    pointer-events: none;
    user-select: none;
}
