/* ============================================================
   ILOVEPDF.STORE — Complete Premium Design System v2.0
   Inspired by Notion + Stripe + Linear design aesthetics
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ─── CSS DESIGN TOKENS ─────────────────────────────────────── */
/* Theme: White + Red — matching ilovepdf.store logo            */
:root {
  /* Brand Colors — RED theme */
  --primary:        #DC2626;
  --primary-dark:   #B91C1C;
  --primary-light:  #EF4444;
  --secondary:      #1F1F1F;
  --secondary-dark: #111111;
  --secondary-light:#3F3F3F;
  --accent:         #FF4444;
  --accent-dark:    #CC0000;
  --accent-light:   #FF6666;
  --success:        #16A34A;
  --warning:        #D97706;
  --error:          #B91C1C;

  /* Backgrounds — WHITE theme */
  --bg:             #FFFFFF;
  --bg-surface:     #F9FAFB;
  --bg-card:        rgba(255, 255, 255, 0.95);
  --bg-elevated:    rgba(249, 250, 251, 0.95);
  --bg-hover:       rgba(220, 38, 38, 0.06);
  --bg-input:       rgba(255, 255, 255, 1.00);

  /* Borders */
  --border:         rgba(0, 0, 0, 0.08);
  --border-hover:   rgba(220, 38, 38, 0.25);
  --border-active:  rgba(220, 38, 38, 0.60);

  /* Typography — BLACK & RED */
  --text-primary:   #111111;
  --text-secondary: #374151;
  --text-muted:     #6B7280;
  --font:           'Inter', system-ui, -apple-system, sans-serif;

  /* Border Radius */
  --radius-xs:  4px;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-2xl: 32px;

  /* Shadows — light for white bg */
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.07);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.12), 0 4px 16px rgba(0,0,0,.08);
  --shadow-xl:   0 24px 64px rgba(0,0,0,.15);
  --shadow-glow: 0 0 40px rgba(220,38,38,.18), 0 0 80px rgba(220,38,38,.08);
  --shadow-cyan: 0 0 40px rgba(220,38,38,.12);

  /* Gradients — RED */
  --gradient-brand:  linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
  --gradient-blue:   linear-gradient(135deg, #DC2626 0%, #FF4444 100%);
  --gradient-purple: linear-gradient(135deg, #B91C1C 0%, #7F1D1D 100%);
  --gradient-dark:   linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
  --gradient-mesh:   radial-gradient(ellipse 80% 50% at 50% -10%, rgba(220,38,38,.10) 0%, transparent 70%);

  /* Transitions */
  --transition-fast: 0.12s cubic-bezier(.4,0,.2,1);
  --transition:      0.22s cubic-bezier(.4,0,.2,1);
  --transition-slow: 0.40s cubic-bezier(.4,0,.2,1);
}

/* ─── SCROLLBAR ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #F3F4F6; }
::-webkit-scrollbar-thumb { background: rgba(220,38,38,.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(220,38,38,.4); }

/* ─── RESET ─────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; background: none; }
input, select, textarea { font-family: inherit; outline: none; }
ul { list-style: none; padding: 0; margin: 0; }

/* ─── TYPOGRAPHY WEIGHTS ────────────────────────────────────── */
.fw-300 { font-weight: 300 !important; }
.fw-400 { font-weight: 400 !important; }
.fw-500 { font-weight: 500 !important; }
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }
.fw-900 { font-weight: 900 !important; }

/* ─── NAVBAR ────────────────────────────────────────────────── */
.navbar-custom {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  transition: background var(--transition), border-color var(--transition);
}
.navbar-custom.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--border-hover);
}
.navbar-brand {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.navbar-brand span { color: var(--primary); }
.nav-link-custom {
  color: var(--text-secondary);
  font-size: .875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link-custom:hover { color: var(--text-primary); background: var(--bg-elevated); }

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  letter-spacing: -0.01em;
}
.btn-primary-custom:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
  color: #fff;
}
.btn-primary-custom:active { transform: translateY(0); }
.btn-primary-custom:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

.btn-secondary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-size: .875rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-secondary-custom:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--border-hover);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: .875rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  transition: all var(--transition);
}
.btn-ghost:hover { color: var(--text-primary); background: var(--bg-elevated); }
.btn-sm { padding: 6px 14px !important; font-size: .8rem !important; }
.btn-lg { padding: 14px 28px !important; font-size: 1rem !important; }

