/* ===== Article & Course Page Styles ===== */

/* ===== Breadcrumb ===== */
.breadcrumb {
    padding: 100px 32px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray);
    font-family: var(--font-sub);
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-list a {
    color: var(--blue);
    transition: var(--transition);
}

.breadcrumb-list a:hover {
    text-decoration: underline;
}

.breadcrumb-list .separator {
    color: var(--gray-light);
    font-size: 0.75rem;
}

.breadcrumb-list .current {
    color: var(--dark);
    font-weight: 500;
}

/* ===== Article Page ===== */
.article-page-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 32px 80px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}

/* Article Header */
.article-header {
    margin-bottom: 36px;
}

.article-header .tag-pill {
    margin-bottom: 16px;
    display: inline-block;
}

.article-header h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--dark);
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--gray);
    font-family: var(--font-sub);
    flex-wrap: wrap;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-meta svg {
    flex-shrink: 0;
}

/* Article Hero Image */
.article-hero-image {
    width: 100%;
    aspect-ratio: 21 / 9;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Article Body Typography */
.article-body {
    font-family: var(--font-sub);
    font-size: 1.1rem;
    line-height: 2;
    color: #2d2d3a;
    letter-spacing: 0.01em;
    max-width: 720px;
    min-height: 60vh; /* Prevent layout shift while content loads dynamically */
}

.article-body > *:first-child {
    margin-top: 0;
}

.article-body h2 {
    font-family: var(--font);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--dark);
    margin: 64px 0 24px;
    padding-bottom: 14px;
    line-height: 1.3;
    scroll-margin-top: 100px;
    border-bottom: 2px solid #eef0f6;
    position: relative;
}

.article-body h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 56px;
    height: 3px;
    background: var(--blue);
    border-radius: 2px;
}

.article-body h3 {
    font-family: var(--font);
    font-size: 1.32rem;
    font-weight: 700;
    color: var(--dark);
    margin: 48px 0 18px;
    line-height: 1.4;
}

.article-body h4 {
    font-family: var(--font);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 32px 0 14px;
    line-height: 1.45;
}

.article-body p {
    margin-bottom: 1.4em;
    line-height: 2;
}

.article-body strong {
    color: var(--dark);
    font-weight: 700;
}

.article-body a {
    color: var(--blue);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: var(--transition);
}

.article-body a:hover {
    text-decoration-thickness: 2px;
    color: var(--blue-dark);
}

.article-body ul,
.article-body ol {
    margin: 24px 0 32px;
    padding-right: 32px;
    list-style: disc;
}

.article-body ol {
    list-style: decimal;
}

.article-body li {
    margin-bottom: 14px;
    padding-right: 8px;
    line-height: 1.9;
}

.article-body li::marker {
    color: var(--blue);
    font-weight: 600;
}

.article-body blockquote {
    border-right: 4px solid var(--blue);
    padding: 28px 36px;
    margin: 36px 0;
    background: linear-gradient(135deg, #f8faff, #eef2ff);
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: var(--dark);
    font-size: 1.08rem;
    line-height: 1.9;
    position: relative;
    box-shadow: 0 2px 12px rgba(25, 92, 255, 0.06);
}

.article-body blockquote::before {
    content: '\201D';
    position: absolute;
    top: -10px;
    right: 18px;
    font-size: 3.5rem;
    color: var(--blue);
    opacity: 0.15;
    font-style: normal;
    line-height: 1;
}

.article-body blockquote p:last-child {
    margin-bottom: 0;
}

.article-body pre {
    background: #1a1a2e;
    color: #e8e8e8;
    padding: 28px 32px;
    border-radius: 14px;
    margin: 36px 0;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.7;
    direction: ltr;
    text-align: left;
    box-shadow: 0 4px 24px rgba(26, 26, 46, 0.15);
    border: 1px solid rgba(255,255,255,0.06);
    position: relative;
}

.article-body pre::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 16px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f57;
    box-shadow: 16px 0 0 #ffbd2e, 32px 0 0 #27c93f;
}

.article-body code {
    background: #f0f2f8;
    padding: 3px 8px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.86rem;
    color: #4a4e6a;
    border: 1px solid #e2e5ee;
}

.article-body pre code {
    background: none;
    padding: 0;
    border: none;
    color: inherit;
    font-size: inherit;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 28px 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.04);
}

.article-body hr {
    border: none;
    border-top: 2px solid #eef0f6;
    margin: 56px 0;
}

