/* =====================================================================
   ClimbBuddy Next-Gen Teaser — next_gen.css
   Design tokens: Navy #0F172A · Light #F1F5F9 · Orange #FF6B35
   ===================================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1E293B;
    background: #0F172A;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.ng-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Animations ---------- */
.anim-fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(.22,1,.36,1), transform 0.7s cubic-bezier(.22,1,.36,1);
}
.anim-fade-up.anim-d1 { transition-delay: 0.12s; }
.anim-fade-up.anim-d2 { transition-delay: 0.24s; }
.anim-fade-up.anim-d3 { transition-delay: 0.36s; }

.anim-fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Nav ---------- */
.ng-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ng-nav-back {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #CBD5E1;
    transition: color 0.2s;
}
.ng-nav-back:hover { color: #FF6B35; }
.ng-nav-back i { font-size: 12px; }

.ng-nav-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #FF6B35;
    background: rgba(255,107,53,0.12);
    padding: 4px 12px;
    border-radius: 999px;
}

/* ---------- Chip / Badge ---------- */
.ng-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #FF6B35;
    background: rgba(255,107,53,0.1);
    border: 1px solid rgba(255,107,53,0.2);
    padding: 6px 16px;
    border-radius: 999px;
}
.ng-chip-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #FF6B35;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.5); }
}

.ng-section-chip {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #FF6B35;
    margin-bottom: 12px;
}

.ng-badge {
    position: absolute;
    top: 16px; right: 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    background: #FF6B35;
    padding: 3px 10px;
    border-radius: 999px;
}

/* ---------- Buttons ---------- */
.ng-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.ng-btn:hover { transform: translateY(-2px); }
.ng-btn:active { transform: translateY(0); }

.ng-btn--primary {
    color: #fff;
    background: #FF6B35;
    box-shadow: 0 4px 14px rgba(255,107,53,0.35);
}
.ng-btn--primary:hover {
    background: #e85d2a;
    box-shadow: 0 6px 20px rgba(255,107,53,0.45);
}

.ng-btn--outline {
    color: #FF6B35;
    background: transparent;
    border: 1.5px solid #FF6B35;
}
.ng-btn--outline:hover {
    background: rgba(255,107,53,0.08);
}

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

.ng-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ng-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
}
.ng-hero-glow--1 {
    width: 600px; height: 600px;
    top: -15%; left: -10%;
    background: #FF6B35;
}
.ng-hero-glow--2 {
    width: 500px; height: 500px;
    bottom: -20%; right: -8%;
    background: #3B82F6;
}

.ng-hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 64px 64px;
}

.ng-hero-inner {
    position: relative;
    z-index: 1;
}

.ng-hero-title {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 900;
    line-height: 1.1;
    color: #F8FAFC;
    margin: 24px 0 20px;
    letter-spacing: -0.02em;
}

.ng-hero-sub {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: #94A3B8;
    max-width: 560px;
    margin: 0 auto 36px;
}

