/* ============================================
   UNICORN ECOSYSTEM — LANDING PAGE
   Material Design 3 (Google Style Model)
   Self-Contained Premium Stylesheet
   ============================================ */

/* ── Google Design Tokens ── */
:root {
    --google-blue: #4285F4;
    --google-blue-hover: #1A73E8;
    --google-red: #EA4335;
    --google-yellow: #FBBC04;
    --google-green: #34A853;

    --text-primary: #202124;
    --text-secondary: #5F6368;
    --surface: #FFFFFF;
    --background: #F8F9FA;

    --font-brand: 'Google Sans', 'Plus Jakarta Sans', sans-serif;
    --font-plain: 'Roboto', 'Inter', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 100px;

    --shadow-sm: 0 1px 2px 0 rgba(60,64,67,.30), 0 1px 3px 1px rgba(60,64,67,.15);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    
    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Scroll Progress Bar ── */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--google-blue);
    z-index: 2000;
}

/* ── Base ── */
body {
    background: var(--surface);
    color: var(--text-primary);
    margin: 0;
    font-family: var(--font-plain);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

h1, h2, h3, h4, .font-brand {
    font-family: var(--font-brand);
    font-weight: 500; /* Google Sans looks best at 500/700 */
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Buttons (M3 Style) ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-family: var(--font-brand);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--google-blue);
    color: white;
}
.btn-primary:hover {
    background: var(--google-blue-hover);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background: white;
    color: var(--google-blue);
    border: 1px solid #DADCE0;
}
.btn-secondary:hover {
    background: #F8F9FA;
    border-color: #D2D4D7;
}

.btn-ghost {
    background: transparent;
    color: var(--google-blue);
}
.btn-ghost:hover {
    background: rgba(66, 133, 244, 0.04);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: white;
    box-shadow: 0 1px 2px 0 rgba(60,64,67,.3), 0 2px 6px 2px rgba(60,64,67,.15);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-brand);
    font-size: 22px;
    font-weight: 500;
    color: #5F6368;
}
.logo-icon {
    color: var(--google-blue);
    font-size: 28px;
}
.text-gradient {
    color: var(--google-blue);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
}
.menu-toggle:hover { background: rgba(0,0,0,0.04); }

/* ── Hero ── */
.hero-section {
    padding: 120px 24px 80px;
    text-align: center;
    background: white;
    background-image: 
        radial-gradient(at 0% 0%, rgba(66,133,244,0.12) 0, transparent 50%),
        radial-gradient(at 100% 0%, rgba(52,168,83,0.08) 0, transparent 50%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--google-blue);
    color: white;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.25);
}

.hero-content h1 {
    font-size: clamp(40px, 8vw, 64px);
    font-weight: 700;
    color: #202124;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 20px;
    color: #5F6368;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* ── Search Bar (Google Style) ── */
.search-container {
    max-width: 600px;
    margin: 0 auto;
}

.search-wrapper {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #DADCE0;
    border-radius: var(--radius-pill);
    padding: 4px 4px 4px 20px;
    transition: var(--transition);
    height: 56px;
}
.search-wrapper:hover, .search-wrapper:focus-within {
    box-shadow: 0 1px 6px rgba(32,33,36,.28);
    border-color: rgba(223,225,229,0);
}

.search-icon-inside {
    color: #9AA0A6;
    margin-right: 12px;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: #202124;
}

.search-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--google-blue);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* ── Stats (High-Fidelity Screenshot Match) ── */
.stats-section {
    padding: 80px 24px;
    background: #f8f9fa;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.stat-card {
    padding: 30px 24px;
    border-radius: 24px;
    background: white;
    border: 1px solid #e8eaed;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-color: var(--google-blue);
}
.stat-icon {
    font-size: 28px;
    color: #4285F4;
    flex-shrink: 0;
}
.stat-content {
    display: flex;
    align-items: center;
    gap: 12px;
}
.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #202124;
    line-height: 1;
}
.stat-label {
    font-size: 11px;
    font-weight: 600;
    color: #70757a;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 0.5px;
    max-width: 60px;
}

@media (max-width: 1200px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat-card { padding: 24px; }
}