.article-body table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 32px 0;
    font-size: 0.95rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

.article-body table th,
.article-body table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    text-align: right;
}

.article-body table th {
    background: #f3f5fa;
    font-weight: 700;
    color: var(--dark);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.article-body table tr:last-child td {
    border-bottom: none;
}

.article-body table tr:nth-child(even) {
    background: #fafbfd;
}

.article-body table tr:hover {
    background: #f0f4ff;
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    z-index: 9999;
    background: transparent;
    pointer-events: none;
}

.reading-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue), #6c5ce7);
    width: 0%;
    transition: width 0.15s ease-out;
    border-radius: 0 0 0 2px;
}

/* Callout Boxes */
.callout {
    padding: 28px 32px;
    border-radius: 16px;
    margin: 36px 0;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s ease;
}

.callout:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.callout-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-top: 2px;
    font-weight: 700;
}

.callout-content {
    flex: 1;
}

.callout-content strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 700;
}

.callout-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.8;
}

.callout-tip {
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
    border: 1px solid #a7f3d0;
    border-right: 4px solid #22c55e;
}

.callout-tip .callout-icon {
    background: #dcfce7;
    color: #16a34a;
}

.callout-note {
    background: linear-gradient(135deg, #eff4ff, #f0f5ff);
    border: 1px solid #bfdbfe;
    border-right: 4px solid var(--blue);
}

.callout-note .callout-icon {
    background: #dbeafe;
    color: var(--blue);
}

.callout-warning {
    background: linear-gradient(135deg, #fffbeb, #fef9e7);
    border: 1px solid #fde68a;
    border-right: 4px solid #f59e0b;
}

.callout-warning .callout-icon {
    background: #fef3c7;
    color: #d97706;
}

/* ===== Article Sidebar ===== */
.article-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--border);
    margin-bottom: 24px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.03);
}

.sidebar-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

/* Table of Contents */
.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 55vh;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.toc-list li {
    margin-bottom: 8px;
}

.toc-list a {
    font-size: 0.85rem;
    color: var(--gray);
    font-family: var(--font-sub);
    transition: var(--transition);
    display: block;
    padding: 6px 12px;
    border-radius: 8px;
    border-right: 2px solid transparent;
}

.toc-list a:hover {
    color: var(--blue);
    background: #fff;
}

.toc-list a.active {
    color: var(--blue);
    border-right-color: var(--blue);
    background: #fff;
    font-weight: 600;
}

.toc-list a.read {
    color: var(--blue);
    opacity: 0.55;
}
.toc-list a.read::before {
    content: '\2713\00a0';
    font-size: 0.7em;
}
/* Active overrides read styling */
.toc-list a.active.read {
    opacity: 1;
}
.toc-list a.active.read::before {
    content: none;
}

.toc-list .toc-h3 {
    padding-right: 24px;
    font-size: 0.8rem;
}

/* Related Articles */
.related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-list li {
    margin-bottom: 12px;
}

.related-list a {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 0.85rem;
    color: var(--dark);
    font-family: var(--font-sub);
    transition: var(--transition);
    padding: 10px 12px;
    border-radius: 10px;
}

.related-list a:hover {
    background: #fff;
    color: var(--blue);
}

.related-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===== Author Card ===== */
.author-card {
    background: linear-gradient(135deg, #f8faff, #fff);
    border-radius: 18px;
    padding: 36px;
    border: 1px solid #e4e8f4;
    margin: 56px 0 36px;
    display: flex;
    gap: 24px;
    align-items: center;
    box-shadow: 0 2px 16px rgba(25, 92, 255, 0.04);
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.author-avatar-img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #e4e8f4;
    box-shadow: 0 2px 12px rgba(25, 92, 255, 0.1);
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.author-info .author-title {
    font-size: 0.85rem;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 8px;
}

.author-info p {
    font-family: var(--font-sub);
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.65;
}

/* ===== Share Buttons ===== */
.share-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 32px 0;
}

.share-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font);
}

.share-btn:hover {
    transform: translateY(-1px);
}

.share-whatsapp {
    background: #e8f8ee;
    color: #128c7e;
    border: 1px solid #c6f0d4;
}

.share-whatsapp:hover {
    background: #d0f0db;
}

.share-copy {
    background: var(--bg-light);
    color: var(--dark-2);
    border: 1px solid var(--border);
}

.share-copy:hover {
    border-color: var(--dark);
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--blue);
    margin: 32px 0 48px;
    transition: var(--transition);
}

