/* ═══════════════════════════════════════════════════════════════
   AK PRINT SEVA — PDF Split Stylesheet & Design System
   ═══════════════════════════════════════════════════════════════ */

:root {
    --v-brand: #FF6B00;
    --v-brand-light: #FFA048;
    --v-brand-bg: rgba(255, 107, 0, 0.12);
    --v-blue: #3B82F6;
    --v-blue-light: #60A5FA;
    --v-blue-bg: rgba(59, 130, 246, 0.12);
    --v-green: #10B981;
    --v-green-light: #34D399;
    --v-green-bg: rgba(16, 185, 129, 0.12);
    --v-bg: #F4F7FB;
    --v-surface: #FFFFFF;
    --v-border: #E2E8F0;
    --v-border-hover: #CBD5E1;
    --v-text-hi: #0F2744;
    --v-text-mid: #475569;
    --v-text-lo: #94A3B8;
    --v-radius: 14px;
    --v-radius-sm: 9px;
    --v-shadow: 0 4px 18px rgba(15, 39, 68, 0.06);
}

[data-theme="dark"] {
    --v-bg: #070D18;
    --v-surface: #0E1726;
    --v-border: rgba(255, 255, 255, 0.09);
    --v-border-hover: rgba(255, 255, 255, 0.2);
    --v-text-hi: #F8FAFC;
    --v-text-mid: #94A3B8;
    --v-text-lo: #64748B;
    --v-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.pdf-split-wrapper {
    background: var(--v-bg);
    color: var(--v-text-hi);
    min-height: 85vh;
    padding-bottom: 60px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* 🌟 HERO SECTION */
.pdf-split-hero {
    position: relative;
    overflow: hidden;
    padding: 32px 0 20px;
    border-bottom: 1px solid var(--v-border);
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.04) 0%, rgba(59, 130, 246, 0.03) 100%);
    text-align: center;
}
[data-theme="dark"] .pdf-split-hero {
    background: linear-gradient(180deg, rgba(14, 23, 38, 0.95) 0%, rgba(7, 13, 24, 0.98) 100%);
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-shape { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.25; }
.shape-1 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--v-brand) 0%, transparent 70%);
    top: -200px; left: -60px;
}
.shape-2 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, var(--v-blue) 0%, transparent 70%);
    top: -150px; right: 5%;
}

