/* ═══════════════════════════════════════════
   VIBE-VERSE DESIGN SYSTEM
   vibeverseedu.com · Phase 1
   ═══════════════════════════════════════════ */

/* Font loaded via <link> in HTML for better performance */

/* ─── Tokens ─── */
:root {
    --cyan: #06b6d4;
    --cyan-glow: rgba(6, 182, 212, 0.35);
    --pink: #ec4899;
    --pink-glow: rgba(236, 72, 153, 0.35);
    --purple: #8b5cf6;
    --gold: #fbbf24;
    --dark: #0f172a;
    --darker: #060c18;
    --panel: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.18);
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-pill: 30px;
    --font: 'Outfit', sans-serif;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--dark);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--cyan);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    display: block;
}

/* ─── Utility ─── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-weight: 900;
    font-size: 17px;
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.btn:hover {
    transform: scale(1.03);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    color: white;
}

.btn-primary:hover {
    box-shadow: 0 0 40px var(--cyan-glow), 0 0 80px var(--pink-glow);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-hover);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

/* ─── Nav ─── */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.nav-brand-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo {
    height: 36px;
    width: auto;
    filter: drop-shadow(0 0 6px var(--cyan-glow));
    transition: filter var(--transition), transform var(--transition);
}

.nav-brand-container:hover .nav-logo {
    filter: drop-shadow(0 0 12px var(--cyan-glow)) drop-shadow(0 0 24px var(--pink-glow));
    transform: scale(1.08);
}

.nav-brand {
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 1px;
    background: linear-gradient(90deg, var(--cyan), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: color var(--transition);
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--cyan);
    text-decoration: none;
}

.nav-cta {
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 800;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: box-shadow var(--transition);
}

.nav-cta:hover {
    box-shadow: 0 0 24px var(--cyan-glow);
    text-decoration: none;
}

/* ─── Hamburger Button (mobile only) ─── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: none;
    border: 1.5px solid var(--border-hover);
    border-radius: var(--radius-sm);
    cursor: pointer;
    z-index: 110;
    transition: border-color var(--transition);
}

.nav-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger:hover {
    border-color: var(--cyan);
}

/* Hamburger → X animation */
.nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── Hero ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    text-align: center;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(6, 182, 212, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 80% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 70%),
        var(--dark);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background-image:
        linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 20px;
    border-radius: var(--radius-pill);
    background: var(--pink);
    color: white;
    font-weight: 900;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 28px;
    animation: badge-pulse 2.5s ease-in-out infinite;
}

@keyframes badge-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.5);
    }

    50% {
        box-shadow: 0 0 0 14px rgba(236, 72, 153, 0);
    }
}

.hero h1 {
    font-size: clamp(36px, 5.5vw, 68px);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 22px;
    max-width: 850px;
}

.hero .accent,
.accent {
    background: linear-gradient(90deg, var(--cyan), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .sub {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 44px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 56px;
}

/* ─── Hero Background Video ─── */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.18;
    filter: blur(2px);
    pointer-events: none;
}

/* Dark vignette overlay — protects text readability */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(6, 12, 24, 0.85) 0%,
        rgba(6, 12, 24, 0.45) 35%,
        rgba(6, 12, 24, 0.45) 65%,
        rgba(6, 12, 24, 0.85) 100%
    );
}

/* Ensure hero content sits above the video + vignette overlay */
.hero-badge,
.hero h1,
.hero .sub,
.hero-buttons {
    position: relative;
    z-index: 2;
}

/* ─── Card Reveal Video ─── */
.card-reveal-video {
    max-width: 400px;
    margin: 0 auto 40px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--border);
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.12), 0 0 80px rgba(236, 72, 153, 0.08);
}

.card-reveal-video video {
    width: 100%;
    display: block;
}

/* ─── Card Showcase ─── */
.card-showcase {
    padding: 80px 24px;
    background: var(--darker);
}

.card-showcase h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    margin-bottom: 12px;
}