.back-link:hover {
    gap: 12px;
}

/* ===== Course Page ===== */
.course-page-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 32px 0;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}

/* Video Player */
.video-player-wrapper {
    width: 100%;
    background: #0a0a0f;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.video-player {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #16213e 100%);
}

.video-play-button {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.25);
}

.video-player:hover .video-play-button {
    background: rgba(25, 92, 255, 0.6);
    border-color: rgba(25, 92, 255, 0.8);
    transform: scale(1.08);
}

.video-play-button svg {
    margin-right: -4px;
}

/* Current Lesson Info */
.current-lesson-info {
    padding: 28px 0;
}

.current-lesson-info h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.35;
}

.current-lesson-info p {
    font-family: var(--font-sub);
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.7;
}

/* ===== Course Sidebar ===== */
.course-sidebar {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 104px);
    display: flex;
    flex-direction: column;
}

.course-sidebar-header {
    padding: 24px 24px 0;
}

.course-sidebar-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.course-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--blue);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 0.78rem;
    color: var(--gray);
    font-family: var(--font-sub);
    white-space: nowrap;
}

/* Lesson List */
.lesson-list {
    overflow-y: auto;
    flex: 1;
    padding-bottom: 8px;
}

.lesson-list::-webkit-scrollbar {
    width: 4px;
}

.lesson-list::-webkit-scrollbar-track {
    background: transparent;
}

.lesson-list::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
}

.chapter-group {
    border-top: 1px solid var(--border);
}

.chapter-title {
    padding: 16px 24px 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-sub);
}

.lesson-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    cursor: pointer;
    transition: var(--transition);
    border-right: 3px solid transparent;
}

.lesson-item:hover {
    background: #fff;
}

.lesson-item.active {
    background: #fff;
    border-right-color: var(--blue);
}

.lesson-item.completed {
    opacity: 0.7;
}

.lesson-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
}

.lesson-item .lesson-icon {
    background: var(--border);
    color: var(--gray);
}

.lesson-item.active .lesson-icon {
    background: var(--blue);
    color: #fff;
}

.lesson-item.completed .lesson-icon {
    background: #e8f8ee;
    color: #25d366;
}

.lesson-details {
    flex: 1;
    min-width: 0;
}

.lesson-details .lesson-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lesson-item.active .lesson-title {
    color: var(--blue);
}

.lesson-details .lesson-duration {
    font-size: 0.75rem;
    color: var(--gray);
    font-family: var(--font-sub);
}

/* ===== Course Bottom Section ===== */
.course-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px 80px;
}

.course-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 32px;
}

.course-info-card {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 36px;
    border: 1px solid var(--border);
}

.course-info-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.course-info-card p {
    font-family: var(--font-sub);
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.75;
}

/* What You'll Learn Checklist */
.learn-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.learn-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-family: var(--font-sub);
    font-size: 0.9rem;
    color: var(--dark-2);
    line-height: 1.5;
}

.learn-checklist li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--blue);
}

/* Instructor Card (reuse author card style) */
.instructor-card {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 8px;
}

.instructor-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.instructor-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.instructor-info p {
    font-family: var(--font-sub);
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.5;
    margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .article-page-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .sidebar-card {
        margin-bottom: 0;
    }

    .course-page-layout {
        grid-template-columns: 1fr;
    }

    .course-sidebar {
        position: static;
        max-height: none;
        order: -1;
    }

    .course-bottom-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .breadcrumb {
        padding: 90px 16px 0;
    }

    .article-page-layout {
        padding: 24px 16px 60px;
    }

    .article-header h1 {
        font-size: 1.6rem;
    }

    .article-hero-image {
        aspect-ratio: 16 / 9;
        border-radius: 12px;
    }

    .article-body {
        font-size: 1.02rem;
        line-height: 1.9;
    }

    .article-body h2 {
        font-size: 1.4rem;
        margin-top: 44px;
    }

    .article-body h3 {
        font-size: 1.12rem;
        margin-top: 36px;
    }

    .article-body blockquote {
        padding: 20px 24px;
        margin: 28px 0;
    }

    .callout {
        padding: 20px 24px;
        flex-direction: column;
        gap: 12px;
    }

    .article-sidebar {
        grid-template-columns: 1fr;
    }

    .author-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .share-section {
        flex-wrap: wrap;
    }

    .course-page-layout {
        padding: 24px 16px 0;
    }

    .course-bottom {
        padding: 0 16px 60px;
    }

    .course-sidebar-header h3 {
        font-size: 0.95rem;
    }

    .video-play-button {
        width: 64px;
        height: 64px;
    }

    .current-lesson-info h2 {
        font-size: 1.2rem;
    }
}

