/* ================================================================
   PDFITO.IN v2 — The 100x CSS
   Smooth animations, professional polish, mobile-perfect
   ================================================================ */

:root {
    --bg: #06060B;
    --bg2: #0B0B14;
    --bg3: #13131F;
    --bg4: #1C1C2E;
    --text: #F5F5F7;
    --text2: rgba(245,245,247,0.65);
    --text3: rgba(245,245,247,0.35);
    --text4: rgba(245,245,247,0.15);
    --orange: #FF6B35;
    --gold: #FFB627;
    --green: #00D084;
    --red: #FF4757;
    --blue: #5AC8FA;
    --border: rgba(255,255,255,0.06);
    --border2: rgba(255,255,255,0.1);
    --radius: 16px;
    --radius-sm: 10px;
    --font: 'Outfit', 'Noto Sans Devanagari', system-ui, -apple-system, sans-serif;
    --shadow: 0 20px 60px -20px rgba(255,107,53,0.3);
    --shadow-sm: 0 4px 20px rgba(0,0,0,0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background glow effect */
body::before {
    content: '';
    position: fixed;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 400px;
    background: radial-gradient(ellipse, rgba(255,107,53,0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--orange); }

button { font-family: var(--font); cursor: pointer; }

/* ================================================================
   HEADER
   ================================================================ */
.header {
    position: sticky; top: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px;
    background: rgba(6,6,11,0.75);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border);
}

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }

.logo-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, #FF6B35 0%, #D62828 50%, #1D3557 100%);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 900; color: #fff;
    box-shadow: 0 8px 24px rgba(255,107,53,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
    position: relative;
}
.logo-icon::after {
    content: ''; position: absolute; inset: 0; border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    pointer-events: none;
}

.logo-text {
    font-size: 22px; font-weight: 800;
    background: linear-gradient(135deg, #FFB627 0%, #FF6B35 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.8px;
}

.nav { display: flex; gap: 6px; }

.nav-link {
    padding: 6px 12px;
    font-size: 13px; font-weight: 600;
    color: var(--text2);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
}
.nav-link:hover { color: var(--gold); background: rgba(255,255,255,0.04); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
    text-align: center;
    padding: 56px 20px 32px;
    position: relative;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px;
    background: rgba(255,107,53,0.08);
    border: 1px solid rgba(255,107,53,0.2);
    border-radius: 100px;
    font-size: 12px; font-weight: 600;
    color: var(--gold);
    margin-bottom: 20px;
    animation: fadeInDown 0.6s ease-out;
}

.hero-badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px var(--green);
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 32px; font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: -1.2px;
    animation: fadeInUp 0.7s 0.1s ease-out both;
}

.hero-title-hi {
    font-size: 15px;
    color: var(--text2);
    margin-bottom: 12px;
    animation: fadeInUp 0.7s 0.2s ease-out both;
}

.gradient-text {
    background: linear-gradient(135deg, #FFB627 0%, #FF6B35 50%, #FF4757 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-sub {
    font-size: 14px;
    color: var(--text3);
    margin-bottom: 28px;
    animation: fadeInUp 0.7s 0.3s ease-out both;
}

/* Search */
.search-box {
    max-width: 560px;
    margin: 0 auto 24px;
    position: relative;
    animation: fadeInUp 0.7s 0.4s ease-out both;
}

.search-icon {
    position: absolute; left: 18px; top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    opacity: 0.4;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 16px 20px 16px 48px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border2);
    border-radius: var(--radius);
    color: #fff;
    font-size: 15px;
    font-family: var(--font);
    outline: none;
    transition: all 0.3s;
}
.search-input:focus {
    border-color: var(--orange);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 0 4px rgba(255,107,53,0.1);
}
.search-input::placeholder { color: var(--text3); }

/* Trust Bar */
.trust-bar {
    display: flex; justify-content: center;
    gap: 28px; padding: 20px 0;
    flex-wrap: wrap;
    animation: fadeInUp 0.7s 0.5s ease-out both;
}

.trust-item { text-align: center; }

.trust-num {
    display: block;
    font-size: 22px; font-weight: 800;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.trust-label {
    font-size: 11px;
    color: var(--text3);
    margin-top: 4px;
}

/* ================================================================
   CATEGORY TABS
   ================================================================ */
.cat-tabs {
    display: flex; justify-content: center;
    gap: 8px; padding: 8px 16px 20px;
    overflow-x: auto;
    scrollbar-width: none;
}
.cat-tabs::-webkit-scrollbar { display: none; }

.cat-tab {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border2);
    border-radius: 12px;
    color: var(--text2);
    font-size: 13px; font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s;
    font-family: var(--font);
}
.cat-tab:hover { color: var(--text); border-color: rgba(255,255,255,0.15); }
.cat-tab.active {
    background: linear-gradient(135deg, rgba(255,107,53,0.15), rgba(255,182,39,0.1));
    border-color: rgba(255,107,53,0.4);
    color: var(--gold);
}
.cat-count {
    padding: 2px 7px;
    background: rgba(255,255,255,0.1);
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
}
.cat-tab.active .cat-count { background: rgba(255,182,39,0.2); color: var(--gold); }

/* ================================================================
   TOOL SECTIONS & GRID
   ================================================================ */
.tool-section {
    padding: 24px 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title-hi {
    font-weight: 400;
    font-size: 14px;
    color: var(--text2);
}

.section-sub {
    font-size: 13px;
    color: var(--text3);
    margin-bottom: 16px;
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.tool-card {
    position: relative;
    display: block;
    padding: 22px 16px 18px;
    background: linear-gradient(180deg, var(--bg2) 0%, var(--bg3) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--card-color, var(--orange));
    opacity: 0;
    transition: opacity 0.3s;
}

.tool-card::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 100%; height: 100%;
    background: radial-gradient(circle, var(--card-color, var(--orange)) 0%, transparent 70%);
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s;
    pointer-events: none;
}

.tool-card:hover {
    transform: translateY(-4px);
    border-color: var(--card-color, var(--orange));
    box-shadow: 0 12px 40px -10px var(--card-color, rgba(255,107,53,0.2));
    text-decoration: none;
    color: var(--text);
}
.tool-card:hover::before { opacity: 1; }
.tool-card:hover::after { opacity: 0.08; }

.tool-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
    filter: grayscale(0.3);
    transition: filter 0.3s, transform 0.3s;
}
.tool-card:hover .tool-icon {
    filter: grayscale(0);
    transform: scale(1.1);
}

.tool-name {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
    letter-spacing: -0.2px;
}

.tool-name-hi {
    font-size: 11px;
    color: var(--text2);
    margin-bottom: 6px;
    font-weight: 500;
}

.tool-desc {
    font-size: 11px;
    color: var(--text3);
    line-height: 1.4;
}

.india-badge {
    position: absolute;
    top: 8px; right: 8px;
    padding: 2px 6px;
    background: linear-gradient(135deg, #FF9933, #FFD700);
    color: #000;
    font-size: 9px;
    font-weight: 800;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* ================================================================
   TOOL PAGE
   ================================================================ */
.breadcrumb {
    padding: 14px 20px;
    font-size: 12px;
    color: var(--text3);
    max-width: 720px;
    margin: 0 auto;
}
.breadcrumb a { color: var(--text3); font-weight: 500; }
.breadcrumb a:hover { color: var(--gold); }

.tool-hero {
    text-align: center;
    padding: 32px 20px 24px;
    position: relative;
}
.tool-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 300px; height: 150px;
    background: radial-gradient(ellipse, color-mix(in srgb, var(--tool-color) 15%, transparent) 0%, transparent 70%);
    pointer-events: none;
}

.tool-hero-icon {
    font-size: 56px;
    display: inline-block;
    margin-bottom: 12px;
    position: relative;
    animation: bounceIn 0.6s ease-out;
}

.tool-hero-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.6px;
    animation: fadeInUp 0.6s 0.1s ease-out both;
}

.tool-hero-desc {
    font-size: 15px;
    color: var(--text2);
    animation: fadeInUp 0.6s 0.2s ease-out both;
}

.tool-hero-desc-hi {
    font-size: 13px;
    color: var(--text3);
    margin-top: 4px;
    animation: fadeInUp 0.6s 0.3s ease-out both;
}

/* ================================================================
   WORKSPACE — Upload & Process UI
   ================================================================ */
.tool-workspace {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 20px 32px;
}

/* Drop Zone */
.drop-zone {
    position: relative;
    border: 2px dashed var(--border2);
    border-radius: 24px;
    padding: 48px 20px;
    text-align: center;
    cursor: pointer;
    background: radial-gradient(ellipse at center, rgba(255,107,53,0.02) 0%, transparent 70%);
    transition: all 0.3s;
    margin-bottom: 16px;
    overflow: hidden;
}

.drop-zone::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255,107,53,0.03) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}
.drop-zone:hover::before { transform: translateX(100%); }

