/* ══════════════════════════════════════════════
   CrewLoyal — Homepage Styles
   Specific to home.blade.php only
   ══════════════════════════════════════════════ */

/* ── Hero ────────────────────────────────────── */
.home-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 52px 24px 80px;
    margin-top: -68px; /* Offset body padding-top for full-bleed hero */
    overflow: hidden;
}
.home-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(25, 118, 210, 0.12) 0%, transparent 70%);
    pointer-events: none;
}
.home-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(transparent, #0F172A);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(25, 118, 210, 0.12);
    border: 1px solid rgba(25, 118, 210, 0.25);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: #63A4FF;
    margin-bottom: 28px;
}
.hero-badge svg { width: 14px; height: 14px; }
.home-hero h1 {
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: #F8FAFC;
    margin-bottom: 20px;
}
.home-hero h1 .gradient {
    background: linear-gradient(135deg, #63A4FF, #1976D2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.home-hero p {
    font-size: 18px;
    color: #94A3B8;
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.hero-exclusive {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #FCA5A5;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 10px;
    margin-bottom: 36px;
}
.hero-exclusive svg { width: 16px; height: 16px; color: #F87171; flex-shrink: 0; }

/* ── Download Buttons ────────────────────────── */
.download-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}
.download-btn svg { width: 24px; height: 24px; flex-shrink: 0; }
.download-btn .btn-text { text-align: left; }
.download-btn .btn-text small { display: block; font-size: 11px; font-weight: 500; opacity: 0.7; }
.download-btn .btn-text span { display: block; font-size: 16px; font-weight: 700; }

.btn-ios {
    background: #F8FAFC;
    color: #0F172A;
}
.btn-ios:hover { background: #E2E8F0; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(248, 250, 252, 0.15); }

.btn-android {
    background: linear-gradient(135deg, #1976D2, #1565C0);
    color: white;
}
.btn-android:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(25, 118, 210, 0.3); }

/* ── Features Section ────────────────────────── */
.features {
    padding: 80px 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.features-header {
    text-align: center;
    margin-bottom: 56px;
}
.features-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #F8FAFC;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}
.features-header p { color: #64748B; font-size: 16px; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-card {
    background: #1E293B;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}
.feature-card:hover {
    border-color: #475569;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #F8FAFC;
    margin-bottom: 8px;
}
.feature-card p { font-size: 14px; color: #94A3B8; line-height: 1.6; }

/* ── SV Exclusive Section ───────────────────── */
.exclusive-section {
    padding: 80px 24px;
    background: linear-gradient(180deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
}
.exclusive-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.exclusive-inner .shield-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.exclusive-inner .shield-icon svg { width: 32px; height: 32px; color: #F87171; }
.exclusive-inner h2 {
    font-size: 28px;
    font-weight: 800;
    color: #F8FAFC;
    margin-bottom: 16px;
}
.exclusive-inner p {
    color: #94A3B8;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}
.exclusive-inner .rules-list {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 24px 0;
}
.exclusive-inner .rules-list li {
    padding: 10px 16px 10px 44px;
    position: relative;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 10px;
    margin-bottom: 8px;
    border: 1px solid #334155;
    font-size: 14px;
    color: #CBD5E1;
}
.exclusive-inner .rules-list li::before {
    content: "✓";
    position: absolute;
    left: 16px;
    top: 10px;
    color: #4ADE80;
    font-weight: 700;
}

/* ── CTA Section ─────────────────────────────── */
.cta-section {
    padding: 80px 24px;
    text-align: center;
}
.cta-section h2 {
    font-size: 32px;
    font-weight: 800;
    color: #F8FAFC;
    margin-bottom: 12px;
}
.cta-section p {
    color: #64748B;
    font-size: 16px;
    margin-bottom: 36px;
}

/* ── Animations ──────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-content > * {
    animation: fadeInUp 0.7s ease-out both;
}
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }
.hero-content > *:nth-child(6) { animation-delay: 0.6s; }

/* ── FAQ Section ──────────────────────────────── */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 24px;
}
.faq-header {
    text-align: center;
    margin-bottom: 48px;
}
.faq-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #F8FAFC;
    margin-bottom: 12px;
}
.faq-header p {
    color: #64748B;
    font-size: 16px;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.faq-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
}
.faq-item[open] {
    border-color: rgba(59, 130, 246, 0.4);
}
.faq-item summary {
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #E2E8F0;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    color: #64748B;
    transition: transform 0.2s;
}
.faq-item[open] summary::after {
    content: '−';
    color: #3B82F6;
}
.faq-item p {
    padding: 0 24px 20px;
    color: #94A3B8;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .home-hero h1 { font-size: 34px; }
    .home-hero p { font-size: 16px; }
    .features-grid { grid-template-columns: 1fr; }
    .features-header h2 { font-size: 24px; }
    .download-btn { width: 100%; justify-content: center; }
    .faq-header h2 { font-size: 24px; }
    .faq-item summary { font-size: 15px; padding: 16px 20px; }
    .faq-item p { padding: 0 20px 16px; font-size: 14px; }
}
