/* =================================================================
   AI University — Shared Subpage Design System
   Matches landing page: fonts, colors, spacing, components
   ================================================================= */

/* --- Fonts --- */
@font-face {
    font-family: 'Canela';
    src: url('/fonts/canela_roman.woff') format('woff'),
         url('https://fonts.cdnfonts.com/s/15211/canela_roman.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

/* --- CSS Variables --- */
:root {
    --blue: #0096ff;
    --blue-hover: #0080e6;
    --bg: #000000;
    --card-bg: rgba(255,255,255,0.03);
    --card-border: rgba(255,255,255,0.08);
    --text: #ffffff;
    --text-secondary: rgba(255,255,255,0.88);
    --text-muted: rgba(255,255,255,0.65);
    --purple: #a855f7;
    --purple-dark: #7c3aed;
    --gold: #c9a227;
    --gold-dark: #8b6914;
    --radius: 12px;
    --radius-lg: 16px;
    --max-w: 1200px;
}

/* --- Base Typography --- */
body {
    font-family: Georgia, 'Times New Roman', 'Noto Serif', serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    letter-spacing: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Canela', serif !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: -0.015em !important;
    line-height: 1.15;
}

a { color: var(--blue); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* --- Navbar (matches landing page) --- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}
.nav-left:hover { opacity: 1; }

.nav-left img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-left .logo-text {
    font-family: 'Canela', serif !important;
    font-size: 18px;
    font-weight: 400 !important;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin: 0;
    line-height: 1;
}

.nav-center {
    display: flex;
    gap: 40px;
    margin-left: auto;
    margin-right: 40px;
    align-items: center;
}

.navbar, .nav-link, .nav-left .logo-text, .breadcrumb, .stat-label, .tier-btn, .payment-cta, .cta-btn, .payment-price, .payment-tier-label {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.nav-link {
    font-family: 'Inter', -apple-system, sans-serif;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.01em;
    transition: all 0.2s ease;
}
.nav-link:hover { color: #ffffff; opacity: 1; }

.nav-link.pricing-link {
    color: #00a8ff;
    font-weight: 600;
    animation: pricingPulse 2s ease-in-out infinite;
}

@keyframes pricingPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
}
.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #ffffff;
    transition: all 0.3s ease;
    border-radius: 3px;
}
.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

/* Mobile menu overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.98);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
    color: rgba(255,255,255,0.85);
    font-size: 20px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--blue); opacity: 1; }

@media (max-width: 768px) {
    .navbar { padding: 16px 20px; }
    .nav-center { display: none; }
    .mobile-menu-toggle { display: flex; }
}

/* --- Breadcrumb --- */
.breadcrumb {
    padding: 100px 0 0;
    font-size: 14px;
    color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--blue); opacity: 1; }
.breadcrumb .sep { margin: 0 8px; color: var(--text-muted); }
.breadcrumb .current { color: var(--text-secondary); }

/* --- Hero --- */
.hero {
    padding: 100px 0 120px;
    text-align: center;
}
.hero-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--blue);
    margin-bottom: 24px;
    font-family: 'Inter', sans-serif;
}
.hero h1 {
    font-size: clamp(42px, 5vw, 64px);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.hero h1 span { color: var(--blue); }
.hero-sub {
    font-size: clamp(17px, 2vw, 20px);
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.75;
}

/* --- Stats Row --- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding-top: 32px;
    margin-bottom: 120px;
}
.stat-card {
    text-align: center;
    padding: 48px 32px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    transition: border-color 0.3s;
}
.stat-card:hover { border-color: rgba(0,150,255,0.2); }
.stat-number {
    font-family: 'Canela', serif !important;
    font-size: clamp(32px, 4vw, 48px);
    color: var(--blue);
    margin-bottom: 8px;
    font-weight: 400 !important;
    line-height: 1;
}
.stat-label {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 400;
}
@media (max-width: 640px) {
    .stats-row { grid-template-columns: 1fr; gap: 16px; }
}

/* --- Section Labels --- */
.section-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--blue);
    text-align: center;
    margin-bottom: 24px;
    font-family: 'Inter', sans-serif;
}

/* --- Section Titles --- */
.section-title {
    font-size: clamp(28px, 3.5vw, 44px);
    text-align: center;
    margin-bottom: 64px;
}
.section-title span { color: var(--blue); }

