@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap");

body.home-premium {
  --premium-navy-900: #0f172a;
  --premium-navy-800: #172554;
  --premium-navy-700: #1e293b;
  --premium-slate-50: #f8fafc;
  --premium-slate-100: #f1f5f9;
  --premium-slate-200: #e2e8f0;
  --premium-slate-500: #64748b;
  --premium-slate-700: #334155;
  --premium-amber-500: #f97316;
  --premium-amber-600: #ea580c;
  --premium-amber-100: #ffedd5;
  --premium-violet-100: #ede9fe;
  --premium-violet-700: #6d28d9;
  --premium-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.08);
  --premium-shadow-md: 0 10px 30px -16px rgba(15, 23, 42, 0.22);
  --premium-shadow-lg: 0 24px 44px -22px rgba(15, 23, 42, 0.24);
  --premium-radius-xl: 18px;
  --premium-radius-2xl: 22px;
  --premium-max: 1280px;
  background: var(--premium-slate-50);
  color: #0f172a;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.home-premium h1,
body.home-premium h2,
body.home-premium h3,
body.home-premium h4,
body.home-premium h5,
body.home-premium h6 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
}

body.home-premium .site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

body.home-premium .header-inner {
  width: min(var(--premium-max), calc(100% - 28px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

body.home-premium .brand {
  color: var(--premium-navy-900);
}

body.home-premium .brand-text-main {
  color: var(--premium-navy-900);
}

body.home-premium .brand-text-accent {
  color: var(--premium-amber-500);
}

body.home-premium .brand-text-tld {
  color: var(--premium-slate-500);
}

body.home-premium .main-nav {
  flex: 1 1 auto;
  justify-content: center;
  gap: 2px;
  margin: 0;
  max-width: none;
  overflow: visible;
}

body.home-premium .main-nav .nav-dropdown summary {
  height: 38px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
}

body.home-premium .main-nav .nav-dropdown summary:hover,
body.home-premium .main-nav .nav-dropdown[open] summary {
  background: #f1f5f9;
  color: #0f172a;
}

body.home-premium .main-nav .nav-dropdown summary i {
  color: #94a3b8;
}

body.home-premium .main-nav .nav-dropdown-panel {
  top: calc(100% + 8px);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--premium-shadow-lg);
}

body.home-premium .main-nav .nav-dropdown-main-link {
  border-radius: 10px;
  border: 0;
  background: rgba(249, 115, 22, 0.1);
  color: #c2410c;
  font-size: 13px;
  font-weight: 700;
}

body.home-premium .main-nav .nav-dropdown-main-link:hover {
  background: rgba(249, 115, 22, 0.16);
}

body.home-premium .main-nav .nav-dropdown-links {
  grid-template-columns: repeat(auto-fit, minmax(172px, 1fr));
  gap: 8px;
}

body.home-premium .main-nav .nav-dropdown-links a {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  color: #334155;
  min-height: 38px;
  font-size: 12px;
}

body.home-premium .main-nav .nav-dropdown-links a:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
}

body.home-premium .main-nav .nav-dropdown-link-icon {
  border: 0;
  background: #f8fafc;
}

body.home-premium .top-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

body.home-premium .top-right .ghost,
body.home-premium .top-right form button.ghost {
  min-height: 36px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 600;
}

body.home-premium .top-right .ghost:hover,
body.home-premium .top-right form button.ghost:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
}

body.home-premium .lang-switcher summary {
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
}

body.home-premium .lang-switcher[open] summary {
  border-color: #cbd5e1;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.18);
}

body.home-premium .lang-switcher .lang-switcher-backdrop {
  background: rgba(15, 23, 42, 0.42);
}

body.home-premium .lang-switcher ul,
body.home-premium .lang-switcher .lang-switcher-list {
  width: min(980px, 95vw);
  top: 78px;
  border: 1px solid #dbe4ef;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--premium-shadow-lg);
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 8px;
  padding: 12px;
}

body.home-premium .lang-switcher a {
  min-height: 36px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  padding: 7px 10px;
  color: #334155;
  background: #ffffff;
  font-size: 12px;
  font-weight: 600;
}

