/* 
 * WordPress + Elementor Style CSS
 * Modern, Professional Design
 */

/* ===== Import Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ===== CSS Variables ===== */
:root {
    /* Primary Colors */
    --color-primary: #6366f1;
    --color-primary-dark: #4f46e5;
    --color-primary-light: #818cf8;
    
    /* Secondary Colors */
    --color-secondary: #8b5cf6;
    --color-secondary-dark: #7c3aed;
    --color-secondary-light: #a78bfa;
    
    /* Accent Colors */
    --color-accent: #ec4899;
    --color-accent-dark: #db2777;
    --color-accent-light: #f472b6;
    
    /* Success/Info/Warning/Danger */
    --color-success: #10b981;
    --color-info: #06b6d4;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;
    
    /* Neutrals */
    --color-dark: #1e293b;
    --color-gray: #64748b;
    --color-light: #f1f5f9;
    --color-white: #ffffff;
    
    /* Gradients */
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-6: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-full: 50%;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Prompt', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', 'Prompt', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: var(--transition-base);
}

a:hover {
    color: var(--color-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Hero Section ===== */
.hero-parallax {
    position: relative;
    background: var(--gradient-1);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite ease-in-out;
}

.hero-shapes .shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.hero-shapes .shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 3s;
}

.hero-shapes .shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 50%;
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(30px) rotate(240deg); }
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--color-white);
}

.badge-premium {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: var(--spacing-lg);
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #f0abfc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.9;
    margin-bottom: var(--spacing-xl);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item i {
    font-size: 2rem;
    color: var(--color-accent-light);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 0;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.btn-premium {
    background: var(--color-white);
    color: var(--color-primary);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    border: none;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    color: var(--color-primary-dark);
}

.btn-outline-light {
    background: transparent;
    color: var(--color-white);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    border: 2px solid var(--color-white);
    font-weight: 600;
    transition: var(--transition-base);
}

.btn-outline-light:hover {
    background: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-3px);
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    animation: slideInRight 1s ease-out;
}

.floating-card {
    position: absolute;
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 600;
    animation: floatCard 3s infinite ease-in-out;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.floating-card.card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 30%;
    left: -10%;
    animation-delay: 1s;
}

.floating-card.card-3 {
    bottom: 10%;
    right: 10%;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 10;
}

.scroll-indicator span {
    width: 3px;
    height: 15px;
    background: var(--color-white);
    border-radius: var(--radius-full);
    animation: scrollDot 1.5s infinite;
}

.scroll-indicator span:nth-child(2) { animation-delay: 0.3s; }
.scroll-indicator span:nth-child(3) { animation-delay: 0.6s; }

@keyframes scrollDot {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* ===== Dividers ===== */
.divider-wave {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.divider-wave svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
    fill: var(--color-white);
}

.divider-triangle {
    width: 0;
    height: 0;
    border-left: 50vw solid transparent;
    border-right: 50vw solid transparent;
    border-top: 60px solid var(--color-white);
}

/* ===== Section Styles ===== */
.section-header {
    margin-bottom: var(--spacing-xxl);
}

.section-subtitle {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-dark);
}

.section-description {
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Feature Cards ===== */
.feature-card {
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    height: 100%;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--color-primary-light);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    font-size: 2rem;
    color: var(--color-white);
}

.gradient-1 { background: var(--gradient-1); }
.gradient-2 { background: var(--gradient-2); }
.gradient-3 { background: var(--gradient-3); }
.gradient-4 { background: var(--gradient-4); }
.gradient-5 { background: var(--gradient-5); }
.gradient-6 { background: var(--gradient-6); }

.feature-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-dark);
}

.feature-description {
    color: var(--color-gray);
    margin-bottom: var(--spacing-lg);
}

.feature-link {
    color: var(--color-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-base);
}

.feature-link:hover {
    gap: 1rem;
}

/* ===== Unit Cards ===== */
.unit-card {
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.unit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
}

.unit-card.featured {
    border-color: var(--color-primary);
    transform: scale(1.05);
}

.unit-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.unit-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.unit-badge.popular {
    background: var(--gradient-2);
}

.unit-icon-wrapper {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    color: var(--color-white);
}

.unit-title {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
}

.unit-description {
    text-align: center;
    color: var(--color-gray);
    margin-bottom: var(--spacing-lg);
}

.unit-topics {
    list-style: none;
    padding: 0;
    margin-bottom: var(--spacing-lg);
}

.unit-topics li {
    padding: 0.5rem 0;
    color: var(--color-gray);
}

.unit-topics i {
    color: var(--color-success);
    margin-right: 0.5rem;
}

.btn-unit {
    width: 100%;
    padding: 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    border: none;
    color: var(--color-white);
    transition: var(--transition-base);
}

.btn-gradient-1 { background: var(--gradient-1); }
.btn-gradient-2 { background: var(--gradient-2); }
.btn-gradient-3 { background: var(--gradient-3); }

.btn-unit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--color-white);
}

/* ===== CTA Section ===== */
.section-cta {
    background: var(--color-light);
}

.cta-box {
    background: var(--gradient-1);
    padding: var(--spacing-xxl);
    border-radius: var(--radius-xl);
    color: var(--color-white);
    box-shadow: var(--shadow-2xl);
}

.cta-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.btn-cta {
    background: var(--color-white);
    color: var(--color-primary);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    border: none;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ===== Stats Section ===== */
.section-stats {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.stat-box {
    padding: var(--spacing-lg);
}

.stat-box .stat-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-primary-light);
}

.stat-box .stat-value {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0;
    color: var(--color-white);
}

.stat-box .stat-label {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 0;
}

/* ===== Animations ===== */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .hero-content {
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .floating-card {
        display: none;
    }
    
    .unit-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-xxl: 3rem;
    }
    
    .cta-box {
        padding: var(--spacing-xl);
        text-align: center;
    }
}

/* ===== AOS Animation Overrides ===== */
[data-aos] {
    pointer-events: auto;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--color-light);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}