﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #0f172a;
    --secondary: #1e3a8a;
    --accent: #4f7cff;
    --accent-2: #8b5cf6;
    --teal: #0d9488;
    --light: #f4f6fb;
    --dark: #111827;
    --success: #16a34a;
    --git-color: #4f7cff;
    --git-color-2: #6366f1;
    --muted: #6b7280;
    --card-bg: #ffffff;
    --border: #e5e9f2;
    --radius: 16px;
    --shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 16px 40px rgba(15, 23, 42, 0.14);
    --grad-brand: linear-gradient(135deg, #4f7cff 0%, #6366f1 50%, #8b5cf6 100%);
    --grad-brand-2: linear-gradient(135deg, #4f7cff 0%, #0d9488 100%);
}

body {
    line-height: 1.6;
    color: #334155;
    background: 
        radial-gradient(1200px 500px at 80% -10%, rgba(79, 124, 255, 0.10), transparent),
        radial-gradient(900px 400px at 0% 0%, rgba(13, 148, 136, 0.08), transparent),
        #f4f6fb;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Header Styles */
header {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: white;
    padding: 0.85rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.15);
    animation: slideDown 0.6s ease-out;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.logo:hover img { transform: rotate(-6deg) scale(1.05); }

.logo h1 {
    font-size: 1.6rem;
    color: white;
    font-weight: 700;
    white-space: nowrap;
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.logo a:hover h1 { opacity: 0.9; }

.logo span {
    color: var(--accent);
}

/* ===== Header Navigation ===== */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: wrap;
    margin-right: auto;
}

/* Auth controls pinned to the far-right corner, separate from page links */
.header-auth {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-left: 0.25rem;
    flex-shrink: 0;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.45rem 0.85rem;
    border-radius: 30px;
    transition: background 0.25s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

/* ===== Auth (Google Sign-in) ===== */
.auth-btn {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #1f2937;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.2);
    gap: 0.45rem;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.42rem 1rem;
    white-space: nowrap;
}
.auth-btn:hover {
    background: #f4f6f9;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.28);
}
.auth-btn:active { transform: translateY(0); }
.auth-btn .g-icon { width: 18px; height: 18px; flex-shrink: 0; }

.user-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.2rem 0.4rem 0.2rem 0.3rem;
    border-radius: 30px;
    white-space: nowrap;
}
.user-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    object-fit: cover;
    display: none;
    border: 2px solid #fff;
    flex-shrink: 0;
}
.logout-btn {
    position: relative;
    color: #fff;
    font-size: 0.85rem;
    padding: 0.35rem 0.5rem;
    border-radius: 50%;
    text-decoration: none;
    margin-left: 0.3rem;
}
.logout-btn::before {
    content: "";
    position: absolute;
    left: -0.28rem;
    top: 12%;
    height: 76%;
    width: 1px;
    background: rgba(255, 255, 255, 0.22);
}
.logout-btn:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }

