:root {
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --primary-light: #eff6ff;
    --bg: #f8fafc;
    --bg-white: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --glass: rgba(255, 255, 255, 0.85);
    --border: #e2e8f0;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --dark: #1e293b;
    --dark-soft: #334155;
    --success: #10b981;
    --unlimited-badge: #8b5cf6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================
   Header & Navigation
   ======================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switch {
    display: flex;
    gap: 6px;
}

.lang-btn {
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: white;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
    color: var(--text-muted);
}

.lang-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text);
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    z-index: 999;
    box-shadow: var(--shadow);
}

.mobile-nav.open {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 12px 0;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
}

.mobile-nav a:last-child {
    border-bottom: none;
}

/* ========================
   Buttons
   ======================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border-radius: 12px;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    line-height: 1;
    /* reset for flexbox centering */
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-primary-lg {
    padding: 18px 40px;
    font-size: 18px;
    border-radius: 14px;
    min-height: 60px;
    min-width: 220px;
    /* Force consistent height and width */
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: transparent;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    /* balanced with primary */
    border-radius: 12px;
    border: 2px solid var(--primary);
    transition: all 0.2s;
    line-height: 1;
}

.btn-outline:hover {
    background: var(--primary-light);
}

.btn-outline-lg {
    padding: 18px 40px;
    font-size: 18px;
    border-radius: 14px;
    min-height: 60px;
    min-width: 220px;
}

/* ========================
   Hero Section
   ======================== */
.hero {
    padding: 140px 0 60px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-media-container {
    max-width: 960px;
    margin: 64px auto 0;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    background: #000;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3), 0 18px 36px -18px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    aspect-ratio: 16 / 9;
    transform: perspective(1000px) rotateX(2deg);
    transition: transform 0.5s ease;
}

.hero-media-container:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-5px);
}

.hero-media-container img,
.hero-media-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero p {
    font-size: 19px;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 16px;
}

.hero-free-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* AI & OCR Showcase Section */
.ai-showcase-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg) 0%, #ffffff 100%);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.showcase-item {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.showcase-content {
    padding: 30px;
}

.showcase-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text);
}

/* Compare Container (Before/After) */
.compare-container {
    height: 320px;
    position: relative;
    background: #000;
    overflow: hidden;
    touch-action: none; /* Prevent scrolling while dragging */
}

.compare-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.compare-img.after {
    clip-path: inset(0 0 0 50%);
    /* Removed transition because JS will handle it for smooth dragging */
}

.compare-range-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 100;
    margin: 0;
}

.compare-handle {
    position: absolute;
    top: 0;
    left: 50%;
    bottom: 0;
    width: 2px;
    background: white;
    z-index: 50;
    pointer-events: none;
    transform: translateX(-50%);
}

.handle-line {
    width: 100%;
    height: 100%;
}

.handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: var(--primary);
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow);
}

.compare-label-before,
.compare-label-after {
    position: absolute;
    top: 20px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 11px;
    font-weight: 800;
    border-radius: 4px;
    z-index: 10;
    pointer-events: none;
}

.compare-label-before { left: 20px; }
.compare-label-after { right: 20px; background: var(--primary); }

/* OCR Visual Box - Extraction Focus */
.ocr-visual-box {
    height: 320px;
    position: relative;
    background: #0f172a;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ocr-base-img {
    width: 85%;
    height: auto;
    opacity: 0.4;
    border-radius: 12px;
    filter: grayscale(0.5);
}

/* User Selection Simulation - Refined positioning */
.ocr-selection-rect {
    position: absolute;
    top: 3%;
    left: 11%;
    width: 0;
    height: 0;
    border: 2px solid var(--primary);
    background: rgba(59, 130, 246, 0.15);
    z-index: 10;
    animation: ocrSelectArea 8s infinite ease-in-out;
}

@keyframes ocrSelectArea {
    0%, 5% { width: 0; height: 0; opacity: 0; }
    12% { width: 78%; height: 25%; opacity: 1; }
    90% { opacity: 1; width: 78%; height: 25%; }
    95%, 100% { opacity: 0; }
}

.ocr-selection-handle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: white;
    border: 2px solid var(--primary);
    z-index: 11;
    opacity: 0;
    animation: ocrHandleAppear 8s infinite ease-in-out;
}

.ocr-selection-handle.top-left { top: 3%; left: 11%; transform: translate(-50%, -50%); }
.ocr-selection-handle.bottom-right { top: 28%; left: 89%; transform: translate(-50%, -50%); animation-name: ocrHandleBottomAppear; }

@keyframes ocrHandleAppear {
    0%, 5% { opacity: 0; }
    10%, 90% { opacity: 1; }
    95%, 100% { opacity: 0; }
}

@keyframes ocrHandleBottomAppear {
    0%, 9% { opacity: 0; }
    14%, 90% { opacity: 1; }
    95%, 100% { opacity: 0; }
}