.drop-zone:hover, .drop-zone.drag-active {
    border-color: var(--orange);
    background: radial-gradient(ellipse at center, rgba(255,107,53,0.08) 0%, transparent 70%);
    transform: scale(1.01);
}

.drop-zone.drag-active {
    border-style: solid;
    box-shadow: 0 0 0 6px rgba(255,107,53,0.1);
}

.drop-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 14px;
    animation: float 3s ease-in-out infinite;
}

.drop-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.drop-text-hi {
    font-size: 13px;
    color: var(--text2);
    margin-bottom: 10px;
}

.drop-formats {
    display: inline-flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

.format-chip {
    padding: 3px 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 11px;
    color: var(--text3);
    font-weight: 600;
}

/* File Preview Grid — THE 100x FEATURE */
.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
    padding: 16px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.preview-item {
    position: relative;
    aspect-ratio: 3/4;
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: grab;
    transition: all 0.2s;
    user-select: none;
}
.preview-item:hover {
    border-color: var(--orange);
    transform: scale(1.02);
    box-shadow: var(--shadow-sm);
}
.preview-item.dragging { opacity: 0.5; cursor: grabbing; }

.preview-thumb {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

.preview-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 36px;
    color: var(--text3);
    background: linear-gradient(135deg, var(--bg3), var(--bg4));
}

.preview-num {
    position: absolute;
    top: 6px; left: 6px;
    width: 24px; height: 24px;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
}

.preview-remove {
    position: absolute;
    top: 6px; right: 6px;
    width: 24px; height: 24px;
    background: rgba(255,71,87,0.85);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.2s;
}
.preview-remove:hover { transform: scale(1.15); background: var(--red); }

.preview-name {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 6px 8px;
    background: linear-gradient(0deg, rgba(0,0,0,0.85), transparent);
    font-size: 10px;
    color: #fff;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* File List (non-preview) */
.file-list {
    margin-bottom: 16px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
    animation: slideIn 0.3s ease-out;
}

.file-icon-sm {
    width: 38px; height: 38px;
    background: var(--bg4);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 2px;
}

.file-size {
    font-size: 11px;
    color: var(--text3);
}

.file-remove {
    background: rgba(255,71,87,0.1);
    border: none;
    border-radius: 8px;
    padding: 6px 10px;
    color: var(--red);
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s;
}
.file-remove:hover { background: rgba(255,71,87,0.2); }

.add-more-btn {
    width: 100%;
    padding: 12px;
    background: rgba(255,107,53,0.06);
    border: 1px dashed rgba(255,107,53,0.3);
    border-radius: var(--radius-sm);
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 6px;
    transition: all 0.2s;
}
.add-more-btn:hover {
    background: rgba(255,107,53,0.12);
    border-color: var(--orange);
}

/* Options */
.tool-options {
    padding: 16px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 16px;
    animation: fadeIn 0.3s ease-out;
}

.option-label-group {
    font-size: 12px;
    font-weight: 600;
    color: var(--text2);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.option-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.option-row:last-child { margin-bottom: 0; }

.option-row label {
    font-size: 13px;
    color: var(--text2);
    min-width: 70px;
}

.opt-input, .opt-select {
    padding: 10px 14px;
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    outline: none;
    font-family: var(--font);
    transition: border-color 0.2s;
}
.opt-input:focus, .opt-select:focus { border-color: var(--orange); }
.opt-input { width: 110px; }
.opt-wide { width: 220px; }
.opt-select { min-width: 180px; cursor: pointer; }

/* Quality slider */
.slider-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

input[type="range"] {
    flex: 1;
    height: 4px;
    background: var(--bg4);
    border-radius: 100px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px; height: 18px;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255,107,53,0.4);
    transition: transform 0.2s;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); }

.option-val {
    min-width: 56px;
    padding: 4px 10px;
    background: rgba(255,107,53,0.1);
    border: 1px solid rgba(255,107,53,0.2);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    text-align: center;
}

.rot-btn {
    padding: 10px 18px;
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: 10px;
    color: var(--text2);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.rot-btn:hover { border-color: var(--border2); color: var(--text); }
.rot-btn.active {
    background: linear-gradient(135deg, rgba(255,107,53,0.15), rgba(255,182,39,0.1));
    border-color: var(--orange);
    color: var(--gold);
    box-shadow: 0 2px 12px rgba(255,107,53,0.2);
}

/* Process Button */
.process-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #FF6B35 0%, #D62828 50%, #1D3557 100%);
    border: none;
    border-radius: var(--radius);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow: 0 8px 32px -8px rgba(255,107,53,0.5);
    transition: all 0.3s;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.process-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.process-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px -8px rgba(255,107,53,0.6);
}
.process-btn:hover:not(:disabled)::before { left: 100%; }

.process-btn:active:not(:disabled) { transform: translateY(0); }

.process-btn:disabled { opacity: 0.7; cursor: not-allowed; }

/* Progress Bar */
.progress-wrap {
    background: var(--bg3);
    border-radius: 100px;
    height: 6px;
    overflow: hidden;
    margin-top: 12px;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--orange), var(--gold));
    border-radius: 100px;
    transition: width 0.3s ease-out;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 1.5s infinite;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text3);
}