/* ── Ecosystem Section ── */
.ecosystem-section {
    padding: 80px 24px;
}
.section-header-centered {
    text-align: center;
    margin-bottom: 56px;
}
.title-premium {
    font-size: 44px;
    margin-bottom: 16px;
}
.subtitle-premium {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.eco-card {
    padding: 40px;
    border-radius: var(--radius-xl);
    background: white;
    border: 1px solid #DADCE0;
    transition: var(--transition);
}
.eco-card:hover {
    border-color: var(--google-blue);
    box-shadow: var(--shadow-lg);
}
.eco-icon-box {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

/* ── Courses ── */
.courses-section {
    padding: 80px 24px;
    background: var(--background);
}
.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.course-card-premium {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid #DADCE0;
    transition: var(--transition);
}
.course-card-premium:hover {
    box-shadow: var(--shadow-lg);
}
.course-img-wrapper {
    height: 200px;
    position: relative;
}
.course-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.course-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(32,33,36,0.6);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 12px;
}
.course-body { padding: 24px; }
.course-title { font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.course-body p { color: var(--text-secondary); font-size: 14px; margin-bottom: 20px; }
.course-actions { display: flex; align-items: center; justify-content: space-between; }
.course-price { font-weight: 700; color: var(--google-blue); font-size: 18px; }

/* ── Workshops ── */
.workshops-section {
    padding: 80px 24px;
}
.workshops-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.event-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid #DADCE0;
    background: white;
    transition: var(--transition);
}
.event-card:hover {
    border-color: var(--google-green);
    box-shadow: var(--shadow-lg);
}
.event-date {
    font-size: 12px;
    color: var(--google-blue);
    font-weight: 700;
    margin-bottom: 12px;
}
.event-title { font-size: 18px; margin-bottom: 8px; }
.event-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }
.event-footer { display: flex; justify-content: space-between; align-items: center; }
.event-speaker { font-size: 13px; color: var(--text-secondary); }

/* ── FAQ ── */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    margin-bottom: 12px;
    border-radius: var(--radius-md);
    background: var(--background);
}
.faq-summary {
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}
.faq-content {
    padding: 0 24px 24px;
    color: var(--text-secondary);
}

/* ── Final CTA ── */
.section-final-cta {
    padding: 80px 24px;
    text-align: center;
    background: var(--google-blue);
    color: white;
    margin: 0 24px 80px;
    border-radius: var(--radius-xl);
}
.cta-title { font-size: 48px; margin-bottom: 16px; font-weight: 700; }
.cta-subtitle { font-size: 20px; margin-bottom: 32px; opacity: 0.9; }

/* ── Footer placeholders removed - using Upgraded Footer at end of file ── */

/* ── Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ── FAB ── */
.fab-ai {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    background: white;
    color: var(--google-blue);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    z-index: 1000;
}
.fab-ai:hover { box-shadow: var(--shadow-md); }

/* ── Trust Section ── */
.trust-section {
    padding: 60px 24px;
    background: white;
    text-align: center;
    border-bottom: 1px solid #f1f3f4;
}
.trust-text {
    font-size: 14px;
    color: #70757a;
    font-weight: 500;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.logo-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 64px;
    flex-wrap: wrap;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: var(--transition);
}
.logo-bar:hover {
    opacity: 1;
    filter: grayscale(0%);
}
.logo-item {
    font-family: var(--font-brand);
    font-size: 24px;
    color: #70757a;
}