body.home-premium .lang-switcher a:hover,
body.home-premium .lang-switcher a.active {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
}

/* Premium system applied across all non-home pages */
body.home-premium .page-shell:not(.page-shell--home) {
  width: min(var(--premium-max), calc(100% - 28px));
  max-width: none;
  margin: 0 auto;
  padding: 18px 0 56px;
  background: transparent;
}

body.home-premium .page-shell:not(.page-shell--home) .panel {
  margin: 16px 0;
  border: 1px solid #e2e8f0;
  border-radius: var(--premium-radius-xl);
  background: #ffffff;
  box-shadow: var(--premium-shadow-sm);
  padding: clamp(18px, 2vw, 28px);
}

body.home-premium .page-shell:not(.page-shell--home) .panel h1,
body.home-premium .page-shell:not(.page-shell--home) .panel h2,
body.home-premium .page-shell:not(.page-shell--home) .panel h3 {
  color: #0f172a;
}

body.home-premium .page-shell:not(.page-shell--home) .panel p,
body.home-premium .page-shell:not(.page-shell--home) .hint,
body.home-premium .page-shell:not(.page-shell--home) .tool-simple-subtitle {
  color: #64748b;
}

body.home-premium .page-shell.page-shell--info {
  width: min(980px, calc(100% - 28px));
}

body.home-premium .info-hero-panel {
  position: relative;
  overflow: hidden;
  border-color: #dbe4ef;
  background:
    radial-gradient(circle at 18% 10%, rgba(249, 115, 22, 0.14), rgba(249, 115, 22, 0) 46%),
    radial-gradient(circle at 82% 16%, rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0) 42%),
    linear-gradient(145deg, #ffffff 0%, #f8fafc 72%);
}

body.home-premium .info-hero-panel .eyebrow {
  margin: 0 0 8px;
  color: #c2410c;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 11px;
}

body.home-premium .info-hero-panel h1 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.55rem, 3.1vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

body.home-premium .info-hero-panel .tool-simple-subtitle {
  margin-top: 12px;
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
}

body.home-premium .info-content-panel h2,
body.home-premium .contact-layout-panel h2,
body.home-premium .info-cta-panel h2 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #0f172a;
  font-size: clamp(1.15rem, 2.1vw, 1.45rem);
  line-height: 1.28;
}

body.home-premium .info-content-panel p,
body.home-premium .contact-layout-panel p,
body.home-premium .info-cta-panel p {
  margin: 0 0 12px;
  color: #475569;
  line-height: 1.72;
}

body.home-premium .info-content-panel .limit-list {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

body.home-premium .info-content-panel .limit-list li,
body.home-premium .contact-layout-panel .limit-list li {
  color: #334155;
  line-height: 1.58;
}

body.home-premium .contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 16px;
}

body.home-premium .contact-copy-card,
body.home-premium .contact-form-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  padding: 18px;
}

body.home-premium .contact-copy-card .limit-list {
  margin: 12px 0 14px;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

body.home-premium .contact-form {
  display: grid;
  gap: 8px;
}

body.home-premium .contact-form label {
  color: #0f172a;
  font-size: 12px;
  font-weight: 600;
}

body.home-premium .contact-form input,
body.home-premium .contact-form textarea,
body.home-premium .contact-form select {
  width: 100%;
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  background: #ffffff;
  padding: 10px 12px;
  color: #0f172a;
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
}

body.home-premium .contact-form textarea {
  min-height: 142px;
  resize: vertical;
}

body.home-premium .contact-form input:focus,
body.home-premium .contact-form textarea:focus,
body.home-premium .contact-form select:focus {
  outline: none;
  border-color: #fb923c;
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.2);
}

body.home-premium .contact-form .btn.primary {
  margin-top: 8px;
  width: 100%;
  min-height: 42px;
}