/* Results */
.results {
    background: linear-gradient(135deg, rgba(0,208,132,0.06), rgba(0,208,132,0.02));
    border: 1px solid rgba(0,208,132,0.2);
    border-radius: var(--radius);
    padding: 24px;
    animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.result-success {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 16px;
}

.result-success-icon {
    width: 32px; height: 32px;
    background: rgba(0,208,132,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    animation: checkmark 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.result-item:first-of-type { border-top: none; }

.result-info { flex: 1; min-width: 0; }

.result-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.result-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text3);
}

.size-saved {
    color: var(--green);
    font-weight: 700;
    background: rgba(0,208,132,0.1);
    padding: 2px 8px;
    border-radius: 100px;
}

.download-btn {
    background: linear-gradient(135deg, rgba(0,208,132,0.2), rgba(0,208,132,0.1));
    border: 1px solid rgba(0,208,132,0.4);
    border-radius: 10px;
    padding: 10px 20px;
    color: var(--green);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.download-btn:hover {
    background: linear-gradient(135deg, rgba(0,208,132,0.3), rgba(0,208,132,0.15));
    transform: translateY(-1px);
    text-decoration: none;
    color: var(--green);
}

.result-error {
    background: rgba(255,71,87,0.08);
    border: 1px solid rgba(255,71,87,0.25);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--red);
    font-size: 14px;
    margin-bottom: 12px;
}

.reset-btn {
    width: 100%;
    padding: 14px;
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: 12px;
    color: var(--text2);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 14px;
    transition: all 0.2s;
}
.reset-btn:hover {
    border-color: var(--orange);
    color: var(--text);
}

.privacy-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0,208,132,0.05);
    border: 1px solid rgba(0,208,132,0.15);
    border-radius: 12px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--text2);
}

