/* ============================================
   TOS 50 & GRADU-8 FUNNEL STYLES
   Inherits: styles.css CSS variables + Inter font
   ============================================ */

/* ============================================
   NAV DROPDOWN
   ============================================ */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-btn {
    background: none;
    border: none;
    color: #fff;
    font: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.nav-dropdown-btn:hover,
.nav-dropdown:hover .nav-dropdown-btn {
    opacity: 0.6;
}

.nav-dropdown-btn:active {
    opacity: 0.5;
}

.nav-dropdown-btn svg {
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-btn svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: rgba(8, 8, 8, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 6px;
    min-width: 148px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    backdrop-filter: blur(24px);
    z-index: 9999;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 9px 14px;
    border-radius: 9px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-color);
}

/* ============================================
   OFFERS SPLIT SECTION (homepage)
   ============================================ */
.offers-section {
    padding: 100px 2rem;
}

.offers-container {
    max-width: 900px;
    margin: 0 auto;
}

.offers-header {
    text-align: center;
    margin-bottom: 3rem;
}

.offers-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-top: 1rem;
}

.offers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 640px) {
    .offers-grid {
        grid-template-columns: 1fr;
    }
}

.offer-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.025);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
    position: relative;
    overflow: hidden;
}

.offer-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-3px);
}

.offer-gradu8 {
    border-color: rgba(99, 179, 237, 0.15);
    background: rgba(99, 179, 237, 0.03);
}

.offer-gradu8:hover {
    border-color: rgba(99, 179, 237, 0.35);
    background: rgba(99, 179, 237, 0.06);
}

.offer-tag {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.offer-gradu8 .offer-tag {
    color: #63b3ed;
}

.offer-card h3 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.offer-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
}

.offer-cta {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: auto;
}

.offer-gradu8 .offer-cta {
    color: #63b3ed;
}

/* ============================================
   SHARED FUNNEL PRIMITIVES
   ============================================ */
.funnel-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 2rem;
}

.funnel-header {
    text-align: center;
    margin-bottom: 3rem;
}

.funnel-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.funnel-badge.gradu8-badge {
    border-color: rgba(99, 179, 237, 0.3);
    color: #63b3ed;
}

.funnel-header h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.funnel-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Shared form card */
.funnel-form-wrap,
.gradu8-form-col {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
}

.funnel-field {
    margin-bottom: 1.25rem;
}

.funnel-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.funnel-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.funnel-input:focus {
    border-color: rgba(255, 255, 255, 0.35);
}

.funnel-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

select.funnel-input {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

select.funnel-input option {
    background: #111;
    color: #f5f5f5;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Commitment checkbox */
.funnel-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.funnel-checkbox-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #fff;
}

.checkbox-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    cursor: pointer;
}

.checkbox-label strong {
    color: var(--text-color);
}

/* CTA Button */
.funnel-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 2rem;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.15s ease;
    text-decoration: none;
    margin-top: 0.75rem;
}

.funnel-cta-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.funnel-cta-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.funnel-pay-link {
    display: block;
    text-align: center;
}

/* Error text */
.funnel-error {
    font-size: 0.82rem;
    color: #ff6b6b;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

/* Loading spinner */
.funnel-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: #000;
    border-radius: 50%;
    animation: funnel-spin 0.7s linear infinite;
}

@keyframes funnel-spin {
    to { transform: rotate(360deg); }
}

/* Success state */
.funnel-success {
    text-align: center;
    padding: 2rem 1rem;
}

.funnel-success-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    margin-bottom: 1.25rem;
    color: #fff;
}

.funnel-success h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.funnel-success p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.funnel-price-confirm {
    font-size: 0.95rem !important;
    color: var(--text-color) !important;
    margin: 1rem 0 !important;
}

.funnel-price-confirm strong {
    font-weight: 700;
}

.funnel-fine-print {
    font-size: 0.72rem !important;
    color: rgba(255, 255, 255, 0.25) !important;
    margin-top: 1rem !important;
}

/* ============================================
   FUNNEL A: TOS 50
   ============================================ */
.tos50-section {
    padding: 120px 0;
    position: relative;
}

/* Live Slot Counter */
.tos50-counter-wrap {
    text-align: center;
    margin: 0 auto 3.5rem;
    max-width: 420px;
}

.tos50-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.tos50-live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

.tos50-counter-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.tos50-counter-num {
    font-size: clamp(5rem, 14vw, 8rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-color);
    line-height: 1;
}

.tos50-counter-slash {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--text-muted);
}

.tos50-remaining {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.tos50-progress-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.tos50-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #ff9a3c);
    border-radius: 100px;
    width: 0%;
    transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tos50-urgency {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.tos50-urgency[data-level="high"] { color: #ff9a3c; }
.tos50-urgency[data-level="critical"] { color: #ff6b6b; }

/* Pricing Cards */
.tos50-pricing-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tos50-price-card {
    flex: 1;
    max-width: 220px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: border-color 0.2s ease;
}

.tos50-price-card.featured {
    border-color: rgba(255, 255, 255, 0.2);
}

.price-card-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.price-card-amount {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.price-card-note {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.25);
}

.price-divider {
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 0 0.5rem;
    flex-shrink: 0;
}

.tos50-build-note {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.tos50-build-note strong {
    color: var(--text-color);
}

/* Form Section */
.tos50-form-wrap {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
}

.form-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.form-section-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* ============================================
   FUNNEL B: GRADU8 / ACADEMIC
   ============================================ */
.gradu8-section {
    padding: 120px 0;
    border-top: 1px solid var(--border-color);
}

/* Value Props Grid */
.gradu8-props-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 3.5rem;
}

@media (max-width: 700px) {
    .gradu8-props-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gradu8-prop {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.gradu8-prop-icon {
    color: #63b3ed;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 1px;
    flex-shrink: 0;
}

.gradu8-prop p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Two-column grid */
.gradu8-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 760px) {
    .gradu8-grid {
        grid-template-columns: 1fr;
    }
}

.gradu8-form-col h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.gradu8-form-col > p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

/* Booking Card */
.gradu8-booking-card {
    background: rgba(99, 179, 237, 0.04);
    border: 1px solid rgba(99, 179, 237, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    position: sticky;
    top: 100px;
}

.gradu8-booking-tag {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #63b3ed;
    margin-bottom: 1rem;
}

.gradu8-booking-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.gradu8-booking-card > p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.gradu8-booking-perks {
    list-style: none;
    margin-bottom: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.gradu8-booking-perks li {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gradu8-booking-perks li::before {
    content: '→';
    color: #63b3ed;
    font-size: 0.7rem;
}

.gradu8-book-cta {
    background: rgba(99, 179, 237, 0.12);
    color: #63b3ed;
    border: 1px solid rgba(99, 179, 237, 0.3);
}

.gradu8-book-cta:hover {
    background: rgba(99, 179, 237, 0.2);
}
