/* ===================================
   The AI Plug Library - Modern Design
   Based on portfolio.bigpoppacode.io
   =================================== */

/* --- Root Variables --- */
:root {
    --primary-teal: #0d9488;
    --primary-teal-dark: #0f766e;
    --primary-teal-light: #14b8a6;
    --accent-coral: #ef4444;
    --accent-yellow: #fbbf24;
    --gradient-start: #0d9488;
    --gradient-mid: #7c3aed;
    --gradient-end: #ef4444;
    
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --text-light: #94a3b8;
    
    --border-light: #e2e8f0;
    --border-teal: #0d9488;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* --- Base Styles --- */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    color: var(--text-gray);
    margin: 0 0 1rem 0;
}

a {
    color: var(--primary-teal);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-teal-dark);
}

/* --- Gradient Text --- */
.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.teal-text {
    color: var(--primary-teal);
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Hero Section --- */
.hero-gradient {
    background: 
        linear-gradient(135deg, rgba(13, 148, 136, 0.85) 0%, rgba(124, 58, 237, 0.85) 50%, rgba(239, 68, 68, 0.85) 100%),
        url('/img/bigpoppacode.png');
    background-size: cover, cover;
    background-position: center, center top;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.hero-content h1 {
    color: white;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* --- Eyebrow Text --- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-teal);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-teal-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--primary-teal);
    border: 2px solid var(--primary-teal);
}

.btn-secondary:hover {
    background: var(--primary-teal);
    color: white;
}

.btn-white {
    background: white;
    color: var(--text-dark);
}

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-teal);
}

/* --- Cards --- */
.card {
    background: var(--bg-white);
    border: 2px solid var(--border-teal);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-teal);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.card h3, .card h4 {
    color: var(--primary-teal);
    margin: 0;
}

.card p {
    color: var(--text-gray);
    margin: 0;
}

/* --- Stats Grid --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.25rem;
    margin: 3rem 0 2rem 0;
}

.stat-card {
    background: var(--bg-white);
    border: 2px solid var(--border-teal);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    text-align: center;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #78350f, #a16207, #ca8a04);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Navigation Header --- */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-teal);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo::before {
    content: '⚡';
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary-teal);
}

.nav-user {
    color: var(--primary-teal);
    font-weight: 600;
}

/* --- Form Styles --- */
.form-card {
    background: var(--bg-white);
    border: 2px solid var(--border-teal);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    max-width: 500px;
    margin: 2rem auto 4rem auto;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-xl);
}

.form-card h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.form-card h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-coral);
    border-radius: 2px;
    margin: 1rem auto 0 auto;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.2s ease;
    background: var(--bg-white);
    color: var(--text-dark);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-input::placeholder {
    color: var(--text-light);
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background: var(--primary-teal);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-submit:hover {
    background: var(--primary-teal-dark);
    transform: translateY(-2px);
}

.form-text {
    text-align: center;
    color: var(--text-gray);
    margin-top: 1.5rem;
    font-size: 0.875rem;
}

.form-text a {
    color: var(--primary-teal);
    font-weight: 600;
}

/* --- Section Styles --- */
.section {
    padding: 5rem 0;
}

.section-light {
    background: var(--bg-light);
    padding: 3rem 2rem;
}

/* --- About/Photo Section --- */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
    padding: 4rem 0;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: -1rem;
    bottom: -1rem;
    border: 3px solid var(--primary-teal);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.about-content h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .about-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image img {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .about-image::after {
        display: none;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-coral);
    border-radius: 2px;
    margin: 1rem auto 0 auto;
}

.section-title p {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 1rem auto 0 auto;
}

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    border: 2px solid var(--border-teal);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--primary-teal);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

