/* ===== Founding 888 Page Styles ===== */

/* Hero */
.founding-hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 120px 24px 80px; overflow: hidden;
}
.founding-hero-content { position: relative; z-index: 2; max-width: 700px; }
.founding-stars {
    font-size: 1.8rem; color: var(--gold-light); letter-spacing: 24px;
    margin-bottom: 20px; text-shadow: 0 0 20px rgba(212,168,67,0.5);
}
.founding-eyebrow {
    font-family: var(--font-body); font-size: 0.75rem; font-weight: 600;
    letter-spacing: 4px; text-transform: uppercase; color: var(--gold-deep);
    margin-bottom: 20px;
}
.founding-title {
    font-family: var(--font-display); font-size: clamp(2.5rem, 7vw, 4.5rem);
    color: var(--gold-light); font-weight: 700; line-height: 1.1;
    margin-bottom: 20px; text-shadow: 0 0 40px rgba(212,168,67,0.2);
}
.founding-subtitle {
    font-family: var(--font-accent); font-size: 1.2rem;
    color: var(--text-light); line-height: 1.8; margin-bottom: 16px;
}
.founding-emphasis {
    font-size: 1.05rem; color: var(--text-muted);
    margin-bottom: 32px; line-height: 1.8;
}
.founding-emphasis strong { color: var(--gold-light); }

/* Counter Bar */
.founding-counter { max-width: 400px; margin: 0 auto 24px; }
.counter-bar {
    height: 10px; background: rgba(212,168,67,0.12);
    border-radius: 5px; overflow: hidden; margin-bottom: 10px;
}
.counter-fill {
    height: 100%; border-radius: 5px;
    background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
    transition: width 1.5s ease;
    box-shadow: 0 0 12px rgba(212,168,67,0.4);
}
.counter-text { font-size: 0.9rem; color: var(--text-muted); }
.counter-number { color: var(--gold-light); font-weight: 700; font-size: 1.1rem; }

/* Price display */
.founding-price {
    font-family: var(--font-display); font-size: 1rem;
    color: var(--text-muted); margin-bottom: 24px; letter-spacing: 1px;
}
.founding-price-lg {
    font-family: var(--font-display); font-size: 1.6rem;
    color: var(--gold-light); margin-bottom: 8px; letter-spacing: 1px;
}
.founding-price-sub {
    color: var(--text-muted); font-size: 0.95rem;
    font-style: italic; margin-bottom: 28px;
}

/* CTA */
.founding-cta {
    font-size: 1.1rem; padding: 18px 42px;
    box-shadow: 0 0 30px rgba(212,168,67,0.2);
}
.founding-cta:hover {
    box-shadow: 0 0 40px rgba(212,168,67,0.4);
    transform: translateY(-3px);
}
.btn-sm { padding: 8px 20px; font-size: 0.82rem; }
.btn-lg { padding: 18px 42px; font-size: 1.05rem; }
.nav-link-home { color: var(--gold-deep) !important; font-weight: 600 !important; }

/* Section titles */
.founding-section-title { margin-bottom: 16px; }