.card-showcase .lead {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.card-scroll {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.showcase-card {
    width: 180px;
    aspect-ratio: 2.5 / 3.5;
    perspective: 800px;
    cursor: pointer;
    position: relative;
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 14px;
}

.showcase-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid var(--border);
}

.card-front {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    display: flex;
    flex-direction: column;
    padding: 8px;
    transition: box-shadow var(--transition);
}

.showcase-card:hover .card-front {
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 30px var(--cyan-glow);
}

.card-back {
    transform: rotateY(180deg);
}

.card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-front img {
    width: 100%;
    height: 130px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease;
}

.showcase-card:hover .card-front img {
    transform: scale(1.05);
}

.showcase-card .card-label {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 6px;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
}

.showcase-card .card-label .card-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

.tag-ar {
    background: rgba(6, 182, 212, 0.3);
    color: var(--cyan);
}

.tag-or {
    background: rgba(139, 92, 246, 0.3);
    color: var(--purple);
}

.tag-er {
    background: rgba(52, 211, 153, 0.3);
    color: #34d399;
}

.tag-rare {
    background: rgba(251, 191, 36, 0.3);
    color: var(--gold);
}

/* Holo shimmer overlay */
.showcase-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.08) 45%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.showcase-card:hover::after {
    opacity: 1;
}

/* ─── What's Inside / Features ─── */
.features-section {
    padding: 80px 24px;
    background: var(--dark);
}

.features-section h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    margin-bottom: 12px;
}

.features-section .lead {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.feature-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.feature-card:hover {
    background: rgba(6, 182, 212, 0.06);
    border-color: rgba(6, 182, 212, 0.3);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 14px;
}

.feature-card h3 {
    font-weight: 900;
    font-size: 17px;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ─── Pricing CTA ─── */
.pricing-section {
    padding: 80px 24px;
    background:
        radial-gradient(ellipse 60% 50% at 50% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 70%),
        var(--darker);
    text-align: center;
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--border);
    border-radius: 24px;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cyan), var(--pink), var(--purple));
}

.pricing-card .price-tag {
    font-size: 20px;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.pricing-card .price-tag .original {
    text-decoration: line-through;
    color: var(--text-dim);
    font-weight: 600;
}

.pricing-card .price-tag .sale {
    font-size: 48px;
    font-weight: 900;
    color: var(--cyan);
    margin-left: 8px;
}

.pricing-card .price-tag .discount {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: rgba(236, 72, 153, 0.15);
    color: var(--pink);
    font-size: 13px;
    font-weight: 800;
    margin-left: 12px;
    vertical-align: middle;
}

.pricing-card h2 {
    font-size: 28px;
    font-weight: 900;
    margin: 20px 0 12px;
}

.pricing-card .price-sub {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 28px;
    line-height: 1.6;
}

.pricing-card .price-includes {
    text-align: left;
    list-style: none;
    margin-bottom: 32px;
}

.pricing-card .price-includes li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-card .price-includes li::before {
    content: '✓';
    color: var(--cyan);
    font-weight: 900;
}

/* ─── Email Capture ─── */
.email-section {
    padding: 80px 24px;
    background: var(--dark);
    text-align: center;
}

.email-box {
    max-width: 480px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.email-box h2 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 8px;
}

.email-box .email-sub {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.email-box input {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 2px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: white;
    font-family: var(--font);
    font-size: 15px;
    margin-bottom: 14px;
    outline: none;
    transition: border-color var(--transition);
}

.email-box input:focus {
    border-color: var(--cyan);
}

.email-box input::placeholder {
    color: var(--text-dim);
}

.email-box .btn {
    width: 100%;
    justify-content: center;
}

.email-box .privacy {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 12px;
}

/* ─── Trust Bar ─── */
.trust-bar {
    padding: 40px 24px;
    background: var(--dark);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    border-top: 1px solid var(--border);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dim);
}

.trust-icon {
    font-size: 22px;
}

/* ─── Footer ─── */
.site-footer {
    padding: 32px 24px;
    background: var(--darker);
    text-align: center;
    font-size: 12px;
    color: #334155;
    border-top: 1px solid var(--border);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-dim);
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--cyan);
}

/* ─── Skeleton Loading for Card Images ─── */
@keyframes skeleton-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.showcase-card img {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.04) 25%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.04) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.8s ease-in-out infinite;
}

.showcase-card img[complete] {
    animation: none;
}

/* ─── Hero Entrance Animation ─── */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    animation: heroFadeUp 0.6s ease both 0.2s, badge-pulse 2.5s ease-in-out 0.8s infinite;
}

.hero h1 {
    opacity: 0;
    animation: heroFadeUp 0.6s ease both 0.4s;
}

.hero .sub {
    opacity: 0;
    animation: heroFadeUp 0.6s ease both 0.6s;
}

.hero-buttons {
    opacity: 0;
    animation: heroFadeUp 0.6s ease both 0.8s;
}

/* ─── Scroll Reveal ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Active Nav Link ─── */
.nav-links a.active {
    color: var(--cyan);
}