/* Extract Button Mockup - Positioned better relative to selection */
.ocr-extract-btn {
    position: absolute;
    top: 32%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow);
    z-index: 12;
    opacity: 0;
    animation: ocrBtnAction 8s infinite ease-in-out;
    pointer-events: none;
}

@keyframes ocrBtnAction {
    0%, 18% { opacity: 0; transform: translate(-50%, 5px); }
    23% { opacity: 1; transform: translate(-50%, 0); }
    28% { transform: translate(-50%, 0) scale(0.95); }
    33% { transform: translate(-50%, 0) scale(1); }
    85% { opacity: 1; }
    90%, 100% { opacity: 0; }
}

/* Scan Line - Follows the new selection rect */
.ocr-scan-line {
    position: absolute;
    top: 3%;
    left: 11%;
    width: 78%;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
    z-index: 20;
    opacity: 0;
    animation: ocrScanAction 8s infinite ease-in-out;
}

@keyframes ocrScanAction {
    0%, 32% { top: 3%; opacity: 0; }
    34% { opacity: 1; }
    48% { top: 28%; opacity: 1; }
    53%, 100% { opacity: 0; }
}

/* Result Popup - Re-styled */
.ocr-result-popup {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    z-index: 30;
    animation: ocrPopupAction 8s infinite ease-in-out;
}

@keyframes ocrPopupAction {
    0%, 48% { opacity: 0; transform: translateY(10px); }
    52%, 90% { opacity: 1; transform: translateY(0); }
    95%, 100% { opacity: 0; }
}

.ocr-popup-header {
    background: var(--bg);
    padding: 8px 12px;
    font-size: 10px;
    font-weight: 800;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ocr-popup-content {
    padding: 12px;
    font-family: 'Fira Code', monospace;
    font-size: 11px;
    color: var(--text);
    line-height: 1.4;
    white-space: pre-wrap;
}

.copy-badge {
    background: var(--success);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 9px;
    opacity: 0;
    animation: ocrCopyBadge 8s infinite ease-in-out;
}

@keyframes ocrCopyBadge {
    0%, 65% { opacity: 0; transform: scale(0.8); }
    70%, 85% { opacity: 1; transform: scale(1); }
    90%, 100% { opacity: 0; }
}

/* ========================
   Section Titles
   ======================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text);
}

.section-header p {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================
   Feature Cards
   ======================== */
.features-section {
    padding: 80px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: white;
    padding: 36px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.feature-card .icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--primary);
}

.feature-card .icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.badge-unlimited {
    display: inline-block;
    background: var(--unlimited-badge);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
    letter-spacing: 0.5px;
}

/* ========================
   Pro CTA (Subtle)
   ======================== */
.pro-cta {
    background: var(--dark);
    color: white;
    padding: 60px 40px;
    text-align: center;
    border-radius: 20px;
    margin: 40px 0 60px;
}

.pro-cta h2 {
    font-size: 28px;
    margin-bottom: 14px;
    color: white;
    font-weight: 700;
}

.pro-cta p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================
   Steps / Guide
   ======================== */
.steps-section {
    padding: 80px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    counter-reset: step;
}

.step-card {
    text-align: center;
    padding: 30px 20px;
    counter-increment: step;
}

.step-card::before {
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    font-size: 22px;
    font-weight: 800;
    border-radius: 50%;
    margin: 0 auto 18px;
}

.step-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
}

.step-card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ========================
   Pricing Table
   ======================== */
.pricing-section {
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 750px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px 32px;
    border: 1px solid var(--border);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary), var(--shadow);
    position: relative;
}

.pricing-card.featured::before {
    content: attr(data-badge);
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
    font-weight: 700;
}

.pricing-card .price {
    font-size: 42px;
    font-weight: 800;
    margin: 16px 0;
    color: var(--text);
}