/* ─── GLASS CARDS ───────────────────────────────────────────── */
.glass-card {
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.glass-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

/* ─── TOOL CARDS ────────────────────────────────────────────── */
.tool-card {
  padding: 20px 16px;
  text-align: center;
  display: block;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(220,38,38,.30);
  color: inherit;
}
.tool-card h5 {
  font-size: .85rem;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 4px;
  color: var(--text-primary);
  line-height: 1.3;
}
.tool-card p {
  font-size: .72rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}
.tool-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  flex-shrink: 0;
}
.tool-icon svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: block;
}

/* ─── HERO SECTION ──────────────────────────────────────────── */
.hero-section {
  padding: 96px 0 72px;
  background: var(--gradient-mesh);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23DC2626' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -2.5px;
  line-height: 1.08;
  margin-bottom: 22px;
  color: var(--text-primary);
}
.hero-title span { color: var(--primary); }
.hero-subtitle {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.75;
  font-weight: 400;
}

/* ─── GRADIENT TEXT ─────────────────────────────────────────── */
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── SECTION HEADERS ───────────────────────────────────────── */
.section-header {
  margin-bottom: 48px;
}
.section-header.text-center {
  text-align: center;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.2;
  color: var(--text-primary);
  margin-top: 10px;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 520px;
}

/* ─── SECTION BADGE ─────────────────────────────────────────── */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(220, 38, 38, .08);
  border: 1px solid rgba(220, 38, 38, .20);
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .6px;
}

/* ─── BADGES ────────────────────────────────────────────────── */
.badge-free {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: rgba(22, 163, 74, .10);
  color: #16A34A;
  font-size: .68rem;
  font-weight: 700;
  border-radius: 20px;
  border: 1px solid rgba(16, 185, 129, .22);
  letter-spacing: .3px;
}
.badge-pro {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: rgba(79, 70, 229, .12);
  color: var(--secondary-light);
  font-size: .68rem;
  font-weight: 700;
  border-radius: 20px;
  border: 1px solid rgba(79, 70, 229, .25);
  letter-spacing: .3px;
}

/* ─── SEARCH BAR ────────────────────────────────────────────── */
.search-bar {
  display: flex;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  max-width: 540px;
  margin: 0 auto;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-bar:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(220,38,38,.12);
}
.search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 13px 20px;
  color: var(--text-primary);
  font-size: .9rem;
  min-width: 0;
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar button {
  padding: 9px 18px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 44px;
  margin: 4px;
  white-space: nowrap;
  transition: background var(--transition);
}
.search-bar button:hover { background: var(--primary-dark); }

/* ─── TRUST BADGES ──────────────────────────────────────────── */
.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─── UPLOAD ZONE ───────────────────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--border-hover);
  border-radius: var(--radius-xl);
  padding: 56px 32px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg-elevated);
  position: relative;
  overflow: hidden;
}
.upload-zone::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(220,38,38,.04) 0%, transparent 70%);
  pointer-events: none;
}
.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--primary);
  background: rgba(220,38,38,.03);
  box-shadow: 0 0 0 4px rgba(220,38,38,.08);
}
.upload-zone.dragover { transform: scale(1.01); }
.upload-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.upload-zone h4 { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.upload-zone p { color: var(--text-secondary); font-size: .875rem; margin-bottom: 16px; }

/* ─── PROGRESS ──────────────────────────────────────────────── */
.progress-custom {
  height: 6px;
  background: var(--bg-elevated);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 10px;
}
.progress-bar-custom {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 6px;
  transition: width .35s ease;
  min-width: 0;
  position: relative;
}
.progress-bar-custom::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 60px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25));
  animation: shimmerProgress 1.5s infinite;
}
@keyframes shimmerProgress { from { opacity: 0 } 50% { opacity: 1 } to { opacity: 0 } }

/* ─── SPINNER ───────────────────────────────────────────────── */
.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(37,99,235,.15);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── AD ZONES ──────────────────────────────────────────────── */
.ad-zone {
  min-height: 90px;
  background: var(--bg-elevated);
  border: 1px dashed rgba(255,255,255,.05);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: .72rem;
  overflow: hidden;
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* ─── FORM INPUTS ───────────────────────────────────────────── */
.form-control {
  background: var(--bg-input) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-primary) !important;
  border-radius: var(--radius-sm) !important;
  padding: 11px 14px !important;
  font-size: .9rem !important;
  transition: border-color var(--transition), box-shadow var(--transition) !important;
  width: 100%;
}
.form-control:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(220,38,38,.12) !important;
  background: #F9FAFB !important;
}
.form-control::placeholder { color: var(--text-muted) !important; }
select.form-control option { background: var(--bg-surface); color: var(--text-primary); }
.form-label { font-size: .84rem; font-weight: 600; color: var(--text-secondary); display: block; margin-bottom: 7px; }
.form-text { font-size: .76rem; color: var(--text-muted); margin-top: 5px; }