body.home-premium .contact-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.home-premium .info-cta-panel {
  border-color: #dbe4ef;
  background:
    radial-gradient(circle at 84% 16%, rgba(251, 146, 60, 0.16), rgba(251, 146, 60, 0) 42%),
    linear-gradient(145deg, #ffffff, #f8fafc);
}

body.home-premium .info-cta-panel .home-hero-actions {
  justify-content: flex-start;
}

html[dir="rtl"] body.home-premium .info-content-panel .limit-list,
html[dir="rtl"] body.home-premium .contact-copy-card .limit-list {
  padding-left: 0;
  padding-right: 18px;
}

html[dir="rtl"] body.home-premium .contact-form label,
html[dir="rtl"] body.home-premium .info-hero-panel,
html[dir="rtl"] body.home-premium .info-content-panel,
html[dir="rtl"] body.home-premium .contact-copy-card,
html[dir="rtl"] body.home-premium .contact-form-card,
html[dir="rtl"] body.home-premium .info-cta-panel {
  text-align: right;
}

body.home-premium .page-shell:not(.page-shell--home) .section-head a {
  color: #c2410c;
}

body.home-premium .page-shell:not(.page-shell--home) .cards-grid {
  gap: 12px;
}

body.home-premium .page-shell:not(.page-shell--home) .tool-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: none;
}

body.home-premium .page-shell:not(.page-shell--home) .tool-card:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

body.home-premium .page-shell:not(.page-shell--home) .tool-card-head strong {
  color: #0f172a;
}

body.home-premium .page-shell:not(.page-shell--home) .tool-card p {
  color: #64748b;
}

body.home-premium .btn.primary {
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--premium-amber-500), #fb923c);
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(249, 115, 22, 0.24);
}

body.home-premium .btn.primary:hover {
  filter: saturate(1.04) brightness(0.98);
}

body.home-premium .ghost {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  color: #334155;
}

body.home-premium .ghost:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
}

body.home-premium .pill {
  border-color: #dbe4ef;
  background: #f8fafc;
  color: #475569;
}

body.home-premium .upload-dropzone {
  border: 2px dashed #dbe4ef;
  border-radius: 14px;
  background: #f8fafc;
}

body.home-premium .settings-disclosure {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
}

body.home-premium .settings-disclosure > summary {
  border-bottom: 1px solid #edf2f7;
  background: #f8fafc;
  color: #0f172a;
}

body.home-premium .setting-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
}

body.home-premium .file-list-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
}

body.home-premium .file-list-item:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

body.home-premium .faq-panel details {
  border-color: #e2e8f0;
}

body.home-premium .page-shell.auth-page {
  width: min(var(--premium-max), calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

body.home-premium .auth-form-panel,
body.home-premium .auth-side-panel {
  border: 1px solid #e2e8f0;
  border-radius: var(--premium-radius-xl);
  background: #ffffff;
  box-shadow: var(--premium-shadow-sm);
}

body.home-premium .auth-mode-chip {
  border-color: #e2e8f0;
  background: #ffffff;
  color: #334155;
}

body.home-premium .auth-mode-chip:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
}

body.home-premium .auth-mode-chip.is-active {
  border-color: #fb923c;
  background: #fff7ed;
  color: #c2410c;
}

body.home-premium .auth-input-wrap {
  border-color: #e2e8f0;
  background: #ffffff;
}

body.home-premium .auth-input-wrap:focus-within {
  border-color: #fb923c;
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.2);
}

body.home-premium .auth-submit {
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--premium-amber-500), #fb923c);
  color: #ffffff;
}

body.home-premium .page-shell.page-shell--home {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 68px;
  display: block;
  background: transparent;
}

body.home-premium .page-shell--home .panel {
  width: min(var(--premium-max), calc(100% - 28px));
  margin: 24px auto 0;
  padding: 34px;
  border: 1px solid #e2e8f0;
  border-radius: var(--premium-radius-2xl);
  background: #ffffff;
  box-shadow: var(--premium-shadow-sm);
}

