/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: #1a1a2e; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

/* === Animations === */
.animate-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* === Buttons === */
.btn {
    display: inline-block; padding: 12px 28px; border-radius: 10px; font-weight: 600;
    font-size: 15px; transition: all 0.25s ease; cursor: pointer; text-align: center;
    border: 2px solid transparent; letter-spacing: -0.01em;
}
.btn-primary {
    background: linear-gradient(135deg, #2d6a4f 0%, #1b5e3b 100%);
    color: #fff; box-shadow: 0 4px 14px rgba(45, 106, 79, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(45, 106, 79, 0.4); }
.btn-outline { border: 2px solid #2d6a4f; color: #2d6a4f; }
.btn-outline:hover { background: #2d6a4f; color: #fff; transform: translateY(-2px); }
.btn-ghost { color: #2d6a4f; padding: 12px 20px; }
.btn-ghost:hover { background: rgba(45, 106, 79, 0.06); }
.btn-lg { padding: 16px 36px; font-size: 16px; border-radius: 12px; }
.btn-block { display: block; width: 100%; }

/* === Text gradient === */
.text-gradient {
    background: linear-gradient(135deg, #2d6a4f, #4ade80);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Nav === */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,0.85); backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; }
.logo-svg { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: #666; transition: color 0.2s; }
.nav-links a:hover { color: #2d6a4f; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: #333; }
.mobile-menu { display: none; flex-direction: column; gap: 16px; padding: 24px 28px; background: #fff; border-bottom: 1px solid #eee; }
.mobile-menu.open { display: flex; }

/* === Hero === */
.hero {
    position: relative; padding: 140px 0 100px; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(240,253,244,0.88) 40%, rgba(255,255,255,0.85) 100%),
        url('https://images.unsplash.com/photo-1529926706528-db9e5010cd3e?w=1600&h=900&fit=crop') center/cover no-repeat;
}
.hero-inner { display: flex; align-items: center; gap: 72px; position: relative; z-index: 1; }
.hero-content { flex: 1; }
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(45, 106, 79, 0.08); color: #065f46;
    padding: 8px 18px; border-radius: 24px; font-size: 13px;
    font-weight: 600; margin-bottom: 24px; border: 1px solid rgba(45, 106, 79, 0.12);
}
.hero h1 {
    font-size: 52px; font-weight: 800; line-height: 1.1;
    margin-bottom: 20px; color: #0f172a; letter-spacing: -0.03em;
}
.hero-sub { font-size: 18px; color: #475569; margin-bottom: 32px; max-width: 520px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; margin-bottom: 20px; }
.hero-trust { display: flex; align-items: center; gap: 12px; }
.hero-trust span { font-size: 13px; color: #94a3b8; }
.trust-avatars { display: flex; }
.trust-avatar {
    width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 13px; border: 2px solid #fff; margin-right: -8px;
}
.hero-visual { flex: 0 0 360px; }

/* Phone mockup */
.phone-mockup {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-radius: 36px; padding: 14px;
    box-shadow: 0 32px 64px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.05) inset;
    transform: perspective(800px) rotateY(-3deg) rotateX(2deg);
    transition: transform 0.4s ease;
}
.phone-mockup:hover { transform: perspective(800px) rotateY(0deg) rotateX(0deg); }
.phone-screen { background: #fff; border-radius: 26px; padding: 24px; min-height: 420px; }
.mock-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; font-size: 15px; font-weight: 700; color: #2d6a4f; }
.mock-dot { width: 8px; height: 8px; background: #e2e8f0; border-radius: 50%; }
.mock-stats { display: flex; gap: 10px; margin-bottom: 20px; }
.mock-stat { flex: 1; text-align: center; background: #f8fafc; border-radius: 14px; padding: 14px 8px; border: 1px solid #f1f5f9; }
.mock-num { display: block; font-size: 26px; font-weight: 800; color: #2d6a4f; letter-spacing: -0.02em; }
.mock-label { font-size: 11px; color: #94a3b8; font-weight: 500; }
.mock-match { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; margin-bottom: 8px; background: #f8fafc; border: 1px solid #f1f5f9; }
.mock-match-dot { width: 10px; height: 10px; border-radius: 50%; background: #3b82f6; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); }
.mock-match-dot.league { background: #8b5cf6; box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15); }
.mock-match-title { font-size: 13px; font-weight: 600; color: #1e293b; }
.mock-match-sub { font-size: 11px; color: #94a3b8; }

/* === Stats Bar === */
.stats-bar {
    background: #0f172a; padding: 24px 0; position: relative; z-index: 2;
}
.stats-bar-inner { display: flex; align-items: center; justify-content: center; gap: 48px; }
.stat-item { text-align: center; }
.stat-num { font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.stat-label { font-size: 13px; color: #64748b; display: block; margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: #1e293b; }

/* === Sections === */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 38px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.03em; color: #0f172a; }
.section-header p { font-size: 18px; color: #64748b; max-width: 560px; margin: 0 auto; }
.section-tag {
    display: inline-block; background: rgba(45, 106, 79, 0.08); color: #2d6a4f;
    padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 12px;
}
.section-header-light h2 { color: #fff; }
.section-header-light p { color: rgba(255,255,255,0.7); }
.section-tag-light { background: rgba(255,255,255,0.15); color: #fff; }

/* === Roles === */
.roles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.role-card {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 20px;
    overflow: hidden; transition: all 0.3s ease;
    display: flex; flex-direction: column;
}
.role-body { display: flex; flex-direction: column; flex: 1; }
.role-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,0.08); }
.role-card.highlight { border-color: #2d6a4f; box-shadow: 0 0 0 1px #2d6a4f, 0 8px 24px rgba(45, 106, 79, 0.08); }
.role-img { height: 160px; background-size: cover; background-position: center; position: relative; }
.role-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.1), transparent); }
.role-body { padding: 28px; }
.role-icon {
    font-size: 28px; margin-bottom: 12px; width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center; border-radius: 14px;
    margin-top: -42px; position: relative; z-index: 1; border: 3px solid #fff;
}
.role-icon.owner { background: #fef3c7; }
.role-icon.player { background: #d1fae5; }
.role-icon.trainer { background: #e0e7ff; }
.role-icon.organizer { background: #fce7f3; }
.role-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; color: #0f172a; }
.role-card > .role-body > p { color: #64748b; margin-bottom: 20px; font-size: 15px; }
.role-card ul { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.role-card li { font-size: 14px; color: #475569; padding-left: 24px; position: relative; }
.role-card li::before { content: ''; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; background: #2d6a4f; border-radius: 50%; }
.role-card li::after { content: ''; position: absolute; left: 5px; top: 10px; width: 6px; height: 3px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

/* === Steps === */
.steps-section {
    position: relative; overflow: hidden;
}
.steps-bg {
    position: absolute; inset: 0;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.88)),
        url('https://images.unsplash.com/photo-1595435934249-5df7ed86e1c0?w=1600&h=600&fit=crop') center/cover no-repeat;
}
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 12px; }
.step { text-align: center; flex: 1; max-width: 230px; padding: 8px; }
.step-num {
    width: 56px; height: 56px; border-radius: 16px;
    background: linear-gradient(135deg, #4ade80, #2d6a4f); color: #fff;
    font-size: 22px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 16px; box-shadow: 0 4px 16px rgba(74, 222, 128, 0.3);
}
.steps-section .step h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; color: #fff; }
.steps-section .step p { font-size: 14px; color: rgba(255,255,255,0.65); }
.step-arrow { font-size: 20px; color: rgba(255,255,255,0.25); margin-top: 18px; }

/* === Features === */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 20px;
    padding: 32px; transition: all 0.3s ease; position: relative; overflow: hidden;
}
.feature::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #2d6a4f, #4ade80); opacity: 0; transition: opacity 0.3s;
}
.feature:hover { border-color: #2d6a4f; transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.feature:hover::before { opacity: 1; }
.feature-icon {
    font-size: 28px; margin-bottom: 16px; width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: #f0fdf4; border-radius: 14px;
}
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: #0f172a; }
.feature p { font-size: 14px; color: #64748b; line-height: 1.6; }

/* === Pricing === */
.pricing-section { position: relative; overflow: hidden; }
.pricing-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 100%, rgba(45, 106, 79, 0.04) 0%, transparent 60%),
        #f8faf9;
}
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1140px; margin: 0 auto; }
.price-card {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 24px;
    padding: 40px 32px; text-align: center; position: relative; transition: all 0.3s ease;
    display: flex; flex-direction: column;
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); }
.price-card.popular {
    border: 2px solid #2d6a4f;
    background: linear-gradient(180deg, #f0fdf4 0%, #fff 30%);
    box-shadow: 0 12px 40px rgba(45, 106, 79, 0.12); transform: scale(1.04);
}
.price-card.popular:hover { transform: scale(1.04) translateY(-6px); }
.popular-tag {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, #2d6a4f, #1b5e3b); color: #fff;
    padding: 6px 20px; border-radius: 20px; font-size: 12px; font-weight: 700;
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.3);
}
.price-badge {
    display: inline-block; background: rgba(45, 106, 79, 0.08); color: #2d6a4f;
    padding: 6px 16px; border-radius: 10px; font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.price { font-size: 56px; font-weight: 800; color: #0f172a; letter-spacing: -0.04em; line-height: 1; }
.price-period { font-size: 14px; color: #94a3b8; margin-bottom: 28px; margin-top: 4px; }
.price-card ul { text-align: left; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-card li { font-size: 14px; color: #475569; }

/* === CTA === */
.cta-section {
    position: relative; text-align: center; padding: 120px 0; overflow: hidden;
}
.cta-bg {
    position: absolute; inset: 0;
    background:
        linear-gradient(135deg, rgba(27, 67, 50, 0.9), rgba(45, 106, 79, 0.85)),
        url('https://images.unsplash.com/photo-1554068865-24cecd4e34b8?w=1600&h=600&fit=crop') center/cover no-repeat;
}
.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 { font-size: 40px; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.03em; color: #fff; }
.cta-inner p { font-size: 18px; color: rgba(255,255,255,0.8); margin-bottom: 32px; }
.cta-section .btn-primary {
    background: #fff; color: #2d6a4f; border-color: transparent;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.cta-section .btn-primary:hover { background: #f0fdf4; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* === Footer === */
.footer { background: #0f172a; color: #fff; padding: 56px 0 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; margin-bottom: 40px; }
.footer-brand p { color: #64748b; font-size: 14px; margin-top: 10px; max-width: 280px; }
.footer-links { display: flex; gap: 72px; }
.footer-links h4 { font-size: 13px; font-weight: 700; margin-bottom: 14px; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-links a { display: block; font-size: 14px; color: #64748b; margin-bottom: 10px; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1e293b; padding: 20px 0; }
.footer-bottom p { font-size: 13px; color: #475569; }

/* === Responsive === */
@media (max-width: 1024px) {
    .roles-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .price-card.popular { transform: none; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero { padding: 110px 0 60px; }
    .hero-inner { flex-direction: column; gap: 48px; text-align: center; }
    .hero h1 { font-size: 34px; }
    .hero-sub { margin: 0 auto 28px; }
    .hero-actions { justify-content: center; flex-wrap: wrap; }
    .hero-trust { justify-content: center; }
    .hero-visual { flex: none; width: 300px; }
    .phone-mockup { transform: none; }
    .roles-grid, .features-grid, .pricing-grid { grid-template-columns: 1fr; }
    .price-card.popular { transform: none; }
    .price-card.popular:hover { transform: translateY(-6px); }
    .steps { flex-direction: column; align-items: center; }
    .step-arrow { transform: rotate(90deg); }
    .stats-bar-inner { flex-wrap: wrap; gap: 24px; }
    .stat-divider { display: none; }
    .footer-inner { flex-direction: column; gap: 32px; }
    .footer-links { flex-direction: column; gap: 32px; }
    .section { padding: 72px 0; }
    .section-header h2 { font-size: 30px; }
    .cta-inner h2 { font-size: 30px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 28px; }
    .hero-visual { width: 260px; }
    .btn-lg { padding: 14px 24px; font-size: 15px; }
}