/* ─── Page Hero (sub-pages) ─── */
.page-hero {
    padding: 140px 24px 60px;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(6, 182, 212, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 80% 80%, rgba(236, 72, 153, 0.08) 0%, transparent 70%),
        var(--dark);
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
}

.page-hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
}

.page-hero .sub {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.page-hero .hero-badge {
    position: relative;
    z-index: 2;
}

.page-hero h1,
.page-hero .sub {
    position: relative;
    z-index: 2;
}

/* ─── How to Play Sections ─── */
.htp-section {
    padding: 80px 24px;
    background: var(--dark);
}

.htp-section--alt {
    background: var(--darker);
}

.htp-section .lead {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 48px;
    line-height: 1.7;
}

/* ─── HTP Highlight Block (Win / Usage Strike) ─── */
.htp-block {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    max-width: 760px;
    margin: 0 auto;
    padding: 36px 32px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.htp-block--highlight {
    border-color: rgba(6, 182, 212, 0.25);
    background: rgba(6, 182, 212, 0.04);
}

.htp-block--usage {
    border-color: rgba(236, 72, 153, 0.25);
    background: rgba(236, 72, 153, 0.04);
}

.htp-block-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.htp-block-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.htp-block-content h2 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 10px;
}

.htp-big-text {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 10px;
}

.htp-sub-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ─── HTP Setup Steps ─── */
.htp-steps {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.htp-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.htp-step:last-child {
    border-bottom: none;
}

.htp-step-num {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    color: white;
    font-weight: 900;
    font-size: 16px;
}

.htp-step-body h3 {
    font-size: 17px;
    font-weight: 900;
    margin-bottom: 4px;
}

.htp-step-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ─── HTP Turn Grid ─── */
.htp-turn-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.htp-turn-grid .htp-turn-card {
    flex: 0 1 calc(33.333% - 14px);
    min-width: 220px;
}

.htp-turn-grid .htp-turn-card:nth-child(n+4) {
    flex: 0 1 calc(45% - 10px);
    padding: 20px 24px;
}

.htp-turn-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: border-color var(--transition), transform var(--transition);
}

.htp-turn-card:hover {
    border-color: rgba(6, 182, 212, 0.3);
    transform: translateY(-4px);
}

.htp-turn-card--attack {
    border-color: rgba(236, 72, 153, 0.2);
    background: rgba(236, 72, 153, 0.03);
}

.htp-turn-card--attack:hover {
    border-color: rgba(236, 72, 153, 0.4);
}

.htp-turn-phase {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: rgba(6, 182, 212, 0.15);
    color: var(--cyan);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.htp-turn-card--attack .htp-turn-phase {
    background: rgba(236, 72, 153, 0.15);
    color: var(--pink);
}

.htp-turn-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.htp-turn-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.htp-turn-card h3 {
    font-size: 17px;
    font-weight: 900;
    margin-bottom: 6px;
}

.htp-turn-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.htp-turn-img {
    margin-top: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    max-width: 280px;
    width: 100%;
    height: auto;
}

.htp-attack-steps {
    margin: 12px 0 12px 20px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
}

.htp-note {
    font-size: 12px;
    color: var(--text-dim);
    font-style: italic;
    margin-top: 8px;
}

/* ─── HTP Usage Strike Example ─── */
.htp-usage-example {
    margin-top: 20px;
}

.htp-usage-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px 36px;
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid rgba(236, 72, 153, 0.3);
    border-radius: var(--radius);
}

.htp-usage-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim);
}

.htp-usage-word {
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(90deg, var(--cyan), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.htp-usage-pattern {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

/* ─── HTP Junior Rules ─── */
.htp-junior-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 640px;
    margin: 0 auto;
}

.htp-junior-card {
    background: var(--panel);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: border-color var(--transition), transform var(--transition);
}

.htp-junior-card:hover {
    border-color: rgba(251, 191, 36, 0.4);
    transform: translateY(-4px);
}

.htp-junior-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.htp-junior-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin: 0 auto;
}

.htp-junior-card h3 {
    font-size: 17px;
    font-weight: 900;
    margin-bottom: 6px;
}

.htp-junior-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ─── HTP Quick Reference ─── */
.htp-ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.htp-ref-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
}

.htp-ref-card h3 {
    font-size: 17px;
    font-weight: 900;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.htp-ref-card ul {
    list-style: none;
}

.htp-ref-card li {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}

.htp-ref-card li:last-child {
    border-bottom: none;
}

.htp-ref-card li strong {
    color: var(--text);
}

/* ─── HTP CTA Section ─── */
.htp-cta-section {
    background:
        radial-gradient(ellipse 60% 50% at 50% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 70%),
        var(--darker);
}

.htp-cta-section h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    margin-bottom: 12px;
}