/* Why 888 Grid */
.why888-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px; margin-top: 32px;
}
.why888-card {
    background: rgba(212,168,67,0.04);
    border: 1px solid rgba(212,168,67,0.12);
    border-radius: 12px; padding: 28px; text-align: center;
    transition: all 0.4s ease;
}
.why888-card:hover {
    border-color: rgba(212,168,67,0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.why888-icon { font-size: 2rem; margin-bottom: 12px; }
.why888-card h3 {
    font-family: var(--font-display); font-size: 1rem;
    color: var(--gold-light); margin-bottom: 10px;
}
.why888-card p {
    font-size: 0.88rem; color: var(--text-muted); line-height: 1.7;
}

/* Benefits Grid */
.founding-promise {
    text-align: center; max-width: 700px; margin: 0 auto 40px;
    font-size: 1rem; color: var(--text-light); line-height: 1.8;
}
.founding-promise strong { color: var(--gold-light); }
.benefits-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px; margin-bottom: 32px;
}
.benefit-card {
    background: rgba(212,168,67,0.04);
    border: 1px solid rgba(212,168,67,0.12);
    border-radius: 12px; padding: 28px; text-align: center;
    transition: all 0.3s ease; position: relative; overflow: hidden;
}
.benefit-card:hover {
    border-color: rgba(212,168,67,0.25);
    transform: translateY(-3px);
}
.benefit-badge-soon {
    position: absolute; top: 12px; right: 12px;
    padding: 4px 12px; border-radius: 10px; font-size: 0.65rem;
    font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase;
    background: rgba(125,58,237,0.2); color: #b794f4;
}
.benefit-icon { font-size: 2.5rem; margin-bottom: 12px; }
.benefit-card h3 {
    font-family: var(--font-display); font-size: 1.1rem;
    color: var(--gold-light); margin-bottom: 16px;
}
.benefit-list {
    list-style: none; padding: 0; text-align: left;
}
.benefit-list li {
    padding: 6px 0 6px 24px; position: relative;
    font-size: 0.88rem; color: var(--text-light); line-height: 1.6;
}
.benefit-list li::before {
    content: "\2726"; position: absolute; left: 0; top: 6px;
    color: var(--gold-deep); font-size: 0.85rem;
}
.benefit-list-centered { max-width: 400px; margin: 0 auto; }
.benefit-link {
    display: inline-block; margin-top: 16px;
    font-size: 0.85rem; color: var(--gold-deep);
    text-decoration: none; transition: all 0.3s ease;
}
.benefit-link:hover { color: var(--gold-light); }

/* Ecosystem card */
.benefit-ecosystem {
    background: rgba(212,168,67,0.06);
    border: 1px solid rgba(212,168,67,0.2);
    border-radius: 12px; padding: 40px; text-align: center;
    margin-top: 20px;
}
.benefit-ecosystem-icon { font-size: 2rem; color: var(--gold-light); margin-bottom: 12px; }
.benefit-ecosystem h3 {
    font-family: var(--font-display); font-size: 1.2rem;
    color: var(--gold-light); margin-bottom: 20px; letter-spacing: 2px;
}

/* Founding Badge */
.founding-badge-desc {
    color: var(--text-light); font-size: 1rem;
    margin-bottom: 32px; line-height: 1.7;
}
.founding-badge-display {
    position: relative; display: inline-block;
    margin: 0 auto 32px; padding: 0;
}
.founding-badge-glow {
    position: absolute; inset: -20px;
    background: radial-gradient(ellipse, rgba(212,168,67,0.15), transparent 70%);
    border-radius: 50%; animation: badge-pulse 3s ease-in-out infinite;
}
@keyframes badge-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}
.founding-badge-inner {
    position: relative; display: flex; align-items: center; gap: 12px;
    background: rgba(10,10,18,0.9);
    border: 2px solid var(--gold-deep);
    border-radius: 40px; padding: 16px 36px;
    box-shadow: 0 0 30px rgba(212,168,67,0.2);
}
.founding-badge-star {
    font-size: 1.6rem; color: var(--gold-light);
    text-shadow: 0 0 12px rgba(212,168,67,0.5);
}
.founding-badge-text {
    font-family: var(--font-display); font-size: 0.85rem;
    color: var(--gold-light); letter-spacing: 2px;
    font-weight: 600;
}
.founding-badge-note {
    color: var(--text-muted); font-size: 0.9rem;
    max-width: 500px; margin: 0 auto; line-height: 1.7;
}

/* Urgency */
.founding-urgency-text {
    color: var(--text-light); font-size: 1rem;
    max-width: 600px; margin: 0 auto 16px; line-height: 1.8;
}
.founding-urgency-text strong { color: var(--gold-light); }

