/* WebComposer public site base styles */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    transition: color 0.2s, background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

/* Utility classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* ========================
   HERO SECTION
   ======================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(99,102,241,0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(14,165,233,0.12) 0%, transparent 50%),
                radial-gradient(circle at 50% 80%, rgba(245,158,11,0.08) 0%, transparent 50%);
    animation: heroFloat 20s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(2%, -2%) rotate(1deg); }
    66% { transform: translate(-1%, 1%) rotate(-1deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 40px 24px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    color: #c4b5fd;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 32px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin: 0 0 24px;
    letter-spacing: -0.02em;
}

.hero h1 span {
    background: linear-gradient(135deg, #818cf8, #06b6d4, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--color-primary, #6366F1), var(--color-secondary, #0EA5E9));
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(99,102,241,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99,102,241,0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    color: #e2e8f0;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

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

.hero-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    display: block;
}

.hero-stat-label {
    font-size: 14px;
    color: #94a3b8;
    margin-top: 4px;
}

/* ========================
   FEATURES SECTION
   ======================== */
.features-section {
    padding: 120px 24px;
    background: #fafbfc;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 72px;
}

.section-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99,102,241,0.08);
    color: var(--color-primary, #6366F1);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--color-text, #1E293B);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 32px;
    border: 1px solid #f1f5f9;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary, #6366F1), var(--color-secondary, #0EA5E9));
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
}

