/* demo-sport/assets/style.css */

:root {
    --primary: #0f4c81;
    --primary-dark: #08365f;
    --secondary: #16a34a;
    --dark: #0f172a;
    --muted: #64748b;
    --light: #f8fafc;
    --border: #e2e8f0;
    --white: #ffffff;
    --danger: #dc2626;
    --warning: #f59e0b;
    --success: #16a34a;
    --radius: 22px;
    --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark);
    background: var(--light);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

/* Header */

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: grid;
    place-items: center;
    font-size: 22px;
    color: var(--white);
    box-shadow: 0 10px 25px rgba(15, 76, 129, 0.25);
}

.brand strong {
    display: block;
    font-size: 18px;
    line-height: 1.1;
}

.brand span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.nav-cta {
    background: var(--primary);
    color: var(--white);
    padding: 11px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    transition: 0.2s ease;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Hero */

.hero {
    padding: 72px 0 48px;
    background:
        radial-gradient(circle at top left, rgba(22, 163, 74, 0.14), transparent 35%),
        radial-gradient(circle at top right, rgba(15, 76, 129, 0.18), transparent 32%),
        var(--light);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.badge,
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 76, 129, 0.09);
    color: var(--primary);
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 68px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    margin: 18px 0 20px;
}

.hero-text {
    font-size: 19px;
    color: #334155;
    max-width: 680px;
    margin: 0 0 28px;
}

.hero-actions,
.demo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 13px 20px;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid transparent;
    transition: 0.2s ease;
    cursor: pointer;
    font-size: 15px;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 14px 30px rgba(15, 76, 129, 0.24);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border-color: rgba(15, 76, 129, 0.25);
}

.btn-secondary:hover {
    border-color: var(--primary);
}

.btn-light {
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.28);
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.24);
}

.full {
    width: 100%;
}

.small-note {
    color: var(--muted);
    font-size: 14px;
    margin-top: 16px;
}

/* Phone Preview */

.phone-preview {
    display: flex;
    justify-content: center;
}

.phone-card {
    width: min(360px, 100%);
    background: #0f172a;
    border-radius: 36px;
    padding: 14px;
    box-shadow: var(--shadow);
    border: 8px solid #111827;
}

.phone-header {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 8px 0 16px;
}

.phone-header span {
    width: 8px;
    height: 8px;
    background: #475569;
    border-radius: 999px;
}

.phone-body {
    background: var(--white);
    border-radius: 26px;
    padding: 22px;
    min-height: 420px;
}

.phone-body h3 {
    margin: 0 0 18px;
    font-size: 22px;
}

.stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.stat-row div {
    background: #f1f5f9;
    border-radius: 18px;
    padding: 16px;
}

.stat-row strong {
    display: block;
    font-size: 28px;
    line-height: 1;
}

.stat-row span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-top: 6px;
}

.mini-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.mini-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
    gap: 8px;
}

.status {
    font-size: 12px;
    border-radius: 999px;
    padding: 6px 9px;
    white-space: nowrap;
}

.status.paid {
    background: rgba(22, 163, 74, 0.12);
    color: var(--success);
}

.status.pending {
    background: rgba(245, 158, 11, 0.15);
    color: #b45309;
}

.status.missing {
    background: rgba(220, 38, 38, 0.12);
    color: var(--danger);
}

.phone-link {
    display: block;
    margin-top: 20px;
    color: var(--primary);
    font-weight: 800;
}

/* Sections */

.problem-section,
.solution-section,
.demo-section,
.pricing-section,
.final-cta {
    padding: 72px 0;
}

.two-columns {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: start;
}

h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin: 14px 0 18px;
}

.text-block {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: #334155;
    font-size: 18px;
}

.solution-section {
    background: var(--white);
}

.center,
.center-title {
    text-align: center;
}

.center-title {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 36px;
}

.feature-card {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    transition: 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--white);
    display: grid;
    place-items: center;
    font-size: 24px;
    margin-bottom: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.feature-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
}

/* Demo section */

.demo-section {
    background: linear-gradient(135deg, var(--primary), #0f172a);
    color: var(--white);
}

.demo-box {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
}

.demo-box .section-label {
    background: rgba(255, 255, 255, 0.13);
    color: var(--white);
}

.demo-box p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
}

