/* Cricket OS Landing Page */
:root {
    --club-navy: #0f2744;
    --club-blue: #1e3a5f;
    --club-green: #2d6a4f;
    --club-green-light: #40916c;
    --club-gold: #c9a227;
}

* { box-sizing: border-box; }

body.landing-body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    color: #1e293b;
    background: #fff;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'DM Sans', sans-serif;
}

/* Navbar */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 39, 68, 0.08);
    transition: box-shadow 0.2s;
}

.landing-nav.scrolled {
    box-shadow: 0 4px 24px rgba(15, 39, 68, 0.08);
}

.landing-nav-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--club-navy);
}

.landing-brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--club-green), var(--club-blue));
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.landing-brand-text {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.landing-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-landing-outline {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    color: var(--club-navy);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-landing-outline:hover {
    border-color: var(--club-green);
    color: var(--club-green);
}

.btn-landing-primary {
    padding: 0.55rem 1.15rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--club-green), #1b4332);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(45, 106, 79, 0.35);
}

.btn-landing-primary:hover {
    background: linear-gradient(135deg, var(--club-green-light), var(--club-green));
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.4);
}

.btn-landing-lg {
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
    border-radius: 12px;
}

/* Hero */
.landing-hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 7rem 1.25rem 4rem;
    background: linear-gradient(145deg, var(--club-navy) 0%, var(--club-blue) 45%, #16324f 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.landing-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border: 2px solid rgba(255,255,255,.05);
    border-radius: 50%;
    top: -200px;
    right: -150px;
}

.landing-hero::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: rgba(201, 162, 39, 0.08);
    border-radius: 50%;
    bottom: -100px;
    left: -80px;
}

.landing-hero-inner {
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .landing-hero-inner {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.landing-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: rgba(255,255,255,.9);
}

.landing-hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 1.25rem;
    color: #fff;
}

.landing-hero h1 span {
    color: var(--club-gold);
}

.landing-hero-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255,255,255,.8);
    margin: 0 0 2rem;
    max-width: 520px;
}

.landing-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    align-items: center;
}

.btn-landing-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.9rem 1.75rem;
    background: linear-gradient(135deg, var(--club-green), #1b4332);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(45, 106, 79, 0.45);
    transition: all 0.2s;
}

.btn-landing-hero:hover {
    background: linear-gradient(135deg, var(--club-green-light), var(--club-green));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(45, 106, 79, 0.5);
}

.btn-landing-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.9rem 1.5rem;
    background: transparent;
    border: 2px solid rgba(255,255,255,.3);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-landing-ghost:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.5);
    color: #fff;
}

/* Hero card mockup */
.landing-hero-card {
    background: rgba(255,255,255,.97);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 24px 64px rgba(0,0,0,.25);
    color: var(--club-navy);
    max-width: 420px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .landing-hero-card {
        margin: 0 0 0 auto;
    }
}

.landing-score-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.landing-live-badge {
    background: #fee2e2;
    color: #dc2626;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.landing-live-dot {
    width: 6px;
    height: 6px;
    background: #dc2626;
    border-radius: 50%;
    animation: landing-pulse 1.4s infinite;
}

@keyframes landing-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.landing-match-teams {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.landing-score-line {
    font-family: 'DM Sans', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--club-green);
    margin-bottom: 1rem;
}

.landing-balls {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.landing-ball {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.landing-ball.dot { background: #f1f5f9; color: #64748b; }
.landing-ball.run { background: #dbeafe; color: #2563eb; }
.landing-ball.four { background: #dcfce7; color: #16a34a; }
.landing-ball.six { background: #fef3c7; color: #d97706; }
.landing-ball.wicket { background: #fee2e2; color: #dc2626; }

/* Features */
.landing-features {
    padding: 5rem 1.25rem;
    background: #f8fafb;
}

.landing-section-title {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.landing-section-title h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--club-navy);
    margin: 0 0 0.75rem;
}

.landing-section-title p {
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.landing-features-grid {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

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

@media (min-width: 992px) {
    .landing-features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.landing-feature-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.landing-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 39, 68, 0.08);
}

.landing-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(45,106,79,.12), rgba(30,58,95,.08));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--club-green);
    font-size: 20px;
    margin-bottom: 1rem;
}

.landing-feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--club-navy);
}

.landing-feature-card p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    line-height: 1.55;
}

/* CTA section */
.landing-cta {
    padding: 5rem 1.25rem;
    background: linear-gradient(135deg, var(--club-navy), var(--club-green));
    text-align: center;
    color: #fff;
}

.landing-cta h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: #fff;
    margin: 0 0 0.75rem;
}

.landing-cta p {
    color: rgba(255,255,255,.8);
    margin: 0 0 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.landing-footer {
    padding: 2rem 1.25rem;
    background: var(--club-navy);
    color: rgba(255,255,255,.6);
    text-align: center;
    font-size: 0.85rem;
}

.landing-footer a {
    color: rgba(255,255,255,.85);
    text-decoration: none;
}

.landing-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 575px) {
    .landing-nav-actions .btn-landing-outline {
        display: none;
    }
}
