/* ============================================
   MODERN HOMEPAGE REDESIGN - PURPLE THEME
   Fresh, Clean, Contemporary Design
   ============================================ */

:root {
    --hero-gradient-start: #9333ea;
    --hero-gradient-end: #a855f7;
    --hero-accent: #c084fc;
    --text-dark: #1a1a1a;
    --text-light: #6b7280;
    --bg-light: #faf5ff;
    --card-bg: #ffffff;
}

/* ============================================
   HERO SECTION - MODERN GRADIENT
   ============================================ */

.home-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 50%, #e9d5ff 100%);
    overflow: hidden;
    padding: 120px 20px 80px;
}

/* Animated gradient orbs */
.home-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}

.home-hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

/* Hero Content */
.home-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.home-hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-dark);
    letter-spacing: -2px;
}

.home-hero-content h1 .highlight-text {
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.home-hero-content h1 .highlight-text::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--hero-gradient-start), var(--hero-gradient-end));
    border-radius: 2px;
    animation: expand 1.5s ease-out;
}

@keyframes expand {
    from { width: 0; }
    to { width: 100%; }
}

.home-hero-content h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.home-hero-content h2 .highlight-text-secondary {
    color: var(--hero-gradient-end);
}

.home-hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .btn {
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-cta .btn-primary {
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
    color: white;
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.3);
}

.hero-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(147, 51, 234, 0.4);
}

.hero-cta .btn-secondary {
    background: white;
    color: var(--hero-gradient-start);
    border: 2px solid var(--hero-gradient-start);
    box-shadow: 0 5px 20px rgba(147, 51, 234, 0.1);
}

.hero-cta .btn-secondary:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.2);
}

/* Floating Shapes - Removed heavy animations */
.home-hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.home-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.home-shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
    top: 10%;
    left: 5%;
}

.home-shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--hero-accent), var(--hero-gradient-end));
    top: 60%;
    right: 10%;
}

.home-shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-accent));
    bottom: 15%;
    left: 15%;
}

.home-shape-4 {
    width: 100px;
    height: 100px;
    background: var(--hero-gradient-end);
    top: 30%;
    right: 20%;
}

.home-shape-5 {
    width: 120px;
    height: 120px;
    background: var(--hero-gradient-start);
    bottom: 30%;
    right: 5%;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
    padding: 100px 20px;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 24px;
    background: var(--bg-light);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(147, 51, 234, 0.15);
    border-color: rgba(147, 51, 234, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.3);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .home-hero {
        min-height: 80vh;
        padding: 100px 15px 60px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .home-hero-content h1 {
        letter-spacing: -1px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}