.demo-actions {
    justify-content: flex-end;
}

/* Pricing */

.pricing-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    background: var(--white);
    border-radius: 32px;
    padding: 34px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.pricing-card p {
    color: #334155;
    font-size: 17px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    gap: 10px;
}

.check-list li {
    padding-left: 30px;
    position: relative;
    font-weight: 700;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--success);
    font-weight: 900;
}

.price-box {
    background: var(--light);
    border-radius: 26px;
    padding: 28px;
    border: 1px solid var(--border);
    align-self: center;
}

.price-box span {
    color: var(--muted);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
}

.price-box strong {
    display: block;
    font-size: 56px;
    letter-spacing: -0.06em;
    margin: 4px 0 8px;
}

.price-box p {
    color: var(--muted);
    margin-bottom: 24px;
}

/* Final CTA */

.final-cta {
    background:
        radial-gradient(circle at top, rgba(22, 163, 74, 0.18), transparent 35%),
        #0f172a;
    color: var(--white);
}

.final-cta h2 {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
    margin-bottom: 24px;
}

/* Footer */

.footer {
    background: #020617;
    color: rgba(255, 255, 255, 0.72);
    padding: 26px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 14px;
}

.footer a {
    color: var(--white);
    font-weight: 700;
}

/* Forms and demo pages */

.page-header {
    padding: 52px 0 26px;
}

.page-header h1 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1;
    letter-spacing: -0.05em;
    margin: 12px 0;
}

.page-header p {
    color: var(--muted);
    max-width: 740px;
    font-size: 18px;
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px;
}

.form-grid {
    display: grid;
    gap: 16px;
}

.form-row {
    display: grid;
    gap: 7px;
}

.form-row label {
    font-weight: 800;
    font-size: 14px;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 14px;
    font-size: 16px;
    font-family: inherit;
    background: var(--white);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: 3px solid rgba(15, 76, 129, 0.14);
    border-color: var(--primary);
}

.notice {
    background: rgba(15, 76, 129, 0.08);
    border: 1px solid rgba(15, 76, 129, 0.16);
    color: var(--primary-dark);
    padding: 16px;
    border-radius: 16px;
    font-weight: 700;
}

.demo-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 72px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.stat-card span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.stat-card strong {
    display: block;
    font-size: 34px;
    line-height: 1;
    margin-top: 8px;
}

.table-card {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.data-table th,
.data-table td {
    padding: 15px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.data-table th {
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.player-name {
    font-weight: 900;
}

.muted {
    color: var(--muted);
}

.link {
    color: var(--primary);
    font-weight: 900;
}

.timeline {
    display: grid;
    gap: 14px;
}

.event-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
    align-items: start;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.event-date {
    background: var(--primary);
    color: var(--white);
    border-radius: 18px;
    padding: 14px;
    text-align: center;
    font-weight: 900;
}

.event-date span {
    display: block;
    font-size: 13px;
    opacity: 0.85;
}

.event-date strong {
    display: block;
    font-size: 26px;
    line-height: 1;
}

.event-card h3 {
    margin: 0 0 6px;
}

.event-card p {
    margin: 0;
    color: var(--muted);
}

/* Mobile */

@media (max-width: 900px) {
    .hero-grid,
    .two-columns,
    .demo-box,
    .pricing-card {
        grid-template-columns: 1fr;
    }

    .demo-actions {
        justify-content: flex-start;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 22px, 1120px);
    }

    .nav {
        min-height: 66px;
    }

    .brand span {
        display: none;
    }

    .nav-cta {
        padding: 10px 12px;
        font-size: 13px;
    }

    .hero {
        padding: 42px 0 38px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-text {
        font-size: 17px;
    }

    .hero-actions,
    .demo-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .problem-section,
    .solution-section,
    .demo-section,
    .pricing-section,
    .final-cta {
        padding: 48px 0;
    }

    .features-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card,
    .card {
        padding: 22px;
        border-radius: 24px;
    }

    .price-box strong {
        font-size: 46px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .event-card {
        grid-template-columns: 1fr;
    }
}