.privacy-icon {
    color: var(--green);
    font-size: 14px;
}

/* ================================================================
   SEO CONTENT
   ================================================================ */
.tool-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 20px;
}

.tool-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 32px 0 12px;
    letter-spacing: -0.3px;
}
.tool-content h2:first-child { margin-top: 0; }

.tool-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 8px;
}

.tool-content p {
    font-size: 14px;
    color: var(--text2);
    line-height: 1.75;
    margin-bottom: 12px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 24px 0;
}

.step {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}
.step:hover {
    border-color: rgba(255,107,53,0.3);
    transform: translateY(-2px);
}

.step-num {
    display: inline-flex;
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--orange), var(--gold));
    border-radius: 50%;
    align-items: center; justify-content: center;
    font-size: 15px; font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    box-shadow: 0 4px 16px rgba(255,107,53,0.3);
}

.step p {
    font-size: 13px;
    color: var(--text2);
    line-height: 1.5;
    margin: 0;
}

/* FAQ */
.faq-list { margin-top: 16px; }

.faq-item {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: all 0.2s;
}
.faq-item[open] {
    border-color: rgba(255,107,53,0.3);
    background: var(--bg3);
}

.faq-q {
    padding: 16px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.faq-q::-webkit-details-marker { display: none; }

.faq-q::after {
    content: '+';
    font-size: 22px;
    font-weight: 300;
    color: var(--text3);
    transition: all 0.3s;
    flex-shrink: 0;
}
.faq-item[open] .faq-q::after {
    transform: rotate(45deg);
    color: var(--orange);
}

.faq-a {
    padding: 0 18px 16px;
    font-size: 13px;
    color: var(--text2);
    line-height: 1.65;
}

/* Related Tools */
.related-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.related-section h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
}