/* --- Card Grid --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 140px;
}
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 40px 32px;
    transition: border-color 0.3s, transform 0.2s;
}
.card:hover {
    border-color: rgba(0,150,255,0.3);
    transform: translateY(-2px);
}
.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0,150,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--blue);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--text);
}
.card p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.75;
    font-weight: 400;
}
.card ul {
    list-style: none;
    margin-top: 16px;
}
.card ul li {
    color: var(--text-muted);
    font-size: 14px;
    padding: 5px 0 5px 20px;
    position: relative;
}
.card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
}
@media (max-width: 768px) {
    .card-grid { grid-template-columns: 1fr; }
}

/* --- 3-column Card Grid --- */
.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 140px;
}
@media (max-width: 900px) {
    .card-grid-3 { grid-template-columns: 1fr; }
}

/* --- Content Blocks --- */
.content-section { margin-bottom: 140px; }

.content-block {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    margin-bottom: 32px;
}
.content-block h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text);
}
.content-block p {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.85;
    margin-bottom: 22px;
    font-weight: 400;
}
.content-block p:last-child { margin-bottom: 0; }
.content-block strong { color: #ffffff; font-weight: 500; }
.content-block ul {
    list-style: none;
    margin: 16px 0;
}
.content-block ul li {
    color: var(--text-secondary);
    padding: 6px 0 6px 20px;
    position: relative;
    font-size: 15px;
}
.content-block ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
}
@media (max-width: 768px) {
    .content-block { padding: 32px 24px; }
}

/* --- Timeline --- */
.timeline { margin: 24px 0; }
.timeline-item {
    display: flex;
    gap: 20px;
    padding: 16px 0;
    border-left: 2px solid var(--card-border);
    margin-left: 12px;
    padding-left: 24px;
    position: relative;
}
.timeline-item::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 22px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue);
    border: 2px solid var(--bg);
}
.timeline-date {
    color: var(--blue);
    font-weight: 600;
    font-size: 14px;
    min-width: 100px;
    font-family: 'Inter', sans-serif;
}
.timeline-desc {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* --- CTA Links --- */
.cta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}
.cta-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
    cursor: pointer;
    border: none;
}
.cta-btn:hover { transform: translateY(-1px); opacity: 1; }
.cta-btn.primary { background: var(--blue); color: #fff; }
.cta-btn.primary:hover { background: var(--blue-hover); }
.cta-btn.secondary {
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
}
.cta-btn.secondary:hover { border-color: var(--blue); color: var(--blue); }

/* --- FAQ Accordion --- */
.faq-section { margin-bottom: 140px; }
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
}
.faq-q {
    padding: 24px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 16px;
    color: var(--text);
    user-select: none;
    font-family: 'Inter', sans-serif;
}
.faq-q:hover { background: rgba(255,255,255,0.02); }
.faq-arrow {
    width: 20px;
    height: 20px;
    stroke: var(--blue);
    fill: none;
    stroke-width: 2;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}
.faq-item.active .faq-arrow { transform: rotate(180deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-a {
    max-height: 500px;
    padding: 0 24px 20px;
}
.faq-a p {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 16px;
    font-weight: 400;
}

/* --- Pricing Section (tier-selector pattern from landing page) --- */
.pricing-section {
    padding: 140px 0 120px;
    text-align: center;
}
.pricing-section .section-title { margin-bottom: 20px; }
.pricing-sub {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 48px;
    font-weight: 400;
}

.tier-selector {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}
.tier-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.6);
    padding: 12px 24px;
    border-radius: 24px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
}
.tier-btn.active {
    background: rgba(0,150,255,0.1);
    border-color: var(--blue);
    color: var(--blue);
    box-shadow: 0 0 20px rgba(0,150,255,0.3);
}
.tier-btn:hover {
    border-color: rgba(255,255,255,0.4);
    color: rgba(255,255,255,0.8);
}
/* Purple tier button */
.tier-btn.tier-creator.active {
    background: rgba(168,85,247,0.15);
    border-color: var(--purple);
    color: var(--purple);
    box-shadow: 0 0 20px rgba(168,85,247,0.3);
}
.tier-btn.tier-creator:hover {
    border-color: var(--purple);
    color: var(--purple);
}
/* Gold tier button */
.tier-btn.tier-founders {
    background: linear-gradient(135deg, rgba(201,162,39,0.1), rgba(184,134,11,0.05));
    border-color: rgba(201,162,39,0.5);
    color: var(--gold);
}
.tier-btn.tier-founders:hover,
.tier-btn.tier-founders.active {
    background: linear-gradient(135deg, rgba(201,162,39,0.2), rgba(184,134,11,0.1));
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 25px rgba(201,162,39,0.4);
}

