/* ═══════════════════════════════════════════════════════════
   home-page.css — HOMEPAGE-ONLY styles
   Requires: global.css (loaded via layout)
   ═══════════════════════════════════════════════════════════ */

/* NOTE: Body background override for homepage (dark hero) */
body { background: var(--white); }

/* ── HERO ── */
.hero {
    min-height: 92vh;
    background: var(--dark);
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%; right: -10%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(174,0,255,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%; left: 10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,174,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(174,0,255,0.12);
    border: 1px solid rgba(174,0,255,0.25);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: var(--splidu-blue);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--splidu-teal);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero h1 {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-sub {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.hero-image img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(13,13,18,0.4) 100%);
    pointer-events: none;
}

/* Floating stats on hero image */
.hero-float-stat {
    position: absolute;
    z-index: 3;
    background: rgba(13,13,18,0.85);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 16px 22px;
    border: 1px solid rgba(255,255,255,0.08);
}

.hero-float-stat.top-right  { top: 24px; right: 24px; }
.hero-float-stat.bottom-left { bottom: 24px; left: 24px; }

.hero-float-stat .stat-number {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-horizontal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-float-stat .stat-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}


/* ── TRUST BAR ── */
.trust-bar {
    background: var(--gray-lightest);
    padding: 40px 0;
    border-bottom: 1px solid var(--gray-light);
}

.trust-bar .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.trust-item .trust-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.trust-item .trust-label {
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 600;
}


/* ── HOW IT WORKS ── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 20px;
    padding: 36px 28px;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(174,0,255,0.2);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    background: var(--gradient-cta);
    color: var(--white);
    border-radius: 14px;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.step-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.65;
}


/* ── FEATURED CHEFS ── */
.chefs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.chef-card {
    background: var(--dark-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.35s ease;
    text-decoration: none;
}

.chef-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(174,0,255,0.2);
}

.chef-photo {
    height: 260px;
    overflow: hidden;
    position: relative;
}

.chef-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.chef-card:hover .chef-photo img { transform: scale(1.06); }

.chef-rating {
    position: absolute;
    top: 14px; right: 14px;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 5px;
}

.chef-rating::before { content: '★'; color: #FFD700; }

.chef-info { padding: 24px; }

.chef-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 6px;
}

.chef-cuisines {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.chef-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.chef-tag {
    padding: 5px 12px;
    background: rgba(174,0,255,0.1);
    border: 1px solid rgba(174,0,255,0.2);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    color: var(--splidu-blue);
}

.chef-price {
    font-size: 15px;
    color: var(--white);
    font-weight: 700;
}

.chef-price span {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
    font-size: 15px;
    font-weight: 700;
    background: var(--gradient-horizontal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: opacity 0.3s;
}
.view-all-link:hover { opacity: 0.8; }
.view-all-link::after { content: '→'; }


/* ── WHAT'S INCLUDED ── */
.included-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.included-card {
    padding: 32px 28px;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.included-card:hover {
    border-color: rgba(174,0,255,0.25);
    box-shadow: 0 4px 20px rgba(174,0,255,0.06);
}

.included-icon {
    width: 48px; height: 48px;
    background: var(--gradient-subtle);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.included-card h3 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 8px;
}

.included-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.65;
}


/* ── OCCASIONS ── */
.occasions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.occasion-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
}

.occasion-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.occasion-card:hover img { transform: scale(1.08); }

.occasion-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.75) 100%);
}

.occasion-label {
    position: absolute;
    bottom: 24px; left: 24px; right: 24px;
    z-index: 2;
    color: var(--white);
    font-size: 18px;
    font-weight: 800;
}


/* ── CUISINES ── */
.cuisine-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.cuisine-pill {
    padding: 10px 24px;
    border: 1.5px solid var(--gray-light);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s;
    cursor: default;
}
.cuisine-pill:hover {
    border-color: var(--splidu-purple);
    background: rgba(174,0,255,0.05);
    color: var(--splidu-purple);
}

a.cuisine-pill { 
    text-decoration: none; color: inherit; 
}
a.cuisine-pill:hover { 
    background: rgba(168,85,247,.15); 
}

/* ── REVIEWS ── */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.review-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 20px;
    padding: 32px;
}

.review-stars {
    font-size: 16px;
    color: #FFD700;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.review-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--gradient-cta);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    font-weight: 800;
}

.review-name { font-size: 14px; font-weight: 700; }
.review-event { font-size: 12px; color: var(--text-gray); }


/* ── AREAS ── */
.areas-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.area-tag {
    padding: 8px 20px;
    background: rgba(174,0,255,0.08);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--splidu-purple-dark);
    transition: all 0.3s;
}
.area-tag:hover { background: rgba(174,0,255,0.15); }


/* ── HOMEPAGE FAQ ── */
.home-page .faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-light); }

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: left;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    color: var(--splidu-purple);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}


/* ── CTA BANNER ── */
.cta-banner {
    padding: 80px 0;
    background: var(--dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(174,0,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-banner h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.cta-banner p {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 36px;
    position: relative;
    z-index: 2;
}

.cta-banner .btn-primary {
    position: relative;
    z-index: 2;
}


/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero-image { display: none; }
    .hero h1 { font-size: 42px; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .included-grid { grid-template-columns: repeat(2, 1fr); }
    .chefs-grid { grid-template-columns: repeat(2, 1fr); }
    .occasions-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 34px; }
    .trust-bar .container { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .steps-grid,
    .included-grid,
    .chefs-grid,
    .reviews-grid { grid-template-columns: 1fr; }
    .occasions-grid { grid-template-columns: repeat(2, 1fr); }
}
