/* ============================================
   Home Page Styles
   ============================================ */

.home-page {
    background: var(--bg-primary);
    overflow-x: hidden;
}

/* Header */
.home-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
}

.home-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.home-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.home-logo .logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.home-logo-image {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
}

.home-logo .logo-text {
    font-size: 22px;
    font-weight: 700;
}

.home-logo .logo-text span {
    color: var(--accent-primary);
}

.home-nav {
    display: flex;
    gap: 35px;
}

.home-nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.home-nav-link:hover {
    color: var(--accent-primary);
}

.home-header-actions {
    display: flex;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

/* Buttons */
.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.home-btn.primary {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

.home-btn.primary:hover {
    background: #00b894;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.3);
}

.home-btn.secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.home-btn.secondary:hover {
    border-color: var(--accent-primary);
    background: rgba(0, 212, 170, 0.1);
}

.home-btn.gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.home-btn.gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.home-btn.large {
    padding: 16px 32px;
    font-size: 17px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 212, 170, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 30px;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-value {
    display: block;
    font-size: 36px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent-primary);
}

.hero-stat .stat-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sections */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-badge.free {
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    color: var(--accent-primary);
}

.section-badge.gold {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--accent-warning);
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.features-grid-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card-large {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 35px;
    display: flex;
    gap: 25px;
    transition: all 0.3s;
    position: relative;
}

.feature-card-large:hover {
    border-color: rgba(0, 212, 170, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-card-large.premium-card {
    border-color: rgba(245, 158, 11, 0.3);
}

.feature-card-large.premium-card:hover {
    border-color: rgba(245, 158, 11, 0.6);
}

.feature-icon-large {
    font-size: 48px;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

.premium-card .feature-list li::before {
    color: var(--accent-warning);
}

/* Small Features Grid */
.small-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.small-feature {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.small-feature:hover {
    border-color: rgba(0, 212, 170, 0.3);
    transform: translateY(-2px);
}

.small-feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.small-feature h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.small-feature p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

/* Premium Section */
.premium-section {
    padding: 100px 0;
    position: relative;
}

.premium-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.premium-section .section-container {
    position: relative;
}

.premium-grid {
    margin-bottom: 60px;
}

.premium-cta {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--border-radius);
    padding: 50px;
    text-align: center;
}

.premium-cta h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.premium-cta p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 17px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 38px;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.home-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 16px;
    font-size: 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid-large {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .home-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .home-nav.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .home-header-actions {
        display: none;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 32px;
    }

    .feature-card-large {
        flex-direction: column;
        text-align: center;
    }

    .feature-list li {
        text-align: left;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 20px 60px;
    }

    .section-container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 32px;
    }

    .small-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .premium-cta {
        padding: 30px 20px;
    }

    /* Premium Highlight Box */
.premium-highlight {
    display: flex;
    gap: 24px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--border-radius);
    padding: 30px 35px;
    margin-bottom: 50px;
    align-items: center;
}

.premium-highlight-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.premium-highlight-content h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--accent-warning);
}

.premium-highlight-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.premium-highlight-content strong {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .premium-highlight {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
}
}