/* ===== Rich Article Components ===== */

/* Stat Row */
.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 28px 0;
}
@media (max-width: 768px) {
    .stat-row { grid-template-columns: 1fr; }
}
.stat-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
}
.stat-card .stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Step Cards */
.step-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm, 12px);
    padding: 24px 28px;
    margin: 20px 0;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: box-shadow 0.3s ease;
}
.step-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.step-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
.step-content p {
    margin-bottom: 0;
    color: var(--dark-2, #555);
    font-size: 0.95rem;
}

/* Example Block */
.example-block {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm, 12px);
    padding: 24px 28px;
    margin: 20px 0;
}
.example-block h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue-dark, #0d47a1);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.example-block p:last-child {
    margin-bottom: 0;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
}
@media (max-width: 768px) {
    .feature-grid { grid-template-columns: 1fr; }
}
.feature-item {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
}
.feature-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}
.feature-item p {
    font-size: 0.9rem;
    color: var(--dark-2, #555);
    margin-bottom: 0;
    line-height: 1.65;
}

/* Tip Cards */
.tip-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 14px 0;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.tip-card .tip-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--blue-light, #e8f0fe);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.82rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.tip-card .tip-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}
.tip-card .tip-text p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--dark-2, #555);
}

/* Intro Personal */
.intro-personal {
    background: linear-gradient(135deg, var(--blue-light, #e8f0fe), #f0f4ff);
    border-radius: var(--radius-sm, 12px);
    padding: 32px 36px;
    margin-bottom: 32px;
    border: 1px solid #d0dcff;
}
.intro-personal p { margin-bottom: 12px; }
.intro-personal p:last-child { margin-bottom: 0; }

/* Audience Grid */
.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
}
@media (max-width: 768px) {
    .audience-grid { grid-template-columns: 1fr; }
}
.audience-item {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 20px;
    font-size: 0.9rem;
}
.audience-item strong {
    color: var(--dark) !important;
    display: block;
    margin-bottom: 4px;
}
.audience-item span {
    color: var(--gray);
    font-size: 0.85rem;
}

/* CTA Box */
.cta-box {
    background: var(--dark, #1a1a2e);
    border-radius: var(--radius-sm, 12px);
    padding: 36px;
    margin: 36px 0;
    text-align: center;
    color: #fff;
}
.cta-box h3 {
    color: #fff !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}
.cta-box p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 8px;
}
.cta-box ol {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    text-align: right;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.cta-box ol li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
    font-size: 0.93rem;
}
.cta-box ol li:last-child { border-bottom: none; }

/* Pricing Box */
.pricing-box {
    background: linear-gradient(135deg, var(--blue-light, #e8f0fe), #f0f4ff);
    border: 1px solid #d0dcff;
    border-radius: var(--radius-sm, 12px);
    padding: 32px 36px;
    margin: 28px 0;
}
.pricing-box h3 {
    margin-top: 0 !important;
}
.pricing-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 20px 0;
}
@media (max-width: 768px) {
    .pricing-tiers { grid-template-columns: 1fr; }
}
.pricing-tier {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border);
}
.pricing-tier.recommended {
    border: 2px solid var(--blue);
    position: relative;
}
.pricing-tier.recommended::before {
    content: 'מומלץ';
    position: absolute;
    top: -12px;
    right: 50%;
    transform: translateX(50%);
    background: var(--blue);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 20px;
}
.pricing-tier .tier-name {
    font-weight: 700;
    color: var(--dark);
    font-size: 0.9rem;
    margin-bottom: 6px;
}
.pricing-tier .tier-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--blue);
}
.pricing-tier .tier-price span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray);
}
.pricing-tier .tier-note {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 4px;
}

/* Coupon Banner */
.coupon-banner {
    background: #f0fdf4;
    border: 2px solid #22c55e;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 20px 0;
    text-align: center;
}
.coupon-banner .coupon-code {
    font-family: 'Courier New', monospace;
    font-size: 1.3rem;
    font-weight: 800;
    color: #16a34a;
    background: #fff;
    padding: 6px 20px;
    border-radius: 8px;
    border: 2px dashed #22c55e;
    display: inline-block;
    margin: 8px 0;
    direction: ltr;
}