/* SEO block on home */
.seo-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 20px;
    border-top: 1px solid var(--border);
}

.seo-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
}

.seo-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 24px 0 8px;
}

.seo-content p {
    font-size: 14px;
    color: var(--text2);
    line-height: 1.75;
    margin-bottom: 12px;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
    border-top: 1px solid var(--border);
    padding: 40px 20px 24px;
    max-width: 1100px;
    margin: 40px auto 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 28px;
    margin-bottom: 32px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
    letter-spacing: 0.3px;
}

.footer-col a {
    display: block;
    font-size: 12px;
    color: var(--text3);
    margin-bottom: 8px;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }

.footer-note {
    font-size: 12px;
    color: var(--text3);
    margin-bottom: 6px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text3);
    margin-bottom: 4px;
}

.footer-hindi {
    font-size: 11px !important;
    color: var(--text3) !important;
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes checkmark {
    0% { transform: scale(0) rotate(-45deg); }
    50% { transform: scale(1.2) rotate(0deg); }
    100% { transform: scale(1) rotate(0deg); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinning { animation: spin 0.8s linear infinite; display: inline-block; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (min-width: 640px) {
    .hero-title { font-size: 42px; }
    .tool-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
    .tool-hero-title { font-size: 32px; }
    .tool-hero-icon { font-size: 64px; }
}

@media (min-width: 900px) {
    .hero-title { font-size: 54px; }
    .hero-sub { font-size: 16px; }
    .tool-grid { grid-template-columns: repeat(5, 1fr); gap: 14px; }
}

@media (min-width: 1200px) {
    .tool-grid { grid-template-columns: repeat(6, 1fr); }
}

/* Tablet optimization */
@media (min-width: 640px) and (max-width: 899px) {
    .tool-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Touch device optimization */
@media (hover: none) {
    .tool-card:hover { transform: none; }
    .drop-zone:hover { transform: none; }
}

/* Print styles */
@media print {
    .header, .footer, .search-box, .trust-bar, .cat-tabs { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ================================================================
   V3 ADDITIONS — PDF Editor, Signature, Diff, Featured Banner
   ================================================================ */

/* CTA in nav */
.nav-cta {
    background: linear-gradient(135deg, rgba(255,0,110,0.15), rgba(255,107,53,0.1));
    border: 1px solid rgba(255,0,110,0.3);
}
.nav-cta:hover {
    background: linear-gradient(135deg, rgba(255,0,110,0.25), rgba(255,107,53,0.15));
    color: #FF006E;
}

/* Featured Banner */
.featured-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 560px;
    margin: 0 auto 24px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(255,0,110,0.15) 0%, rgba(255,107,53,0.1) 100%);
    border: 1px solid rgba(255,0,110,0.3);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
    animation: fadeInUp 0.7s 0.5s ease-out both;
}
.featured-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px -8px rgba(255,0,110,0.3);
    text-decoration: none;
    color: var(--text);
    border-color: #FF006E;
}
.featured-content {
    display: flex; align-items: center; gap: 14px;
    text-align: left;
}
.featured-badge {
    padding: 4px 10px;
    background: linear-gradient(135deg, #FF006E, #FF6B35);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    border-radius: 6px;
    letter-spacing: 1px;
    flex-shrink: 0;
}
.featured-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 2px;
    line-height: 1.2;
}
.featured-desc {
    font-size: 12px;
    color: var(--text2);
    margin: 0;
}
.featured-arrow {
    font-size: 24px;
    color: #FF006E;
    flex-shrink: 0;
    transition: transform 0.3s;
}
.featured-banner:hover .featured-arrow { transform: translateX(4px); }

/* ================================================================
   PDF EDITOR
   ================================================================ */
.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    position: sticky;
    top: 70px;
    z-index: 20;
    backdrop-filter: blur(20px);
}

.ed-tool {
    padding: 9px 14px;
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: 10px;
    color: var(--text2);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font);
    flex: 1 1 auto;
    min-width: 80px;
    text-align: center;
}
.ed-tool:hover { border-color: rgba(255,107,53,0.4); color: var(--text); }
.ed-tool.active {
    background: linear-gradient(135deg, rgba(255,0,110,0.2), rgba(255,107,53,0.15));
    border-color: #FF006E;
    color: #fff;
    box-shadow: 0 2px 12px rgba(255,0,110,0.2);
}

.editor-color-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 14px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--text2);
}
.editor-color-bar input[type="color"] {
    width: 36px; height: 32px;
    border: 1px solid var(--border2);
    border-radius: 8px;
    cursor: pointer;
    background: transparent;
}