/* --- Pricing Section --- */
.pricing-card {
    background: var(--bg-white);
    border: 3px solid var(--primary-teal);
    border-radius: var(--radius-xl);
    padding: 3rem;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.price-tag {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #78350f, #a16207, #ca8a04);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.price-subtitle {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary-teal);
    font-weight: 700;
}

/* --- Page Content --- */
.page-content {
    background: var(--bg-white);
    border: 2px solid var(--border-teal);
    border-radius: var(--radius-xl);
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.page-content h1 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.page-content h2 {
    color: var(--primary-teal);
    margin-top: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--accent-coral);
}

.page-content h3 {
    color: var(--primary-teal);
    margin-top: 1.5rem;
}

.page-content p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

.page-content ul, .page-content ol {
    color: var(--text-gray);
    padding-left: 1.5rem;
}

.page-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

/* --- Tabs Navigation --- */
.tabs {
    display: flex;
    gap: 0;
    background: var(--bg-light);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    border: 2px solid var(--border-teal);
    border-bottom: none;
}

.tab {
    flex: 1;
    padding: 1rem 2rem;
    text-align: center;
    font-weight: 600;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}

.tab:hover {
    background: var(--bg-white);
    color: var(--primary-teal);
}

.tab.active {
    background: var(--bg-white);
    color: var(--primary-teal);
    border-bottom-color: var(--primary-teal);
}

/* --- Category Tabs --- */
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
}

.category-tab {
    padding: 0.75rem 1.5rem;
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-tab:hover {
    border-color: var(--primary-teal);
    color: var(--primary-teal);
}

.category-tab.active {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
    color: white;
}

/* --- Search Input --- */
.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    background: var(--bg-white);
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* --- Resource Cards Grid --- */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.resource-card {
    background: var(--bg-white);
    border: 2px solid var(--border-teal);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.resource-card h4 {
    color: var(--primary-teal);
    margin-bottom: 0.75rem;
}

.resource-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.type-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary-teal);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.type-badge.premium {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
}

.type-badge.coming-soon-badge,
.coming-soon-badge {
    background: rgba(148, 163, 184, 0.2);
    color: var(--text-light);
}

.library-card.coming-soon {
    opacity: 0.7;
    border-style: dashed;
}

.library-card.coming-soon:hover {
    transform: none;
    opacity: 0.7;
}

/* --- Accordion/Details --- */
.accordion-section {
    margin-bottom: 1rem;
}

.accordion-section details {
    background: var(--bg-white);
    border: 2px solid var(--border-teal);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.accordion-section summary {
    padding: 1.5rem 2rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.accordion-section summary:hover {
    background: var(--bg-light);
}

.accordion-section summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-teal);
    font-weight: 300;
}

.accordion-section details[open] summary::after {
    content: '−';
}

.accordion-section details[open] summary {
    border-bottom: 1px solid var(--border-light);
}

.accordion-content {
    padding: 1.5rem 2rem;
}

/* --- Workflow Items --- */
.workflow-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.workflow-item {
    background: var(--bg-white);
    border: 2px solid var(--border-teal);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.workflow-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.workflow-item h3 {
    color: var(--primary-teal);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.workflow-synopsis {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* --- Follower Cards --- */
.follower-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.follower-card {
    background: var(--bg-white);
    border: 2px solid var(--border-teal);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.follower-count {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #78350f, #a16207, #ca8a04);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.follower-platform {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.follower-caption {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.context-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary-teal);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* --- Footer --- */
.footer, footer {
    background: var(--bg-light);
    padding: 3rem 0 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-light);
}

.footer-social-proof {
    margin-bottom: 2rem;
}

.footer-social-proof h4 {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.logo-placeholder-footer {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-gray);
    transition: all 0.2s ease;
}

.logo-placeholder-footer:hover {
    border-color: var(--primary-teal);
    color: var(--primary-teal);
}

.footer p, footer p {
    color: var(--text-gray);
    font-size: 0.875rem;
    margin: 0;
}

/* --- Auth Forms --- */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d9488 0%, #7c3aed 50%, #ef4444 100%);
    padding: 2rem;
}

.auth-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    max-width: 450px;
    width: 100%;
    box-shadow: var(--shadow-xl);
}

.auth-card h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-gray);
}

.auth-switch a {
    color: var(--primary-teal);
    font-weight: 600;
}

/* --- Course Layout --- */
.course-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.course-sidebar {
    background: var(--bg-white);
    border: 2px solid var(--border-teal);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.course-sidebar h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-teal);
}