.pricing-card .price span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-card .price-note {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 24px 0;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .check {
    color: var(--success);
    font-weight: 700;
    font-size: 16px;
}

.pricing-features .cross {
    color: var(--text-light);
    font-size: 16px;
}

/* ========================
   Download Section
   ======================== */
.download-section {
    padding: 80px 0;
    text-align: center;
}

.download-box {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    border: 1px solid var(--border);
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.download-box .version-info {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 16px;
}

.system-req {
    margin-top: 40px;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.system-req h3 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 700;
}

/* ========================
   Manual Specific Styles 
   ======================== */
.manual-toc a:hover {
    text-decoration: underline !important;
    color: #1d4ed8 !important;
}

.manual-section {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.manual-section:hover {
    transform: translateY(-5px);
}

.guide-feature-layout.reverse {
    flex-direction: row-reverse;
}

@media (max-width: 991px) {

    .guide-feature-layout,
    .guide-feature-layout.reverse {
        flex-direction: column !important;
    }

    .manual-section {
        padding: 20px;
    }
}

.system-req ul {
    list-style: none;
    padding: 0;
}

.system-req li {
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.system-req li::before {
    content: "✓";
    color: var(--success);
    font-weight: 700;
}

/* ========================
   Legal Pages
   ======================== */
.legal-page {
    padding: 120px 0 80px;
    max-width: 800px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--text);
}

.legal-page h2 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 12px;
    color: var(--text);
}

.legal-page p,
.legal-page li {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-page ol,
.legal-page ul {
    margin-left: 20px;
    margin-bottom: 16px;
}

.legal-bilingual {
    background: var(--primary-light);
    border-left: 3px solid var(--primary);
    padding: 12px 16px;
    margin: 8px 0 16px;
    font-size: 14px;
    color: var(--dark-soft);
    border-radius: 0 8px 8px 0;
}

/* ========================
   Footer
   ======================== */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    background: var(--bg-white);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    padding: 3px 0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    font-size: 13px;
}

.footer-disclaimer {
    max-width: 800px;
    margin: 0 auto 16px;
    font-size: 11px;
    line-height: 1.6;
    color: var(--text-muted);
    opacity: 0.8;
}

/* ========================
   Animations
   ======================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.7s ease-out forwards;
}

.animate-delay-1 {
    animation-delay: 0.1s;
    opacity: 0;
}

.animate-delay-2 {
    animation-delay: 0.2s;
    opacity: 0;
}

.animate-delay-3 {
    animation-delay: 0.3s;
    opacity: 0;
}

/* Footer Contact Item */
.footer-contact-item {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-contact-item span[data-i18n] {
    font-weight: 600;
    color: var(--text-main);
    margin-right: 0.5rem;
}

.footer-contact-item a {
    color: var(--primary);
    text-decoration: none;
    display: inline !important;
}

/* ========================
   Manual / Guide Specific
   ======================== */
.guide-container {
    padding: 100px 0;
}

.guide-step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.guide-card {
    background: white;
    border-radius: 24px;
    border: 1px solid var(--border);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.guide-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.guide-card h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
}

.guide-card p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
}

.guide-image-box {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 2px dashed var(--border);
}

.guide-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.guide-card:hover .guide-image-box img {
    transform: scale(1.05);
}

.guide-placeholder-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    padding: 20px;
}

.guide-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}


/* ========================
   Use Cases Section
   ======================== */
.use-cases-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, transparent, var(--primary-light) 10%, var(--primary-light) 90%, transparent);
}

.use-case-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 850px;
    margin: 40px auto 0;
}

.use-case-card {
    display: flex;
    flex-direction: column;
}

.voice-bubble {
    background: white;
    padding: 28px 32px;
    border-radius: 24px 24px 24px 4px;
    border: 1px solid var(--border);
    position: relative;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.voice-bubble::before {
    content: "“";
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 80px;
    color: var(--primary);
    opacity: 0.1;
    font-family: serif;
    line-height: 1;
}

.voice-bubble p {
    font-style: italic;
    color: var(--text);
    font-size: 16px;
    line-height: 1.8;
}

.solution-box {
    background: var(--dark);
    color: white;
    padding: 20px 28px;
    border-radius: 4px 24px 24px 24px;
    margin-left: 48px;
    font-size: 14.5px;
    line-height: 1.7;
    border-left: 5px solid var(--primary);
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.3);
}

.solution-box strong {
    color: var(--primary);
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
}

@media (max-width: 991px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }

    .pro-cta {
        padding: 40px 20px;
        margin: 20px 0 40px;
    }

    .pro-cta h2 {
        font-size: 22px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .legal-page {
        padding: 100px 20px 60px;
    }

    .legal-page h1 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary-lg {
        width: 100%;
        text-align: center;
    }
}

/* ========================
   Comparison Table
   ======================== */
.comparison-section {
    padding: 80px 0;
}

.comparison-table-wrapper {
    background: white;
    border-radius: 24px;
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow-x: auto;
    margin-bottom: 30px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 600px;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    vertical-align: top;
}

.comparison-table th .price-pill {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    margin-top: 8px;
    background: var(--primary-light);
    color: var(--primary);
}

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--text);
    width: 40%;
}

.comparison-table td:not(:first-child) {
    text-align: center;
    width: 20%;
}

.comparison-table .category-row td {
    background: var(--bg);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    padding: 10px 20px;
    border-bottom: 1px solid var(--border);
}

.comparison-table .check {
    color: var(--success);
    font-size: 20px;
    font-weight: 800;
}

.comparison-table .cross {
    color: var(--text-light);
    font-size: 18px;
    opacity: 0.5;
}

.tier-free {
    color: var(--text-muted);
}

.tier-pro {
    color: var(--primary);
}

.tier-unlimited {
    color: var(--unlimited-badge);
}

.comparison-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    background: var(--bg-white);
    padding: 20px;
    border-radius: 12px;
    border: 1px dashed var(--border);
}

@media (max-width: 768px) {
    .comparison-table th {
        font-size: 15px;
        padding: 12px 10px;
    }
    .comparison-table td {
        padding: 12px 10px;
        font-size: 14px;
    }
}