body.home-premium .page-shell--home .home-reference-hero {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 42px 16px 34px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  background: linear-gradient(135deg, #0b1324 0%, #15203a 52%, #1c2f4d 100%);
}

body.home-premium .page-shell--home .home-reference-hero::before,
body.home-premium .page-shell--home .home-reference-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

body.home-premium .page-shell--home .home-reference-hero::before {
  background-image:
    radial-gradient(circle at 62% 26%, rgba(249, 115, 22, 0.18), rgba(249, 115, 22, 0) 40%),
    radial-gradient(circle at 16% 18%, rgba(99, 102, 241, 0.16), rgba(99, 102, 241, 0) 36%);
}

body.home-premium .page-shell--home .home-reference-hero::after {
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.72) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.72) 1px, transparent 1px);
  background-size: 62px 62px;
}

body.home-premium .page-shell--home .home-reference-hero > * {
  position: relative;
  z-index: 1;
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}

body.home-premium .home-reference-hero h1 {
  margin: 0;
  text-align: center;
  color: #ffffff;
  font-size: clamp(1.85rem, 4.8vw, 4.05rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

body.home-premium .home-reference-hero .tool-simple-subtitle {
  margin-top: 14px;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.95rem, 2.3vw, 1.14rem);
  line-height: 1.65;
}

body.home-premium .home-hero-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

body.home-premium .home-hero-actions .btn.primary {
  min-height: 38px;
  border: 0;
  border-radius: 11px;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--premium-amber-500), #fb923c);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 18px rgba(249, 115, 22, 0.32);
}

body.home-premium .home-hero-actions .btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 22px rgba(249, 115, 22, 0.34);
}

body.home-premium .home-hero-actions .home-hero-secondary {
  min-height: 38px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  padding: 8px 18px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
}

body.home-premium .home-hero-actions .home-hero-secondary:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

body.home-premium .home-trust-strip {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

body.home-premium .home-trust-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

body.home-premium .home-trust-pill-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(249, 115, 22, 0.2);
  color: #fb923c;
}

body.home-premium .home-trust-pill-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.home-premium .home-trust-pill-copy strong {
  display: block;
  font-size: 12px;
  color: #ffffff;
  font-weight: 700;
}

body.home-premium .home-trust-pill-copy small {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.64);
}

body.home-premium .home-quick-links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

body.home-premium .home-quick-links .quick-link {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-height: 30px;
  padding: 6px 11px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.03);
}

body.home-premium .home-quick-links .quick-link:hover {
  border-color: rgba(251, 146, 60, 0.62);
  color: #fb923c;
  background: rgba(251, 146, 60, 0.13);
}

body.home-premium .tool-directory,
body.home-premium .home-seo-text,
body.home-premium .home-how-works,
body.home-premium .home-reference-workbench,
body.home-premium .ai-tools-panel,
body.home-premium .home-faq-panel {
  padding-top: 44px;
  padding-bottom: 44px;
}

body.home-premium .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

body.home-premium .section-head h2,
body.home-premium .home-meta-band h2,
body.home-premium .home-seo-text h2,
body.home-premium .home-how-works h2,
body.home-premium .home-reference-workbench h2,
body.home-premium .home-faq-panel h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.4rem, 2.7vw, 2.1rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 800;
}

body.home-premium .section-head a {
  color: #ea580c;
  font-size: 13px;
  font-weight: 700;
}

body.home-premium .hub-summary {
  margin: 0 0 22px;
  color: #64748b;
  line-height: 1.65;
  font-size: 15px;
}

body.home-premium .cards-grid.home-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