@media (max-width: 720px) {
    .user-badge { font-size: 0.78rem; }
    .user-badge { max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
    .auth-btn { padding: 0.4rem 0.75rem; font-size: 0.88rem; }
}

/* Ultra-compact Google button on very small phones: brand icon only */
@media (max-width: 430px) {
    .auth-btn { padding: 0.42rem 0.6rem; gap: 0; }
    .auth-btn .signin-text { display: none; }
}

/* Shared audiobook banner card + in-card link (about page & language pages) */
.lang-audio-card{ display: flex; gap: 1.2rem; align-items: center; background: linear-gradient(135deg,#8e44ad,#6c3483); color: #fff; border-radius: 18px; padding: 1.4rem 1.8rem; box-shadow: 0 10px 26px rgba(100,60,180,.25); }
.lang-audio-ico{ font-size: 2.6rem; flex-shrink: 0; }
.lang-audio-badge{ display: inline-block; background: rgba(255,255,255,.18); color: #ffe9a8; font-size: .7rem; font-weight: 700; padding: .22rem .68rem; border-radius: 20px; text-transform: uppercase; letter-spacing: .5px; }
.lang-audio-card h3{ margin: .4rem 0 .3rem; font-size: 1.15rem; color: #fff; line-height: 1.35; }
.lang-audio-card p{ color: #ede4fb; font-size: .92rem; line-height: 1.65; margin: 0 0 .7rem; }
.lang-audio-btn{ display: inline-flex; align-items: center; gap: .45rem; background: #fff; color: #6c3483 !important; font-weight: 700; font-size: .92rem; padding: .6rem 1.3rem; border-radius: 10px; text-decoration: none; box-shadow: 0 4px 12px rgba(0,0,0,.15); transition: transform .2s; }
.lang-audio-btn:hover{ transform: translateY(-2px); }
.card-link{ display: inline-flex; align-items: center; gap: .4rem; color: #6c3483; font-weight: 700; font-size: .92rem; margin-top: .8rem; text-decoration: none; transition: gap .2s; }
.card-link:hover{ gap: .6rem; text-decoration: underline; }
@media(max-width: 560px){ .lang-audio-card{ flex-direction: column; text-align: center; } }

/* ===== Reviews / Testimonials ===== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.review-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem 1.4rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.review-stars { color: #f59e0b; font-size: 0.95rem; letter-spacing: 1px; }
.review-text { font-size: 1rem; color: #475569; line-height: 1.7; flex: 1; margin: 0; }
.review-author { display: flex; align-items: center; gap: 0.8rem; }
.review-author .avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--grad-brand);
    color: #fff; font-weight: 700; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.review-author .who { display: flex; flex-direction: column; line-height: 1.3; }
.review-author .who b { color: var(--dark); font-size: 0.98rem; }
.review-author .who span { color: #6b7280; font-size: 0.82rem; }
.review-verified { color: var(--success); font-size: 0.82rem; font-weight: 600; }

.rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1rem 0 0.5rem;
}
.rating-summary .big { font-size: 2.6rem; font-weight: 800; color: var(--dark); }
.rating-summary .stars { color: #f59e0b; }
.rating-summary .count { color: #6b7280; font-size: 0.95rem; }

@media (max-width: 720px) {
    .nav-link { font-size: 0.8rem; padding: 0.4rem 0.6rem; }
    .nav-links { gap: 0.2rem; }
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

/* Content Sections */
.content-section {
    margin-bottom: 4rem;
    padding: 2.6rem;
    border-radius: var(--radius);
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-section h2 {
    color: var(--dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.75rem;
    font-weight: 700;
}

.content-section h2 i {
    color: var(--git-color);
}

.content-section h3 {
    color: var(--secondary);
    margin: 1.5rem 0 1rem;
}

.content-section p {
    margin-bottom: 1.2rem;
    font-size: 1.08rem;
    line-height: 1.8;
    color: #475569;
}

/* Upload Form Styles */
.upload-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    font-size: 0;
    color: transparent;
}

.upload-box {
    padding: 3rem 2rem;
    border: 2.5px dashed var(--git-color);
    border-radius: var(--radius);
    text-align: center;
    background: linear-gradient(180deg, rgba(79, 124, 255, 0.05), rgba(79, 124, 255, 0.02));
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

/* Meow logo shown as the attractive upload icon */
.upload-logo {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 10px 24px rgba(79, 124, 255, 0.3);
    margin-bottom: 1rem;
    animation: uploadLogoPulse 3s ease-in-out infinite;
}
@keyframes uploadLogoPulse {
    0%,100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(3deg); }
}
@media (max-width: 480px) {
    .upload-logo { width: 72px; height: 72px; }
}

.upload-box:hover .upload-logo { animation-play-state: running; }

.upload-box:hover {
    background: rgba(79, 124, 255, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(79, 124, 255, 0.18);
}

.upload-box.drag-over {
    background: rgba(79, 124, 255, 0.12);
    border-color: var(--accent-2);
}

.upload-text {
    font-size: 1.3rem;
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
    width: 100%;
}

.upload-hint {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    width: 100%;
}

.file-name {
    margin-top: 1rem;
    padding: 0.8rem;
    background: rgba(79, 124, 255, 0.1);
    border: 1px solid rgba(79, 124, 255, 0.25);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--secondary);
    font-weight: 500;
    text-align: center;
    width: 100%;
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.option-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.select-input {
    padding: 0.95rem 1rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Segoe UI', sans-serif;
    background: #fff;
    transition: all 0.3s;
    cursor: pointer;
}

.select-input:focus {
    outline: none;
    border-color: var(--git-color);
    box-shadow: 0 0 0 3px rgba(79, 124, 255, 0.2);
}

.select-input option {
    background: white;
    color: #334155;
    padding: 10px;
}

/* Pipeline output picker: Extract Text / Translate Only / Audiobook */
.pipeline-picker {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.8rem;
}

.pipeline-option {
    position: relative;
    cursor: pointer;
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 0.9rem 0.7rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    background: #fff;
    transition: all 0.25s;
}

.pipeline-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pipeline-option .pipe-icon {
    font-size: 1.3rem;
    color: #6c3483;
}

.pipeline-option .pipe-title {
    font-weight: 700;
    color: var(--dark);
    font-size: 0.9rem;
}

.pipeline-option .pipe-sub {
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.3;
}

.pipeline-option:hover {
    border-color: var(--git-color);
}

.pipeline-option.active {
    border-color: var(--git-color);
    background: linear-gradient(135deg, rgba(79, 124, 255, 0.08), rgba(79, 124, 255, 0.02));
    box-shadow: 0 4px 14px rgba(79, 124, 255, 0.15);
}

.test-voice-btn {
    margin-left: 0.45rem;
    padding: 0.22rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c3483;
    background: #f3e9fb;
    border: 1.5px solid #d8c0ec;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    vertical-align: middle;
}

.test-voice-btn:hover {
    background: #e8d7f8;
}

.test-voice-btn:disabled {
    opacity: 0.5;
    cursor: default;
}

.voice-test-msg {
    font-size: 0.78rem;
    color: #8a6d3b;
}

.req-star {
    color: #dc2626;
}

.page-input {
    padding: 0.95rem 1rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Segoe UI', sans-serif;
    transition: all 0.3s;
}

.page-input:focus {
    outline: none;
    border-color: var(--git-color);
    box-shadow: 0 0 0 3px rgba(79, 124, 255, 0.2);
}

/* Submit Button */
.submit-btn {
    background: var(--grad-brand);
    background-size: 200% 100%;
    color: white;
    border: none;
    padding: 1.2rem 2.8rem;
    border-radius: 14px;
    font-size: 1.08rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 4px 18px rgba(79, 124, 255, 0.4);
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.2px;
}

.submit-btn::after {
    content: "";
    position: absolute;
    top: 0; left: -120%;
    width: 60%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s;
}

.submit-btn:hover:not(:disabled)::after { left: 130%; }

.submit-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(79, 124, 255, 0.5);
    background-position: 100% 0;
}

.submit-btn:active:not(:disabled) {
    transform: translateY(-1px);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-left: 6px solid #ffd700;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.info-box:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(45deg);
}

.info-box h4 {
    color: #ffd700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.info-box p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 0;
    color: white;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
}

/* Language Note */
.language-note {
    text-align: center;
    font-size: 0.9rem;
    color: #999;
    margin-top: 1.5rem;
}

/* Loading Overlay */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.loading-overlay.active {
    display: flex;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(102, 126, 234, 0.2);
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* Flash Messages */
.flash-messages {
    margin-bottom: 1.5rem;
}

.flash {
    background: rgba(248, 215, 218, 0.1);
    border-left: 4px solid rgba(220, 53, 69, 0.6);
    color: rgba(255, 255, 255, 0.9);
    padding: 1rem 1.5rem;
    border-radius: 0 12px 12px 0;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    background-color: #f8d7da;
    color: #721c24;
    border-left-color: #f5c6cb;
}

.page-info {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Processing Page Specific Styles */
.processing-section {
    text-align: center;
    padding: 3rem 2rem;
}

.progress-container {
    max-width: 600px;
    margin: 2rem auto;
}

.progress-bar {
    height: 0.75rem;
    background: #e9ecef;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: var(--grad-brand);
    border-radius: 1rem;
    width: 0%;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--git-color);
    margin-bottom: 0.5rem;
}

.progress-status {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.status-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.status-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.status-card h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.status-card p {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .logo { justify-content: center; }
    .header-auth { justify-content: center; }
    
    .container {
        padding: 0 15px;
        margin: 1.5rem auto;
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .upload-box {
        padding: 2rem 1rem;
    }

    .upload-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .upload-tabs .tab-btn {
        padding: 0.6rem 0.8rem !important;
        font-size: 0.85rem !important;
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 0;
        text-align: center;
    }

    .page-info {
        word-break: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    .file-name {
        word-break: break-word;
        overflow-wrap: break-word;
    }

    table td {
        word-break: break-word;
        overflow-wrap: break-word;
    }

    table td:nth-child(2) {
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.25rem;
    }
    
    .content-section h2 {
        font-size: 1.25rem;
    }
    
    .upload-text {
        font-size: 1.1rem;
    }
    
    .submit-btn {
        width: 100%;
    }
}

/* ===== ScanText Hero Section ===== */
.hero {
    text-align: center;
    padding: 3rem 1.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 45%, #ecfdf5 100%);
    border: 1px solid rgba(79, 124, 255, 0.10);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
}

.hero-grid {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 2.5rem;
    align-items: center;
    text-align: left;
}

.hero-text-wrap {
    display: flex;
    flex-direction: column;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #b45309;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 30px;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.title-line {
    display: inline-block;
    white-space: nowrap;
    vertical-align: baseline;
}

.gradient-text {
    background: linear-gradient(90deg, #4f7cff, #8b5cf6, #0d9488, #4f7cff);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.gradient-text .gl,
.hero-title .gl {
    display: inline-block;
    vertical-align: baseline;
    background: linear-gradient(90deg, #4f7cff, #8b5cf6, #0d9488, #4f7cff);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.4rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(79, 124, 255, 0.08);
    border: 1px solid rgba(79, 124, 255, 0.25);
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.45rem 0.95rem;
    border-radius: 30px;
    backdrop-filter: blur(4px);
}

.hero-sub {
    font-size: 1.15rem;
    color: #555;
    max-width: 560px;
    margin: 0 0 1.4rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
}

.hero-stats {
    display: flex;
    justify-content: flex-start;
    gap: 2.6rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--git-color);
    background: linear-gradient(135deg, #4f7cff, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.95rem;
    color: #6b7280;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 2.1rem;
    background: var(--grad-brand);
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(79, 124, 255, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.hero-cta.ghost {
    background: #fff;
    color: var(--git-color);
    border: 2px solid rgba(79, 124, 255, 0.4);
    box-shadow: none;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(79, 124, 255, 0.5);
}

/* ---- Hero cat collage (right column) ---- */
.hero-cats {
    position: relative;
    height: 380px;
}

.hero-cat-photo {
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #fff;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
    position: absolute;
}
.hero-cat-photo.main {
    width: 240px;
    height: 240px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: heroFloatMain 6s ease-in-out infinite;
}
@keyframes heroFloatMain {
    0%,100% { transform: translate(-50%, -52%); }
    50% { transform: translate(-50%, -46%); }
}
.hero-cat-photo-sm {
    width: 104px;
    height: 104px;
    border-radius: 26px;
    position: absolute;
    animation: heroFloatSm 5s ease-in-out infinite;
}
.hero-cat-photo-sm.cute   { top: 6%;  left: 2%;  animation-delay: 0.2s; }
.hero-cat-photo-sm.silly  { bottom: 4%; left: -2%; animation-delay: 0.7s; }
.hero-cat-photo-sm.yawn   { top: 4%;   right: 2%; animation-delay: 1.1s; }
@keyframes heroFloatSm {
    0%,100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-14px) rotate(3deg); }
}

.collage-css {
    position: absolute;
    bottom: 2%;
    right: 4%;
    transform: scale(1.6);
    opacity: 0.85;
    animation: catBounce 1.6s ease-in-out infinite;
}

/* Speech bubble */
.hero-speech-bubble {
    position: absolute;
    bottom: 48%;
    right: -4%;
    max-width: 170px;
    background: #fff;
    border: 2px solid #fbbf24;
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.45;
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    animation: bubbleFloat 5s ease-in-out infinite;
    z-index: 2;
}
.hero-speech-bubble .bubble-tail {
    position: absolute;
    bottom: -12px;
    left: 32px;
    width: 0; height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 12px solid #fbbf24;
}
@keyframes bubbleFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Hero responsive */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-eyebrow { align-self: center; }
    .hero-badges, .hero-actions, .hero-stats { justify-content: center; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-cats { height: 300px; margin-top: 1rem; }
    .hero-title { font-size: 2.3rem; }
}

@media (max-width: 480px) {
    .hero { padding-top: 2.2rem; }
    .hero-title { font-size: 1.85rem; }
    .hero-stats { gap: 1.4rem; }
    .stat-num { font-size: 1.5rem; }
    .hero-cat-photo.main { width: 180px; height: 180px; }
    .hero-cat-photo-sm { width: 80px; height: 80px; }
    .hero-cats { height: 240px; }
    .hero-speech-bubble { font-size: 0.8rem; max-width: 140px; right: 0; }
}

/* ===== Info pages / professional sections ===== */
.info-page {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

/* Steps grid (How It Works) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.step-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.8rem 1.5rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--git-color);
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--grad-brand);
    color: #fff;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(79,124,255,0.35);
}

.step-card h3 {
    color: var(--dark);
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.step-card p {
    font-size: 0.98rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Feature grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem 1.4rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.1);
}

.feature-card i {
    font-size: 2rem;
    color: var(--git-color);
    margin-bottom: 0.8rem;
    filter: drop-shadow(0 4px 8px rgba(79, 124, 255, 0.25));
}

.feature-card h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* Format chips */
.format-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1rem;
}

.format-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    background: #f1f4f8;
    border: 1px solid #dfe4ea;
    border-radius: 30px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--dark);
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.format-chip:hover {
    background: var(--grad-brand);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 14px rgba(79, 124, 255, 0.3);
}

.format-chip i { color: inherit; }

/* FAQ */
.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 0.9rem;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item[open] {
    border-color: rgba(79, 124, 255, 0.4);
    box-shadow: 0 6px 18px rgba(79, 124, 255, 0.08);
}

.faq-item summary {
    cursor: pointer;
    padding: 1.1rem 1.3rem;
    font-weight: 700;
    color: var(--dark);
    font-size: 1.02rem;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::before {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--git-color);
    transition: transform 0.3s;
}

.faq-item summary:hover { background: #f8faff; }

.faq-item[open] summary::before { transform: rotate(180deg); }

.faq-item p {
    padding: 0 1.3rem 1.1rem;
    color: #555;
    font-size: 0.98rem;
    margin: 0;
    line-height: 1.7;
}

/* ===== How to Use page ===== */
.lead-intro {
    font-size: 1.15rem;
    color: #555;
    max-width: 720px;
    margin-bottom: 1.5rem;
}

.instruction-block {
    background: #fff;
    border: 1px solid var(--border);
    border-left: 4px solid var(--git-color);
    border-radius: 12px;
    padding: 1.4rem 1.6rem;
    margin-bottom: 1.2rem;
}

.instruction-block h3 {
    color: var(--dark);
    margin: 0 0 0.9rem;
    font-size: 1.15rem;
}

.instruction-block h3 i { margin-right: 0.4rem; }

.instruction-list {
    margin: 0;
    padding-left: 1.3rem;
    color: #444;
    font-size: 1rem;
    line-height: 2;
}

.instruction-list li::marker {
    color: var(--git-color);
    font-weight: 700;
}

.instruction-list strong { color: var(--dark); }

/* ===== Footer ===== */
.site-footer {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #c9d3df;
    margin-top: 3rem;
    padding: 2rem 1rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.footer-inner h4 {
    color: #fff;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.footer-brand p,
.footer-note p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-links a {
    color: #c9d3df;
    text-decoration: none;
    font-size: 0.98rem;
    transition: color 0.2s;
}

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

.footer-note .copyright {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #8fa0b3;
}

.copyright-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #999;
    text-align: center;
}

/* Footer audiobook highlight strip */
.footer-audiobook-strip{ background:linear-gradient(135deg,#6c3483 0%,#11998e 100%); border-bottom:1px solid rgba(255,255,255,.15); padding:.85rem 1rem; }
.footer-audiobook-inner{ max-width:1200px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; }
.footer-audiobook-text{ display:flex; align-items:center; gap:.8rem; color:#fff; font-size:.93rem; line-height:1.4; }
.footer-audiobook-text i{ font-size:1.35rem; }
.footer-audiobook-text strong{ display:block; font-size:1rem; margin-bottom:.1rem; }
.footer-audiobook-btn{ flex-shrink:0; background:#fff; color:#6c3483; font-weight:700; padding:.5rem 1.15rem; border-radius:999px; text-decoration:none; font-size:.88rem; transition:transform .2s, box-shadow .2s; }
.footer-audiobook-btn:hover{ transform:translateY(-2px); box-shadow:0 6px 16px rgba(0,0,0,.2); }
@media(max-width:560px){ .footer-audiobook-inner{ justify-content:center; text-align:center; } .footer-audiobook-text{ flex-direction:column; gap:.3rem; } }

/* ===== CTA Banner ===== */
.cta-banner {
    background: linear-gradient(135deg, #1e3a8a, #4f7cff, #8b5cf6);
    border-radius: 20px;
    padding: 2.2rem 2rem;
    margin-top: 2.5rem;
    box-shadow: 0 12px 32px rgba(79, 124, 255, 0.3);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    text-align: left;
}

.cta-inner h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

.cta-inner p {
    color: #cfd9e6;
    margin: 0;
    font-size: 1rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: var(--secondary);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 1.6rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

@media (max-width: 640px) {
    .cta-inner { flex-direction: column; text-align: center; }
}

/* =========================================================
   MEOW OCR â€” CSS-drawn cat + fun personality layer
   ========================================================= */

/* ---- Cat mascot (pure CSS) ---- */
.cat {
    position: relative;
    width: 64px;
    height: 54px;
    display: inline-block;
}
.cat .ear { position: absolute; top: 0; width: 0; height: 0; }
.cat .ear-l { left: 6px; border-left: 14px solid transparent; border-right: 14px solid transparent; border-bottom: 18px solid #fbbf24; }
.cat .ear-r { right: 6px; border-left: 14px solid transparent; border-right: 14px solid transparent; border-bottom: 18px solid #fbbf24; }
.cat .ear-in { position: absolute; top: 4px; width: 0; height: 0; }
.cat .ear-in-l { left: 12px; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 11px solid #ffd2a0; }
.cat .ear-in-r { right: 12px; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 11px solid #ffd2a0; }
.cat .face {
    position: absolute; top: 12px; left: 0; width: 64px; height: 42px;
    background: #fbbf24; border-radius: 50% 50% 46% 46%;
}
.cat .eye { position: absolute; top: 22px; width: 8px; height: 10px; background: #1f2937; border-radius: 50%; }
.cat .eye-l { left: 16px; }
.cat .eye-r { right: 16px; }
.cat .nose { position: absolute; top: 30px; left: 30px; width: 6px; height: 5px; background: #f472b6; border-radius: 50% 50% 50% 50%; }
.cat .whisker { position: absolute; top: 30px; height: 2px; background: #92400e; }
.cat .w-l1 { left: -8px; width: 14px; }
.cat .w-l2 { left: -6px; top: 34px; width: 12px; }
.cat .w-r1 { right: -8px; width: 14px; }
.cat .w-r2 { right: -6px; top: 34px; width: 12px; }
.cat .mouth { position: absolute; top: 35px; left: 28px; width: 8px; height: 6px; border-bottom: 2px solid #92400e; border-radius: 0 0 50% 50%; }

.cat-ginger .face { background: #fb923c; }
.cat-ginger .ear { border-bottom-color: #fb923c; }

/* blinking eyes */
.cat.blink .eye { animation: catBlink 4s infinite; }
@keyframes catBlink {
    0%, 90%, 100% { transform: scaleY(1); }
    95% { transform: scaleY(0.1); }
}

/* ---- Dancing / idle cat (anime-driven) ---- */
.cat-dance { animation: catBounce 1.6s ease-in-out infinite; display: inline-block; }
@keyframes catBounce {
    0%, 100% { transform: translateY(0) rotate(-4deg); }
    50% { transform: translateY(-10px) rotate(4deg); }
}

/* ---- Happy cat loader ---- */
.meow-loader {
    display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
}
.meow-loader .cat { transform-origin: 50% 100%; }

/* ---- Cat tagline / paw touches ---- */
.meow-paw {
    color: #f59e0b;
    font-size: inherit;
    line-height: 1;
    vertical-align: baseline;
    margin-left: 0.3rem;
    animation: pewPaw 1.5s ease-in-out infinite;
    display: inline-block;
}
@keyframes pewPaw { 0%,100%{transform:rotate(0)} 50%{transform:rotate(15deg)} }

.meow-tagline {
    color: #fbbf24;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 1rem;
}
.meow-tagline i { margin: 0 0.2rem; }

/* Pink paw-print cursor accent (subtle, on hover areas) - disabled by default to keep professional */
/* body { cursor: url('data:image/svg+xml;utf8,<svg ...>') 2 2, auto; } */

/* ---- Fun 404 cat ---- */
.cat-404 {
    text-align: center;
    padding: 2rem;
}
.cat-404 .big-cat { transform: scale(2.2); margin: 2.5rem auto 2rem; }
.cat-404 h2 { color: var(--dark); margin-bottom: 0.5rem; }
.cat-404 p { color: #6b7280; margin-bottom: 1.5rem; }

/* ---- Cat chips on landing (fun format pills) ---- */
.cat-chip {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: #fff7ed; border: 1px solid #fbbf24;
    color: #92400e; font-weight: 600; padding: 0.5rem 1rem;
    border-radius: 30px; font-size: 0.9rem;
}

/* =========================================================
    MEOW OCR â€” real cat photo layer (CC0 / public domain)
   ========================================================= */
/* NOTE: hero cat collage styles (.hero-cat-photo, .hero-cats,
   .hero-speech-bubble, .collage-css) live in the hero section above. */

/* ---- Cat photo gallery (fun marquee strip) ---- */
.cat-gallery {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0.2rem 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.cat-gallery::-webkit-scrollbar { height: 8px; }
.cat-gallery::-webkit-scrollbar-thumb { background: #fbbf24; border-radius: 8px; }
.cat-card {
    flex: 0 0 auto;
    width: 180px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #f3f4f6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cat-card:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-hover); }
.cat-card img { width: 100%; height: 130px; object-fit: cover; display: block; }
.cat-card .cat-card-name {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    display: flex; align-items: center; gap: 0.35rem;
}
.cat-card .cat-card-name i { color: #f59e0b; }

/* ---- Section mascot photo bubble ---- */
.cat-bubble {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #fff7ed;
    border: 2px dashed #fbbf24;
    color: #92400e;
    padding: 0.4rem 0.6rem;
    border-radius: 30px;
    font-weight: 700;
}
.cat-bubble img {
    width: 34px; height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}

/* ---- Meow "loading cat" with spinning paw ---- */
.cat-loader-photo {
    width: 84px; height: 84px;
    object-fit: cover;              /* fill the circle fully, no white space */
    background: transparent;
    border-radius: 50%;
    border: 3px solid #4f7cff;
    box-shadow: 0 4px 16px rgba(79, 124, 255, 0.3);
    padding: 0;
    transform-origin: center center;
    animation: catLoaderSpin 1.6s linear infinite;
    will-change: transform;
}
@keyframes catLoaderSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.06); }
    100% { transform: rotate(360deg) scale(1); }
}

/* =========================================================
    Info / legal page components (professional + cat touch)
   ========================================================= */

.page-main-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.6rem;
    letter-spacing: -0.4px;
}
.page-main-title i { color: var(--git-color); margin-right: 0.4rem; }

.page-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.info-page-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem 1.8rem;
    margin-bottom: 1.4rem;
    text-align: left;
    box-shadow: 0 4px 16px rgba(15,23,42,0.04);
}
.info-page-box h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.info-page-box h2 i { color: var(--git-color); }
.info-page-box h1 { font-size: 1.3rem; color: var(--dark); margin-bottom: 0.5rem; }
.info-page-box p { font-size: 1rem; color: #4b5563; line-height: 1.75; margin-bottom: 0.7rem; }
.info-page-box p:last-child { margin-bottom: 0; }
.info-page-box ul { margin: 0; }

.tip-box {
    margin-top: 0.9rem;
    padding: 0.75rem 1rem;
    background: #fff7ed;
    border-left: 4px solid #fbbf24;
    border-radius: 8px;
    color: #92400e;
    font-size: 0.92rem;
    line-height: 1.55;
}
.tip-box i { margin-right: 0.4rem; color: #f59e0b; }

/* Page cat mascot chip (bouncing) */
.page-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #fff7ed;
    border: 2px dashed #fbbf24;
    color: #92400e;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    border-radius: 30px;
    margin-bottom: 1rem;
    animation: catChipBob 3s ease-in-out infinite;
}
.page-cat-chip img {
    width: 40px; height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}
@keyframes catChipBob {
    0%,100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-4px) rotate(-2deg); }
}

/* Paw divider */
.paw-divider {
    text-align: center;
    color: #f59e0b;
    font-size: 1.1rem;
    letter-spacing: 0.6rem;
    margin: 1.6rem 0;
    animation: pawShuffle 2.4s ease-in-out infinite;
}
@keyframes pawShuffle {
    0%,100% { opacity: 0.5; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(4px); }
}

/* Small dancing cat near headings */
.heading-cat {
    display: inline-block;
    animation: catDance2 1.8s ease-in-out infinite;
}
@keyframes catDance2 {
    0%,100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-6px) rotate(5deg); }
}

/* Dancing cat next to result / empty states */
.result-cat {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 700;
    color: #92400e;
}
.result-cat img {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fbbf24;
    animation: catDance2 1.8s ease-in-out infinite;
}

/* =========================================================
    Section cat images (steps / features / reviews / FAQ)
   ========================================================= */

/* How It Works - cat photo inside each step card */
.cat-step { padding-top: 1.4rem; }
.step-cat {
    width: 150px;
    height: 110px;
    object-fit: cover;
    border-radius: 16px;
    border: 4px solid #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    margin: 0 auto 1rem;
    display: block;
    transition: transform 0.3s ease;
}
.cat-step:hover .step-cat { transform: rotate(-2deg) scale(1.03); }

/* Why Choose - small cat photo accent above the icon */
.feature-cat {
    width: 84px;
    height: 64px;
    object-fit: cover;
    border-radius: 14px;
    border: 3px solid #fff;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
    margin: 0 auto 0.8rem;
    display: block;
    transition: transform 0.3s ease;
}
.feature-card:hover .feature-cat { transform: translateY(-4px) scale(1.04); }

/* Reviews - round cat avatar at top of the card */
.review-cat {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 8px 18px rgba(0,0,0,0.14);
    margin: 0.3rem auto 0.7rem;
    display: block;
    animation: reviewCatWiggle 4s ease-in-out infinite;
}
@keyframes reviewCatWiggle {
    0%,100% { transform: none; }
    92% { transform: none; }
    96% { transform: rotate(8deg); }
    100% { transform: none; }
}

/* FAQ - dancing cat image beside the FAQ block */
.faq-cat {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 12px 26px rgba(0,0,0,0.14);
    float: right;
    margin: 0 0 1rem 1.5rem;
    animation: faqCatFloat 5s ease-in-out infinite;
}
@keyframes faqCatFloat {
    0%,100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-8px) rotate(2deg); }
}

@media (max-width: 480px) {
    .faq-cat { float: none; display: block; margin: 0 auto 1.2rem; }
    .step-cat { width: 130px; height: 96px; }
    .feature-cat { width: 70px; height: 54px; }
}

/* =========================================================
    Extra anime.js magic layer helpers
   ========================================================= */

/* Floating decorative paw prints drifting up the page */
.paw-drift {
    position: fixed;
    bottom: -40px;
    z-index: 5;
    font-size: 26px;
    opacity: 0;
    pointer-events: none;
    animation-name: pawFloatUp;
    animation-timing-function: linear;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}
@keyframes pawFloatUp {
    0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
    15%  { opacity: 0.35; }
    70%  { opacity: 0.3; }
    100% { transform: translateY(-105vh) rotate(40deg); opacity: 0; }
}

/* Cursor-following paw prints */
.paw-cursor {
    position: fixed;
    z-index: 9999;
    font-size: 26px;
    pointer-events: none;
    opacity: 0;
}

/* Confetti paw burst */
.paw-confetti {
    position: fixed;
    z-index: 9998;
    font-size: 22px;
    pointer-events: none;
    opacity: 0;
}

/* Orbiting paw pinwheel around the hero cat */
.paw-orbit {
    position: absolute;
    font-size: 30px;
    z-index: 3;
    pointer-events: none;
    top: 16%;
    left: 6%;
    animation: pawOrbit 8s linear infinite;
}
@keyframes pawOrbit {
    from { transform: rotate(0deg) translateX(150px) rotate(0deg); }
    to   { transform: rotate(360deg) translateX(150px) rotate(-360deg); }
}
@media (max-width: 480px) {
    .paw-orbit { font-size: 22px; transform-origin: center; }
}

/* =========================================================
   Global responsive + layout polish (desktop & mobile)
   ========================================================= */

/* Prevent horizontal scroll on narrow screens */
body {
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Info page boxes & tips scale nicely on phones */
.info-page-box {
    overflow-wrap: break-word;
}
.tip-box,
.info-page-box,
.page-cat-chip {
    max-width: 100%;
    box-sizing: border-box;
}
.tip-box img,
.page-cat-chip img,
.faq-cat,
.step-cat,
.feature-cat,
.review-cat {
    max-width: 100%;
    height: auto;
}

/* Sticky header that does not overflow on narrow screens */
.header-container {
    width: 100%;
    box-sizing: border-box;
}

/* Make nav rows breathe on very narrow phones */
@media (max-width: 720px) {
    .tools-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .container { padding: 0 12px; }
    .content-section { padding: 1.3rem; border-radius: 14px; }
    .page-main-title { font-size: 1.5rem !important; }
    .page-subtitle { font-size: 0.95rem; }
    .hero-title { font-size: 1.7rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .hero-cta { width: 100%; justify-content: center; }
    .hero-badges { justify-content: center; }
    .footer-inner { gap: 1.25rem; }
}

/* Comfortable touch target sizes on touch devices */
@media (hover: none) {
    .nav-link, .cta-btn, .hero-cta, .format-chip, .submit-btn, .tab-btn, .logout-btn {
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
    }
}

/* Desktop niceties: hover lift is already present; ensure grids never overflow */
.steps-grid,
.feature-grid,
.reviews-grid,
.cat-gallery,
.footer-inner {
    width: 100%;
    min-width: 0;
}
.step-card, .feature-card, .review-card, .cat-card {
    min-width: 0;
}


/* ===== Downloads table ===== */
.downloads-wrap {
    overflow-x: auto;
    margin-top: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.downloads-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
    background: #fff;
}

.downloads-table thead th {
    padding: 0.8rem 0.9rem;
    text-align: left;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #4b5563;
    background: #f1f5f9;
    border-bottom: 2px solid var(--git-color);
    white-space: nowrap;
}

.downloads-table tbody tr {
    border-bottom: 1px solid #eef2f7;
    transition: background 0.15s ease;
}
.downloads-table tbody tr:hover {
    background: #f8fafc;
}

.downloads-table td {
    padding: 0.8rem 0.9rem;
    vertical-align: middle;
    font-size: 0.9rem;
    color: #374151;
}

.downloads-table .col-check { width: 42px; text-align: center; }
.downloads-table .col-num  { width: 52px; text-align: center; color: #9ca3af; }
.downloads-table .col-file { max-width: 240px; min-width: 160px; font-weight: 600; color: #1f2937; overflow-wrap: anywhere; word-break: break-all; }
.downloads-table .col-date { width: 150px; white-space: nowrap; }
.downloads-table .col-type { width: 110px; }
.downloads-table .col-pages{ text-align: center; }
.downloads-table .col-eta  { width: 110px; white-space: nowrap; }
.downloads-table .col-checkpoint { width: 100px; white-space: nowrap; }
.downloads-table .col-status { width: 150px; }
.downloads-table .col-dl   { width: 60px; text-align: center; }
.downloads-table .col-action { white-space: nowrap; }

.downloads-table .st-prog      { color: #f59e0b; font-weight: 600; }
.downloads-table .st-inprog    { color: #f59e0b; font-weight: 600; }
.downloads-table .st-fail      { color: #dc2626; font-weight: 600; }
.downloads-table .st-translate { color: #11998e; font-weight: 600; }
.downloads-table .st-good      { color: var(--git-color); font-weight: 600; }
.downloads-table .st-local     { color: #6b7280; }
.downloads-table .st-muted     { color: #9ca3af; }

.downloads-table .act-link {
    color: var(--git-color);
    font-weight: 600;
    text-decoration: none;
    margin-right: 0.5rem;
}
.downloads-table .act-btn {
    background: #fff;
    border: 1px solid #d1d5db;
    color: #4b5563;
    border-radius: 6px;
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.15s ease;
}
.downloads-table .act-btn:hover {
    border-color: var(--git-color);
    color: var(--git-color);
}
.downloads-table .act-link.act-btn { border-color: var(--git-color); color: var(--git-color); }
.downloads-table .act-trans     { color: #11998e; font-weight: 600; text-decoration: none; margin-right: 0.5rem; }
.downloads-table .act-danger    { color: #dc2626; border-color: #dc2626; }
.downloads-table .act-danger:hover { background: #dc2626; color: #fff; }
.downloads-table .act-progclass { color: #f59e0b; font-weight: 600; text-decoration: none; margin-right: 0.5rem; }

/* ===== Ad containers (Adsterra) ===== */
.ad-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 1.5rem auto;
    overflow: hidden;
}
.ad-container.ad-leaderboard { max-width: 728px; }
.ad-container.ad-inpage     { max-width: 336px; }
.ad-container.ad-popunder   { display: none; } /* injected via script, hidden container */

.ad-label {
    display: block;
    width: 100%;
    max-width: 728px;
    text-align: center;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.5rem;
    opacity: 0.75;
}
.ad-inner { width: 100%; display: flex; justify-content: center; }
.ad-inner iframe,
.ad-inner ins,
.ad-inner div { max-width: 100%; }

/* top-of-page leaderboard sits cleanly under the header */
.ad-leaderboard-top { margin-top: 0.5rem; }

@media (max-width: 768px) {
    .ad-container { margin: 1rem auto; }
    .ad-inner iframe { max-width: 100% !important; }
}

/* Polite anti-adblock fallback notice (shown only when an ad is blocked) */
.ad-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 728px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: var(--muted);
    background: linear-gradient(135deg, #f6f8ff 0%, #fdf4ff 100%);
    border: 1px dashed var(--border);
    border-radius: 12px;
    text-align: center;
    line-height: 1.4;
}
.ad-fallback i { color: var(--accent); }

/* ===== Handwritten Notes (AI) scanner ===== */
.hw-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 680px;
    margin: 1.5rem auto;
    padding: 1.5rem;
    text-align: center;
}

.hw-drop {
    border: 2px dashed var(--accent);
    border-radius: var(--radius);
    background: #f6f8ff;
    padding: 2rem 1.5rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.hw-drop.over {
    background: #eef2ff;
    border-color: var(--accent-2);
    transform: scale(1.01);
}

.hw-icon {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.hw-title {
    font-weight: 700;
    color: var(--dark);
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.hw-hint {
    color: var(--muted);
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.hw-choose {
    background: var(--grad-brand);
    color: #fff;
    border: none;
    padding: 0.65rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hw-choose:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 124, 255, 0.35);
}

.hw-name {
    margin-top: 0.75rem;
    color: var(--teal);
    font-weight: 600;
    font-size: 0.9rem;
    word-break: break-all;
}

.hw-status {
    margin: 1rem auto;
    color: var(--accent);
    font-weight: 600;
}

.hw-result textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.9rem;
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    background: #fdfdfe;
    color: var(--dark);
}

.hw-actions {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.9rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hw-btn {
    border: 1px solid var(--border);
    background: #fff;
    color: var(--dark);
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hw-btn:hover {
    background: var(--grad-brand);
    color: #fff;
    border-color: transparent;
}

.hw-error {
    margin-top: 1rem;
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

/* ---- Confidence highlight chips (result page) ---- */
.conf-chip {
    display: inline-block;
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #9a3412;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.15rem 0.6rem;
    border-radius: 20px;
    margin: 0.2rem 0.25rem 0 0;
}

/* ---- Hero audiobook highlight (home page) ---- */
.hero-sub .hero-audio-strong {
    color: #6c3483;
    font-weight: 800;
    border-bottom: 2px solid #e2d6f1;
}
.hero-cta.audio {
    background: linear-gradient(135deg, #8e44ad 0%, #11998e 100%);
    box-shadow: 0 10px 26px rgba(142, 68, 173, 0.35);
}

/* ---- About Your Audiobook (home page) ---- */
.audiobook-info-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 1.5rem;
    align-items: start;
    background: linear-gradient(135deg, #f9f0ff 0%, #fff5f0 100%);
    border: 1px solid #e5d9f0;
}
.audiobook-perks {
    list-style: none;
    display: grid;
    gap: 0.7rem;
    padding: 0;
    margin: 0;
}
.audiobook-perks li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--dark);
    background: #fff;
    border: 1px solid #e8e2f1;
    border-left: 3px solid var(--git-color);
    border-radius: 10px;
    padding: 0.65rem 0.9rem;
    box-shadow: 0 2px 8px rgba(79, 124, 255, 0.06);
}
.audiobook-perks li i {
    color: #11998e;
    font-size: 1.05rem;
}

/* ---- Audiobook Studio: speed / pitch reset (and sample demo player) ---- */
.ab-range-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.15rem;
}
.ab-range-tools label {
    margin: 0;
}
.ab-reset-btn {
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 700;
    color: #6c3483;
    background: #f5ecfb;
    border: 1px solid #e2d6f1;
    border-radius: 16px;
    padding: 0.22rem 0.6rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.ab-reset-btn:hover {
    background: #ead9f7;
}
.sample-audio-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
    background: linear-gradient(135deg, #f9f0ff 0%, #fff5f0 100%);
    border: 1px solid #e5d9f0;
    border-radius: 14px;
    padding: 0.85rem 1.1rem;
    margin: 1.25rem auto 0;
    max-width: 720px;
    box-shadow: 0 8px 22px rgba(108, 52, 131, 0.10);
}
.sample-audio-ico {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #8e44ad 0%, #11998e 100%);
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 6px 14px rgba(142, 68, 173, 0.30);
}
.sample-audio-card .sample-audio-meta { flex: 1 1 130px; min-width: 130px; }
.sample-audio-card .sample-audio-meta strong { display: block; font-size: 0.95rem; color: var(--dark); }
.sample-audio-card .sample-audio-meta span { font-size: 0.8rem; color: #6b7280; }
.sample-audio-card audio { flex: 1 1 200px; min-width: 200px; height: 38px; }
.sample-audio-langs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    flex: 1 1 100%;
}
.sample-chip {
    border: 1px solid #e2d6f1;
    background: #fff;
    color: #6c3483;
    border-radius: 20px;
    padding: 0.28rem 0.7rem;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.sample-chip i { margin-right: 0.25rem; color: #8e44ad; }
.sample-chip:hover { background: #f5ecfb; transform: translateY(-1px); }
.sample-chip.active {
    background: linear-gradient(135deg, #8e44ad 0%, #11998e 100%);
    color: #fff;
    border-color: transparent;
}
.sample-chip.active i { color: #ffeaa7; }

/* =========================================================
   Global responsive + layout polish (all pages, mobile & desktop)
   ========================================================= */

/* Images and media never force a page wider than the screen */
img,
video,
iframe,
canvas,
svg {
    max-width: 100%;
    height: auto;
}

/* Long words / urls wrap instead of overflowing cards & tables */
h1, h2, h3, h4, h5, h6, p, li, td, th, label, a, span, small, figcaption, blockquote, pre, code {
    overflow-wrap: break-word;
}

/* Info-page section titles (e.g. How It Works audiobook section) */
.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    margin: 2.4rem 0 1rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    line-height: 1.35;
}
.section-title i { color: var(--teal); }
.section-title::after {
    content: "";
    flex: 1 1 auto;
    height: 2px;
    min-width: 48px;
    background: linear-gradient(90deg, rgba(13, 148, 136, 0.5), transparent);
    border-radius: 2px;
}

/* Audiobook-teal step icons on info pages */
.step-icon-audio {
    background: linear-gradient(135deg, #0f766e 0%, #11998e 100%);
    box-shadow: 0 8px 18px rgba(17, 153, 142, 0.35);
}

/* Audiobook chip + teal CTA banner (shared across pages) */
.format-chip.chip-audio {
    background: linear-gradient(135deg, #ecfdf9 0%, #d6f5ee 100%);
    border-color: rgba(17, 153, 142, 0.4);
    color: #0f766e;
}
.cta-banner.audio-cta {
    background: linear-gradient(135deg, #0f766e 0%, #11998e 50%, #38ef7d 130%);
    box-shadow: 0 12px 32px rgba(17, 153, 142, 0.28);
}
.cta-banner.audio-cta .cta-inner h3 { color: #fff; }
.cta-banner.audio-cta .cta-inner p { color: #d5f5ec; }
.cta-banner.audio-cta .cta-btn { color: #0f766e; }

/* Every grid/row container protects against overflow and always fills its parent */
.steps-grid,
.feature-grid,
.reviews-grid,
.cat-gallery,
.options-grid,
.upload-tabs,
.tools-grid,
.steps-row,
.hero-cats,
.toast-row,
.downloads-wrap,
.heading-cat,
.format-chip-row,
.info-page-box,
.footer-inner {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Keep header nav tidy when it wraps on small screens */
@media (max-width: 900px) {
    .header-container { gap: 0.6rem; padding: 0 16px; }
    .nav-links { justify-content: center; row-gap: 0.35rem; }
    .cta-inner { text-align: left; }
}
@media (max-width: 480px) {
    .logo { justify-content: center; width: 100%; }
    .nav-links { width: 100%; }
    .section-title { font-size: 1.3rem; }
    .format-chip { font-size: 0.85rem; padding: 0.45rem 0.8rem; }
    .tip-box { padding: 0.85rem 0.9rem; font-size: 0.9rem; }
}
@media (max-width: 720px) {
    .audiobook-info-grid { grid-template-columns: 1fr; }
    .sample-audio-card audio { width: 100%; min-width: 0; }
    .ab-range-tools { gap: 0.35rem; }
}

/* Fast read-only blocks wrap rather than overflow */
pre, code {
    white-space: pre-wrap;
    word-break: break-word;
}

/* =========================================================
   PRO TIP callout — premium expert hint (shared across pages)
   ========================================================= */
.pro-tip {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-top: 1rem;
    padding: 1rem 1.15rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #fffdf5 0%, #fff6e3 55%, #ffefd2 100%);
    border: 1px solid #f1dcb0;
    border-left: 4px solid #f59e0b;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.10);
    font-size: 0.95rem;
    line-height: 1.65;
    color: #6b5322;
}
.pro-tip-ico {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    font-size: 1.05rem;
    box-shadow: 0 6px 14px rgba(217, 119, 6, 0.28);
}
.pro-tip-body { min-width: 0; flex: 1; }
.pro-tip .pro-tip-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #92400e;
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(217, 119, 6, 0.3);
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    margin-bottom: 0.3rem;
}
.pro-tip p { margin: 0; overflow-wrap: break-word; }
.pro-tip strong { color: #7c4a03; }
@media (max-width: 480px) {
    .pro-tip { padding: 0.9rem 0.95rem; }
}