/* Payment boxes */
.payment-boxes {
    position: relative;
    width: 100%;
    min-height: 520px;
    display: flex;
    justify-content: center;
}
.payment-box {
    background: #0d0d0d;
    border-radius: 24px;
    padding: 40px 48px;
    max-width: 900px;
    width: 90%;
    text-align: left;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 20px 40px rgba(0,0,0,0.3);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    will-change: opacity;
    transition: opacity 0.3s;
}
.payment-box.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
.payment-tier-label {
    position: absolute;
    top: 25px;
    right: 30px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(0,150,255,0.8), 0 0 40px rgba(0,150,255,0.4);
    font-family: 'Inter', sans-serif;
}
.payment-title {
    font-size: 22px;
    margin-bottom: 36px;
    color: #ffffff;
}
.payment-price {
    font-size: 64px;
    font-weight: 300;
    color: #ffffff;
    line-height: 1;
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    letter-spacing: -2px;
    margin-bottom: 24px;
    font-family: 'Inter', sans-serif;
}
.payment-price .currency { font-size: 48px; }
.payment-price .period {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0;
    margin-left: 4px;
}
.payment-desc {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 28px;
    font-weight: 400;
    font-family: 'Inter', -apple-system, sans-serif;
}
.payment-cta {
    background: var(--blue);
    color: #ffffff;
    border: none;
    border-radius: 28px;
    padding: 14px 36px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    margin-bottom: 36px;
    display: inline-block;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}
.payment-cta:hover {
    background: #0073cc;
    transform: translateY(-2px);
    opacity: 1;
}
.payment-features {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 28px;
}
.payment-feature {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 400;
    font-family: 'Inter', -apple-system, sans-serif;
}
.payment-feature::before {
    content: '\2022';
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}
.payment-feature:last-child { margin-bottom: 0; }

/* Creator (purple) payment box */
.payment-box.box-creator {
    background: linear-gradient(135deg, rgba(88,28,135,0.2), rgba(168,85,247,0.05));
    border: 2px solid rgba(168,85,247,0.3);
}
.payment-box.box-creator.active {
    border-color: var(--purple);
    box-shadow: 0 0 30px rgba(168,85,247,0.3);
}
.payment-box.box-creator .payment-tier-label {
    color: var(--purple);
    text-shadow: 0 0 20px rgba(168,85,247,0.8), 0 0 40px rgba(168,85,247,0.4);
}
.payment-box.box-creator .payment-cta {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
}
.payment-box.box-creator .payment-cta:hover {
    background: linear-gradient(135deg, #c084fc, #a855f7);
    box-shadow: 0 8px 24px rgba(168,85,247,0.4);
}

/* Founders (gold) payment box */
.payment-box.box-founders {
    background: linear-gradient(135deg, rgba(61,30,30,0.3), rgba(26,15,15,0.5));
    border: 2px solid rgba(201,162,39,0.4);
}
.payment-box.box-founders.active {
    border-color: var(--gold);
    box-shadow: 0 0 40px rgba(201,162,39,0.3);
}
.payment-box.box-founders .payment-tier-label {
    background: linear-gradient(135deg, #c9a227, #b8860b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}
.payment-box.box-founders .payment-cta {
    background: linear-gradient(135deg, #c9a227, #8b6914);
    color: #1a0f0f;
    font-weight: 600;
}
.payment-box.box-founders .payment-cta:hover {
    background: linear-gradient(135deg, #d4b12e, #c9a227);
    box-shadow: 0 0 30px rgba(201,162,39,0.5);
}
.founders-limited {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(201,162,39,0.3);
    color: var(--gold);
    font-size: 14px;
    text-align: center;
}

@media (max-width: 768px) {
    .tier-selector { flex-wrap: wrap; justify-content: center; gap: 12px; }
    .tier-btn { padding: 10px 20px; font-size: 13px; }
    .payment-boxes { min-height: 600px; }
    .payment-box { padding: 30px 24px; width: 95%; max-width: 100%; }
    .payment-price { font-size: 40px; }
    .payment-price .currency { font-size: 32px; }
    .payment-title { font-size: 20px; }
}

/* --- Footer (matches landing page) --- */
.site-footer {
    background-color: #000000;
    margin-top: 120px;
    border-top: 1px solid var(--card-border);
}
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}
.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 60px;
    padding: 60px 40px 40px;
    align-items: start;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.footer-brand-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}
.footer-brand-logo h3 {
    font-size: 22px;
    color: #ffffff;
}
.footer-brand-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-brand-links a {
    color: var(--blue);
    font-size: 14px;
    transition: color 0.3s;
}
.footer-brand-links a:hover { color: #ffffff; opacity: 1; }

.footer-section h4 {
    font-size: 14px;
    margin-bottom: 20px;
    color: var(--blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif !important;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}
.footer-links a:hover {
    color: var(--blue);
    padding-left: 5px;
    opacity: 1;
}
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
    font-size: 14px;
}
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding: 40px 24px;
    }
    .footer-brand { grid-column: span 2; }
}
@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand { grid-column: span 1; }
    .footer-brand-logo { justify-content: center; }
    .footer-brand-links { align-items: center; }
    .footer-bottom {
        padding: 24px 20px;
        text-align: center;
    }
}

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

/* Staggered delays for card grids */
.card-grid .card:nth-child(2) .reveal,
.card-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.card-grid .card:nth-child(3) .reveal,
.card-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.card-grid .card:nth-child(4) .reveal,
.card-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

/* --- Hero Gradient Divider --- */
.hero::after {
    content: "";
    display: block;
    width: 200px;
    height: 1px;
    margin: 60px auto 0;
    background: linear-gradient(90deg, transparent, rgba(0,150,255,0.3), transparent);
}

/* --- Copy for LLM Button --- */
.llm-copy-bar {
    position: fixed;
    top: 74px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    transition: all 0.3s ease;
}
.llm-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0,150,255,0.08);
    border: 1px solid rgba(0,150,255,0.25);
    border-radius: 50px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 500;
    font-family: 'Inter', -apple-system, sans-serif;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    white-space: nowrap;
}
.llm-copy-btn:hover {
    background: rgba(0,150,255,0.15);
    border-color: rgba(0,150,255,0.4);
    transform: translateY(-1px);
}
.llm-copy-btn svg {
    width: 14px;
    height: 14px;
    stroke: var(--blue);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}
