/* ==========================================================================
   HOMEPAGE SECTIONS: hero, ticker, how-it-works, bento grid, FAQ, social-proof feed
   ========================================================================== */

/* --- HERO --- */
.hero-content { max-width: 900px; margin: 0 auto; }
.hero h1 {
    font-family: var(--font-head) !important;
    font-weight: 800;
    font-size: 40px;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 16px 0 28px;
}
@media(min-width: 768px) {
    .hero h1 { font-size: 64px; }
}
@media(min-width: 992px) {
    .hero h1 { font-size: 80px; }
}

/* --- STATS TICKER (pure CSS marquee) --- */
.ticker-wrap {
    width: 100%;
    background: var(--neon-lime);
    color: white;
    overflow: hidden;
    padding: 15px 0;
    font-family: var(--font-head) !important;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
    position: relative;
}
.ticker-move {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}
.ticker-item { display: inline-block; padding: 0 40px; font-size: 19.2px; }
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.ticker-wrap:hover .ticker-move { animation-play-state: paused; }

@media(max-width: 768px) {
    .ticker-item { font-size: 15px; padding: 0 24px; }
}

/* --- HOW IT WORKS (3-step cards) --- */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.step-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    transition: 0.3s;
}
.step-card:hover { border-color: var(--neon-lime); transform: translateY(-5px); }
.step-num {
    background: #111827;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    transition: 0.3s;
}
.step-card:hover .step-num { background: var(--neon-lime); color: white; }
.step-card h3 { font-family: var(--font-head) !important; font-size: 24px; margin-bottom: 10px; }
.step-card p { color: var(--text-gray); font-size: 15.2px; }

@media(min-width: 768px) {
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- BENTO GRID (Why Us) --- */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.bento-box {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.bento-lime { background: var(--neon-lime); color: white; position: relative; overflow: hidden; isolation: isolate; }
.bento-large { min-height: 300px; }
.bento-lime h3 { font-size: 48px; line-height: 0.9; font-family: var(--font-head) !important; font-weight: 800; margin-bottom: 15px; }
.bento-box h3 { font-family: var(--font-head) !important; }

.bento-content { position: relative; z-index: 2; max-width: 100%; transition: 0.3s; }
.road-scene { position: absolute; top: 0; right: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: 0.6; }

@media(min-width: 768px) {
    .bento-grid { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 250px); }
    .bento-box:nth-child(1) { grid-column: span 2; grid-row: span 2; }
    .bento-box:nth-child(2) { grid-column: span 2; }
    .bento-content { max-width: 60%; }
    .road-scene { opacity: 1; }
}

/* --- SOCIAL PROOF (live "recently purchased" feed) --- */
.sp-section {
    background: var(--bg-card);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 44px 20px;
}
.sp-section-inner { max-width: 560px; margin: 0 auto; }
.sp-section-head { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 24px; }
.sp-live-dot { width: 8px; height: 8px; background: var(--neon-lime); border-radius: 50%; flex-shrink: 0; animation: spPulse 1.8s ease-in-out infinite; }
@keyframes spPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,169,79,0.55); }
    60%       { box-shadow: 0 0 0 6px rgba(0,169,79,0); }
}
.sp-header-label { font-family: var(--font-head) !important; font-size: 15px; font-weight: 700; letter-spacing: 0.5px; color: var(--text-white); white-space: nowrap; }

.sp-feed { display: flex; flex-direction: column; overflow: hidden; height: 300px; }
.sp-card {
    background: #fff;
    border: 1px solid var(--glass-border);
    border-left: 3px solid var(--neon-lime);
    border-radius: 12px;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
    margin-bottom: 9px;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.sp-card.sp-enter { opacity: 0; transform: translateY(-78px); }
.sp-card.sp-exit { opacity: 0; transform: translateY(78px); }
.sp-card-ico {
    flex-shrink: 0; width: 34px; height: 34px;
    background: rgba(0,169,79,0.1); border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    color: var(--neon-lime);
}
.sp-card-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.sp-card-title {
    font-family: var(--font-head) !important; font-size: 13.5px; font-weight: 700;
    color: var(--text-white); line-height: 1.3; margin: 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sp-card-sub {
    font-size: 11.5px; color: var(--text-gray); margin: 0;
    display: flex; align-items: center; gap: 5px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sp-card-sub::before { content: ''; display: inline-block; width: 5px; height: 5px; background: var(--neon-lime); border-radius: 50%; flex-shrink: 0; }

.sp-skeleton-card { background: #fff; border: 1px solid var(--glass-border); border-left: 3px solid #e5e7eb; border-radius: 12px; padding: 13px 16px; display: flex; align-items: center; gap: 13px; margin-bottom: 9px; }
.sp-skeleton-card:last-child { margin-bottom: 0; }
.sp-skeleton-ico { flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(90deg, #f3f4f6 25%, #e9eaec 50%, #f3f4f6 75%); background-size: 200% 100%; animation: spShimmer 1.5s infinite; }
.sp-skeleton-lines { flex: 1; min-width: 0; }
.sp-skeleton { background: linear-gradient(90deg, #f3f4f6 25%, #e9eaec 50%, #f3f4f6 75%); background-size: 200% 100%; animation: spShimmer 1.5s infinite; border-radius: 6px; height: 13px; }
.sp-skeleton-sub { width: 50%; height: 10px; margin-top: 6px; }
@keyframes spShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* --- FAQ ACCORDION (CSS-only expand, no JS) --- */
.faq-section { max-width: 800px; margin: 0 auto; }
details {
    background: var(--bg-card);
    margin-bottom: 15px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
}
summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    font-family: var(--font-head) !important;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 24px; color: var(--neon-lime); }
details[open] summary::after { content: '-'; }

.faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-gray);
    font-size: 14.4px;
    line-height: 1.7;
    overflow: hidden;
}
details[open] .faq-content { grid-template-rows: 1fr; }
.faq-inner {
    overflow: hidden;
    min-height: 0;
    padding: 0 20px;
    padding-bottom: 0px;
    opacity: 0;
    transform: translateY(-10px);
    transition: padding-bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, transform 0.4s ease;
}
details[open] .faq-inner { padding-bottom: 20px; opacity: 1; transform: translateY(0); }