/* Select override for darker theme */
select.form-control, select.form-select {
  background-color: #FFFFFF !important;
  color: #111111 !important;
  border-color: rgba(0,0,0,.12) !important;
}
select.form-select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(220,38,38,.12) !important;
}

/* ─── PRICING SECTION ───────────────────────────────────────── */
.pricing-card {
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-card);
  position: relative;
  transition: all var(--transition);
  height: 100%;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(220,38,38,.04) 0%, #FFFFFF 100%);
  box-shadow: 0 0 40px rgba(220,38,38,.12);
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: .3px;
}
.price-amount {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -1.5px;
  line-height: 1;
  margin: 16px 0 8px;
}
.price-period {
  font-size: .85rem !important;
  font-weight: 400 !important;
  color: var(--text-muted);
  letter-spacing: 0;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  color: var(--text-secondary);
}
.feature-list .check {
  width: 18px;
  height: 18px;
  background: rgba(16,185,129,.12);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  color: var(--success);
  flex-shrink: 0;
  font-style: normal;
}

/* ─── FAQ ───────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-question {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}
.faq-answer {
  font-size: .875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-answer.open { max-height: 400px; padding-top: 12px; }
.faq-chevron { transition: transform .3s; flex-shrink: 0; color: var(--text-muted); }
.faq-item.active .faq-chevron { transform: rotate(180deg); }

/* ─── TOAST NOTIFICATIONS ───────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: .875rem;
  min-width: 280px;
  max-width: 360px;
  animation: slideUp .3s ease;
  pointer-events: all;
}
.toast-item.success { border-color: rgba(16,185,129,.35); background: rgba(16,185,129,.07); }
.toast-item.error   { border-color: rgba(239,68,68,.35);  background: rgba(239,68,68,.07);  }
.toast-item.info    { border-color: rgba(37,99,235,.35);  background: rgba(37,99,235,.07);  }
@keyframes slideUp { from { opacity:0; transform:translateY(14px) } to { opacity:1; transform:translateY(0) } }

/* ─── FOOTER ────────────────────────────────────────────────── */
.footer-custom {
  background: #111111;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 64px 0 32px;
  margin-top: 80px;
}
.footer-brand { font-size: 1.15rem; font-weight: 800; letter-spacing: -.5px; margin-bottom: 10px; }
.footer-desc { font-size: .85rem; color: #9CA3AF; max-width: 260px; line-height: 1.65; }
.footer-heading {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #9CA3AF;
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .875rem; color: #D1D5DB; transition: color var(--transition); }
.footer-links a:hover { color: #FFFFFF; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 48px;
  padding-top: 24px;
  font-size: .8rem;
  color: #9CA3AF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── TESTIMONIALS ──────────────────────────────────────────── */
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.stars { color: #FB8C00; font-size: .9rem; letter-spacing: 1px; }

/* ─── STAT CARDS ────────────────────────────────────────────── */
.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -1.5px;
  line-height: 1;
}
.stat-label { font-size: .8rem; color: var(--text-muted); margin-top: 6px; }

/* ─── HOW IT WORKS ──────────────────────────────────────────── */
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(220,38,38,.08);
  border: 1px solid rgba(220,38,38,.22);
  color: var(--primary);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

/* ─── TABS ──────────────────────────────────────────────────── */
.tabs-custom {
  display: flex;
  gap: 4px;
  background: var(--bg-elevated);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.tab-btn {
  flex: 1;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.tab-btn.active { background: var(--bg-card); color: var(--text-primary); box-shadow: var(--shadow-sm); }

/* ─── BREADCRUMB ────────────────────────────────────────────── */
.breadcrumb { background: transparent; padding: 0; margin: 0; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }
.breadcrumb-item a { color: var(--text-muted); font-size: .82rem; transition: color var(--transition); }
.breadcrumb-item a:hover { color: var(--text-primary); }
.breadcrumb-item.active { color: var(--text-secondary); font-size: .82rem; }

/* ─── COOKIE BANNER ─────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(17,17,17,.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(220,38,38,.3);
  padding: 16px 24px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner p { font-size: .82rem; color: var(--text-secondary); margin: 0; flex: 1; }
.cookie-banner.hidden { display: none; }

/* ─── FILE ITEMS ────────────────────────────────────────────── */
.file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius-md);
  transition: border-color var(--transition);
}
.file-item:hover { border-color: rgba(220,38,38,.3); }
.file-item-drag { cursor: grab; color: var(--text-muted); font-size: 1.1rem; }
.file-item-drag:active { cursor: grabbing; }

/* ─── OPTIONS PANEL ─────────────────────────────────────────── */
.options-panel {
  background: #F9FAFB;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 16px;
}
.option-label { font-size: .82rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; display: block; }

/* ─── SKELETON LOADER ───────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, #F3F4F6 25%, #E5E7EB 50%, #F3F4F6 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { 0% { background-position: 200% 0 } 100% { background-position: -200% 0 } }

/* ─── DASHBOARD SIDEBAR ─────────────────────────────────────── */
.sidebar {
  width: 240px;
  min-height: 100vh;
  background: #FFFFFF;
  border-right: 1px solid var(--border);
  padding: 24px 0;
  flex-shrink: 0;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
  border-left: 2px solid transparent;
}
.sidebar-link:hover { background: var(--bg-elevated); color: var(--text-primary); }
.sidebar-link.active { color: var(--primary); border-left-color: var(--primary); background: rgba(220,38,38,.06); }

/* ─── MOBILE NAV DRAWER ─────────────────────────────────────── */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.mobile-nav-overlay.open { opacity: 1; visibility: visible; }
.mobile-nav-drawer {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 288px;
  background: #FFFFFF;
  border-right: 1px solid rgba(0,0,0,.08);
  z-index: 2001;
  padding: 24px;
  transform: translateX(-100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-nav-overlay.open .mobile-nav-drawer { transform: translateX(0); }
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-nav-link:hover { color: var(--text-primary); }

/* ─── ANIMATIONS ────────────────────────────────────────────── */
.fade-in { animation: fadeIn .4s ease forwards; }
@keyframes fadeIn { from { opacity:0; transform:translateY(12px) } to { opacity:1; transform:translateY(0) } }

.animate-fade-up { animation: fadeUp .6s cubic-bezier(.4,0,.2,1) both; }
.animate-delay-1 { animation-delay: .1s; }
.animate-delay-2 { animation-delay: .2s; }
.animate-delay-3 { animation-delay: .3s; }
@keyframes fadeUp { from { opacity:0; transform:translateY(24px) } to { opacity:1; transform:translateY(0) } }

/* ─── UTILITY CLASSES ───────────────────────────────────────── */
.text-primary-c    { color: var(--text-primary) !important; }
.text-secondary-c  { color: var(--text-secondary) !important; }
.text-secondary-custom { color: var(--text-secondary) !important; }
.text-muted-custom { color: var(--text-muted) !important; }
.bg-elevated       { background: var(--bg-elevated) !important; }
.bg-surface        { background: var(--bg-surface) !important; }
.border-subtle     { border-color: var(--border) !important; }
.bg-elevated       { background: var(--bg-elevated); }
.bg-custom         { background: var(--bg-card); }
.section-spacing   { padding: 80px 0; }
.section-spacing-sm { padding: 52px 0; }
.text-accent       { color: var(--accent) !important; }
.d-none            { display: none !important; }

/* ─── BACKGROUND ALTERNATION ────────────────────────────────── */
.section-alt {
  background: #FEF2F2;
  border-top: 1px solid rgba(220,38,38,.10);
  border-bottom: 1px solid rgba(220,38,38,.10);
}

/* ─── DARK THEME TOGGLE (optional) ──────────────────────────── */
body.dark-theme {
  --bg:           #060B14;
  --bg-surface:   #0D1117;
  --bg-card:      rgba(13, 17, 23, 0.85);
  --bg-elevated:  rgba(22, 30, 46, 0.80);
  --bg-hover:     rgba(37, 47, 68, 0.85);
  --bg-input:     rgba(15, 23, 38, 0.90);
  --border:       rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.14);
  --text-primary:   #F1F5F9;
  --text-secondary: #CBD5E1;
  --text-muted:     #64748B;
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 992px) {
  .hero-section { padding: 72px 0 56px; }
  .footer-custom { padding: 48px 0 24px; }
}
@media (max-width: 768px) {
  .hero-title { font-size: 1.9rem; letter-spacing: -1px; }
  .section-title { font-size: 1.6rem; }
  .hero-section { padding: 60px 0 48px; }
  .footer-custom { padding: 40px 0 20px; }
  .pricing-card { padding: 24px 20px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 1.6rem; }
  .toast-item { min-width: 240px; max-width: 92vw; }
  .upload-zone { padding: 40px 20px; }
}