.hero-content { position: relative; z-index: 2; text-align: center; }
.hero-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--v-brand-bg);
    border: 1px solid rgba(255, 107, 0, 0.35);
    padding: 5px 14px; border-radius: 50px;
    font-size: 0.76rem; font-weight: 800;
    color: var(--v-brand);
    margin-bottom: 12px;
}
.pill-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--v-green);
    box-shadow: 0 0 8px var(--v-green);
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem; font-weight: 900; color: var(--v-text-hi);
    line-height: 1.2; letter-spacing: -0.5px; margin: 0 0 8px;
}
.hero-gradient-word {
    color: var(--v-brand);
    background: linear-gradient(135deg, #FF6B00 0%, #E85D04 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
[data-theme="dark"] .hero-gradient-word {
    background: linear-gradient(135deg, #FBBF24 0%, #FB923C 50%, #FF6B00 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 0.88rem; color: var(--v-text-mid);
    line-height: 1.55; max-width: 680px; margin: 0 auto;
}

/* 📤 UPLOAD SECTION */
.upload-section { max-width: 860px; margin: 24px auto 24px; }
.upload-dropzone {
    background: var(--v-surface);
    border: 2px dashed rgba(255, 107, 0, 0.45);
    border-radius: var(--v-radius);
    padding: 40px 24px;
    text-align: center;
    position: relative;
    cursor: pointer;
    box-shadow: var(--v-shadow);
    transition: all 0.22s ease;
}
.upload-dropzone:hover, .upload-dropzone.dragover {
    border-color: var(--v-brand);
    background: var(--v-brand-bg);
    transform: translateY(-2px);
}
.upload-dropzone input[type="file"] {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 5;
}
.dropzone-icon { font-size: 3.2rem; margin-bottom: 12px; }
.dropzone-title { font-size: 1.25rem; font-weight: 800; color: var(--v-text-hi); margin: 0 0 6px; }
.dropzone-desc { color: var(--v-text-mid); font-size: 0.82rem; margin: 0 0 18px; }

.btn-add-pdf-vibrant {
    background: linear-gradient(135deg, #FF6B00 0%, #E85D04 100%);
    color: #fff; font-size: 0.85rem; font-weight: 800; padding: 11px 22px;
    border-radius: 8px; border: none; cursor: pointer; display: inline-flex;
    align-items: center; gap: 7px;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.35); pointer-events: none;
    transition: all 0.15s ease;
}

/* 📋 WORKSPACE SECTION */
.workspace-section { max-width: 860px; margin: 0 auto 40px; }
.split-card {
    background: var(--v-surface); border: 1px solid var(--v-border);
    border-radius: var(--v-radius); padding: 24px; box-shadow: var(--v-shadow);
}
.split-header {
    display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--v-border);
    padding-bottom: 18px; margin-bottom: 22px; flex-wrap: wrap; gap: 12px;
}
.split-file-title { display: flex; align-items: center; gap: 12px; }
.file-icon { font-size: 2.2rem; }
.file-info-text h3 { font-size: 1.05rem; font-weight: 800; color: var(--v-text-hi); margin: 0 0 2px; }
.file-info-text span { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; color: var(--v-text-mid); }

.split-body { display: flex; flex-direction: column; gap: 20px; }
.setting-item { display: flex; flex-direction: column; gap: 8px; }
.setting-label { font-size: 0.88rem; font-weight: 800; color: var(--v-text-hi); }
.split-mode-pills { display: flex; gap: 12px; flex-wrap: wrap; }
.mode-pill {
    flex: 1; min-width: 220px; background: var(--v-bg); border: 1.5px solid var(--v-border);
    color: var(--v-text-hi); font-size: 0.88rem; font-weight: 700; padding: 12px 18px; border-radius: 10px; cursor: pointer; transition: all 0.2s ease;
}
.mode-pill:hover { border-color: var(--v-brand); }
.mode-pill.active {
    background: var(--v-brand-bg); border-color: var(--v-brand); color: var(--v-brand);
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.25);
}
.setting-input {
    background: var(--v-bg); border: 1.5px solid var(--v-border);
    color: var(--v-text-hi); padding: 12px 14px; border-radius: 8px; font-size: 0.95rem; font-weight: 600; outline: none; width: 100%; box-sizing: border-box;
}
.setting-input:focus { border-color: var(--v-brand); }
.help-text { font-size: 0.78rem; color: var(--v-text-mid); }

.split-action-row { margin-top: 10px; }
.btn-combine-main {
    background: linear-gradient(135deg, #10B981, #059669); color: #ffffff; font-weight: 800;
    font-size: 1rem; padding: 13px 28px; border-radius: 8px; border: none; cursor: pointer; width: 100%;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35); transition: all 0.15s ease;
}
.btn-combine-main:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-tool-sm {
    background: var(--v-bg); border: 1px solid var(--v-border);
    color: var(--v-text-hi); font-size: 0.80rem; font-weight: 700; padding: 8px 14px; border-radius: 7px; cursor: pointer;
    transition: all 0.15s ease;
}
.btn-tool-sm:hover { border-color: var(--v-brand); color: var(--v-brand); }

/* 🌟 HIGH-RANKING GOOGLE SEO SECTION */
.seo-guide-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--v-border);
}
.seo-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.seo-feat-card {
  background: var(--v-surface);
  border: 1px solid var(--v-border);
  border-radius: var(--v-radius);
  padding: 16px;
  text-align: center;
  box-shadow: var(--v-shadow);
  transition: transform 0.2s ease;
}
.seo-feat-card:hover {
  transform: translateY(-3px);
  border-color: var(--v-brand);
}
.sfc-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.sfc-title {
  font-size: 0.90rem;
  font-weight: 800;
  color: var(--v-text-hi);
  margin-bottom: 4px;
}
.sfc-desc {
  font-size: 0.74rem;
  color: var(--v-text-mid);
  line-height: 1.4;
}

.seo-article-block {
  background: var(--v-surface);
  border: 1px solid var(--v-border);
  border-radius: var(--v-radius);
  padding: 24px;
  box-shadow: var(--v-shadow);
}
.seo-h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--v-text-hi);
  margin-bottom: 10px;
}
.seo-article-block p {
  font-size: 0.84rem;
  color: var(--v-text-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}
.seo-h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--v-text-hi);
  margin: 20px 0 12px;
}
.seo-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}
.faq-item {
  background: var(--v-bg);
  border: 1px solid var(--v-border);
  border-radius: 8px;
  padding: 12px 14px;
}
.faq-q {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--v-text-hi);
  margin-bottom: 4px;
}
.faq-a {
  font-size: 0.76rem;
  color: var(--v-text-mid);
  line-height: 1.45;
  margin: 0;
}

/* 🏷️ SEO TAGS CLOUD */
.seo-tags-cloud-wrap {
  border-top: 1px solid var(--v-border);
  padding-top: 16px;
  margin-top: 20px;
}
.seo-tags-title {
  font-size: 0.80rem;
  font-weight: 800;
  color: var(--v-text-hi);
  margin-bottom: 10px;
}
.seo-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.seo-tag {
  background: var(--v-bg);
  border: 1px solid var(--v-border);
  color: var(--v-text-mid);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 14px;
  transition: all 0.15s ease;
}
.seo-tag:hover {
  background: var(--v-brand-bg);
  color: var(--v-brand);
  border-color: var(--v-brand);
}

/* ═══ TOAST ═══ */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 100000; display: flex; flex-direction: column; gap: 10px; }
.toast { background: #0f172a; border: 1px solid rgba(255, 255, 255, 0.15); color: #fff; padding: 12px 18px; border-radius: 8px; font-size: 0.85rem; box-shadow: 0 8px 24px rgba(0,0,0,0.5); }
.toast.success { border-color: #10b981; color: #4ade80; }
.toast.error { border-color: #ef4444; color: #f87171; }
.toast.info { border-color: #3b82f6; color: #60a5fa; }

.hidden { display: none !important; }

@media (max-width: 1024px) {
    .seo-features-grid { grid-template-columns: 1fr 1fr; }
    .seo-faq-grid { grid-template-columns: 1fr; }
}