.llm-copy-btn.copied {
    background: rgba(34,197,94,0.12);
    border-color: rgba(34,197,94,0.35);
    color: #22c55e;
}
.llm-copy-btn.copied svg {
    stroke: #22c55e;
}

/* Compact state on scroll */
.llm-copy-bar.compact .llm-copy-btn {
    padding: 7px 16px;
    font-size: 12px;
    opacity: 0.85;
}
.llm-copy-bar.compact .llm-copy-btn:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .llm-copy-bar { top: 62px; }
    .llm-copy-btn { padding: 8px 14px; font-size: 12px; }
    .llm-copy-bar.compact .llm-copy-btn { padding: 6px 12px; font-size: 11px; }
}

/* --- Questionnaire Overlay --- */
.quiz-overlay {
    position: fixed;
    inset: 0;
    z-index: 1500;
    background: rgba(0,0,0,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.quiz-overlay.active {
    opacity: 1;
    visibility: visible;
}
.quiz-container {
    max-width: 580px;
    width: 90%;
    text-align: center;
    position: relative;
}
.quiz-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: none;
    border: none;
    color: rgba(255,255,255,0.35);
    font-size: 14px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: color 0.2s;
    padding: 8px;
}
.quiz-close:hover { color: rgba(255,255,255,0.7); }

.quiz-step {
    display: none;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.quiz-step.active {
    display: block;
}
.quiz-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.quiz-step-label {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--blue);
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}
.quiz-question {
    font-family: 'Canela', serif;
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

/* Slider (Step 1) */
.quiz-slider-wrap {
    padding: 0 10px;
    margin-bottom: 16px;
}
.quiz-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}
.quiz-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--blue);
    cursor: pointer;
    box-shadow: 0 0 16px rgba(0,150,255,0.4);
    transition: transform 0.2s;
}
.quiz-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}
.quiz-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--blue);
    cursor: pointer;
    border: none;
    box-shadow: 0 0 16px rgba(0,150,255,0.4);
}
.quiz-slider-labels {
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,0.4);
    font-size: 13px;
    margin-top: 12px;
    font-family: 'Inter', sans-serif;
}
.quiz-slider-value {
    font-family: 'Canela', serif;
    font-size: 48px;
    color: var(--blue);
    margin-bottom: 8px;
    line-height: 1;
}
.quiz-slider-unit {
    color: rgba(255,255,255,0.5);
    font-size: 15px;
    margin-bottom: 32px;
    font-family: 'Inter', sans-serif;
}
.quiz-slider-next {
    display: inline-block;
    margin-top: 28px;
    padding: 14px 40px;
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}
.quiz-slider-next:hover {
    background: var(--blue-hover);
    transform: translateY(-1px);
}