.feature-icon.purple { background: rgba(99,102,241,0.1); color: #6366f1; }
.feature-icon.blue { background: rgba(14,165,233,0.1); color: #0ea5e9; }
.feature-icon.amber { background: rgba(245,158,11,0.1); color: #f59e0b; }
.feature-icon.green { background: rgba(16,185,129,0.1); color: #10b981; }
.feature-icon.rose { background: rgba(244,63,94,0.1); color: #f43f5e; }
.feature-icon.cyan { background: rgba(6,182,212,0.1); color: #06b6d4; }

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text, #1E293B);
    margin: 0 0 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* ========================
   HOW IT WORKS
   ======================== */
.steps-section {
    padding: 120px 24px;
    background: #fff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary, #6366F1), var(--color-secondary, #0EA5E9), var(--color-accent, #F59E0B));
    opacity: 0.2;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--color-primary, #6366F1), var(--color-secondary, #0EA5E9));
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    box-shadow: 0 12px 40px rgba(99,102,241,0.25);
}

.step-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text, #1E293B);
    margin: 0 0 12px;
}

.step-item p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* ========================
   STATS / SOCIAL PROOF
   ======================== */
.stats-section {
    padding: 80px 24px;
    background: linear-gradient(135deg, #0f0c29, #302b63);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 32px 16px;
}

.stat-number {
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: #94a3b8;
    margin-top: 12px;
}

/* ========================
   CTA SECTION
   ======================== */
.cta-section {
    padding: 120px 24px;
    background: #fafbfc;
    text-align: center;
}

.cta-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 72px 48px;
    background: linear-gradient(135deg, var(--color-primary, #6366F1), var(--color-secondary, #0EA5E9));
    border-radius: 28px;
    box-shadow: 0 24px 80px rgba(99,102,241,0.3);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 60%;
    height: 200%;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.cta-card h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    position: relative;
    letter-spacing: -0.02em;
}

.cta-card p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin: 0 auto 36px;
    max-width: 500px;
    line-height: 1.7;
    position: relative;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 40px;
    background: #fff;
    color: var(--color-primary, #6366F1);
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ========================
   FOOTER
   ======================== */
.site-footer {
    padding: 48px 24px;
    background: #0f172a;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

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

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .steps-grid::before {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .hero-stats {
        gap: 32px;
        flex-wrap: wrap;
    }

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

    .cta-card {
        padding: 48px 24px;
    }

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

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

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
}

/* ========================
   RESPONSIVE GRID FALLBACK (page builder)
   ======================== */
@media (max-width: 768px) {
    [style*="grid-template-columns: repeat(3"] {
        grid-template-columns: 1fr !important;
    }
    [style*="grid-template-columns: repeat(4"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    [style*="grid-template-columns: repeat(2"] {
        grid-template-columns: 1fr !important;
    }
    [style*="font-size: 48px"],
    [style*="font-size:48px"] {
        font-size: 32px !important;
    }
    [style*="font-size: 36px"],
    [style*="font-size:36px"] {
        font-size: 28px !important;
    }
    [style*="padding: 80px"],
    [style*="padding:80px"] {
        padding: 48px 16px !important;
    }
}

/* Prose styling for blog content */
.prose {
    max-width: 65ch;
    color: #374151;
}

.prose p {
    margin-bottom: 1.25em;
    line-height: 1.8;
}

.prose h2 {
    margin-top: 2em;
    margin-bottom: 0.75em;
    font-size: 1.5em;
    font-weight: 700;
    color: #111827;
}

.prose h3 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-size: 1.25em;
    font-weight: 600;
    color: #111827;
}

.prose img {
    border-radius: 0.5rem;
    margin: 2em 0;
}

.prose a {
    color: var(--color-primary, #6366F1);
    text-decoration: underline;
}

.prose a:hover {
    opacity: 0.8;
}

.prose ul, .prose ol {
    padding-left: 1.5em;
    margin-bottom: 1.25em;
}

.prose li {
    margin-bottom: 0.5em;
}

.prose blockquote {
    border-left: 4px solid var(--color-primary, #6366F1);
    padding-left: 1em;
    font-style: italic;
    color: #6b7280;
    margin: 1.5em 0;
}

.prose code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.prose pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1em;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5em 0;
}

.prose pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* Page content wrapper */
.page-content {
    min-height: 60vh;
}

.page-content section {
    position: relative;
}

/* Details/accordion styling */
details summary {
    list-style: none;
    cursor: pointer;
}

details summary::-webkit-details-marker {
    display: none;
}

details summary::after {
    content: '+';
    float: right;
    font-size: 20px;
    font-weight: 300;
    transition: transform 0.2s;
}

details[open] summary::after {
    content: '\2212';
}

/* ========================
   BLOG HERO
   ======================== */
.blog-hero {
    position: relative;
    padding: 120px 24px 80px;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    text-align: center;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(99,102,241,0.12) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(14,165,233,0.1) 0%, transparent 50%);
    animation: heroFloat 20s ease-in-out infinite;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.blog-hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.blog-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #94a3b8;
    margin: 0;
    line-height: 1.7;
}

/* ========================
   BLOG INDEX SECTION
   ======================== */
.blog-section {
    padding: 80px 24px;
    background: #fafbfc;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ========================
   BLOG CARD
   ======================== */
.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.blog-card-image-link {
    display: block;
    text-decoration: none;
}

.blog-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

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

.blog-card-body {
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 12px;
    flex-wrap: wrap;
}

.blog-card-categories {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.blog-category-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(14,165,233,0.1));
    color: var(--color-primary, #6366F1);
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 0.3px;
}

.blog-card-date {
    font-size: 13px;
    color: #94a3b8;
    white-space: nowrap;
}

.blog-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text, #1E293B);
    margin: 0 0 10px;
    line-height: 1.4;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card-title a:hover {
    color: var(--color-primary, #6366F1);
}

.blog-card-excerpt {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0 0 auto;
    padding-bottom: 20px;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.blog-card-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #94a3b8;
}

.blog-card-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary, #6366F1);
    text-decoration: none;
    transition: gap 0.2s;
}

.blog-card-read-more:hover {
    gap: 10px;
}

/* ========================
   BLOG PAGINATION
   ======================== */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 56px;
    flex-wrap: wrap;
}

.blog-pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: var(--color-text, #1E293B);
    background: #fff;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.blog-pagination-link:hover {
    background: var(--color-primary, #6366F1);
    color: #fff;
    border-color: var(--color-primary, #6366F1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99,102,241,0.25);
}

.blog-pagination-active {
    background: linear-gradient(135deg, var(--color-primary, #6366F1), var(--color-secondary, #0EA5E9));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(99,102,241,0.3);
}

.blog-pagination-active:hover {
    background: linear-gradient(135deg, var(--color-primary, #6366F1), var(--color-secondary, #0EA5E9));
}

.blog-pagination-disabled {
    color: #cbd5e1;
    background: #f8fafc;
    border-color: #f1f5f9;
    cursor: not-allowed;
}

.blog-pagination-disabled:hover {
    color: #cbd5e1;
    background: #f8fafc;
    border-color: #f1f5f9;
    transform: none;
    box-shadow: none;
}

/* ========================
   BLOG EMPTY STATE
   ======================== */
.blog-empty {
    text-align: center;
    padding: 80px 24px;
    max-width: 500px;
    margin: 0 auto;
}

.blog-empty h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text, #1E293B);
    margin: 0 0 12px;
}

.blog-empty p {
    font-size: 1rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.7;
}

/* ========================
   POST SHOW — HERO IMAGE
   ======================== */
.post-hero {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
}

.post-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(250,251,252,1) 0%, transparent 100%);
    pointer-events: none;
}

/* ========================
   POST SHOW — ARTICLE
   ======================== */
.post-article {
    background: #fafbfc;
    padding-bottom: 80px;
}

.post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.post-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    padding: 24px 0 32px;
    transition: color 0.2s, gap 0.2s;
}

.post-back-link:hover {
    color: var(--color-primary, #6366F1);
    gap: 12px;
}

.post-header {
    margin-bottom: 40px;
}

.post-categories {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.post-title {
    font-size: clamp(1.85rem, 4.5vw, 2.75rem);
    font-weight: 800;
    color: var(--color-text, #1E293B);
    margin: 0 0 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.post-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #64748b;
}

.post-meta-item svg {
    color: #94a3b8;
}

.post-meta-separator {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #cbd5e1;
}

/* ========================
   POST SHOW — TAGS
   ======================== */
.post-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #e2e8f0;
}

.post-tags-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text, #1E293B);
}

.post-tag-pill {
    display: inline-block;
    padding: 6px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.2s;
}

.post-tag-pill:hover {
    background: var(--color-primary, #6366F1);
    color: #fff;
    border-color: var(--color-primary, #6366F1);
}

/* ========================
   POST SHOW — FOOTER NAV
   ======================== */
.post-footer-nav {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #e2e8f0;
}

/* ========================
   BLOG RESPONSIVE
   ======================== */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 80px 24px 60px;
    }

    .blog-section {
        padding: 48px 16px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 520px;
        margin: 0 auto;
    }

    .blog-card-image {
        height: 200px;
    }

    .post-hero {
        height: 280px;
    }

    .post-container {
        padding: 0 16px;
    }

    .post-title {
        font-size: 1.75rem;
    }

    .blog-pagination {
        gap: 6px;
        margin-top: 40px;
    }

    .blog-pagination-link {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 64px 16px 48px;
    }

    .blog-card-body {
        padding: 20px 18px 18px;
    }

    .post-hero {
        height: 220px;
    }
}

/* ========================
   ERROR PAGES
   ======================== */
.error-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
}

.error-page::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(99,102,241,0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(14,165,233,0.12) 0%, transparent 50%),
                radial-gradient(circle at 50% 80%, rgba(245,158,11,0.08) 0%, transparent 50%);
    animation: heroFloat 20s ease-in-out infinite;
}

.error-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 680px;
    padding: 40px 24px;
}

.error-code {
    font-size: clamp(8rem, 20vw, 14rem);
    font-weight: 900;
    line-height: 1;
    margin: 0 0 8px;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #818cf8, #06b6d4, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.error-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #94a3b8;
    margin: 0 0 40px;
    line-height: 1.7;
}

.error-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .error-content {
        padding: 32px 20px;
    }
}

/* ========================
   EFFECTS: Scroll Animations (data-animate)
   ======================== */
[data-animate] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    transition-duration: 600ms;
    will-change: opacity, transform;
}

[data-animate="fade-up"] {
    transform: translateY(30px);
}

[data-animate="fade-down"] {
    transform: translateY(-30px);
}

[data-animate="fade-left"] {
    transform: translateX(-30px);
}

[data-animate="fade-right"] {
    transform: translateX(30px);
}

[data-animate="fade-zoom"] {
    transform: scale(0.8);
}

[data-animate="flip-up"] {
    transform: perspective(600px) rotateX(15deg);
}

[data-animate="flip-left"] {
    transform: perspective(600px) rotateY(-15deg);
}

[data-animate].animated {
    opacity: 1;
    transform: none;
}

/* Reduced motion: show everything immediately */
@media (prefers-reduced-motion: reduce) {
    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ========================
   EFFECTS: Typewriter Cursor
   ======================== */
.typewriter-cursor {
    display: inline;
    font-weight: 100;
    animation: wc-blink 0.7s step-end infinite;
    margin-left: 1px;
    color: inherit;
}

@keyframes wc-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ========================
   EFFECTS: Lightbox
   ======================== */
.wc-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.wc-lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.wc-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wc-lightbox-image {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    user-select: none;
}

.wc-lightbox-caption {
    color: #fff;
    font-size: 14px;
    text-align: center;
    padding: 12px 16px;
    max-width: 600px;
    opacity: 0.85;
}

.wc-lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    z-index: 10001;
    padding: 8px;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.wc-lightbox-close:hover {
    opacity: 1;
}

.wc-lightbox-prev,
.wc-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: background 0.2s;
}

.wc-lightbox-prev:hover,
.wc-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.wc-lightbox-prev {
    left: 16px;
}

.wc-lightbox-next {
    right: 16px;
}

@media (max-width: 640px) {
    .wc-lightbox-prev,
    .wc-lightbox-next {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .wc-lightbox-prev {
        left: 8px;
    }

    .wc-lightbox-next {
        right: 8px;
    }
}

/* ========================
   EFFECTS: Carousel
   ======================== */
.wc-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.wc-carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.wc-carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
    box-sizing: border-box;
}

.wc-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #1e293b;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 10;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: background 0.2s, box-shadow 0.2s;
}

.wc-carousel-arrow:hover {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.wc-carousel-arrow-prev {
    left: 12px;
}

.wc-carousel-arrow-next {
    right: 12px;
}

.wc-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px 0;
}

.wc-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.wc-carousel-dot.active {
    background: var(--color-primary, #6366F1);
    transform: scale(1.2);
}

.wc-carousel-dot:hover {
    background: var(--color-primary, #6366F1);
    opacity: 0.7;
}

@media (max-width: 640px) {
    .wc-carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .wc-carousel-arrow-prev {
        left: 6px;
    }

    .wc-carousel-arrow-next {
        right: 6px;
    }
}

/* ========================
   EFFECTS: Tabs
   ======================== */
[data-tabs] [data-tab-content] {
    display: none;
}

[data-tabs] [data-tab-content].tab-active {
    display: block;
}

[data-tabs] [data-tab-trigger] {
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

[data-tabs] [data-tab-trigger].tab-active {
    color: var(--color-primary, #6366F1);
    border-color: var(--color-primary, #6366F1);
}

/* ========================
   EFFECTS: Sticky Navbar
   ======================== */
.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    animation: wc-sticky-in 0.25s ease;
}

@keyframes wc-sticky-in {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* ========================
   EFFECTS: Progress Bar
   ======================== */
.wc-progress {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.wc-progress-bar {
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-primary, #6366F1), var(--color-secondary, #0EA5E9));
    will-change: width;
}

/* ========================
   EFFECTS: Marquee
   ======================== */
.wc-marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.wc-marquee-wrapper {
    display: flex;
    width: max-content;
}

.wc-marquee-wrapper.wc-marquee-animate {
    animation: wc-marquee-scroll linear infinite;
}

.wc-marquee-track {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0;
}

@keyframes wc-marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wc-marquee-wrapper.wc-marquee-animate {
        animation: none !important;
    }
}

/* ========================
   EFFECTS: Hover Effects
   ======================== */
[data-hover] {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

[data-hover="scale"]:hover {
    transform: scale(1.05);
}

[data-hover="shadow"]:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

[data-hover="lift"]:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

[data-hover="glow"]:hover {
    box-shadow: 0 0 20px var(--color-primary, #6366F1), 0 0 40px rgba(99, 102, 241, 0.15);
}

[data-hover="border"]:hover {
    border-color: var(--color-primary, #6366F1) !important;
}

@media (prefers-reduced-motion: reduce) {
    [data-hover] {
        transition: none !important;
    }

    [data-hover="scale"]:hover,
    [data-hover="lift"]:hover {
        transform: none !important;
    }
}

/* ========================
   DARK MODE TOGGLE
   ======================== */
.wc-dark-toggle {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
    padding: 0;
}

.wc-dark-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.wc-dark-toggle-sun {
    display: none;
}

.wc-dark-toggle-moon {
    display: block;
}

[data-theme="dark"] .wc-dark-toggle {
    background: rgba(241, 245, 249, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
    color: #1e293b;
}

[data-theme="dark"] .wc-dark-toggle-sun {
    display: block;
}

[data-theme="dark"] .wc-dark-toggle-moon {
    display: none;
}

/* ========================
   COOKIE CONSENT BANNER
   ======================== */
body .wc-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 0 16px 16px;
    animation: wc-cookie-slide-up 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes wc-cookie-slide-up {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

body .wc-cookie-banner-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 28px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.2);
}

body .wc-cookie-banner-text {
    margin: 0;
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
    flex: 1;
}

body .wc-cookie-banner-link {
    color: var(--color-primary, #818cf8);
    text-decoration: underline;
    white-space: nowrap;
}

body .wc-cookie-banner-link:hover {
    opacity: 0.8;
}

body .wc-cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

body .wc-cookie-btn {
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    white-space: nowrap;
}

body .wc-cookie-btn:hover {
    transform: translateY(-1px);
}

body .wc-cookie-btn-accept {
    background: linear-gradient(135deg, var(--color-primary, #6366F1), var(--color-secondary, #0EA5E9));
    color: #fff;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

body .wc-cookie-btn-accept:hover {
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.4);
}

body .wc-cookie-btn-reject {
    background: transparent;
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

body .wc-cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

@media (max-width: 640px) {
    body .wc-cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 16px;
    }

    body .wc-cookie-banner-actions {
        justify-content: stretch;
    }

    body .wc-cookie-btn {
        flex: 1;
        text-align: center;
    }
}

/* ========================
   BREADCRUMBS
   ======================== */
.wc-breadcrumbs {
    padding: 12px 24px;
    background: rgba(250, 251, 252, 0.95);
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
}

.wc-breadcrumbs ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.wc-breadcrumbs li {
    display: inline-flex;
    align-items: center;
    color: #64748b;
}

.wc-breadcrumbs li + li::before {
    content: '/';
    margin: 0 10px;
    color: #cbd5e1;
    font-weight: 300;
}

.wc-breadcrumbs li:last-child {
    font-weight: 600;
    color: var(--color-text, #1E293B);
}

.wc-breadcrumbs a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.wc-breadcrumbs a:hover {
    color: var(--color-primary, #6366F1);
}

/* ========================
   DARK MODE OVERRIDES
   ======================== */
[data-theme="dark"] .features-section,
[data-theme="dark"] .blog-section,
[data-theme="dark"] .cta-section {
    background: #1e293b;
}

[data-theme="dark"] .steps-section {
    background: #0f172a;
}

[data-theme="dark"] .feature-card {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .feature-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .feature-card p,
[data-theme="dark"] .step-item p,
[data-theme="dark"] .section-subtitle {
    color: #94a3b8;
}

[data-theme="dark"] .blog-card {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .blog-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .blog-card-footer {
    border-top-color: #334155;
}

[data-theme="dark"] .blog-card-excerpt {
    color: #94a3b8;
}

[data-theme="dark"] .blog-pagination-link {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

[data-theme="dark"] .blog-pagination-disabled {
    background: #0f172a;
    border-color: #1e293b;
    color: #475569;
}

[data-theme="dark"] .blog-pagination-disabled:hover {
    background: #0f172a;
    border-color: #1e293b;
    color: #475569;
}

[data-theme="dark"] .site-footer {
    background: #020617;
}

[data-theme="dark"] .prose {
    color: #cbd5e1;
}

[data-theme="dark"] .prose h2,
[data-theme="dark"] .prose h3 {
    color: #f1f5f9;
}

[data-theme="dark"] .prose blockquote {
    color: #94a3b8;
}

[data-theme="dark"] .prose code {
    background: #334155;
    color: #e2e8f0;
}

[data-theme="dark"] .post-article {
    background: #0f172a;
}

[data-theme="dark"] .post-hero-overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, 1) 0%, transparent 100%);
}

[data-theme="dark"] .post-back-link {
    color: #94a3b8;
}

[data-theme="dark"] .post-meta-item {
    color: #94a3b8;
}

[data-theme="dark"] .post-meta-separator {
    background: #475569;
}

[data-theme="dark"] .post-tags {
    border-top-color: #334155;
}

[data-theme="dark"] .post-tag-pill {
    background: #1e293b;
    border-color: #334155;
    color: #94a3b8;
}

[data-theme="dark"] .post-footer-nav {
    border-top-color: #334155;
}

[data-theme="dark"] .blog-empty h2 {
    color: #f1f5f9;
}

[data-theme="dark"] .blog-empty p {
    color: #94a3b8;
}

[data-theme="dark"] .wc-breadcrumbs {
    background: rgba(15, 23, 42, 0.95);
    border-bottom-color: #1e293b;
}

[data-theme="dark"] .wc-breadcrumbs li:last-child {
    color: #e2e8f0;
}

[data-theme="dark"] .wc-breadcrumbs a {
    color: #94a3b8;
}

[data-theme="dark"] .wc-breadcrumbs li + li::before {
    color: #475569;
}

[data-theme="dark"] .is-sticky {
    background: rgba(15, 23, 42, 0.98);
}

[data-theme="dark"] .wc-carousel-arrow {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

[data-theme="dark"] .wc-carousel-arrow:hover {
    background: #334155;
}

[data-theme="dark"] .wc-carousel-dot {
    background: #475569;
}

[data-theme="dark"] .wc-progress {
    background: #334155;
}

[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background-color: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
    color: #64748b;
}

/* Also handle system preference dark mode when no explicit theme set */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .features-section,
    :root:not([data-theme="light"]) .blog-section,
    :root:not([data-theme="light"]) .cta-section {
        background: #1e293b;
    }

    :root:not([data-theme="light"]) .steps-section {
        background: #0f172a;
    }

    :root:not([data-theme="light"]) .feature-card,
    :root:not([data-theme="light"]) .blog-card {
        background: #1e293b;
        border-color: #334155;
    }

    :root:not([data-theme="light"]) .site-footer {
        background: #020617;
    }

    :root:not([data-theme="light"]) .prose {
        color: #cbd5e1;
    }

    :root:not([data-theme="light"]) .prose h2,
    :root:not([data-theme="light"]) .prose h3 {
        color: #f1f5f9;
    }

    :root:not([data-theme="light"]) .post-article {
        background: #0f172a;
    }
}

/* ========================
   IMPROVED RESPONSIVE: 1024px breakpoint
   ======================== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .steps-grid::before {
        display: none;
    }
}

/* ========================
   RESPONSIVE: Clamp-based paddings
   ======================== */
.features-section {
    padding: clamp(48px, 8vw, 120px) clamp(16px, 4vw, 24px);
}

.steps-section {
    padding: clamp(48px, 8vw, 120px) clamp(16px, 4vw, 24px);
}

.cta-section {
    padding: clamp(48px, 8vw, 120px) clamp(16px, 4vw, 24px);
}

.stats-section {
    padding: clamp(48px, 6vw, 80px) clamp(16px, 4vw, 24px);
}

.blog-section {
    padding: clamp(48px, 6vw, 80px) clamp(16px, 4vw, 24px);
}

.blog-hero {
    padding: clamp(64px, 10vw, 120px) clamp(16px, 4vw, 24px) clamp(48px, 6vw, 80px);
}

/* ========================
   ULTRA-WIDE SUPPORT
   ======================== */
@media (min-width: 1440px) {
    .container,
    .features-grid,
    .steps-grid {
        max-width: 1400px;
    }

    .blog-grid {
        max-width: 1400px;
    }

    .section-header {
        max-width: 800px;
    }

    .hero-content {
        max-width: 1000px;
    }
}

/* ========================
   BEFORE/AFTER SLIDER
   ======================== */
[data-before-after] {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: col-resize;
    user-select: none;
    -webkit-user-select: none;
}

[data-before-after] img {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
}

[data-before-after] .ba-image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: inset(0 0 0 50%);
}

[data-before-after] .ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: none;
}

[data-before-after] .ba-handle-line {
    flex: 1;
    width: 3px;
    background: #ffffff;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

[data-before-after] .ba-handle-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

/* ========================
   VIDEO THUMBNAIL
   ======================== */
[data-video-src] {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16 / 9;
}

[data-video-src] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

[data-video-src]:hover img {
    transform: scale(1.03);
}

[data-video-src] .vthumbnail-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    transition: background 0.3s;
}

[data-video-src]:hover .vthumbnail-overlay {
    background: rgba(0, 0, 0, 0.45);
}

[data-video-src] .vthumbnail-play {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--color-primary, #6366F1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    transition: transform 0.3s, box-shadow 0.3s;
}

[data-video-src]:hover .vthumbnail-play {
    transform: scale(1.1);
    box-shadow: 0 0 0 12px rgba(99, 102, 241, 0.25);
}

/* ========================
   PRICING TOGGLE SWITCH
   ======================== */
[data-pricing-switch] {
    position: relative;
    width: 56px;
    height: 30px;
    background: #e2e8f0;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s;
}

[data-pricing-switch].active {
    background: var(--color-primary, #6366F1);
}

[data-pricing-switch] .ptoggle-switch-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: #ffffff;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

[data-pricing-switch].active .ptoggle-switch-knob {
    transform: translateX(26px);
}

/* ========================
   NOTIFICATION BAR DISMISS
   ======================== */
.notifbar {
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
    overflow: hidden;
}

.notifbar-dismissed {
    max-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    opacity: 0 !important;
    pointer-events: none;
}

/* ========================
   TIMELINE CONNECTOR
   ======================== */
.tline-wrapper {
    position: relative;
}

.tline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--color-primary, #6366F1), var(--color-secondary, #0EA5E9));
    transform: translateX(-50%);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .tline-line {
        left: 20px;
    }
}

/* ========================
   BENTO GRID LAYOUT
   ======================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.bento-card-large {
    grid-row: span 2;
}

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

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

/* Hidden utility */
.hidden { display: none !important; }