/* FAQ */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid rgba(212,168,67,0.08);
    margin-bottom: 4px;
}
.faq-question {
    width: 100%; display: flex; justify-content: space-between;
    align-items: center; padding: 18px 0; background: none;
    border: none; color: var(--text-light); font-size: 0.95rem;
    font-family: var(--font-body); cursor: pointer; text-align: left;
    transition: color 0.3s ease;
}
.faq-question:hover { color: var(--gold-light); }
.faq-chevron {
    font-size: 0.7rem; color: var(--gold-deep);
    transition: transform 0.3s ease; flex-shrink: 0; margin-left: 12px;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-answer { max-height: 200px; padding-bottom: 16px; }
.faq-answer p {
    color: var(--text-muted); font-size: 0.9rem; line-height: 1.7;
}

/* Final CTA */
.founding-final { padding: 100px 0; }
.final-prose {
    font-family: var(--font-accent); font-size: 1.2rem;
    color: var(--text-light); margin-bottom: 8px; line-height: 1.8;
}
.final-prose-em {
    font-family: var(--font-accent); font-size: 1.2rem;
    color: var(--gold-light); margin-bottom: 8px; line-height: 1.8;
    font-style: italic;
}
.founding-final-box {
    margin-top: 40px; padding: 40px;
    background: rgba(212,168,67,0.04);
    border: 1px solid rgba(212,168,67,0.15);
    border-radius: 16px;
}
.founding-learn-more {
    display: block; margin-top: 16px;
    font-size: 0.85rem; color: var(--text-muted);
    text-decoration: none; transition: color 0.3s;
}
.founding-learn-more:hover { color: var(--gold-light); }

/* Checkout Modal */
.modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 200;
    background: rgba(0,0,0,0.75); backdrop-filter: blur(6px);
    align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.active { display: flex; }
.checkout-modal {
    background: #111122; border: 1px solid rgba(212,168,67,0.15);
    border-radius: 16px; padding: 40px; max-width: 480px; width: 100%;
    position: relative; max-height: 90vh; overflow-y: auto;
}
.modal-close {
    position: absolute; top: 12px; right: 16px; background: none;
    border: none; color: var(--text-muted); font-size: 2rem; cursor: pointer;
    transition: color 0.3s;
}
.modal-close:hover { color: var(--gold-light); }
.checkout-title {
    font-family: var(--font-display); color: var(--gold-light);
    font-size: 1.5rem; margin-bottom: 4px;
}
.checkout-subtitle { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 24px; }
.checkout-form { display: flex; flex-direction: column; gap: 16px; }
.checkout-field label {
    display: block; font-size: 0.78rem; color: var(--text-muted);
    margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px;
}
.checkout-field input, .checkout-card-field input {
    width: 100%; padding: 12px 16px; background: rgba(10,10,18,0.8);
    border: 1px solid rgba(212,168,67,0.12); border-radius: 8px;
    color: var(--text-light); font-size: 0.9rem; outline: none;
    font-family: var(--font-body); transition: border-color 0.3s;
}
.checkout-field input:focus, .checkout-card-field input:focus {
    border-color: var(--gold-deep);
}
.checkout-gift-row { display: flex; align-items: center; }
.checkout-checkbox {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.85rem; color: var(--text-light); cursor: pointer;
}
.checkout-checkbox input { width: auto; }
.checkout-gift-field label { display: block; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 6px; }
.checkout-gift-field input { width: 100%; padding: 12px 16px; background: rgba(10,10,18,0.8); border: 1px solid rgba(212,168,67,0.12); border-radius: 8px; color: var(--text-light); font-size: 0.9rem; outline: none; font-family: var(--font-body); }
.checkout-plan {
    background: rgba(212,168,67,0.06); border: 1px solid rgba(212,168,67,0.15);
    border-radius: 10px; padding: 16px; text-align: center;
}
.checkout-plan-name {
    font-family: var(--font-display); color: var(--gold-light);
    font-size: 0.9rem; margin-bottom: 4px;
}
.checkout-plan-price {
    font-family: var(--font-display); color: var(--text-light);
    font-size: 1.8rem;
}
.checkout-plan-price span { font-size: 0.9rem; color: var(--text-muted); }
.checkout-plan-note { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }
.checkout-card-field label { display: block; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.checkout-card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout-terms { font-size: 0.75rem; color: var(--text-muted); text-align: center; }
.checkout-submit { width: 100%; margin-top: 4px; }
.checkout-error { color: #e74c3c; font-size: 0.8rem; text-align: center; min-height: 20px; }

/* Particles in hero */
.hero-particles { position: absolute; inset: 0; pointer-events: none; z-index: 1; }

/* Responsive */
@media (max-width: 768px) {
    .why888-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: 1fr; }
    .founding-hero { min-height: auto; padding: 100px 20px 60px; }
    .founding-title { font-size: 2.5rem; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .final-prose, .final-prose-em { font-size: 1rem; }
    .checkout-modal { padding: 24px; }
}
@media (max-width: 480px) {
    .why888-grid { grid-template-columns: 1fr; }
    .founding-badge-inner { flex-direction: column; padding: 20px; }
}