/* ── Mentor Spotlight ── */
.mentors-section {
    padding: 100px 24px;
    background: #f8f9fa;
}
.mentor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.mentor-card {
    background: white;
    padding: 32px;
    border-radius: 24px;
    border: 1px solid #e8eaed;
    text-align: center;
    transition: var(--transition);
}
.mentor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-color: var(--google-blue);
}
.mentor-image {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
    border: 3px solid #f1f3f4;
}
.mentor-name { font-size: 18px; font-weight: 700; color: #202124; margin-bottom: 4px; }
.mentor-role { font-size: 14px; color: var(--google-blue); font-weight: 500; margin-bottom: 12px; }
.mentor-company { font-size: 13px; color: #70757a; margin-bottom: 20px; }
.mentor-socials { display: flex; justify-content: center; gap: 12px; }
.mentor-socials a { color: #bdc1c6; transition: var(--transition); }
.mentor-socials a:hover { color: var(--google-blue); }

/* ── Newsletter Hub ── */
.newsletter-hub {
    padding: 100px 24px;
    background: white;
    text-align: center;
}
.newsletter-card {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #4285F4 0%, #1A73E8 100%);
    padding: 60px 40px;
    border-radius: 32px;
    color: white;
    position: relative;
    overflow: hidden;
}
.newsletter-card::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.newsletter-title { font-size: 32px; font-weight: 700; margin-bottom: 16px; }
.newsletter-desc { font-size: 18px; margin-bottom: 40px; opacity: 0.9; }
.newsletter-form-hub {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}
.newsletter-form-hub input {
    flex: 1;
    padding: 16px 24px;
    border-radius: var(--radius-pill);
    border: none;
    font-size: 16px;
    outline: none;
}
.newsletter-form-hub .btn-white {
    background: white;
    color: var(--google-blue);
    font-weight: 700;
}
.newsletter-form-hub .btn-white:hover {
    background: #f1f3f4;
}

/* ── Interactive FAQ ── */
.faq-section {
    padding: 100px 24px;
    background: #f8f9fa;
}
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item-hub {
    background: white;
    border-radius: 16px;
    margin-bottom: 16px;
    border: 1px solid #e8eaed;
    overflow: hidden;
    transition: var(--transition);
}
.faq-question {
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #202124;
    transition: var(--transition);
}
.faq-question:hover { background: rgba(66, 133, 244, 0.02); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    padding: 0 32px;
    color: #5f6368;
    line-height: 1.6;
}
.faq-item-hub.active .faq-answer {
    padding: 0 32px 24px;
    max-height: 200px;
}
.faq-item-hub.active .faq-question {
    color: var(--google-blue);
}
.faq-icon-arrow {
    transition: transform 0.3s;
    font-size: 20px;
    color: #9aa0a6;
}
.faq-item-hub.active .faq-icon-arrow {
    transform: rotate(180deg);
    color: var(--google-blue);
}

/* ── Back to Top ── */
.back-to-top {
    position: fixed;
    bottom: 32px;
    left: 32px;
    width: 48px;
    height: 48px;
    background: white;
    color: var(--google-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid #e8eaed;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--google-blue);
    color: white;
    border-color: var(--google-blue);
    transform: translateY(-4px);
}

/* ── Testimonials ── */
.testimonials-section {
    padding: 100px 24px;
    background: white;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.testimonial-card {
    padding: 40px;
    border-radius: 24px;
    background: #f8f9fa;
    border: 1px solid #e8eaed;
    transition: var(--transition);
}
.testimonial-card:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}
.testi-text {
    font-size: 16px;
    line-height: 1.6;
    color: #202124;
    margin-bottom: 24px;
    font-style: italic;
}
.testi-user {
    display: flex;
    align-items: center;
    gap: 16px;
}
.testi-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--google-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}
.testi-info h4 {
    font-size: 16px;
    margin-bottom: 2px;
}
.testi-info p {
    font-size: 13px;
    color: #70757a;
}

/* ── Upgraded Footer ── */
.footer-premium {
    padding: 100px 24px 60px;
    background: #f8f9fa;
    border-top: 1px solid #e8eaed;
    color: #5f6368;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}
.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: #202124;
    margin-bottom: 20px;
}
.footer-description {
    line-height: 1.6;
    margin-bottom: 24px;
}
.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #202124;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col li {
    margin-bottom: 12px;
}
.footer-col a {
    color: #5f6368;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}
.footer-col a:hover {
    color: var(--google-blue);
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
}
.contact-item i {
    color: var(--google-blue);
    font-size: 18px;
    margin-top: 2px;
}

.social-links {
    display: flex;
    gap: 16px;
}
.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e8eaed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5f6368;
    font-size: 18px;
    transition: var(--transition);
    text-decoration: none;
}
.social-icon:hover {
    background: var(--google-blue);
    border-color: var(--google-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.2);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid #e8eaed;
    text-align: center;
    font-size: 13px;
}
@media (max-width: 768px) {
    .stats-grid, .ecosystem-grid, .course-grid, .workshops-grid, .footer-grid, .mentor-grid {
        grid-template-columns: 1fr;
    }
    .navbar { font-size: 14px; }
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .hero-content h1 { font-size: 36px; }
    .section-final-cta { padding: 60px 24px; border-radius: 0; margin: 0 0 60px; }
    .newsletter-form-hub { flex-direction: column; }
    .mentor-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
    .mentor-grid { grid-template-columns: 1fr; }
    .newsletter-card { padding: 40px 24px; }
    .newsletter-title { font-size: 24px; }
}

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .testimonial-grid { grid-template-columns: 1fr 1fr; }
    .mentor-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .logo-bar { gap: 32px; }
}