/* ===== Landing Page ===== */

/* Hero */
.hero-section {
    background: var(--brand-gradient);
    border-radius: var(--radius-lg);
    padding: 64px 48px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -40%; left: -40%;
    width: 180%; height: 180%;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.12) 0%, transparent 60%);
    pointer-events: none;
}

.hero-title {
    color: white;
    font-size: 3.2em;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    color: var(--text);
    font-size: 1.15em;
    max-width: 640px;
    margin: 0 auto 32px;
    position: relative;
    z-index: 1;
    line-height: 1.7;
    font-weight: 500;
    background: var(--bg-card);
    padding: 20px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.hero-buttons {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--brand);
    box-shadow: var(--shadow-md);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-btn.secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
    box-shadow: none;
}

.hero-btn.secondary:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.6);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration) var(--ease);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--brand-gradient);
    transform: scaleX(0);
    transition: transform 0.3s var(--ease);
    transform-origin: left;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--brand-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5em;
    color: white;
    box-shadow: var(--shadow-brand);
}

.feature-title {
    color: var(--text);
    font-size: 1.25em;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.65;
    font-size: 0.95em;
}

/* Stats */
.stats-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 48px 32px;
    text-align: center;
    margin-bottom: 40px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.stats-title {
    color: var(--text);
    font-size: 2em;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.stats-subtitle {
    color: var(--text-muted);
    font-size: 1.05em;
    margin-bottom: 36px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    background: var(--brand-bg);
    border-radius: var(--radius-md);
    padding: 28px 16px;
    transition: all var(--duration) var(--ease);
}

.stat-item:hover {
    background: var(--brand-bg-hover);
    transform: translateY(-2px);
}

.stat-number {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9em;
    font-weight: 500;
}

/* CTA */
.cta-section {
    background: var(--brand-gradient);
    border-radius: var(--radius-lg);
    padding: 48px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -40%; right: -20%;
    width: 60%; height: 160%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-title {
    color: white;
    font-size: 2em;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
}

.cta-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 1.05em;
    margin-bottom: 32px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-btn:hover {
    transform: translateY(-2px);
}

.cta-btn.primary {
    background: white;
    color: var(--brand);
    box-shadow: var(--shadow-md);
}

.cta-btn.primary:hover {
    box-shadow: var(--shadow-lg);
}

.cta-btn.secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
}

.cta-btn.secondary:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.6);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 24px;
        margin-bottom: 24px;
    }
    .hero-title { font-size: 2.2em; }
    .hero-subtitle { font-size: 1.05em; padding: 16px 20px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-btn { width: 100%; max-width: 280px; justify-content: center; }
    .features-grid { grid-template-columns: 1fr; gap: 16px; }
    .feature-card { padding: 24px 20px; }
    .stats-section { padding: 32px 20px; }
    .stats-title { font-size: 1.6em; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .cta-section { padding: 36px 20px; }
    .cta-title { font-size: 1.6em; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-btn { width: 100%; max-width: 280px; justify-content: center; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8em; }
    .stats-grid { grid-template-columns: 1fr; }
}