.editor-pages {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.editor-page-wrap {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    width: 100%;
    max-width: 824px;
    text-align: center;
}

.editor-page-num {
    font-size: 11px;
    font-weight: 700;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.editor-canvas-wrap {
    position: relative;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    overflow: hidden;
}

.editor-pdf-canvas, .editor-edit-canvas {
    position: absolute;
    top: 0; left: 0;
    display: block;
}

.editor-edit-canvas {
    cursor: crosshair;
    z-index: 2;
}

/* ================================================================
   SIGNATURE MODAL
   ================================================================ */
.sig-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.25s ease-out;
}

.sig-modal-content {
    background: var(--bg2);
    border: 1px solid var(--border2);
    border-radius: 20px;
    padding: 24px;
    max-width: 540px;
    width: 100%;
    animation: scaleIn 0.3s ease-out;
}

.sig-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.sig-tab {
    flex: 1;
    padding: 10px;
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: 10px;
    color: var(--text2);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.sig-tab.active {
    background: linear-gradient(135deg, rgba(255,107,53,0.2), rgba(255,182,39,0.1));
    border-color: var(--orange);
    color: var(--gold);
}

.sig-canvas {
    width: 100%;
    background: #fff;
    border: 1px solid var(--border2);
    border-radius: 10px;
    cursor: crosshair;
    touch-action: none;
}

.sig-clear {
    margin-top: 8px;
    padding: 8px 16px;
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: 8px;
    color: var(--text2);
    font-size: 12px;
    cursor: pointer;
}

.sig-text-input {
    width: 100%;
    padding: 14px;
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: 10px;
    color: #fff;
    font-size: 24px;
    font-family: cursive;
    margin-bottom: 10px;
}

.sig-font-select {
    width: 100%;
    padding: 10px;
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: 10px;
    color: #fff;
}

/* ================================================================
   PDF COMPARE — Diff Output
   ================================================================ */
.stat-box {
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}
.stat-num {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-label {
    font-size: 10px;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.diff-output {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px;
    max-height: 400px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.6;
    margin-top: 10px;
}

.diff-line {
    padding: 2px 4px;
    color: var(--text2);
    white-space: pre-wrap;
    word-break: break-all;
}
.diff-line.diff-add {
    background: rgba(0,208,132,0.1);
    color: var(--green);
    border-left: 2px solid var(--green);
    padding-left: 8px;
}
.diff-line.diff-remove {
    background: rgba(255,71,87,0.1);
    color: var(--red);
    border-left: 2px solid var(--red);
    padding-left: 8px;
}
.diff-line.diff-meta {
    color: var(--gold);
    font-weight: 700;
    margin-top: 8px;
}

/* OCR Output */
.ocr-output {
    width: 100%;
    min-height: 220px;
    background: var(--bg);
    border: 1px solid var(--border2);
    border-radius: 10px;
    padding: 14px;
    color: var(--text);
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.7;
    resize: vertical;
    margin-top: 8px;
}

/* Mobile editor adjustments */
@media (max-width: 640px) {
    .editor-toolbar { gap: 4px; padding: 8px; }
    .ed-tool { padding: 8px 10px; font-size: 12px; min-width: 70px; }
    .editor-page-wrap { padding: 8px; }
    .editor-color-bar { gap: 6px; padding: 8px; font-size: 11px; }
    .featured-banner { padding: 12px 14px; }
    .featured-title { font-size: 14px; }
}

/* ================================================================
   V4 ADDITIONS — AdSense, Cookie Banner, Blog, Contact, Ads
   ================================================================ */

/* Ad Containers */
.ad-container {
    max-width: 1100px;
    margin: 24px auto;
    padding: 0 20px;
    text-align: center;
    min-height: 90px;
    position: relative;
}
.ad-container::before {
    content: "ADVERTISEMENT";
    display: block;
    font-size: 10px;
    color: var(--text3);
    letter-spacing: 2px;
    margin-bottom: 8px;
    opacity: 0.6;
}
.ad-top { margin-top: 0; margin-bottom: 0; padding-top: 12px; }
.ad-bottom { margin-top: 32px; }
.ad-inline { margin: 24px auto; padding: 12px 20px; }

.adsbygoogle {
    display: block !important;
    max-width: 970px;
    margin: 0 auto;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(11, 11, 20, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border2);
    padding: 16px 20px;
    z-index: 1000;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.4);
    animation: slideUp 0.4s ease-out;
}
.cookie-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.cookie-content p {
    flex: 1;
    min-width: 280px;
    margin: 0;
    font-size: 13px;
    color: var(--text2);
    line-height: 1.5;
}
.cookie-content a {
    color: var(--gold);
    text-decoration: underline;
}
.cookie-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.cookie-btn {
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: var(--font);
    transition: all 0.2s;
}
.cookie-btn-accept {
    background: linear-gradient(135deg, var(--orange), var(--gold));
    color: #fff;
}
.cookie-btn-accept:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,107,53,0.3); }
.cookie-btn-reject {
    background: var(--bg3);
    color: var(--text2);
    border: 1px solid var(--border2);
}
.cookie-btn-reject:hover { background: var(--bg4); color: var(--text); }

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Blog Styles */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.blog-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
}
.blog-card:hover {
    border-color: rgba(255,107,53,0.3);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px -10px rgba(255,107,53,0.2);
}
.blog-card a {
    display: block;
    padding: 24px;
    color: var(--text);
    text-decoration: none;
}
.blog-card h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--text);
}
.blog-date {
    font-size: 12px;
    color: var(--text3);
    margin: 0 0 8px;
}
.blog-excerpt {
    font-size: 14px;
    color: var(--text2);
    margin: 0 0 12px;
    line-height: 1.6;
}
.read-more {
    font-size: 13px;
    color: var(--gold);
    font-weight: 600;
}

