/* =========================================================================
   OVERHAULED HOME.CSS - LIGHT SCHEME PLATFORM STYLES & INTERACTIVE CARDS
   ========================================================================= */

/* Hero Banner with Background Video */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 750px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    object-fit: cover;
    opacity: 0.18; /* Lighter background video integration for bright design */
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(248, 250, 252, 0.8) 10%, var(--bg-dark) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.badge {
    background: rgba(26, 86, 219, 0.08);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(26, 86, 219, 0.08);
}

.hero-content h1 {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 24px 0;
    letter-spacing: -2px;
    color: var(--text-main);
    background: linear-gradient(180deg, #0f172a 30%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

/* Call to action */
.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.cta-btn {
    padding: 18px 40px;
    border-radius: var(--border-radius-sm);
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition-snappy);
    cursor: pointer;
}

.primary-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e429f 100%);
    color: #fff;
    box-shadow: 0 10px 30px -5px rgba(26, 86, 219, 0.35);
}

.primary-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px -3px rgba(26, 86, 219, 0.5);
}

.secondary-cta {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(15, 23, 42, 0.12);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

.secondary-cta:hover {
    border-color: var(--text-main);
    background: #ffffff;
    transform: translateY(-3px);
}

/* Live Stats Section */
.stats-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #f1f5f9 100%);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.stat-card {
    background: var(--bg-card);
    border: var(--border-glow);
    padding: 48px 32px;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition-snappy);
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(26, 86, 219, 0.15);
    box-shadow: var(--shadow-cyber);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 12px;
    letter-spacing: -2px;
    background: linear-gradient(135deg, var(--primary-color) 30%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Download Center */
.download-section {
    padding: 140px 0;
    background-color: var(--bg-card);
}

.download-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.download-text {
    flex: 1.2;
}

.download-text h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    color: var(--text-main);
}

.download-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    line-height: 1.8;
}

.store-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.store-btn img {
    height: 56px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-snappy);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
}

.store-btn:hover img {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(26, 86, 219, 0.15);
}

/* Isometric Phone Simulator Mockup Frame */
.download-mockup {
    flex: 0.8;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.phone-frame {
    width: 310px;
    height: 620px;
    background: #000;
    border-radius: 48px;
    border: 10px solid #1c1d22;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
    transform: rotateY(-15deg) rotateX(10deg);
    transition: var(--transition-smooth);
}

.phone-frame:hover {
    transform: rotateY(-5deg) rotateX(5deg) scale(1.03);
    box-shadow: 0 30px 60px rgba(26, 86, 219, 0.2);
}

.app-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overhauled Academic Team Landing Section */
.landing-team-section {
    padding: 140px 0;
    background: #f8fafc;
}

.landing-team-section .section-title {
    color: var(--text-main);
}

/* Testimonials / Social Proof Section */
.testimonial-section {
    padding: 140px 0;
    background: linear-gradient(180deg, #f8fafc 0%, var(--bg-card) 100%);
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 80px;
    letter-spacing: -1.5px;
    color: var(--text-main);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: var(--bg-card);
    border: var(--border-glow);
    padding: 48px;
    border-radius: var(--border-radius-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    position: relative;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02);
}

.testimonial-card::after {
    content: '“';
    position: absolute;
    top: 20px;
    left: 40px;
    font-size: 8rem;
    color: rgba(15, 23, 42, 0.02);
    font-family: serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(26, 86, 219, 0.15);
    box-shadow: var(--shadow-cyber);
}

.testimonial-card p {
    font-size: 1.15rem;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 40px;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-meta h4 {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-main);
}

.user-meta span {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 700;
}

/* Responsiveness */
@media (max-width: 992px) {
    .download-flex {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }
    
    .store-buttons {
        justify-content: center;
    }
    
    .phone-frame {
        transform: none;
    }
    
    .phone-frame:hover {
        transform: scale(1.03);
    }
}