/* --- Design System & CSS Variables --- */
:root {
    --bg-dark: #090e11;
    --bg-dark-accent: #0f181d;
    --mint-primary: #4ade80;
    --mint-light: #86efac;
    --mint-dark: #15803d;
    --gold: #fbbf24;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --card-bg: rgba(21, 33, 40, 0.6);
    --border-color: rgba(74, 222, 128, 0.15);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background glows for a premium modern feel */
.glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.12;
    pointer-events: none;
}

.glow-1 {
    background-color: var(--mint-primary);
    top: -100px;
    right: -100px;
}

.glow-2 {
    background-color: var(--gold);
    top: 600px;
    left: -200px;
}

.glow-3 {
    background-color: var(--mint-primary);
    bottom: 400px;
    right: -100px;
}

/* Layout Utilities */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header & Navbar */
header {
    background-color: rgba(9, 14, 17, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

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

.logo-gold {
    color: var(--text-main);
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 0;
    gap: 4rem;
}

.hero-content {
    flex: 1.1;
}

.badge {
    display: inline-block;
    background-color: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: var(--mint-primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--mint-primary) 30%, var(--mint-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.cta-buttons {
    display: flex;
    gap: 1.2rem;
}

.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--mint-primary);
    color: var(--bg-dark);
    box-shadow: 0 4px 20px rgba(74, 222, 128, 0.2);
}

.btn-primary:hover {
    background-color: var(--mint-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(74, 222, 128, 0.3);
}

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

.btn-secondary:hover {
    background-color: rgba(74, 222, 128, 0.05);
    border-color: var(--mint-primary);
    transform: translateY(-2px);
}

.hero-visual {
    flex: 0.9;
    display: flex;
    justify-content: center;
}

/* Beautiful Interactive Game Mockup */
.game-mockup {
    width: 320px;
    height: 480px;
    background: linear-gradient(145deg, var(--bg-dark-accent), #13222a);
    border: 3px solid rgba(74, 222, 128, 0.2);
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(74, 222, 128, 0.08);
}

.mockup-inner {
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    border-radius: 26px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 1.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-header {
    display: flex;
    gap: 6px;
}

.mockup-header .dot {
    width: 6px;
    height: 6px;
    background-color: var(--text-muted);
    border-radius: 50%;
    opacity: 0.3;
}

.mockup-screen {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.8rem;
}

.stats-mini-board {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.streak-mini, .sparks-mini {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
}

.streak-mini {
    color: var(--gold);
}

.sparks-mini {
    color: var(--mint-primary);
}

.puzzle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
}

.grid-cell {
    aspect-ratio: 1;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: all 0.5s ease;
}

.grid-cell.active {
    background: linear-gradient(135deg, var(--mint-primary), var(--mint-dark));
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.2);
    border: none;
    transform: scale(1.05);
    color: var(--bg-dark);
}

.mockup-score {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gold);
    font-size: 1.1rem;
}

/* Features Sections */
.features-section {
    padding: 6rem 0;
    border-top: 1px solid var(--border-color);
}

.alt-bg {
    background-color: var(--bg-dark-accent);
}

.section-badge {
    color: var(--mint-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    display: inline-block;
}

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

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    backdrop-filter: blur(10px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--mint-primary);
    box-shadow: 0 10px 30px rgba(74, 222, 128, 0.05);
}

.feature-icon {
    font-size: 2rem;
    background-color: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 12px;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

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

.feature-card.full-width {
    grid-column: span 2;
}

/* Support Section */
.support-section {
    padding: 8rem 0;
    border-top: 1px solid var(--border-color);
}

.support-card {
    background: linear-gradient(135deg, #0e171b, #122129);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 4rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.support-card h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.support-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto 2.5rem;
}

.contact-details {
    margin-bottom: 2.5rem;
}

.contact-details p {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: var(--text-main);
}

.contact-details a {
    color: var(--mint-primary);
    text-decoration: none;
    font-weight: 600;
}

.contact-details a:hover {
    text-decoration: underline;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    color: var(--text-muted);
}

.legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--text-main);
}

/* Screenshots Section */
.screenshots-section {
    padding: 6rem 0;
    border-top: 1px solid var(--border-color);
}

.screenshots-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1.5rem 0 2.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--mint-primary) var(--bg-dark-accent);
}

.screenshots-slider::-webkit-scrollbar {
    height: 6px;
}

.screenshots-slider::-webkit-scrollbar-track {
    background: var(--bg-dark-accent);
}

.screenshots-slider::-webkit-scrollbar-thumb {
    background-color: var(--mint-primary);
    border-radius: 10px;
}

.screenshot-item {
    flex: 0 0 280px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.screenshot-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--mint-primary);
}

.screenshot-item img {
    width: 100%;
    border-radius: 16px;
    display: block;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.screenshot-caption {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 8px 0 4px;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    text-align: center;
    background-color: var(--bg-dark);
}

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

.verification-tag {
    margin-top: 0.5rem;
    font-size: 0.75rem !important;
    opacity: 0.5;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .hero {
        flex-direction: column-reverse;
        padding: 4rem 0;
        text-align: center;
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        margin: 0 auto 2rem;
    }

    .cta-buttons {
        justify-content: center;
    }

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

    nav a {
        margin: 0 1rem;
    }

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

    .feature-card.full-width {
        grid-column: span 1;
    }

    .support-card {
        padding: 2.5rem 1.5rem;
    }
}
