html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; }

.apple-card {
    background-color: white;
    border-radius: 1.25rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 4px 10px -3px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s, transform 0.3s;
}
.apple-card:hover {
    box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.12), 0 10px 14px -5px rgba(0, 0, 0, 0.06);
}
.dark .apple-card { background-color: #1f2937; }

.apple-link { color: #2563eb; text-decoration: none; }
.apple-link:hover { text-decoration: underline; }
.dark .apple-link { color: #60a5fa; }

.feature-band {
    background: linear-gradient(180deg, #0b1120, #0f172a);
    border-top: 1px solid #1e293b;
    border-bottom: 1px solid #1e293b;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: #1e293b;
    border: 1px solid #1e293b;
    border-radius: 16px;
    overflow: hidden;
    max-width: 64rem;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .feature-grid { grid-template-columns: repeat(5, 1fr); }
}
.feature-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    text-align: left;
    padding: 14px 16px;
    background: #0f172a;
    transition: background 0.25s;
}
.feature-item:hover { background: #131c30; }
.feature-grid > .feature-item:last-child:nth-child(odd) { grid-column: span 2; }
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(245, 197, 24, 0.08);
    border: 1px solid rgba(245, 197, 24, 0.25);
    color: #F5C518;
    font-size: 0.9rem;
}
.feature-label {
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}
@media (min-width: 768px) {
    .feature-item {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        gap: 14px;
        padding: 28px 16px;
    }
    .feature-grid > .feature-item:last-child:nth-child(odd) { grid-column: auto; }
    .feature-icon { width: 48px; height: 48px; border-radius: 14px; font-size: 1.15rem; }
    .feature-label { font-size: 0.95rem; }
}

.glass-card {
    background: #1e2937;
    border: 1px solid #334155;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}
.glass-card:hover {
    transform: translateY(-8px);
    border-color: #475569;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}
.glass-card.popular {
    border-color: #F5C518;
    box-shadow: 0 0 0 1px #F5C518, 0 10px 15px -3px rgb(0 0 0 / 0.1);
}
.glass-card.popular::after {
    content: 'MOST POPULAR';
    position: absolute;
    top: 16px;
    right: -32px;
    background: linear-gradient(90deg, #F5C518, #f59e0b);
    color: #1e2937;
    font-weight: 800;
    font-size: 0.65rem;
    padding: 4px 36px;
    transform: rotate(35deg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
    z-index: 10;
}
.glass-overlay {
    background: rgba(0, 0, 0, 0.55);
    transition: opacity 0.3s ease;
}
.glass-button {
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}
.glass-button:hover { background: rgba(255, 255, 255, 0.4); }

.step-num {
    min-width: 44px; height: 44px;
    background: linear-gradient(135deg, #F5C518, #f59e0b);
    color: #1e2124;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(245,197,24,0.35);
}
.step-num.done {
    background: linear-gradient(135deg, #57F287, #10b981);
    color: #053827;
    box-shadow: 0 4px 10px rgba(87,242,135,0.35);
}
button.step-num {
    border: none;
    cursor: pointer;
    position: relative;
    transition: transform 0.15s, box-shadow 0.2s;
}
button.step-num:hover { transform: scale(1.06); }
button.step-num:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.step-num .step-tick { display: none; }
.step-row.completed .step-num {
    background: linear-gradient(135deg, #57F287, #10b981);
    color: #053827;
    box-shadow: 0 4px 10px rgba(87,242,135,0.35);
}
.step-row.completed .step-numeral { display: none; }
.step-row.completed .step-tick { display: inline; }
.step-row.completed .step-body { opacity: 0.6; }
.step-row.completed .step-body .font-semibold { text-decoration: line-through; text-decoration-color: rgba(148,163,184,0.6); }

.proof-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    color: #cbd5e1;
    font-size: 0.9rem;
    transition: background 0.2s;
}
.proof-check:hover { background: rgba(148,163,184,0.06); }
.proof-check-box {
    appearance: none;
    -webkit-appearance: none;
    width: 20px; height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
    border: 2px solid #475569;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: background 0.15s, border-color 0.15s;
}
.proof-check-box:checked { background: #10b981; border-color: #10b981; }
.proof-check-box:checked::after {
    content: '';
    position: absolute;
    left: 5px; top: 1px;
    width: 5px; height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.proof-check-box:focus-visible { outline: 2px solid #F5C518; outline-offset: 2px; }
#proof-check-result.ready { background: rgba(16,185,129,0.15); color: #6ee7b7; }

.next-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.next-timeline li {
    position: relative;
    padding: 0 0 22px 30px;
    border-left: 2px solid #334155;
    margin-left: 9px;
}
.next-timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.tl-dot {
    position: absolute;
    left: -10px; top: 2px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #0f172a;
    border: 3px solid #F5C518;
}
.tl-dot-end { border-color: #10b981; background: #10b981; }
.tl-title { font-weight: 600; color: #e2e8f0; font-size: 0.95rem; }
.tl-sub { color: #94a3b8; font-size: 0.85rem; margin-top: 2px; }

.cal-btn {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
    background: rgba(148,163,184,0.1);
    border: 1px solid rgba(148,163,184,0.2);
    border-radius: 999px;
    padding: 4px 12px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.cal-btn:hover { color: #F5C518; border-color: rgba(245,197,24,0.4); background: rgba(245,197,24,0.08); }
.step-body {
    background: #2b2d31;
    border-radius: 12px;
    padding: 16px 20px;
    flex: 1;
    color: #fff;
    border-left: 3px solid #F5C518;
}
.step-body.done {
    background: rgba(87, 242, 135, 0.1);
    border-left: 3px solid #57F287;
    color: #57F287;
}
.step-sub { font-size: 0.88rem; color: #9aa0aa; margin-top: 5px; line-height: 1.5; }

.tier-pill {
    display: inline-block;
    background: rgba(245, 197, 24, 0.15);
    color: #F5C518;
    border: 1px solid rgba(245, 197, 24, 0.45);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.8rem;
    margin: 3px 4px 0 0;
    font-weight: 600;
}
.btn-tag {
    background: #4f545c;
    color: #dcddde;
    padding: 3px 9px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-family: ui-monospace, Menlo, Consolas, monospace;
}
.discord-ch { color: #5865F2; font-weight: 700; }

.proof-card {
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 2px solid transparent;
    transition: transform 0.25s, box-shadow 0.25s;
}
.proof-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.1); }
.proof-card.good { background: #ecfdf5; border-color: #10b981; }
.proof-card.bad { background: #fef2f2; border-color: #ef4444; }
.dark .proof-card.good { background: rgba(16, 185, 129, 0.1); }
.dark .proof-card.bad  { background: rgba(239, 68, 68, 0.1); }

.proof-badge {
    font-weight: 800;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    align-self: flex-start;
}
.proof-badge.good { background: #10b981; color: #fff; }
.proof-badge.bad  { background: #ef4444; color: #fff; }
.proof-svg {
    width: 100%; height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.proof-caption { font-size: 0.9rem; line-height: 1.5; }

.msg-bubble {
    background: #1e2124;
    color: #dcddde;
    border-radius: 12px;
    padding: 16px 18px;
    font-size: 0.95rem;
    line-height: 1.9;
    border-left: 3px solid #5865F2;
}
.mention { color: #5865F2; font-weight: 700; background: rgba(88,101,242,0.15); padding: 1px 4px; border-radius: 4px; }
.muted { color: #9aa0aa; font-style: italic; }
.user-email { color: #b0b5be; font-family: ui-monospace, Menlo, Consolas, monospace; }

.checklist-item {
    background: #fff;
    border-left: 4px solid #F5C518;
    border-radius: 8px;
    padding: 14px 16px;
    transition: transform 0.2s;
}
.checklist-item:hover { transform: translateX(4px); }
.dark .checklist-item { background: #374151; }

.checklist-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px; height: 28px;
    background: #ED4245;
    color: #fff;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 800;
    margin-right: 10px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #5865F2, #4752c4);
    color: #fff;
    font-weight: 700;
    padding: 14px 24px;
    border-radius: 999px;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(88,101,242,0.4);
    border: none;
    cursor: pointer;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(88,101,242,0.55); }

.copy-btn {
    background: #374151;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.copy-btn:hover { background: #4b5563; }
.copy-btn.copied { background: #10b981; }

.float-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 40;
    animation: float 3s ease-in-out infinite, pulseGlow 2.5s ease-in-out infinite;
}

.nav-item {
    position: relative;
    color: #cbd5e1;
    transition: color 0.2s;
    padding: 4px 0;
}
.nav-item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, #F5C518, #f59e0b);
    transition: width 0.25s ease;
}
.nav-item:hover { color: #fff; }
.nav-item:hover::after,
.nav-item.active::after { width: 100%; }
.nav-item.active { color: #F5C518; }
.nav-item:focus-visible { outline: 2px solid #F5C518; outline-offset: 4px; border-radius: 2px; }

.toc-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    transition: all 0.2s;
    white-space: nowrap;
}
.toc-link:hover { background: #e5e7eb; color: #1f2937; }
.toc-link:focus-visible { outline: 2px solid #F5C518; outline-offset: 2px; }
.toc-link.active { background: #F5C518; color: #1e2124; font-weight: 700; }
.dark .toc-link { color: #9ca3af; }
.dark .toc-link:hover { background: #374151; color: #f3f4f6; }
.dark .toc-link.active { background: #F5C518; color: #1e2124; }

.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}
.compare-table th, .compare-table td {
    padding: 14px 12px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.92rem;
}
.dark .compare-table th, .compare-table td { border-bottom-color: #374151; }
.compare-table th { background: #f9fafb; font-weight: 700; }
.dark .compare-table th { background: #1f2937; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:first-child, .compare-table th:first-child { text-align: left; font-weight: 600; }
.compare-table tbody tr:hover { background: rgba(245,197,24,0.06); }
.check-yes { color: #10b981; font-size: 1.1rem; }
.check-no  { color: #9ca3af; font-size: 1.1rem; }
.dark .check-no { color: #94a3b8; }
.tier-savior-col { background: rgba(245,197,24,0.06); }

.scroll-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 39;
    background: #1f2937;
    color: #fff;
    width: 44px; height: 44px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
    border: none;
    transition: transform 0.2s;
}
.scroll-top:hover { transform: translateY(-3px); }
.scroll-top.show { display: flex; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.6s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, #F5C518, #f59e0b);
    color: #1e2124;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.help-block {
    background: linear-gradient(135deg, rgba(88,101,242,0.08), rgba(245,197,24,0.06));
    border: 1px dashed rgba(88,101,242,0.4);
    border-radius: 16px;
    padding: 24px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 6px 16px rgba(88,101,242,0.4); }
    50% { box-shadow: 0 6px 26px rgba(88,101,242,0.75); }
}
@keyframes toastIn {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.glass-card:focus-visible {
    outline: 2px solid #F5C518;
    outline-offset: 4px;
}

.glass-card.popular:focus-within button,
.glass-card:focus-within button[class*="border-yellow-500/60"] {
    background-color: #F5C518;
    color: #0f172a;
}

.svg-num:focus { outline: none; }
.svg-num:focus-visible circle {
    stroke: #F5C518;
    stroke-width: 4;
}
.svg-num:hover circle { filter: brightness(1.15); }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 8px; border: 2px solid #0f172a; }
::-webkit-scrollbar-thumb:hover { background: #475569; }
html { scrollbar-color: #334155 #0f172a; scrollbar-width: thin; }

.trust-bar {
    background: linear-gradient(90deg, #0b1220, #131a2e, #0b1220);
    border-top: 1px solid #1e293b;
    border-bottom: 1px solid #1e293b;
}
.trust-stat {
    text-align: center;
    padding: 8px 4px;
    border-right: 1px solid #1e293b;
}
.trust-stat:last-child { border-right: none; }
@media (max-width: 768px) {
    .trust-stat { border-right: none; border-bottom: 1px solid #1e293b; padding-bottom: 12px; }
    .trust-stat:last-child { border-bottom: none; }
}
.trust-num {
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    font-weight: 800;
    color: #fff;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}
.trust-label {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}
.countdown-display {
    color: #F5C518;
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-variant-numeric: tabular-nums;
    font-size: clamp(1.1rem, 3.5vw, 1.6rem);
}
.countdown-live {
    color: #10b981;
    animation: pulseGlow 1.5s ease-in-out infinite;
}

.toast-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 92vw;
}
.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1e293b;
    color: #f1f5f9;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border-left: 4px solid #5865F2;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: auto;
    min-width: 240px;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast-success { border-left-color: #10b981; }
.toast-success i { color: #10b981; }
.toast-error { border-left-color: #ef4444; }
.toast-error i { color: #ef4444; }
.toast-info i { color: #5865F2; }

.faq-match {
    border-color: #F5C518 !important;
    box-shadow: 0 0 0 1px rgba(245, 197, 24, 0.3);
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .float-cta { animation: none; }
    .countdown-live { animation: none; }
    .glass-card, .apple-card, .proof-card, .checklist-item { transition: none; }
}