/* Landing page specific styles */

/* Hero Section - Simplified */
.landing-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.75rem;
    text-align: center;
}

.landing-hero-subtitle {
    font-size: 1.15rem;
    color: #718096;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.6;
}

/* Stats Bar */
.stats-bar {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Promo Banner - Christmas */
.promo-banner {
    background: linear-gradient(135deg, #f0f7ff 0%, #fff 50%, #f5f9ff 100%);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid #b8d4f0;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
}

.promo-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 5% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 95% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.promo-badge {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.promo-badge i {
    margin-right: 0.4rem;
}

.promo-text {
    color: #4a5568;
    font-size: 1.1rem;
    font-weight: 500;
}

.promo-text strong {
    font-weight: 700;
    color: #1e40af;
}

.promo-discount {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #c41e3a;
    font-size: 1.8rem;
    font-weight: 800;
}

.promo-warning {
    background: rgba(30, 64, 175, 0.08);
    color: #1e3a8a;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    border: 1px solid rgba(30, 64, 175, 0.15);
}

.promo-warning i {
    color: #c41e3a;
    margin-right: 0.3rem;
}

@media (max-width: 768px) {
    .promo-banner {
        padding: 1.25rem 1rem;
    }
    
    .promo-content {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .promo-discount {
        font-size: 1.5rem;
    }
    
    .promo-text {
        font-size: 1rem;
    }
    
    .promo-warning {
        font-size: 0.85rem;
    }
}

/* Features Section */
.features-section {
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #667eea;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
    transform: translateY(-4px);
}

.feature-card i {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #2d3748;
}

.feature-card p {
    color: #718096;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2d3748;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: #718096;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Free Section - Header Style */
.free-section {
    background: linear-gradient(135deg, #f7fef9 0%, #f0fdf4 100%);
    color: #1a202c;
    border: 1px solid #a7dbb8;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 2px 8px rgba(72, 187, 120, 0.08);
}

.free-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gray-700, #2d3748);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.free-section h3 i {
    color: #5fa577;
    font-size: 1.5rem;
}

.free-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.free-link-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--color-gray-50, #f8f9fa);
    border: 1px solid var(--color-gray-200, #e2e8f0);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.free-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: currentColor;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.free-link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: currentColor;
}

.free-link-card:hover::before {
    transform: scaleY(1);
}

.free-link-card:hover .free-link-arrow {
    transform: translateX(4px);
    opacity: 1;
}

/* Card Color Variants */
.free-link-card--primary {
    color: var(--color-tab-year, #2c5282);
}

.free-link-card--primary .free-link-icon {
    background: var(--color-tab-year, #2c5282);
    color: var(--color-white, #ffffff);
}

.free-link-card--kaggle {
    color: #20beff;
}

.free-link-card--kaggle .free-link-icon {
    background: #20beff;
    color: var(--color-white, #ffffff);
}

.free-link-card--telegram {
    color: #0088cc;
}

.free-link-card--telegram .free-link-icon {
    background: #0088cc;
    color: var(--color-white, #ffffff);
}

.free-link-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.25rem;
}

.free-link-content {
    flex: 1;
    min-width: 0;
}

.free-link-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--color-gray-700, #2d3748);
}

.free-link-description {
    font-size: 0.875rem;
    color: var(--color-gray-600, #4a5568);
    margin: 0;
    line-height: 1.4;
}

.free-link-arrow {
    flex-shrink: 0;
    font-size: 1.25rem;
    color: currentColor;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.3s ease;
}

/* Pricing Section */
.pricing-section {
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: #667eea;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
    transform: scale(1.05);
}

.pricing-card.featured .badge-featured {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-8px);
}

.pricing-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.pricing-card .plan-description {
    color: #718096;
    margin-bottom: 1.5rem;
    min-height: 3rem;
}

/* Price Display */
.price-container {
    margin-bottom: 1.5rem;
    text-align: center;
}

.price-old {
    text-decoration: line-through;
    color: #a0aec0;
    font-size: 1.25rem;
    margin-right: 0.5rem;
}

.price-current {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
}

.price-currency {
    font-size: 1.5rem;
    margin-left: 0.25rem;
}

.price-note {
    font-size: 0.875rem;
    color: #718096;
    margin-top: 0.5rem;
}

/* Features List */
.features-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    flex: 1;
}

.features-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: flex-start;
    color: #4a5568;
    flex-direction: column;
}

.features-list li i {
    color: #48bb78;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    font-size: 1.1rem;
}

.feature-item-header {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.feature-item-description {
    font-size: 0.875rem;
    color: #718096;
    margin-left: 2rem;
    margin-top: 0.25rem;
    line-height: 1.5;
}

.feature-item-description a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.feature-item-description a:hover {
    text-decoration: underline;
}

/* Highlight for "Everything from Standard +" */
.feature-highlight {
    background: linear-gradient(to right, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
    border-left: 3px solid #667eea;
    padding: 0.75rem 1rem !important;
    margin: 0.5rem 0 !important;
    border-radius: 8px;
}

.feature-highlight strong {
    color: #667eea;
    font-size: 1.1rem;
}

/* Purchase Buttons */
.btn-purchase {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: block;
    margin-top: auto;
    font-family: inherit;
}

.btn-purchase:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-purchase-primary {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 85, 104, 0.3);
}

.btn-purchase-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 85, 104, 0.4);
    color: white;
}

.btn-purchase-secondary {
    background: linear-gradient(135deg, #5fa577 0%, #48a065 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(95, 165, 119, 0.3);
}

.btn-purchase-secondary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(95, 165, 119, 0.4);
    color: white;
}

/* Plan files info */
.plan-files-info {
    font-size: 0.9rem;
    color: #718096;
    text-align: center;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* Guarantee Section */
.guarantee-section {
    background: linear-gradient(to right, rgba(237, 242, 247, 0.8), rgba(226, 232, 240, 0.8));
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.guarantee-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.guarantee-section p {
    color: #4a5568;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: white;
    margin-top: 3rem;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .landing-hero-title {
        font-size: 1.75rem;
    }

    .landing-hero-subtitle {
        font-size: 1rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .feature-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .stats-bar {
        flex-direction: column;
    }

    .free-links-grid {
        grid-template-columns: 1fr;
    }

    .free-link-card {
        padding: 0.85rem 1rem;
    }

    .free-link-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .free-link-title {
        font-size: 0.95rem;
    }

    .free-link-description {
        font-size: 0.8rem;
    }
}