/* Option buttons (Steps 2-4) */
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.quiz-option {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 18px 24px;
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    font-weight: 400;
    text-align: left;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Inter', sans-serif;
}
.quiz-option:hover {
    background: rgba(0,150,255,0.08);
    border-color: rgba(0,150,255,0.3);
    color: #ffffff;
    transform: translateX(4px);
}
.quiz-option.selected {
    background: rgba(0,150,255,0.12);
    border-color: var(--blue);
    color: #ffffff;
}

/* Progress dots */
.quiz-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 48px;
}
.quiz-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transition: all 0.3s ease;
}
.quiz-dot.active {
    background: var(--blue);
    box-shadow: 0 0 8px rgba(0,150,255,0.4);
}
.quiz-dot.done {
    background: rgba(0,150,255,0.4);
}

/* Exit message */
.quiz-exit {
    display: none;
}
.quiz-exit.active {
    display: block;
}
.quiz-exit.visible {
    opacity: 1;
    transform: translateY(0);
}
.quiz-exit-text {
    font-family: 'Canela', serif;
    font-size: clamp(22px, 3vw, 32px);
    color: #ffffff;
    line-height: 1.35;
    margin-bottom: 8px;
}
.quiz-exit-sub {
    color: rgba(255,255,255,0.5);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 768px) {
    .quiz-question { font-size: clamp(20px, 5vw, 28px); margin-bottom: 32px; }
    .quiz-option { padding: 16px 20px; font-size: 15px; }
    .quiz-slider-value { font-size: 40px; }
    .quiz-close { top: -40px; }
}

/* --- Misc Utility --- */
.text-blue { color: var(--blue); }
.text-muted { color: var(--text-muted); }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-48 { margin-bottom: 48px; }
.mb-80 { margin-bottom: 80px; }
.text-center { text-align: center; }

/* =================================================================
   NEW TEMPLATE COMPONENTS (2026 Redesign)
   Template A: 100-Second | B: Viral Thread | C: Bento | D: Transformation
   ================================================================= */

/* --- Hero CTA Button (all templates) --- */
.hero-cta {
    display: inline-block;
    margin-top: 40px;
    padding: 16px 40px;
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    letter-spacing: 0.01em;
}
.hero-cta:hover {
    background: var(--blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,150,255,0.3);
    opacity: 1;
}

/* --- Gradient Text (for headlines) --- */
.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, var(--blue) 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Transformation Cards (Template D) --- */
.transformation-section {
    margin-bottom: 60px;
}
.transformation-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
}
.transform-before,
.transform-after {
    padding: 36px 32px;
    position: relative;
}
.transform-before {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.transform-after {
    background: rgba(34, 197, 94, 0.06);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.transform-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
}
.transform-before .transform-label {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.12);
}
.transform-after .transform-label {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.12);
}
.transform-before p,
.transform-after p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}
.transform-before p { color: rgba(255,255,255,0.7); }
.transform-after p { color: rgba(255,255,255,0.9); }
.transform-after strong { color: #22c55e; }

@media (max-width: 768px) {
    .transformation-card {
        grid-template-columns: 1fr;
    }
    .transform-before {
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
    .transform-after {
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }
}

/* --- Prompt Block (Template B & D) --- */
.prompt-block {
    background: rgba(0, 20, 40, 0.8);
    border: 1px solid rgba(0, 150, 255, 0.15);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-top: 20px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}
.prompt-block::before {
    content: "PROMPT";
    position: absolute;
    top: 8px;
    right: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: rgba(0, 150, 255, 0.4);
}
.prompt-block code {
    font-family: 'SF Mono', 'Fira Code', 'JetBrains Mono', monospace;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    white-space: pre-wrap;
    word-break: break-word;
    display: block;
}
.prompt-copy-btn {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(0, 150, 255, 0.1);
    border: 1px solid rgba(0, 150, 255, 0.25);
    border-radius: 6px;
    padding: 6px 14px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
}
.prompt-copy-btn:hover {
    background: rgba(0, 150, 255, 0.2);
}
.prompt-copy-btn.copied {
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.1);
}

/* --- Thread Numbers (Template B) --- */
.thread-section {
    margin-bottom: 60px;
}
.thread-item {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    align-items: flex-start;
}
.thread-num {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: rgba(0, 150, 255, 0.1);
    border: 1px solid rgba(0, 150, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--blue);
    margin-top: 4px;
}
.thread-content {
    flex: 1;
}
.thread-content p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 0;
}
.thread-content strong {
    color: #ffffff;
    font-weight: 500;
}

