/* Design Tokens from Figma */
:root {
    --primary-green: #00a63e;
    --primary-dark: #008236;
    --green-light: #00c950;
    --green-bg: #dcfce7;
    --green-gradient-start: #00a63e;
    --green-gradient-end: #008236;
    
    --text-dark: #101828;
    --text-gray: #4a5565;
    --text-light: #6a7282;
    --text-lighter: #99a1af;
    
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    --border-gray: #e5e7eb;
    
    --red-bg: #ffe2e2;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

/* Navigation */
.nav {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-gray);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1216px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.nav-logo span {
    color: var(--primary-green);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.nav-actions {
    display: flex;
    gap: 12px;
}

/* Buttons */
.btn {
    padding: 6px 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-family);
}

.btn-primary {
    background: var(--primary-green);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-ghost {
    background: transparent;
    color: var(--text-dark);
}

.btn-ghost:hover {
    background: var(--bg-light);
}

.btn-dark {
    background: var(--text-dark);
    color: white;
}

.btn-dark:hover {
    background: #000;
}

/* Hero */
.hero {
    background: linear-gradient(164deg, rgba(13, 84, 43, 0.95) 0%, rgba(1, 102, 48, 0.9) 50%, rgba(16, 24, 40, 0.95) 100%),
                url('../assets/hero-bg-new.jpg');
    background-size: cover;
    background-position: center;
    min-height: 424px;
    display: flex;
    align-items: center;
    color: white;
}

.hero-container {
    max-width: 768px;
    margin: 0 auto;
    padding: 128px 32px;
}

.hero h1 {
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 24px;
}

.hero p {
    font-size: 24px;
    color: #dcfce7;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--green-light);
    color: white;
    padding: 10px 45px;
}

.btn-hero-secondary {
    background: white;
    color: var(--text-dark);
    padding: 10px 48px;
}

/* Sections */
.section {
    padding: 80px 32px;
}

.section-problems {
    background: var(--bg-light);
}

.section-gradient {
    background: linear-gradient(159deg, #f0fdf4 0%, #f9fafb 100%);
}

.section-green {
    background: linear-gradient(159deg, var(--green-gradient-start) 0%, var(--green-gradient-end) 100%);
    color: white;
}

.section-green h2,
.section-green h3 {
    color: white;
}

.section-green p {
    color: #dcfce7;
}

.section-light {
    background: var(--bg-light);
}

.section-dark-green {
    background: linear-gradient(164deg, #101828 0%, #0d542b 100%);
    color: white;
    text-align: center;
}

.section-dark-green h2 {
    font-size: 48px;
    color: white;
    margin-bottom: 24px;
}

.section-dark-green p {
    color: #d1d5dc;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

.container-narrow {
    max-width: 896px;
    margin: 0 auto;
}

.section h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.section-lead {
    font-size: 20px;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 64px;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.card {
    background: white;
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card-centered {
    text-align: center;
}

.card-glass {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon img {
    width: 24px;
    height: 24px;
}

.card-icon-red {
    background: var(--red-bg);
}

.card-icon-green {
    background: var(--green-bg);
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.card-icon-green img {
    width: 32px;
    height: 32px;
}

.card-icon-white {
    background: rgba(255, 255, 255, 0.2);
}

.card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.card p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.5;
}

.card-glass p {
    color: #dcfce7;
}

/* Solution Grid */
.solution-grid {
    display: grid;
    grid-template-columns: 616px 1fr;
    gap: 48px;
    align-items: start;
}

.squad-card {
    background: white;
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.squad-header {
    background: var(--primary-green);
    padding: 16px 24px;
    color: white;
}

.squad-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.squad-avatar {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.squad-name {
    font-weight: 700;
    font-size: 16px;
}

.squad-season {
    font-size: 12px;
    color: #dcfce7;
}

.squad-body {
    padding: 24px;
}

.squad-body h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 16px;
}

.player-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.player-item {
    background: var(--bg-light);
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    padding: 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.player-avatar {
    width: 40px;
    height: 40px;
    background: var(--green-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--primary-dark);
}

.player-name {
    font-weight: 600;
    font-size: 16px;
}

.player-role {
    font-size: 14px;
    color: var(--text-light);
}

.player-progress {
    display: flex;
    align-items: center;
    gap: 12px;
}

.player-progress span {
    font-weight: 600;
    font-size: 14px;
}

.progress-bar {
    width: 64px;
    height: 8px;
    background: var(--border-gray);
    border-radius: 100px;
    overflow: hidden;
}

.progress-bar div {
    height: 100%;
    background: var(--green-light);
    border-radius: 100px;
}

.squad-tabs {
    display: flex;
    gap: 8px;
}

.squad-tabs button {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    background: var(--bg-gray);
    color: var(--text-gray);
    font-size: 14px;
    cursor: pointer;
}

.squad-tabs .tab-active {
    background: var(--primary-green);
    color: white;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-icon img {
    width: 100%;
    height: 100%;
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.step-card {
    background: white;
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
}

.step-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 60px;
    font-weight: 700;
    color: #f0fdf4;
}

.step-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 72px 0 8px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.4;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: white;
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    padding: 32px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: relative;
}

.pricing-club {
    border: 2px solid var(--primary-green);
}

.pricing-featured {
    border: 2px solid var(--primary-green);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 32px;
    background: var(--primary-green);
    color: white;
    padding: 4px 16px;
    border-radius: 0 0 8px 8px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-meta {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.pricing-price {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.pricing-price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-light);
}

.pricing-card p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 24px;
}

.pricing-card .btn {
    width: 100%;
    padding: 8px;
    margin-bottom: 32px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-features li {
    font-size: 14px;
    color: var(--text-gray);
    padding-left: 32px;
    position: relative;
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    background-image: url('../assets/icon-pricing-check.svg');
    background-size: contain;
    background-repeat: no-repeat;
    top: 0;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    padding: 16px 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item:hover {
    background: var(--bg-light);
}

.faq-arrow {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* CTA */
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 32px 0;
}

.btn-cta-primary {
    background: var(--green-light);
    color: white;
    padding: 10px 45px;
}

.btn-cta-secondary {
    background: white;
    color: var(--text-dark);
    border: 1px solid white;
    padding: 10px 48px;
}

.cta-note {
    font-size: 14px;
    color: var(--text-lighter);
    text-align: center;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 80px 32px 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo span {
    color: var(--green-light);
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-lighter);
    max-width: 240px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    font-size: 14px;
    color: var(--text-lighter);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #1e2939;
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-lighter);
}

/* Responsive */
@media (max-width: 1024px) {
    .solution-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pricing-featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}


/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    margin: 20px;
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: 300;
    color: var(--text-gray);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-content h2 {
    font-size: 32px;
    margin-bottom: 8px;
    text-align: left;
}

.modal-subtitle {
    color: var(--text-gray);
    margin-bottom: 32px;
    font-size: 16px;
}

/* Form Styles */
.demo-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-family);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
}

.captcha-group {
    background: var(--bg-light);
    padding: 16px;
    border-radius: 8px;
}

.captcha-group label {
    margin-bottom: 12px;
}

#captchaQuestion {
    font-weight: 700;
    color: var(--primary-green);
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 8px;
}

.form-actions .btn {
    padding: 12px 24px;
}

.form-message {
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: var(--green-bg);
    color: var(--primary-dark);
    border: 1px solid var(--primary-green);
}

.form-message.error {
    display: block;
    background: var(--red-bg);
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.form-message.info {
    display: block;
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 24px;
        margin: 10px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}