.htp-cta-section .lead {
    margin-bottom: 32px;
}

/* ─── Testimonials ─── */
.testimonials-section {
    padding: 80px 24px;
    background: var(--darker);
}

.testimonials-section h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    margin-bottom: 12px;
}

.testimonials-section .lead {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: left;
    transition: border-color var(--transition), transform var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(251, 191, 36, 0.3);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-quote {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
    border: none;
    padding: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    font-size: 32px;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 900;
    font-size: 14px;
    color: var(--text);
}

.testimonial-role {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 2px;
}

/* ─── FAQ Page ─── */
.faq-section {
    padding: 60px 24px;
    background: var(--dark);
}

.faq-section--alt {
    background: var(--darker);
}

.faq-category {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 24px;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    transition: color var(--transition);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 22px;
    font-weight: 400;
    color: var(--text-dim);
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item[open] .faq-question::after {
    content: '−';
    color: var(--cyan);
}

.faq-question:hover {
    color: var(--cyan);
}

.faq-answer {
    padding: 0 0 20px;
}

.faq-answer p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-answer a {
    color: var(--cyan);
    text-decoration: underline;
}

/* ─── Blog Page ─── */
.blog-section {
    padding: 60px 24px;
    background: var(--dark);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.blog-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition);
}

.blog-card:hover {
    border-color: rgba(6, 182, 212, 0.3);
    transform: translateY(-4px);
}

.blog-card-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(236, 72, 153, 0.1));
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 24px;
}

.blog-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: rgba(6, 182, 212, 0.15);
    color: var(--cyan);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.blog-card-body h3 {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 8px;
    line-height: 1.3;
}

.blog-card-body h3 a {
    color: var(--text);
    transition: color var(--transition);
}

.blog-card-body h3 a:hover {
    color: var(--cyan);
    text-decoration: none;
}

.blog-card-body p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-meta {
    font-size: 12px;
    color: var(--text-dim);
}

/* Blog article (single post) */
.blog-article {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

.blog-article h2 {
    font-size: 28px;
    font-weight: 900;
    margin: 40px 0 16px;
}

.blog-article h3 {
    font-size: 20px;
    font-weight: 900;
    margin: 32px 0 12px;
}

.blog-article p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.blog-article ul,
.blog-article ol {
    margin: 0 0 20px 24px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
}

.blog-article blockquote {
    border-left: 3px solid var(--cyan);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--panel);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-muted);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .site-nav {
        padding: 12px 20px;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-cta {
        margin-right: 48px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        padding: 12px 20px 20px;
        background: rgba(15, 23, 42, 0.97);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li a {
        display: block;
        padding: 14px 0;
        font-size: 16px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-video {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .card-reveal-video {
        max-width: 280px;
        margin-bottom: 32px;
    }

    .card-scroll {
        gap: 12px;
    }

    .showcase-card {
        width: 140px;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    .pricing-card .price-tag .sale {
        font-size: 36px;
    }

    /* HTP mobile */
    .page-hero {
        padding: 110px 20px 48px;
    }

    .htp-section {
        padding: 56px 16px;
    }

    .htp-block {
        flex-direction: column;
        gap: 16px;
        padding: 24px 20px;
    }

    .htp-block-icon {
        font-size: 36px;
    }

    .htp-turn-grid {
        grid-template-columns: 1fr;
    }

    .htp-turn-card--attack {
        grid-column: auto;
    }

    .htp-junior-grid {
        grid-template-columns: 1fr;
    }

    .htp-ref-grid {
        grid-template-columns: 1fr;
    }

    .htp-usage-card {
        padding: 16px 24px;
    }

    .htp-usage-word {
        font-size: 28px;
    }
}

/* ─── Form Validation ─── */
.email-box input.invalid {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.06);
}

.email-box input.valid {
    border-color: #22c55e;
}

.form-error {
    color: #ef4444;
    font-size: 12px;
    margin-top: -8px;
    margin-bottom: 10px;
    text-align: left;
    display: none;
}

.form-error.show {
    display: block;
}

.form-success {
    padding: 20px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-sm);
    color: #22c55e;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
}

.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

@media (max-width: 480px) {
    .card-reveal-video {
        max-width: 220px;
    }

    .showcase-card {
        width: 120px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}