body.home-premium .tool-card.home-tool-card {
  position: relative;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  padding: 16px;
  box-shadow: var(--premium-shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

body.home-premium .tool-card.home-tool-card:hover {
  transform: translateY(-4px);
  border-color: #d5dde8;
  box-shadow: var(--premium-shadow-md);
}

body.home-premium .tool-card.home-tool-card .tool-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

body.home-premium .tool-card.home-tool-card .tool-card-icon {
  --icon-back: #f6dfd2;
  --icon-front: #f27349;
  --icon-glyph: #ffffff;
  position: relative;
  width: 52px;
  height: 44px;
  flex: 0 0 52px;
  display: inline-block;
}

body.home-premium .tool-card.home-tool-card .tool-card-icon::before,
body.home-premium .tool-card.home-tool-card .tool-card-icon::after {
  content: "";
  position: absolute;
  border-radius: 6px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

body.home-premium .tool-card.home-tool-card .tool-card-icon::before {
  width: 24px;
  height: 24px;
  left: 0;
  top: 2px;
  background: var(--icon-back);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body.home-premium .tool-card.home-tool-card .tool-card-icon::after {
  width: 32px;
  height: 32px;
  left: 14px;
  top: 12px;
  background: var(--icon-front);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 8px 14px -11px rgba(15, 23, 42, 0.65);
}

body.home-premium .tool-card.home-tool-card .tool-card-icon .tool-icon {
  position: absolute;
  left: 21px;
  top: 19px;
  z-index: 3;
  width: 18px;
  height: 18px;
  color: var(--icon-glyph);
  stroke-width: 2.1;
}

body.home-premium .tool-card.home-tool-card .tool-card-icon.has-badge .tool-icon {
  display: none;
}

body.home-premium .tool-card.home-tool-card .tool-card-icon-badge {
  position: absolute;
  left: 20px;
  top: 18px;
  z-index: 4;
  min-width: 16px;
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
}

body.home-premium .tool-card.home-tool-card .tool-card-icon.has-badge .tool-card-icon-badge {
  font-size: 15px;
}

body.home-premium .tool-card.home-tool-card .tool-card-icon.has-badge .tool-card-icon-badge.is-long {
  left: 18px;
  top: 21px;
  font-size: 11px;
  letter-spacing: 0;
}

body.home-premium .tool-card.home-tool-card:hover .tool-card-icon::before {
  transform: translateY(-1px);
}

body.home-premium .tool-card.home-tool-card:hover .tool-card-icon::after {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 10px 18px -11px rgba(15, 23, 42, 0.72);
}

body.home-premium .tool-card.home-tool-card[data-category="organize"] .tool-card-icon {
  --icon-back: #f6dfd2;
  --icon-front: #f27349;
}

body.home-premium .tool-card.home-tool-card[data-category="convert"] .tool-card-icon {
  --icon-back: #dfe8fa;
  --icon-front: #6687c8;
}

body.home-premium .tool-card.home-tool-card[data-category="secure"] .tool-card-icon {
  --icon-back: #ead6e8;
  --icon-front: #aa6fa2;
}

body.home-premium .tool-card.home-tool-card[data-category="extract"] .tool-card-icon {
  --icon-back: #f2e7bc;
  --icon-front: #d2bd34;
}

body.home-premium .tool-card.home-tool-card[data-category="automation"] .tool-card-icon {
  --icon-back: #dfe6ef;
  --icon-front: #7d8fa7;
}

body.home-premium .tool-card.home-tool-card[data-category="developer"] .tool-card-icon {
  --icon-back: #dde4ef;
  --icon-front: #5f738f;
}

body.home-premium .tool-card.home-tool-card[data-tool-key="compress"] .tool-card-icon,
body.home-premium .tool-card.home-tool-card[data-tool-key="compress_for_email"] .tool-card-icon {
  --icon-back: #dce8be;
  --icon-front: #8cbf58;
}

body.home-premium .tool-card.home-tool-card[data-tool-key="pdf_to_powerpoint"] .tool-card-icon,
body.home-premium .tool-card.home-tool-card[data-tool-key="powerpoint_to_pdf"] .tool-card-icon,
body.home-premium .tool-card.home-tool-card[data-tool-key="pdf_to_pptx"] .tool-card-icon,
body.home-premium .tool-card.home-tool-card[data-tool-key="pptx_to_pdf"] .tool-card-icon,
body.home-premium .tool-card.home-tool-card[data-tool-key="ppt_to_pdf"] .tool-card-icon {
  --icon-back: #f3ddd2;
  --icon-front: #f47d55;
}

body.home-premium .tool-card.home-tool-card[data-tool-key="pdf_to_excel"] .tool-card-icon,
body.home-premium .tool-card.home-tool-card[data-tool-key="excel_to_pdf"] .tool-card-icon,
body.home-premium .tool-card.home-tool-card[data-tool-key="pdf_to_xlsx"] .tool-card-icon,
body.home-premium .tool-card.home-tool-card[data-tool-key="xlsx_to_pdf"] .tool-card-icon,
body.home-premium .tool-card.home-tool-card[data-tool-key="xls_to_pdf"] .tool-card-icon {
  --icon-back: #d9ebd2;
  --icon-front: #6dae6b;
}

body.home-premium .tool-card.home-tool-card[data-tool-key="pdf_to_word"] .tool-card-icon,
body.home-premium .tool-card.home-tool-card[data-tool-key="word_to_pdf"] .tool-card-icon,
body.home-premium .tool-card.home-tool-card[data-tool-key="pdf_to_docx"] .tool-card-icon,
body.home-premium .tool-card.home-tool-card[data-tool-key="docx_to_pdf"] .tool-card-icon,
body.home-premium .tool-card.home-tool-card[data-tool-key="doc_to_pdf"] .tool-card-icon {
  --icon-back: #dce5f6;
  --icon-front: #6485c7;
}

body.home-premium .tool-card.home-tool-card[data-tool-key="jpg_to_pdf"] .tool-card-icon,
body.home-premium .tool-card.home-tool-card[data-tool-key="jpg_to_pdf_files"] .tool-card-icon,
body.home-premium .tool-card.home-tool-card[data-tool-key="pdf_to_jpg"] .tool-card-icon {
  --icon-back: #f1e8be;
  --icon-front: #d8c344;
}

body.home-premium .tool-card.home-tool-card[data-tool-key="png_to_pdf"] .tool-card-icon,
body.home-premium .tool-card.home-tool-card[data-tool-key="pdf_to_png"] .tool-card-icon {
  --icon-back: #d9e5f8;
  --icon-front: #7894c8;
}

body.home-premium .tool-card.home-tool-card .tool-card-head strong {
  font-size: 14px;
  color: #0f172a;
  font-weight: 700;
}

body.home-premium .tool-card.home-tool-card p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}

body.home-premium .tool-card.home-tool-card .pill {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
}

body.home-premium .home-meta-band {
  text-align: center;
  background: #f8fafc;
}

body.home-premium .home-meta-band p {
  margin-top: 10px;
  color: #64748b;
}

body.home-premium .home-seo-text {
  max-width: 980px;
  text-align: center;
}

body.home-premium .home-seo-text p {
  color: #64748b;
  line-height: 1.72;
  margin: 12px 0 0;
}

body.home-premium .home-how-works {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.84), rgba(248, 250, 252, 0.38));
}

body.home-premium .home-how-steps {
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.home-premium .home-how-steps li {
  list-style: none;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 14px 18px;
  background: #ffffff;
  box-shadow: var(--premium-shadow-sm);
  text-align: center;
}

body.home-premium .home-how-steps strong {
  display: block;
  color: #0f172a;
  margin-bottom: 5px;
  font-size: 34px;
  font-size: clamp(1.45rem, 2.1vw, 1.8rem);
  font-weight: 700;
  line-height: 1.2;
}

body.home-premium .home-how-steps span {
  color: #64748b;
  display: block;
  max-width: 280px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.5;
}

body.home-premium .home-step-icon-wrap {
  position: relative;
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
}

body.home-premium .home-step-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  border: 1px solid #efdfd2;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.38) 45%, rgba(255, 255, 255, 0) 68%),
    linear-gradient(180deg, #fef9f4 0%, #f3e6dc 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(236, 203, 175, 0.58),
    0 9px 16px -14px rgba(245, 111, 28, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f56f1c;
}

body.home-premium .home-step-icon svg {
  width: 22px;
  height: 22px;
}

body.home-premium .home-step-index {
  position: absolute;
  top: -1px;
  right: -1px;
  transform: translate(18%, -4%);
  color: #f4a57d;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
}

body.home-premium .home-reference-workbench {
  background: rgba(248, 250, 252, 0.9);
}

body.home-premium .home-reference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.home-premium .home-reference-card {
  border: 1px solid #e2e8f0;
  border-radius: var(--premium-radius-xl);
  padding: 22px;
  background: #ffffff;
}

body.home-premium .home-reference-dropzone {
  border: 2px dashed #dbe4ef;
  border-radius: 14px;
  background: #f8fafc;
  padding: 24px;
  text-align: center;
}

body.home-premium .home-drop-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 12px;
  background: rgba(249, 115, 22, 0.12);
  color: #ea580c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

body.home-premium .home-reference-dropzone strong {
  color: #0f172a;
}

body.home-premium .home-reference-dropzone span {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 13px;
}

body.home-premium .home-file-overview {
  margin-top: 18px;
}

body.home-premium .home-file-overview h3 {
  margin: 0 0 8px;
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

body.home-premium .home-file-overview ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.home-premium .home-file-overview ul a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 9px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 6px 10px;
  font-size: 12px;
  color: #334155;
}

body.home-premium .home-file-overview ul a:hover {
  border-color: #cbd5e1;
  background: #ffffff;
}

body.home-premium .home-setting-box h3 {
  margin: 0 0 10px;
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

body.home-premium .home-category-summary {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

body.home-premium .home-category-summary li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #334155;
  font-size: 13px;
}

body.home-premium .home-setting-box p {
  margin-top: 12px;
  color: #64748b;
  font-size: 14px;
}

body.home-premium .home-main-action.btn.primary {
  width: 100%;
  margin-top: 16px;
  min-height: 42px;
  border-radius: 12px;
  border: 0;
  background: linear-gradient(135deg, var(--premium-amber-500), #fb923c);
  color: #ffffff;
  box-shadow: 0 12px 20px rgba(249, 115, 22, 0.25);
}

body.home-premium .home-reference-foot-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body.home-premium .home-mini-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  background: #ffffff;
}

body.home-premium .home-mini-card h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #0f172a;
}

body.home-premium .home-mini-card p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

body.home-premium .ai-tools-panel .ai-tool-card {
  background: linear-gradient(145deg, #ffffff 0%, #faf7ff 100%);
}

body.home-premium .faq-panel details {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

body.home-premium .faq-panel details + details {
  margin-top: 10px;
}

body.home-premium .faq-panel summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  color: #0f172a;
  font-weight: 600;
}

body.home-premium .faq-panel summary::-webkit-details-marker {
  display: none;
}

body.home-premium .faq-panel details p {
  margin: 0;
  padding: 0 16px 14px;
  color: #64748b;
}

body.home-premium .site-footer {
  margin-top: 32px;
  border-top: 0;
  background: #0f172a;
  color: rgba(255, 255, 255, 0.74);
}

body.home-premium .footer-shell {
  width: min(var(--premium-max), calc(100% - 28px));
}

body.home-premium .footer-title {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.home-premium .footer-links a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

body.home-premium .footer-links a:hover {
  color: #ffffff;
}

body.home-premium .footer-copy,
body.home-premium .footer-bottom {
  color: rgba(255, 255, 255, 0.58);
}

body.home-premium .footer-brand b {
  color: #ffffff;
}

@media (max-width: 1240px) {
  body.home-premium .cards-grid.home-tools-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.home-premium .home-reference-foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  body.home-premium .header-inner {
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  body.home-premium .main-nav {
    order: 3;
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  body.home-premium .page-shell:not(.page-shell--home),
  body.home-premium .page-shell.auth-page {
    width: calc(100% - 20px);
    padding: 16px 0 44px;
  }

  body.home-premium .page-shell.page-shell--info {
    width: calc(100% - 20px);
  }

  body.home-premium .page-shell:not(.page-shell--home) .panel {
    padding: 18px;
  }

  body.home-premium .page-shell--home .panel {
    width: calc(100% - 20px);
    padding: 22px;
    margin-top: 16px;
  }

  body.home-premium .home-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home-premium .cards-grid.home-tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home-premium .home-how-steps,
  body.home-premium .home-reference-grid {
    grid-template-columns: 1fr;
  }

  body.home-premium .contact-layout-grid {
    grid-template-columns: 1fr;
  }

  body.home-premium .home-how-steps li {
    padding: 18px 14px 16px;
  }

  body.home-premium .home-how-steps strong {
    font-size: 28px;
    font-size: clamp(1.35rem, 4.2vw, 1.6rem);
  }

  body.home-premium .home-how-steps span {
    font-size: 14px;
    line-height: 1.45;
    max-width: 100%;
  }

  body.home-premium .home-step-icon-wrap {
    width: 58px;
    height: 58px;
    margin-bottom: 12px;
  }

  body.home-premium .home-step-icon {
    width: 54px;
    height: 54px;
    border-radius: 13px;
  }

  body.home-premium .home-step-icon svg {
    width: 20px;
    height: 20px;
  }

  body.home-premium .home-step-index {
    font-size: 10px;
  }

  body.home-premium .lang-switcher ul,
  body.home-premium .lang-switcher .lang-switcher-list {
    top: 86px;
    width: calc(100vw - 18px);
  }
}

@media (max-width: 640px) {
  body.home-premium .top-right {
    margin-left: auto;
  }

  body.home-premium .top-right .ghost,
  body.home-premium .top-right form button.ghost {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 12px;
  }

  body.home-premium .lang-switcher summary {
    min-height: 34px;
    padding: 7px 9px;
  }

  body.home-premium .page-shell--home .home-reference-hero {
    padding-top: 30px;
    padding-bottom: 28px;
  }

  body.home-premium .home-trust-strip,
  body.home-premium .cards-grid.home-tools-grid,
  body.home-premium .home-reference-foot-grid {
    grid-template-columns: 1fr;
  }

  body.home-premium .home-how-steps {
    gap: 14px;
  }

  body.home-premium .home-step-icon-wrap {
    width: 54px;
    height: 54px;
    margin-bottom: 11px;
  }

  body.home-premium .home-step-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
  }

  body.home-premium .home-step-icon svg {
    width: 18px;
    height: 18px;
  }

  body.home-premium .home-step-index {
    font-size: 9px;
  }

  body.home-premium .tool-card.home-tool-card .tool-card-head {
    gap: 10px;
  }

  body.home-premium .tool-card.home-tool-card .tool-card-icon {
    width: 48px;
    height: 40px;
    flex-basis: 48px;
  }

  body.home-premium .tool-card.home-tool-card .tool-card-icon::before {
    width: 22px;
    height: 22px;
  }

  body.home-premium .tool-card.home-tool-card .tool-card-icon::after {
    width: 30px;
    height: 30px;
    left: 12px;
    top: 10px;
  }

  body.home-premium .tool-card.home-tool-card .tool-card-icon .tool-icon {
    left: 18px;
    top: 16px;
    width: 17px;
    height: 17px;
  }

  body.home-premium .tool-card.home-tool-card .tool-card-icon-badge {
    left: 17px;
    top: 15px;
    font-size: 13px;
  }

  body.home-premium .tool-card.home-tool-card .tool-card-icon.has-badge .tool-card-icon-badge.is-long {
    left: 15px;
    top: 18px;
    font-size: 10px;
  }

  body.home-premium .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  body.home-premium .home-hero-actions {
    width: 100%;
  }

  body.home-premium .home-hero-actions .btn.primary,
  body.home-premium .home-hero-actions .home-hero-secondary {
    flex: 1 1 100%;
    justify-content: center;
  }

  body.home-premium .info-cta-panel .home-hero-actions {
    width: 100%;
  }
}

/* Language switcher flag icons */
body.home-premium .lang-switcher .lang-switcher-current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 21ch;
}

body.home-premium .lang-switcher .lang-switcher-current-label {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.home-premium .lang-switcher .lang-switcher-flag {
  width: 20px;
  height: 14px;
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #dbe4ef;
}

body.home-premium .lang-switcher .lang-switcher-flag img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

body.home-premium .lang-switcher a {
  justify-content: flex-start;
  gap: 8px;
}

body.home-premium .lang-switcher .lang-switcher-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

html[dir="rtl"] body.home-premium .lang-switcher a {
  justify-content: flex-end;
}

html[dir="rtl"] body.home-premium .lang-switcher .lang-switcher-label {
  text-align: right;
}