.course-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-sidebar li a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-gray);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.course-sidebar li a:hover {
    background: var(--bg-light);
    color: var(--primary-teal);
}

.course-sidebar li.active a {
    background: var(--primary-teal);
    color: white;
}

.course-content {
    background: var(--bg-white);
    border: 2px solid var(--border-teal);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

/* --- Benefit Cards --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.benefit-card {
    background: var(--bg-white);
    border: 2px solid var(--border-teal);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.benefit-card h3 {
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-gray);
}

/* --- Story Section --- */
.story-section {
    background: var(--bg-light);
    padding: 4rem 2rem;
    border-radius: var(--radius-xl);
    margin: 3rem 0;
}

.story-section h2 {
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 2rem;
}

.story-content {
    max-width: 700px;
    margin: 0 auto;
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

/* --- FAQ Section --- */
.faq-section {
    margin: 3rem 0;
}

.faq-item {
    background: var(--bg-white);
    border: 2px solid var(--border-teal);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
}

.faq-item h4 {
    color: var(--primary-teal);
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--text-gray);
    margin: 0;
}

/* --- Hub Section --- */
.hub-section {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 2px solid var(--border-light);
}

.hub-section h2 {
    color: var(--primary-teal);
}

/* --- Category Sections --- */
.category-section details {
    background: var(--bg-white);
    border: 2px solid var(--border-teal);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
}

.category-section summary {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-section summary::after {
    content: '+';
    color: var(--primary-teal);
    font-size: 1.25rem;
}

.category-section details[open] summary::after {
    content: '−';
}

.category-description {
    color: var(--text-gray);
    padding: 0 1.5rem 1rem 1.5rem;
}

/* --- Detail Section --- */
.detail-section {
    background: var(--bg-white);
    border: 2px solid var(--border-teal);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
}

/* --- Value Prop Section --- */
.value-prop-section {
    background: linear-gradient(135deg, #0d9488, #0f766e);
    color: white;
    padding: 3rem;
    border-radius: var(--radius-xl);
    margin: 3rem 0;
}

.value-prop-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.value-prop-section p {
    color: rgba(255, 255, 255, 0.9);
}

/* --- Library Section --- */
.library-section h3 {
    color: var(--primary-teal);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.library-section h4 {
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.library-card {
    background: var(--bg-white);
    border: 2px solid var(--border-teal);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.library-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.library-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.library-card h4 {
    color: var(--primary-teal);
    margin: 0;
    font-size: 1.05rem;
}

.library-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.library-section {
    margin-bottom: 1rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .nav-links {
        display: none;
    }
    
    .course-layout {
        grid-template-columns: 1fr;
    }
    
    .course-sidebar {
        position: static;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .form-card {
        margin: -2rem 1rem 2rem 1rem;
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-tabs {
        flex-direction: column;
    }
    
    .tabs {
        flex-direction: column;
    }
}

/* --- Legacy Support (mapping old classes) --- */
.lead-card { 
    background: var(--bg-white);
    border: 2px solid var(--border-teal);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    max-width: 500px;
    margin: -3rem auto 2rem auto;
    box-shadow: var(--shadow-xl);
}

.lead-card h2 {
    text-align: center;
    color: var(--text-dark);
}

.lead-card h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-coral);
    border-radius: 2px;
    margin: 1rem auto 0 auto;
}

.overview-tabs {
    display: flex;
    gap: 0;
    background: var(--bg-light);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    border: 2px solid var(--border-teal);
    border-bottom: none;
    margin-bottom: 0;
}

.overview-tab {
    flex: 1;
    padding: 1rem 2rem;
    text-align: center;
    font-weight: 600;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}

.overview-tab:hover {
    background: var(--bg-white);
    color: var(--primary-teal);
}

.overview-tab.active {
    background: var(--bg-white);
    color: var(--primary-teal);
    border-bottom-color: var(--primary-teal);
}

/* Button variants */
.btn-download, .btn-download-link, .btn-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    background: var(--primary-teal);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-download:hover, .btn-download-link:hover, .btn-details:hover {
    background: var(--primary-teal-dark);
    transform: translateY(-1px);
    color: white;
}

/* --- Blockchain Background (keep for hero areas) --- */
.blockchain-bg {
    background: linear-gradient(135deg, #0d9488 0%, #7c3aed 50%, #ef4444 100%);
    background-size: cover;
}

.dark-tint {
    position: relative;
}

.dark-tint::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.header-funnel {
    padding: 3rem 0 6rem 0;
}

.header-funnel > .container {
    position: relative;
    z-index: 2;
}

/* Hero text styles */
.eyebrow-text {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem auto;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 3rem 0;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-item .number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

/* Price display */
.price-display {
    text-align: center;
    margin: 2rem 0;
}

.price-display .price {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Upsell Section */
.upsell-section {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: var(--radius-xl);
    margin: 3rem 0;
    text-align: center;
}

.upsell-section h3 {
    color: var(--primary-teal);
}

/* Mermaid diagrams */
.mermaid {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    overflow-x: auto;
}

/* --- Video Sections --- */
.video-section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.video-section {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.video-section h3 {
    color: var(--primary-teal);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--bg-gray);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Page Header --- */
.page-header {
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Prompt Categories --- */
.prompt-categories {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.category-section details {
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s ease;
}

.category-section details:hover {
    border-color: var(--primary-teal);
}

.category-section details[open] {
    border-color: var(--primary-teal);
}

.category-section summary {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-section summary::-webkit-details-marker {
    display: none;
}

.category-section summary::after {
    content: '+';
    color: var(--primary-teal);
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.2s ease;
}

.category-section details[open] summary::after {
    content: '−';
}

.category-name {
    font-size: 1.1rem;
    text-transform: capitalize;
}

.category-count {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
    margin-right: 1rem;
}

/* --- Prompt Grid --- */
.prompt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.prompt-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    transition: all 0.2s ease;
}

.prompt-card:hover {
    background: var(--bg-gray);
    transform: translateY(-2px);
}

.prompt-card h4 {
    color: var(--primary-teal);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.prompt-card p {
    color: var(--text-gray);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.prompt-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* --- Workflows Header (legacy cleanup) --- */
.workflows-header {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    color: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    margin-bottom: 2rem;
    text-align: center;
}

.workflows-header h1 {
    color: white;
    margin-bottom: 0.5rem;
}

.workflows-header p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* --- Playbooks List --- */
.playbooks-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.playbook-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
    background: var(--primary-teal);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 1rem;
}

.playbook-content-wrapper {
    padding: 2rem;
    border-top: 1px solid var(--border-light);
    background: var(--bg-light);
}

.playbook-content {
    max-width: 800px;
    margin: 0 auto;
}

.playbook-content h1,
.playbook-content h2 {
    color: var(--primary-teal);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.playbook-content h1:first-child,
.playbook-content h2:first-child {
    margin-top: 0;
}

.playbook-content h3 {
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.playbook-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.playbook-content ul,
.playbook-content ol {
    color: var(--text-gray);
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.playbook-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.playbook-content code {
    background: var(--bg-gray);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--primary-teal-dark);
}

.playbook-content pre {
    background: var(--text-dark);
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin: 1.5rem 0;
}

.playbook-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.playbook-content blockquote {
    border-left: 4px solid var(--primary-teal);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: var(--text-gray);
    font-style: italic;
}
