/* ============================================
   Home Page Styles
   ============================================ */

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(79, 70, 229, 0.06);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 350px;
    height: 350px;
    background: rgba(8, 145, 178, 0.05);
    bottom: 10%;
    left: -5%;
    animation-delay: -3s;
}

.hero-orb-3 {
    width: 250px;
    height: 250px;
    background: rgba(147, 51, 234, 0.04);
    top: 40%;
    right: 20%;
    animation-delay: -5s;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(79, 70, 229, 0.06);
    border: 1px solid rgba(79, 70, 229, 0.15);
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* --- What We Do --- */
.section-what {
    background: var(--bg-alt);
}

.card-feature {
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.card-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity var(--transition);
}

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

/* --- Flagship Section --- */
.flagship-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.flagship-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.flagship-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.flagship-features li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: rgba(5, 150, 105, 0.1);
    color: var(--green);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 2px;
}

.flagship-features strong {
    display: block;
    color: var(--text);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.flagship-features span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- Flagship Visual Cards --- */
.flagship-visual {
    position: relative;
    min-height: 400px;
}

.flagship-card-stack {
    position: relative;
    width: 100%;
    height: 400px;
}

.fcard {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}

.fcard-1 {
    top: 0;
    left: 0;
    right: 40px;
    z-index: 3;
}

.fcard-2 {
    top: 140px;
    left: 30px;
    right: 10px;
    z-index: 2;
}

.fcard-3 {
    bottom: 0;
    left: 60px;
    right: 0;
    z-index: 1;
}

.fcard-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.fcard-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.fcard-dot.green {
    background: var(--green);
    box-shadow: 0 0 8px rgba(5, 150, 105, 0.3);
}

.fcard p {
    color: var(--text);
    font-size: 0.95rem;
}

.fcard-mood-row {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.mood {
    font-size: 1.5rem;
    cursor: default;
    transition: transform var(--transition);
}

.mood:hover {
    transform: scale(1.3);
}

.fcard-stat {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.fcard-stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.fcard-stat-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fcard-bar-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fcard-bar {
    height: 6px;
    background: var(--surface);
    border-radius: 3px;
    overflow: hidden;
}

.fcard-bar-fill {
    height: 100%;
    background: var(--gradient-3);
    border-radius: 3px;
    transition: width 1s ease;
}

.fcard-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

/* --- Book Showcase --- */
.section-book {
    background: var(--bg);
}

.book-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.book-visual {
    display: flex;
    justify-content: center;
}

.book-hero-img {
    max-width: 320px;
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 0 40px rgba(79, 70, 229, 0.06);
    transition: transform var(--transition);
}

.book-hero-img:hover {
    transform: scale(1.03) rotate(-1deg);
}

.book-subtitle {
    color: var(--text-dim);
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 16px;
    font-style: italic;
}

.book-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.award-highlight {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(212, 160, 23, 0.05);
    border: 1px solid rgba(212, 160, 23, 0.2);
    border-radius: var(--radius-sm);
    margin-bottom: 28px;
}

.award-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    flex-shrink: 0;
}

.award-highlight strong {
    display: block;
    color: #d4a017;
    font-size: 0.9rem;
}

.award-highlight span {
    color: #d4a017;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Partners --- */
.section-partners {
    background: var(--bg);
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.partner-item {
    padding: 16px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
}

.partner-item:hover {
    border-color: var(--primary);
    color: var(--text);
    background: var(--bg-card-hover);
}

/* --- Responsive --- */
@media (max-width: 968px) {
    .book-showcase-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .book-hero-img {
        max-width: 260px;
    }

    .award-highlight {
        justify-content: center;
    }

    .flagship-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .flagship-visual {
        order: -1;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .flagship-card-stack {
        height: 360px;
    }

    .fcard-1 { right: 20px; }
    .fcard-2 { left: 15px; right: 5px; }
    .fcard-3 { left: 30px; right: 0; }
}