/* ---------- Sections ---------- */
.ng-section {
    padding: 96px 0;
    text-align: center;
}
.ng-section--light { background: #F1F5F9; }
.ng-section--dark  { background: #0F172A; }
.ng-section--accent {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ng-section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.ng-section-title--white { color: #F8FAFC; }

.ng-section-desc {
    font-size: 1.05rem;
    color: #64748B;
    max-width: 580px;
    margin: 0 auto 48px;
}
.ng-section-desc--white { color: #94A3B8; }

/* ---------- Mock Cards Grid ---------- */
.ng-mock-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 8px;
}

.ng-mock-card {
    position: relative;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 40px 28px 32px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.ng-mock-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15,23,42,0.08);
}
.ng-mock-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0F172A;
    margin: 20px 0 8px;
}
.ng-mock-card p {
    font-size: 0.95rem;
    color: #64748B;
    margin-bottom: 24px;
}

.ng-mock-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px; height: 64px;
    border-radius: 18px;
    font-size: 26px;
    color: #fff;
}
.ng-mock-card-icon--organizer { background: linear-gradient(135deg, #FF6B35, #FF8F6B); }
.ng-mock-card-icon--judge     { background: linear-gradient(135deg, #3B82F6, #60A5FA); }
.ng-mock-card-icon--athlete   { background: linear-gradient(135deg, #8B5CF6, #A78BFA); }

/* ---------- Survey Buttons ---------- */
.ng-survey-inner { max-width: 680px; }

.ng-survey-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.ng-btn--survey {
    flex: 1 1 260px;
    max-width: 320px;
    flex-direction: column;
    gap: 4px;
    padding: 28px 24px;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.ng-btn--survey span {
    display: block;
    font-size: 13px;
    font-weight: 500;
    opacity: 0.7;
    margin-top: 2px;
}
.ng-btn--survey i { font-size: 24px; margin-bottom: 4px; }
.ng-btn--survey-org {
    color: #fff;
    background: #FF6B35;
    box-shadow: 0 4px 14px rgba(255,107,53,0.3);
}
.ng-btn--survey-org:hover {
    background: #e85d2a;
    box-shadow: 0 8px 24px rgba(255,107,53,0.4);
}
.ng-btn--survey-ath {
    color: #fff;
    background: #3B82F6;
    box-shadow: 0 4px 14px rgba(59,130,246,0.3);
}
.ng-btn--survey-ath:hover {
    background: #2563EB;
    box-shadow: 0 8px 24px rgba(59,130,246,0.4);
}

/* ---------- Bento Grid ---------- */
.ng-bento {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
    margin-top: 8px;
    text-align: left;
}

.ng-bento-box {
    background: #1E293B;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 32px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.ng-bento-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
.ng-bento-box h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #F8FAFC;
    margin: 20px 0 6px;
}
.ng-bento-box p {
    font-size: 0.92rem;
    color: #94A3B8;
}

.ng-bento-box--wide {
    grid-row: 1 / 3;
}

/* Bento visuals */
.ng-bento-visual {
    border-radius: 14px;
    overflow: hidden;
}

/* Photo mock */
.ng-bento-visual--photo {
    background: #0F172A;
    padding: 24px;
    position: relative;
}
.ng-photo-mock { position: relative; }
.ng-photo-img {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #334155, #1E293B);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 48px;
    color: #475569;
}
.ng-photo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ng-photo-tag {
    position: absolute;
    bottom: -12px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FF6B35;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(255,107,53,0.4);
    animation: tag-float 3s ease-in-out infinite;
}
@keyframes tag-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.ng-photo-tag-pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #fff;
    animation: pulse-dot 1.5s infinite;
}

/* ID Card */
.ng-bento-visual--id {
    background: #0F172A;
    padding: 24px;
    display: flex;
    justify-content: center;
}
.ng-id-card {
    width: 180px;
    background: linear-gradient(145deg, #1E293B, #334155);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
}
.ng-id-header {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #FF6B35;
    margin-bottom: 12px;
}
.ng-id-qr {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}
.ng-qr-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    width: 52px;
}
.ng-qr-grid span {
    width: 10px; height: 10px;
    border-radius: 2px;
    background: #94A3B8;
}
.ng-qr-grid span:nth-child(odd) { background: #F8FAFC; }
.ng-id-name {
    font-size: 12px;
    font-weight: 700;
    color: #F8FAFC;
    letter-spacing: 0.05em;
}
.ng-id-number {
    font-size: 10px;
    color: #64748B;
    margin-top: 2px;
}

/* Regional newsletter */
.ng-bento-visual--regional {
    background: #0F172A;
    padding: 20px;
}
.ng-newsletter {
    border-radius: 10px;
    overflow: hidden;
}
.ng-newsletter-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #FF6B35;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 8px;
}
.ng-newsletter-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.ng-newsletter-date {
    font-size: 12px;
    font-weight: 700;
    color: #3B82F6;
    min-width: 52px;
}
.ng-newsletter-event {
    font-size: 13px;
    color: #CBD5E1;
}

/* ---------- Beta Partnership ---------- */
.ng-partner-inner { max-width: 820px; }

/* Commitments grid */
.ng-commitments {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.ng-commit-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.ng-commit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15,23,42,0.07);
}
.ng-commit-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F172A;
    margin: 16px 0 8px;
}
.ng-commit-card p {
    font-size: 0.92rem;
    color: #64748B;
    line-height: 1.55;
}

.ng-commit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    border-radius: 16px;
    font-size: 24px;
    color: #fff;
}
.ng-commit-icon--handshake { background: linear-gradient(135deg, #FF6B35, #FF8F6B); }
.ng-commit-icon--shield    { background: linear-gradient(135deg, #3B82F6, #60A5FA); }
.ng-commit-icon--heart     { background: linear-gradient(135deg, #EC4899, #F472B6); }

/* Badges / pills */
.ng-partner-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.ng-pill {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 8px 20px;
    border-radius: 999px;
}
.ng-pill--muted {
    background: #E2E8F0;
    color: #64748B;
}
.ng-pill--orange {
    background: rgba(255,107,53,0.2);
    color: #FF6B35;
}

/* Partner CTA */
.ng-partner-cta {
    text-align: center;
}
.ng-btn--wide {
    padding: 16px 36px;
}
.ng-partner-note {
    font-size: 0.92rem;
    color: #94A3B8;
    margin-top: 14px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- CTA / Waitlist ---------- */
.ng-section--cta {
    padding: 80px 0 96px;
}
.ng-cta-inner { max-width: 600px; }

.ng-waitlist-form {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
    flex-wrap: wrap;
}
.ng-waitlist-input {
    flex: 1 1 260px;
    max-width: 360px;
    font-family: inherit;
    font-size: 15px;
    padding: 14px 20px;
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    color: #F8FAFC;
    outline: none;
    transition: border-color 0.2s;
}
.ng-waitlist-input::placeholder { color: #64748B; }
.ng-waitlist-input:focus { border-color: #FF6B35; }

.ng-waitlist-select {
    font-family: inherit;
    font-size: 15px;
    padding: 14px 20px;
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    color: #F8FAFC;
    outline: none;
    transition: border-color 0.2s;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.ng-waitlist-select option { background: #1E293B; color: #F8FAFC; }
.ng-waitlist-select:focus { border-color: #FF6B35; }

.ng-waitlist-note {
    font-size: 13px;
    color: #64748B;
    margin-top: 12px;
}

/* ---------- Footer ---------- */
.ng-footer {
    background: #0F172A;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
}
.ng-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #64748B;
}
.ng-footer-inner a {
    color: #94A3B8;
    transition: color 0.2s;
}
.ng-footer-inner a:hover { color: #FF6B35; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .ng-mock-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    .ng-bento {
        grid-template-columns: 1fr;
    }
    .ng-bento-box--wide {
        grid-row: auto;
    }
    .ng-commitments {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 600px) {
    .ng-section { padding: 64px 0; }
    .ng-hero { padding: 100px 0 60px; }
    .ng-nav { padding: 12px 16px; }
    .ng-survey-btns { flex-direction: column; align-items: center; }
    .ng-btn--survey { max-width: 100%; }
    .ng-commit-card { padding: 24px 16px; }
    .ng-waitlist-form { flex-direction: column; align-items: stretch; }
    .ng-waitlist-input { max-width: 100%; }
}
