:root {
    /* App Colors */
    --bg-primary: #0e1621;
    --surface: #141f2e;
    --surface-secondary: #18263a;
    --text-primary: #e6edf5;
    --text-secondary: #9aa7b5;
    --accent-primary: #3a6ea5;
    --accent-purple: #7560c9;
    --accent-green: #6eb73a;
    --accent-red: #fe5353;
    --divider: #1f2a3a;

    /* Spacing & Borders */
    --radius: 16px;
    --gap: 24px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.app-name {
    font-size: 28px;
    letter-spacing: -0.5px;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.hero h1 {
    font-size: 48px;
    max-width: 800px;
}

.hero p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
}

.badge-container {
    display: inline-block;
    transition: transform 0.2s;
}

.badge-container:hover {
    transform: scale(1.05);
}

.google-play-badge {
    height: 60px;
}

/* Features */
.features {
    padding: 80px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--gap);
}

.feature-card {
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--divider);
    transition: background 0.3s;
}

.feature-card:hover {
    background: var(--surface-secondary);
}

.feature-card h3 {
    color: var(--accent-purple);
    margin-bottom: 12px;
    font-size: 20px;
}

/* Gallery */
.gallery {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

.gallery h2 {
    text-align: center;
    margin-bottom: 40px;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    justify-items: center;
}

.screenshot-item {
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--surface-secondary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.screenshot-item:hover {
    transform: scale(1.05);
    border-color: var(--accent-purple);
}

.screenshot-item img {
    display: block;
    width: 100%;
    height: auto;
}

/* Lightbox Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 22, 33, 0.95);
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    border: 4px solid var(--surface-secondary);
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    user-select: none;
}

/* Supporter */
.supporter {
    padding: 100px 0;
    text-align: center;
}

.supporter-box {
    background: linear-gradient(135deg, var(--surface) 0%, var(--bg-primary) 100%);
    padding: 60px;
    border-radius: var(--radius);
    border: 1px solid var(--accent-purple);
    max-width: 800px;
    margin: 0 auto;
}

.supporter-box h2 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.supporter-box p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.btn-support {
    display: inline-block;
    background: var(--accent-purple);
    color: white;
    padding: 16px 32px;
    border-radius: 99px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.btn-support:hover {
    opacity: 0.9;
}

/* Manifesto & Checklist */
.manifesto-box {
    background: linear-gradient(135deg, rgba(110, 231, 255, 0.1) 0%, rgba(118, 96, 201, 0.1) 100%);
    border: 1px solid rgba(118, 96, 201, 0.3);
    padding: 32px;
    border-radius: var(--radius);
    margin: 40px 0;
    text-align: center;
}

.manifesto-box h2 {
    color: var(--accent-purple);
    margin-bottom: 16px;
    font-size: 24px;
}

.checks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
    align-items: flex-start;
}

.checks li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.checks li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--accent-green);
    color: white;
    border-radius: 6px;
    font-size: 14px;
}

.super-slogan {
    display: inline-block;
    font-family: monospace;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 99px;
    background: var(--surface-secondary);
    color: var(--accent-purple);
    margin-top: 16px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Footer */
footer {
    padding: 60px 0;
    text-align: center;
    color: var(--text-secondary);
    border-top: 1px solid var(--divider);
}

/* Text Content Pages */
.text-content {
    padding: 80px 0;
    max-width: 800px;
    margin: 0 auto;
}

.text-content h1 {
    margin-bottom: 32px;
}

.text-content h2 {
    margin: 48px 0 20px;
}

.text-content section {
    margin-bottom: 32px;
}

.text-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.text-content li {
    margin-bottom: 8px;
}

.btn-back {
    display: inline-block;
    margin-bottom: 40px;
    color: var(--accent-purple);
    font-weight: 600;
    transition: transform 0.2s;
}

.btn-back:hover {
    transform: translateX(-5px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero,
.feature-card,
.supporter-box {
    animation: fadeIn 0.8s ease-out both;
}

.feature-card:nth-child(1) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.6s;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .supporter-box {
        padding: 30px;
    }

    .feature-card {
        padding: 30px;
    }
}