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

:root {
    --bg: #0b0d12;
    --bg-elevated: #12151c;
    --bg-card: #191d26;
    --text: #e8eaed;
    --text-muted: #8b8f96;
    --accent: #f96d03;
    --accent-hover: #fc840a;
    --border: #22262e;
    --font:
        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.section-desc {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 64px;
}

.highlight {
    color: var(--accent);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    color: var(--accent);
    font-weight: 700;
    border-radius: 10px;
    border: 1.5px solid var(--accent);
    transition:
        background 0.2s,
        transform 0.15s;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text);
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid var(--border);
    transition:
        border-color 0.2s,
        transform 0.15s;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--text-muted);
    transform: translateY(-1px);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.875rem;
}

.btn-large {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(11, 13, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.header-logo {
    height: 28px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
}

.header-nav a:hover {
    color: var(--text);
}

.hero {
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 80px;
}

.hero-content {
    flex: 1;
    min-width: 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(249, 109, 3, 0.12);
    color: var(--accent);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-muted);
}

.hero-visual {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.hero-phone {
    width: 320px;
    border-radius: 24px;
    box-shadow:
        0 0 80px rgba(217, 61, 61, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
    transition: transform 0.4s ease;
}

.hero-phone:hover {
    transform: perspective(1000px) rotateY(-3deg) rotateX(1deg);
}

.logos {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.logos p {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.logos-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.logo-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
}

.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition:
        border-color 0.2s,
        transform 0.15s;
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(249, 109, 3, 0.1);
    border-radius: 12px;
    margin-bottom: 20px;
    color: var(--accent);
}

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

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

.screenshots {
    padding: 100px 0;
    border-top: 1px solid var(--border);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.screenshot-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.screenshot-img {
    width: 100%;
    max-width: 280px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-img:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
}

.screenshot-caption {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
    max-width: 280px;
}

.about {
    padding: 100px 0;
    background: var(--bg-elevated);
}

.about-inner {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-text {
    flex: 1;
    min-width: 0;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.about-list {
    list-style: none;
    margin-top: 28px;
}

.about-list li {
    position: relative;
    padding-left: 24px;
    font-size: 0.9375rem;
    margin-bottom: 10px;
    color: var(--text);
}

.about-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--accent);
}

.about-logo {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.about-logo-stack {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    aspect-ratio: 1;
}

.about-glow {
    width: 100%;
    opacity: 0.8;
}

.about-icon {
    position: absolute;
    width: 40%;
    height: auto;
    border-radius: 20%;
}

.tournaments {
    padding: 100px 0;
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.tournament-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.tournament-chip {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: border-color 0.2s, color 0.2s;
}

.tournament-chip:hover {
    border-color: var(--accent);
    color: var(--text);
}

.waitlist {
    padding: 100px 0;
}

.waitlist-card {
    max-width: 580px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 56px 48px;
    text-align: center;
}

.waitlist-card h2 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.waitlist-card p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.waitlist-form {
    display: flex;
    gap: 12px;
    max-width: 460px;
    margin: 0 auto;
}

.waitlist-input {
    flex: 1;
    padding: 14px 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: var(--font);
    font-size: 0.9375rem;
    outline: none;
    transition: border-color 0.2s;
}

.waitlist-input::placeholder {
    color: var(--text-muted);
}

.waitlist-input:focus {
    border-color: var(--accent);
}

.waitlist-note {
    font-size: 0.8125rem;
    opacity: 0.5;
    margin-top: 20px;
    margin-bottom: 0 !important;
}

.cta {
    padding: 100px 0;
    text-align: center;
}

.cta h2 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

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

.cta-note {
    margin-top: 24px;
    font-size: 0.8125rem;
    opacity: 0.6;
}

.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    height: 20px;
    width: auto;
}

.footer-left span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.footer-right span {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.6;
}

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

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .screenshot-card:last-child {
        grid-column: 1 / -1;
        justify-self: center;
    }
}

@media (max-width: 768px) {
    .hero-inner {
        flex-direction: column;
        gap: 48px;
    }

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

    .hero-subtitle br {
        display: none;
    }

    .hero-phone {
        width: 240px;
        transform: none;
    }

    .hero-phone:hover {
        transform: none;
    }

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

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

    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .screenshot-card:last-child {
        grid-column: auto;
    }

    .screenshot-img {
        max-width: 240px;
    }

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

    .about-inner {
        flex-direction: column;
        gap: 48px;
    }

    .about-text h2 {
        font-size: 1.875rem;
    }

    .about-glow {
        width: 200px;
    }

    .waitlist-card {
        padding: 40px 24px;
    }

    .tournament-chip {
        font-size: 0.75rem;
        padding: 8px 14px;
    }

    .waitlist-card h2 {
        font-size: 1.5rem;
    }

    .waitlist-form {
        flex-direction: column;
    }

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

    .header-nav a:not(.btn-primary) {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-right {
        align-items: center !important;
    }
}
