/* ═══════════════════════════════════════════════
   SportsLab Landing — Corporate Red & Grey
   Professional, clean, human-crafted aesthetic
   ═══════════════════════════════════════════════ */

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

:root {
    --red: #C8222C;
    --red-dark: #A01B23;
    --red-light: #FEF2F2;
    --red-glow: rgba(200, 34, 44, 0.08);

    --charcoal: #1A1A2E;
    --slate: #2D2D3F;
    --grey-900: #212121;
    --grey-700: #4A4A5A;
    --grey-500: #71717A;
    --grey-300: #D4D4D8;
    --grey-200: #E4E4E7;
    --grey-100: #F4F4F5;
    --grey-50: #FAFAFA;
    --white: #FFFFFF;

    --radius: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
    --shadow-red: 0 8px 30px rgba(200, 34, 44, 0.18);
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    color: var(--grey-900);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }

/* ─── NAVBAR ─── */
.nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    padding: 18px 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav.scrolled {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 12px rgba(0,0,0,0.06);
    padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--charcoal); }
.logo-icon {
    width: 38px; height: 38px;
    background: var(--red);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 1rem; color: #fff;
    box-shadow: 0 2px 8px rgba(200,34,44,0.25);
}
.nav-links { display: flex; gap: 36px; }
.nav-links a {
    font-size: 0.88rem; font-weight: 500;
    color: var(--grey-700);
    position: relative;
    transition: color 0.25s;
    letter-spacing: -0.01em;
}
.nav-links a:hover { color: var(--red); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--red);
    border-radius: 1px; transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-login {
    background: var(--red); color: #fff;
    padding: 10px 24px; border-radius: 8px;
    font-weight: 600; font-size: 0.88rem;
    display: inline-flex; align-items: center; gap: 6px;
    transition: all 0.25s;
    box-shadow: 0 2px 8px rgba(200,34,44,0.2);
}
.btn-login:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: var(--shadow-red); }
.hamburger { display: none; background: none; border: none; color: var(--charcoal); font-size: 1.5rem; cursor: pointer; }

/* ─── HERO ─── */
.hero {
    padding: 150px 0 100px;
    position: relative;
    background: var(--white);
    overflow: hidden;
}
.hero-bg {
    position: absolute; top: 0; right: -10%; width: 55%; height: 100%;
    background: linear-gradient(135deg, var(--grey-50), var(--grey-100));
    border-radius: 0 0 0 120px;
    z-index: 0;
}
.hero-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 72px; align-items: center;
    position: relative; z-index: 1;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--red-light);
    color: var(--red);
    padding: 7px 16px; border-radius: 100px;
    font-size: 0.78rem; font-weight: 600;
    margin-bottom: 28px;
    border: 1px solid rgba(200,34,44,0.1);
    letter-spacing: 0.01em;
}
.hero h1 {
    font-size: 3.1rem; font-weight: 800;
    line-height: 1.12; margin-bottom: 22px;
    color: var(--charcoal);
    letter-spacing: -1.5px;
}
.gradient-text {
    color: var(--red);
}
.hero p {
    font-size: 1.1rem; color: var(--grey-500);
    margin-bottom: 36px; max-width: 480px;
    line-height: 1.75;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.btn-primary-lg {
    background: var(--red); color: #fff;
    padding: 15px 34px; border-radius: var(--radius);
    font-weight: 700; font-size: 0.95rem;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all 0.3s;
    box-shadow: var(--shadow-red);
}
.btn-primary-lg:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(200,34,44,0.25);
}
.btn-outline-lg {
    border: 1.5px solid var(--grey-300); color: var(--grey-700);
    padding: 15px 34px; border-radius: var(--radius);
    font-weight: 600; font-size: 0.95rem;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all 0.3s;
    background: transparent;
}
.btn-outline-lg:hover {
    border-color: var(--red); color: var(--red);
    transform: translateY(-2px);
}
.hero-stats { display: flex; gap: 48px; }
.hero-stat { text-align: left; }
.hero-stat strong {
    display: block; font-size: 2rem;
    font-weight: 800; color: var(--charcoal);
    letter-spacing: -0.5px;
}
.hero-stat span {
    font-size: 0.8rem; color: var(--grey-500);
    font-weight: 500; letter-spacing: 0.01em;
}