/* Blog Post */
.blog-post h1 {
    font-size: 32px;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}
.blog-post .blog-date {
    margin-bottom: 24px;
}
.blog-body {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
}
.blog-body h2 {
    font-size: 22px;
    margin: 32px 0 12px;
}
.blog-body h3 {
    font-size: 17px;
    margin: 20px 0 8px;
    color: var(--gold);
}
.blog-body p {
    color: var(--text2);
    margin-bottom: 12px;
}
.blog-body a {
    color: var(--gold);
    text-decoration: underline;
}
.blog-body ul, .blog-body ol {
    color: var(--text2);
    padding-left: 24px;
    margin-bottom: 16px;
}
.blog-body li {
    margin-bottom: 6px;
    line-height: 1.7;
}
.blog-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 13px;
}
.blog-body table th,
.blog-body table td {
    padding: 10px 14px;
    border: 1px solid var(--border2);
    text-align: left;
}
.blog-body table th {
    background: var(--bg3);
    font-weight: 700;
}

.blog-cta {
    margin-top: 32px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(255,182,39,0.05));
    border: 1px solid rgba(255,107,53,0.25);
    border-radius: var(--radius);
    text-align: center;
}
.blog-cta h3 {
    font-size: 18px;
    margin: 0 0 12px;
}
.cta-btn {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--orange), var(--gold));
    color: #fff !important;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    transition: transform 0.2s;
}
.cta-btn:hover { transform: translateY(-2px); }

.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}
.blog-related-card {
    display: block;
    padding: 16px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s;
}
.blog-related-card:hover {
    border-color: rgba(255,107,53,0.3);
    text-decoration: none;
    color: var(--text);
}
.blog-related-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.3;
}
.blog-related-card p {
    font-size: 12px;
    color: var(--text2);
    margin: 0 0 8px;
    line-height: 1.5;
}
.blog-related-card .read-more {
    font-size: 12px;
}

/* Contact grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 14px;
    margin: 20px 0;
}
.contact-card {
    padding: 20px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.contact-card h3 {
    font-size: 15px;
    margin: 0 0 6px;
}
.contact-card p {
    font-size: 13px;
    color: var(--text2);
    margin: 4px 0;
}
.contact-card a {
    color: var(--gold);
    font-weight: 600;
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .cookie-content { flex-direction: column; align-items: stretch; }
    .cookie-content p { min-width: 0; }
    .cookie-actions { justify-content: stretch; }
    .cookie-btn { flex: 1; }
    .ad-container { padding: 0 12px; }
    .blog-post h1 { font-size: 24px; }
    .blog-body h2 { font-size: 18px; }
}