/* --- Bento Grid (Template C) --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}
.bento-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.bento-card:hover {
    border-color: rgba(0, 150, 255, 0.25);
    box-shadow: 0 0 30px rgba(0, 150, 255, 0.08);
    transform: translateY(-2px);
}
.bento-card.span-2 {
    grid-column: span 2;
}
.bento-card .bento-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 150, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 20px;
}
.bento-card h3 {
    font-size: 19px;
    margin-bottom: 10px;
    color: var(--text);
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
}
.bento-card p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
}
.bento-card .bento-prompt {
    margin-top: 12px;
    font-family: 'SF Mono', monospace;
    font-size: 12px;
    color: rgba(0, 150, 255, 0.6);
    font-style: italic;
}

@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-card.span-2 {
        grid-column: span 1;
    }
}

/* --- Gradient Banner (all templates) --- */
.gradient-banner {
    padding: 80px 24px;
    text-align: center;
    margin: 60px -24px;
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.08) 0%, rgba(168, 85, 247, 0.06) 100%);
    border-top: 1px solid rgba(0, 150, 255, 0.1);
    border-bottom: 1px solid rgba(168, 85, 247, 0.1);
    position: relative;
}
.gradient-banner p {
    font-size: clamp(20px, 2.5vw, 28px);
    line-height: 1.5;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}
.gradient-banner strong {
    color: #ffffff;
    font-weight: 500;
}
.gradient-banner .banner-stat {
    font-family: 'Canela', serif;
    font-size: clamp(36px, 4vw, 56px);
    color: var(--blue);
    display: block;
    margin-bottom: 16px;
    line-height: 1;
}

/* --- Value Stack Pricing (Hormozi style) --- */
.value-stack {
    margin-bottom: 32px;
    text-align: left;
}
.value-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-family: 'Inter', sans-serif;
}
.value-item-name {
    color: var(--text-secondary);
    font-size: 15px;
}
.value-item-price {
    color: var(--text-muted);
    font-size: 15px;
    text-decoration: line-through;
}
.value-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    margin-top: 8px;
    border-top: 2px solid rgba(0, 150, 255, 0.2);
    font-family: 'Inter', sans-serif;
}
.value-total-label {
    color: var(--text-muted);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.value-total-price {
    color: var(--text-muted);
    font-size: 20px;
    text-decoration: line-through;
    font-weight: 500;
}

/* --- Sticky Bottom CTA Bar (Template B) --- */
.sticky-cta-bar {
    position: fixed;
    bottom: -80px;
    left: 0;
    right: 0;
    z-index: 998;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 150, 255, 0.15);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: bottom 0.4s ease;
}
.sticky-cta-bar.visible {
    bottom: 0;
}
.sticky-cta-text {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 400;
}
.sticky-cta-text strong {
    color: #ffffff;
}
.sticky-cta-btn {
    padding: 12px 32px;
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}
.sticky-cta-btn:hover {
    background: var(--blue-hover);
    transform: translateY(-1px);
    opacity: 1;
}

@media (max-width: 600px) {
    .sticky-cta-bar { flex-direction: column; gap: 10px; padding: 14px 20px; }
    .sticky-cta-text { font-size: 13px; text-align: center; }
}

/* --- Scarcity Counter --- */
.scarcity-note {
    text-align: center;
    margin-top: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #ef4444;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.scarcity-note .spots-num {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* --- Chase Hughes Loss Frame --- */
.loss-frame {
    font-size: 15px;
    color: rgba(239, 68, 68, 0.8);
    margin-top: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-style: italic;
}

/* --- Section spacing overrides for new templates --- */
.template-compact .hero {
    padding: 80px 0 60px;
}
.template-compact .stats-row {
    margin-bottom: 60px;
}
.template-compact .pricing-section {
    padding: 80px 0 60px;
}
.template-compact .faq-section {
    margin-bottom: 60px;
}
.template-compact .site-footer {
    margin-top: 60px;
}

/* --- Animated counter fade --- */
.counter-animated {
    font-variant-numeric: tabular-nums;
}

/* --- Smooth section reveals for new pages --- */
.fade-section {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-section.visible {
    opacity: 1;
    transform: translateY(0);
}