/* Dashboard Mockup — clean, corporate */
.dashboard-mockup {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--grey-200);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: perspective(800px) rotateY(-3deg) rotateX(1deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.dashboard-mockup:hover { transform: perspective(800px) rotateY(0) rotateX(0); }
.mockup-bar {
    display: flex; gap: 6px; padding: 12px 16px;
    background: var(--grey-100);
    border-bottom: 1px solid var(--grey-200);
}
.mockup-bar span { width: 10px; height: 10px; border-radius: 50%; }
.mockup-bar span:first-child { background: #EF4444; }
.mockup-bar span:nth-child(2) { background: #F59E0B; }
.mockup-bar span:last-child { background: #22C55E; }
.mockup-content { display: flex; min-height: 300px; }
.mock-sidebar {
    width: 56px; background: var(--charcoal);
    border-right: 1px solid var(--grey-200);
}
.mock-main { flex: 1; padding: 16px; background: var(--grey-50); }
.mock-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 12px; }
.mc {
    height: 48px; border-radius: 8px;
    background: var(--white);
    border: 1px solid var(--grey-200);
    position: relative;
}
.mc::before {
    content: ''; position: absolute; top: 10px; left: 10px;
    width: 12px; height: 12px; border-radius: 4px;
    background: var(--red); opacity: 0.5;
}
.mock-chart {
    height: 100px; border-radius: 8px;
    background: var(--white);
    border: 1px solid var(--grey-200);
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}
.mock-chart::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(180deg, transparent, var(--red-glow));
}
.mock-table .mt-row {
    height: 22px; border-radius: 6px;
    background: var(--white);
    border: 1px solid var(--grey-200);
    margin-bottom: 5px;
}

/* ─── FEATURES ─── */
.features { padding: 110px 0; background: var(--grey-50); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-badge {
    display: inline-block;
    background: var(--red-light);
    color: var(--red);
    padding: 6px 18px; border-radius: 100px;
    font-size: 0.75rem; font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.section-header h2 {
    font-size: 2.3rem; font-weight: 800;
    margin-bottom: 14px; color: var(--charcoal);
    letter-spacing: -0.8px;
}
.section-header p {
    color: var(--grey-500);
    font-size: 1.05rem; max-width: 560px; margin: 0 auto;
    line-height: 1.7;
}
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feature-card {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-card:hover {
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.feature-icon {
    width: 50px; height: 50px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: 20px;
    background: color-mix(in srgb, var(--c) 10%, var(--white));
    color: var(--c);
    border: 1px solid color-mix(in srgb, var(--c) 15%, transparent);
}
.feature-card h3 {
    font-size: 1.08rem; font-weight: 700;
    margin-bottom: 10px; color: var(--charcoal);
    letter-spacing: -0.2px;
}
.feature-card p {
    color: var(--grey-500); font-size: 0.88rem;
    line-height: 1.7;
}

/* ─── PRICING ─── */
.pricing {
    padding: 110px 0;
    background: var(--white);
}
.pricing-grid {
    display: grid; grid-template-columns: repeat(3,1fr);
    gap: 20px; max-width: 980px; margin: 0 auto;
}
.price-card {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: all 0.35s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card.popular {
    border-color: var(--red);
    box-shadow: 0 4px 40px rgba(200,34,44,0.1);
}
.popular-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--red); color: #fff;
    padding: 5px 22px; border-radius: 100px;
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.02em; white-space: nowrap;
    box-shadow: 0 3px 12px rgba(200,34,44,0.25);
}
.price-name {
    font-size: 0.95rem; font-weight: 600;
    color: var(--grey-500); margin-bottom: 6px;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.price-amount {
    font-size: 2.6rem; font-weight: 900;
    margin-bottom: 28px; color: var(--charcoal);
    letter-spacing: -1px;
}
.price-amount span { font-size: 0.85rem; font-weight: 500; color: var(--grey-500); }
.price-features { list-style: none; margin-bottom: 32px; text-align: left; }
.price-features li {
    padding: 9px 0; font-size: 0.88rem;
    display: flex; align-items: center; gap: 10px;
    color: var(--grey-700);
    border-bottom: 1px solid var(--grey-100);
}
.price-features li:last-child { border-bottom: none; }
.price-features li i { color: var(--red); font-size: 0.82rem; flex-shrink: 0; }
.btn-price, .btn-price-primary {
    display: block; padding: 14px;
    border-radius: var(--radius);
    font-weight: 700; font-size: 0.92rem;
    transition: all 0.3s; text-align: center;
}
.btn-price {
    border: 1.5px solid var(--grey-200); color: var(--grey-700);
    background: transparent;
}
.btn-price:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.btn-price-primary {
    background: var(--red); color: #fff;
    border: 1.5px solid var(--red);
    box-shadow: var(--shadow-red);
}
.btn-price-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
}

/* ─── DEMO SECTION ─── */
.demo-section {
    padding: 110px 0;
    background: var(--charcoal);
    position: relative;
}
.demo-section::before {
    content: ''; position: absolute;
    top: 0; right: 0; width: 40%; height: 100%;
    background: linear-gradient(135deg, rgba(200,34,44,0.06), transparent);
}
.demo-wrapper {
    display: grid; grid-template-columns: 1fr 1.1fr;
    gap: 64px; align-items: start;
    position: relative; z-index: 1;
}
.demo-info h2 {
    font-size: 2rem; font-weight: 800;
    margin-bottom: 16px; color: var(--white);
    letter-spacing: -0.5px;
}
.demo-info p {
    color: rgba(255,255,255,0.55); margin-bottom: 32px;
    font-size: 1rem; line-height: 1.75;
}
.demo-benefits { display: grid; gap: 14px; }
.db {
    display: flex; align-items: center; gap: 12px;
    font-size: 0.92rem; font-weight: 500;
    color: rgba(255,255,255,0.8);
}
.db i { color: #4ADE80; font-size: 1.1rem; }
.demo-form-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.form-row {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px; margin-bottom: 16px;
}
.form-group { display: flex; flex-direction: column; }
.form-group.full { margin-bottom: 16px; }
.form-group label {
    font-size: 0.82rem; font-weight: 600;
    margin-bottom: 6px; color: var(--grey-700);
}
.form-group label span { color: var(--red); }
.form-group input, .form-group textarea {
    background: var(--grey-50);
    border: 1px solid var(--grey-200);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--grey-900);
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.2s;
}
.form-group input::placeholder, .form-group textarea::placeholder {
    color: var(--grey-300);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(200,34,44,0.08);
    background: var(--white);
}
.btn-submit {
    width: 100%;
    background: var(--red); color: #fff;
    border: none; padding: 14px;
    border-radius: var(--radius);
    font-weight: 700; font-size: 0.95rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: all 0.3s; font-family: inherit;
    box-shadow: var(--shadow-red);
}
.btn-submit:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(200,34,44,0.25);
}
.success-box { text-align: center; padding: 48px 24px; }
.success-box i { font-size: 3rem; color: #22C55E; margin-bottom: 16px; display: block; }
.success-box h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--charcoal); }
.success-box p { color: var(--grey-500); }
.error-box {
    background: var(--red-light);
    border: 1px solid rgba(200,34,44,0.15);
    color: var(--red-dark);
    padding: 12px 16px; border-radius: 8px;
    margin-bottom: 20px; font-size: 0.88rem;
    display: flex; align-items: center; gap: 8px;
}

/* ─── CONTACT ─── */
.contact {
    padding: 56px 0;
    background: var(--grey-50);
    border-top: 1px solid var(--grey-200);
}
.contact-inner {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
}
.contact-item { display: flex; align-items: center; gap: 14px; }
.contact-item > i {
    width: 44px; height: 44px;
    background: var(--red-light);
    color: var(--red);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; flex-shrink: 0;
}
.contact-item strong {
    display: block; font-size: 0.75rem;
    color: var(--grey-500); margin-bottom: 2px;
    text-transform: uppercase; letter-spacing: 0.04em;
}
.contact-item a {
    color: var(--grey-900); font-size: 0.88rem;
    font-weight: 500; transition: color 0.2s;
}
.contact-item a:hover { color: var(--red); }
.contact-item span { font-size: 0.88rem; color: var(--grey-700); }

/* ─── FOOTER ─── */
.footer {
    padding: 20px 0;
    border-top: 1px solid var(--grey-200);
    background: var(--white);
}
.footer-inner {
    display: flex; align-items: center; justify-content: space-between;
}
.footer-brand {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 1.05rem;
    color: var(--charcoal);
}
.footer-copy {
    font-size: 0.78rem; color: var(--grey-500);
    font-weight: 400; margin-left: 8px;
}
.footer-links { display: flex; gap: 28px; }
.footer-links a {
    font-size: 0.82rem; color: var(--grey-500);
    font-weight: 500; transition: color 0.2s;
}
.footer-links a:hover { color: var(--red); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .hero { padding: 120px 0 60px; }
    .hero-bg { display: none; }
    .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { margin: 0 auto 28px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; gap: 32px; }
    .hero-stat { text-align: center; }
    .hero-visual { display: none; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 380px; }
    .demo-wrapper { grid-template-columns: 1fr; }
    .demo-info { text-align: center; }
    .demo-benefits { justify-items: center; }
    .contact-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
    .form-row { grid-template-columns: 1fr; }
    .nav-links {
        display: none; position: absolute; top: 64px; left: 0; right: 0;
        background: rgba(255,255,255,0.98); backdrop-filter: blur(12px);
        padding: 24px; flex-direction: column; gap: 16px;
        border-bottom: 1px solid var(--grey-200);
        box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    }
    .nav-links.open { display: flex; }
    .hamburger { display: block; }
    .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
    .section-header h2 { font-size: 1.8rem; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 1.85rem; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .contact-inner { grid-template-columns: 1fr; }
    .demo-form-box { padding: 28px 20px; }
}
