/* ═══════════════════════════════════════════════════════════════
   PDFMerger.in — Premium Glassmorphic Design System
   Ultra-light, fast, and premium UI/UX
   ═══════════════════════════════════════════════════════════════ */

/* ─── FONT ─── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ─── CSS CUSTOM PROPERTIES ─── */
:root {
  /* Colors */
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #a5b4fc;
  --secondary: #8b5cf6;
  --accent: #06b6d4;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8faff;
  --gray-100: #f1f5fc;
  --gray-200: #e2e8f4;
  --gray-300: #cbd5e6;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-body);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.04);
  --shadow-sm: 0 2px 8px -1px rgb(99 102 241 / 0.08), 0 1px 3px -1px rgb(0 0 0 / 0.06);
  --shadow-md: 0 8px 24px -4px rgb(99 102 241 / 0.12), 0 2px 8px -2px rgb(0 0 0 / 0.06);
  --shadow-lg: 0 20px 48px -8px rgb(99 102 241 / 0.16), 0 4px 16px -4px rgb(0 0 0 / 0.08);
  --shadow-xl: 0 32px 64px -12px rgb(99 102 241 / 0.2), 0 8px 24px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 32px rgb(99 102 241 / 0.2);

  /* Glass effect */
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.9);
  --glass-blur: blur(20px) saturate(1.8);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Container */
  --container-max: 1280px;
  --container-padding: clamp(1rem, 4vw, 2.5rem);

  /* Navbar */
  --navbar-height: 70px;
}

/* ─── RESET ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Critical: ensure the HTML [hidden] attribute always wins, even if a CSS class
   sets display:flex — this prevents elements like .processing-overlay from
   showing when they have the hidden attribute. */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--gray-50);
  background-image:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(99, 102, 241, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(139, 92, 246, 0.04) 0%, transparent 60%);
  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;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

/* ─── SKIP NAV ─── */
.skip-nav {
  position: absolute;
  left: -100%;
  top: 1rem;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 600;
  transition: left var(--transition-fast);
}

.skip-nav:focus {
  left: 1rem;
}

/* ─── CUSTOM CURSOR ─── */
#cursor {
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
  mix-blend-mode: multiply;
}

#cursor-follower {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(99, 102, 241, 0.4);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

body.cursor-hover #cursor {
  width: 20px;
  height: 20px;
  background: var(--secondary);
}

body.cursor-hover #cursor-follower {
  width: 52px;
  height: 52px;
  border-color: rgba(139, 92, 246, 0.3);
}

@media (hover: none) {

  #cursor,
  #cursor-follower {
    display: none;
  }
}

/* ─── CONTAINER ─── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ─── UTILITY CLASSES ─── */
/* Ensure [hidden] attribute always wins regardless of authored display rules */
[hidden] {
  display: none !important;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-500);
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all var(--transition-base);
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::after {
  opacity: 1;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: var(--shadow-sm), 0 0 0 0 rgba(99, 102, 241, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-color: var(--gray-200);
  color: var(--gray-700);
  box-shadow: var(--shadow-xs);
}

.btn--ghost:hover {
  background: white;
  border-color: var(--primary-light);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn--lg {
  padding: 0.875rem 2rem;
  font-size: 1.0625rem;
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn--full-width {
  width: 100%;
}

/* ─── NAVBAR ─── */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-height);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 24px rgba(99, 102, 241, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-xl);
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--gray-900);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  border-radius: 10px;
  flex-shrink: 0;
}

.logo-accent {
  color: var(--primary);
}

.logo-domain {
  color: var(--gray-400);
  font-weight: 500;
  font-size: 1rem;
}

.navbar__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__item {
  position: relative;
}

.nav__link,
.nav__link--btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--gray-700);
  transition: all var(--transition-fast);
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.nav__link:hover,
.nav__link--btn:hover,
.nav__item--dropdown:hover>.nav__link--btn {
  background: rgba(99, 102, 241, 0.06);
  color: var(--primary);
}

.badge-new {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: white;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 20px;
  margin-left: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Dropdowns */
.dropdown-panel {
  position: absolute;
  top: calc(100% + 2px);
  /* Reduced from 8px → 2px to prevent mouse gap */
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  padding: var(--space-sm);
  padding-top: calc(var(--space-sm) + 4px);
  /* Extra top padding = invisible bridge */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
  transform-origin: top center;
  transform: translateX(-50%) translateY(-6px) scale(0.97);
}

/* Keep open while hovering the BUTTON or the PANEL (both directions) */
.nav__item--dropdown:hover .dropdown-panel,
.nav__item--dropdown .dropdown-panel:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.dropdown-panel--wide {
  min-width: 420px;
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.dropdown-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  padding: var(--space-sm);
}

.dropdown-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 8px;
  margin-bottom: 4px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  color: var(--gray-700);
}

.dropdown-item:hover {
  background: var(--gray-50);
  color: var(--primary);
}

.dropdown-item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-900);
}

.dropdown-item small {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.di-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Navbar Actions */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.nav__mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.nav__mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav__mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--navbar-height);
  background: white;
  z-index: 999;
  overflow-y: auto;
  padding: var(--space-lg);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu__search {
  margin-bottom: var(--space-lg);
  position: relative;
}

.mobile-menu__search input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 1rem;
  background: var(--gray-50);
}

.mobile-section {
  margin-bottom: var(--space-lg);
}

.mobile-section-title {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-400);
  margin-bottom: var(--space-sm);
}

.mobile-section a {
  display: block;
  padding: 0.625rem 0;
  color: var(--gray-700);
  font-weight: 500;
  border-bottom: 1px solid var(--gray-100);
}

.mobile-section a:hover {
  color: var(--primary);
}

/* ─── HERO ─── */
.hero {
  padding: calc(var(--navbar-height) + var(--space-3xl)) 0 var(--space-4xl);
  position: relative;
  overflow: hidden;
}

.hero__bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18), transparent 70%);
  top: -200px;
  left: -150px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 70%);
  top: 50px;
  right: -100px;
  animation-delay: 3s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1), transparent 70%);
  bottom: -100px;
  left: 30%;
  animation-delay: 5s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(20px, -30px) scale(1.05);
  }

  66% {
    transform: translate(-15px, 15px) scale(0.97);
  }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-lg);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.03em;
}

.hero__title em {
  font-style: normal;
  color: var(--primary);
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: var(--space-xl);
  line-height: 1.75;
}

.hero__cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

.hero__stat {
  text-align: center;
}

.hero__stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  font-family: var(--font-display);
}

.hero__stat span {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 500;
}

.hero__stat__divider {
  width: 1px;
  height: 36px;
  background: var(--gray-200);
}

/* Hero Visual Card */
.hero__visual {
  position: relative;
}

.hero__card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transition: transform var(--transition-slow);
}

.hero__card--main {
  padding: var(--space-lg);
}

.hero__card:hover {
  transform: translateY(-4px) rotate(-0.5deg);
}

.hero__card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-md);
  border-bottom: 1px solid var(--gray-100);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red {
  background: #ff5f57;
}

.dot.yellow {
  background: #ffbd2e;
}

.dot.green {
  background: #28c840;
}

.hero__card-header span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-left: 0.25rem;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  margin-bottom: 6px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  font-size: 0.875rem;
  color: var(--gray-700);
  font-weight: 500;
}

.file-item--result {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06), rgba(99, 102, 241, 0.06));
  border-color: rgba(16, 185, 129, 0.3);
}

.file-icon {
  width: 28px;
  height: 36px;
  border-radius: 4px;
  flex-shrink: 0;
}

.file-icon.pdf {
  background: linear-gradient(135deg, #fee2e2, #fca5a5);
  border: 1px solid #fca5a5;
}

.file-icon.img {
  background: linear-gradient(135deg, #dbeafe, #93c5fd);
  border: 1px solid #93c5fd;
}

.file-icon.word {
  background: linear-gradient(135deg, #dbeafe, #60a5fa);
  border: 1px solid #60a5fa;
}

.file-badge {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--gray-100);
  color: var(--gray-500);
}

.file-badge--success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.hero__merge-arrow {
  text-align: center;
  padding: 4px 0;
}

.hero__card--floating {
  position: absolute;
  padding: 0.625rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
  animation: floatCard 4s ease-in-out infinite;
}

.hero__card--floating-1 {
  top: -20px;
  right: -16px;
  animation-delay: 0s;
}

.hero__card--floating-2 {
  bottom: 20px;
  left: -24px;
  animation-delay: 1.5s;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ─── AD CONTAINERS ─── */
.ad-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-md) var(--container-padding);
  text-align: center;
}

.ad-container--leaderboard {
  padding: var(--space-xl) var(--container-padding);
}

.sidebar-ad,
.sticky-ad {
  margin-bottom: var(--space-lg);
}

.sticky-ad {
  position: sticky;
  top: calc(var(--navbar-height) + 1rem);
}

/* ─── USP STRIP ─── */
.usp-strip {
  padding: var(--space-2xl) 0;
  background: white;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
}

.usp-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.usp-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-100);
}

.usp-item h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.usp-item p {
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ─── TOOL CARDS GRID ─── */
.tools-section {
  padding: var(--space-4xl) 0;
}

.tools-search-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto var(--space-xl);
  padding: 0.75rem 1rem;
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.tools-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.9375rem;
  background: transparent;
}

/* Category Tabs */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: var(--space-2xl);
}

.cat-tab {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  background: white;
  border: 1.5px solid var(--gray-200);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cat-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(99, 102, 241, 0.04);
}

.cat-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

/* Tool Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-md);
}

.tools-grid--small {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.tool-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: var(--space-md) var(--space-lg);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  text-decoration: none;
  color: var(--gray-800);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.tool-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.tool-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-md);
  background: white;
}

.tool-card:hover::before {
  opacity: 1;
}

.tool-card.hidden {
  display: none;
}

.tool-card__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base);
}

.tool-card:hover .tool-card__icon {
  transform: scale(1.1) rotate(-3deg);
}

.tool-card__content {
  flex: 1;
  min-width: 0;
}

.tool-card__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tool-card__badge {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 1px 6px;
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: white;
  border-radius: 20px;
  text-transform: uppercase;
}

.tool-card__desc {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.4;
}

.tool-card__arrow {
  color: var(--gray-300);
  flex-shrink: 0;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.tool-card:hover .tool-card__arrow {
  transform: translateX(4px);
  color: var(--primary);
}

.tool-card--sm {
  padding: 0.875rem;
}

/* ─── WHY US ─── */
.why-us {
  padding: var(--space-4xl) 0;
  background: white;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.why-card {
  padding: var(--space-xl);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: white;
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.why-card h3 {
  font-size: 1.0625rem;
  margin-bottom: var(--space-sm);
}

.why-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.75;
}

/* ─── FAQ ─── */
.faq-section {
  padding: var(--space-4xl) 0;
}

.faq-grid {
  max-width: 800px;
  margin: var(--space-2xl) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--space-md) var(--space-lg);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--transition-fast);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary);
  line-height: 1;
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-answer {
  padding: 0 var(--space-lg) var(--space-md);
}

.faq-answer p {
  color: var(--gray-600);
  line-height: 1.75;
  font-size: 0.9375rem;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--gray-100);
  background: white;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
}

.breadcrumb__item a {
  color: var(--primary);
  font-weight: 500;
}

.breadcrumb__item a:hover {
  text-decoration: underline;
}

.breadcrumb__item--current {
  color: var(--gray-500);
}

.breadcrumb__sep {
  color: var(--gray-300);
}

/* ─── TOOL HEADER ─── */
.tool-header {
  padding: var(--space-2xl) 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(139, 92, 246, 0.03));
  border-bottom: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}

.tool-header__bg-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--tool-color, #6366f1) 0%, transparent 70%);
  opacity: 0.05;
  top: -100px;
  right: -100px;
  border-radius: 50%;
}

.tool-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  position: relative;
}

.tool-header__icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.tool-header__cat {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.tool-header__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.badge-new-lg {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: white;
  border-radius: 20px;
  text-transform: uppercase;
}

.tool-header__desc {
  font-size: 1.0625rem;
  color: var(--gray-600);
  margin-bottom: var(--space-md);
}

.tool-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tool-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--success);
  background: rgba(16, 185, 129, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* ─── WORKSPACE ─── */
.tool-workspace {
  padding: var(--space-2xl) 0 var(--space-4xl);
}

.workspace-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-xl);
  align-items: start;
}

.upload-zone {
  min-height: 320px;
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--glass-bg), rgba(255, 255, 255, 0.9));
  transition: all var(--transition-base);
  cursor: pointer;
  text-align: center;
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.04);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.upload-zone__inner {
  padding: var(--space-2xl);
}

.upload-zone__icon {
  margin: 0 auto var(--space-lg);
  animation: bounce-upload 2s ease-in-out infinite;
}

@keyframes bounce-upload {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.upload-zone__title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.upload-zone__sub {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-bottom: var(--space-lg);
}

.file-input--hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* File Queue */
.file-queue {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.file-queue__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--gray-100);
}

.file-queue__title {
  font-size: 1.0625rem;
  font-weight: 700;
}

.file-list {
  padding: var(--space-sm) var(--space-md);
  min-height: 100px;
}

.file-list-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.625rem 0.75rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  margin-bottom: 6px;
  cursor: grab;
  transition: all var(--transition-fast);
  user-select: none;
}

.file-list-item:hover {
  background: white;
  box-shadow: var(--shadow-xs);
}

.file-list-item.dragging {
  opacity: 0.5;
  cursor: grabbing;
}

.file-list-item__drag {
  color: var(--gray-300);
  cursor: grab;
  flex-shrink: 0;
}

.file-list-item__name {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-list-item__size {
  font-size: 0.75rem;
  color: var(--gray-400);
  flex-shrink: 0;
}

.file-list-item__remove {
  color: var(--gray-400);
  flex-shrink: 0;
  transition: color var(--transition-fast);
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
}

.file-list-item__remove:hover {
  color: var(--danger);
}

/* Workspace Actions */
.workspace-actions {
  padding: var(--space-lg);
  border-top: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.process-btn {
  font-size: 1.0625rem;
}

.reset-btn {
  align-self: center;
  color: var(--gray-400);
  font-size: 0.875rem;
}

.reset-btn:hover {
  color: var(--danger);
}

/* Processing Overlay */
.processing-overlay {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  text-align: center;
  padding: var(--space-2xl);
}

.processing-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--gray-100);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.processing-text {
  font-size: 1.0625rem;
  font-weight: 700;
}

.processing-sub {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* Result Section */
.result-section {
  background: white;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-xl);
}

.result-success {
  padding: var(--space-2xl);
  text-align: center;
}

.result-checkmark {
  margin: 0 auto var(--space-lg);
}

.result-success h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.result-success p {
  color: var(--gray-600);
  margin-bottom: var(--space-xl);
}

.result-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Sidebar */
.workspace-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.sidebar-related {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
}

.sidebar-related__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: var(--space-md);
}

.sidebar-tool-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-50);
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.sidebar-tool-link:last-child {
  border-bottom: none;
}

.sidebar-tool-link:hover {
  color: var(--primary);
}

.sidebar-tool-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ─── ARTICLE ─── */
.tool-article {
  padding: var(--space-4xl) 0;
  background: white;
  border-top: 1px solid var(--gray-100);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--space-2xl);
  align-items: start;
}

.article-content h2 {
  font-size: 1.5rem;
  margin: var(--space-xl) 0 var(--space-md);
  color: var(--gray-900);
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: var(--space-md);
  font-size: 0.9375rem;
}

.article-content strong {
  color: var(--gray-800);
}

/* ─── MORE TOOLS ─── */
.more-tools {
  padding: var(--space-3xl) 0;
  background: var(--gray-50);
}

.more-tools h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: var(--space-xl);
}

/* ─── FOOTER ─── */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  margin-top: 0;
  position: relative;
}

.footer__wave {
  line-height: 0;
  background: var(--gray-50);
}

.footer__wave svg {
  display: block;
}

.footer__main {
  padding: var(--space-3xl) 0 var(--space-2xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: var(--space-2xl);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: white;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: var(--space-md);
}

.footer__tagline {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--gray-400);
  margin-bottom: var(--space-lg);
}

.footer__trust {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--gray-400);
}

.footer__col-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--gray-400);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: white;
}

.footer__bottom {
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.footer__disclaimer {
  font-size: 0.75rem;
  color: var(--gray-600);
}

/* ─── TOOL CONTROLS ─── */
.tool-controls {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--gray-100);
}

.control-group {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.control-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  min-width: 100px;
}

.control-options {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.control-option {
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--gray-700);
}

.control-option.selected {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.control-option:hover:not(.selected) {
  border-color: var(--primary);
  color: var(--primary);
}

/* Page-level thumbnail grid */
.page-thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  max-height: 400px;
  overflow-y: auto;
}

.page-thumb {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  background: var(--gray-100);
  aspect-ratio: 3/4;
}

.page-thumb:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.page-thumb.selected {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.06);
}

.page-thumb__num {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 2px 6px;
  border-radius: 20px;
}

.page-thumb__del {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--danger);
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.page-thumb:hover .page-thumb__del {
  opacity: 1;
}

.page-thumb canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── PAGE PREVIEW MODAL ─── */
.page-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.page-preview-modal.hidden {
  display: none;
}

.page-preview-modal__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.page-preview-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--gray-700);
  box-shadow: var(--shadow-sm);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    display: none;
  }

  .workspace-layout {
    grid-template-columns: 1fr;
  }

  .workspace-sidebar {
    grid-row: 1;
    display: none;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --navbar-height: 60px;
  }

  .navbar__nav {
    display: none;
  }

  .nav__mobile-toggle {
    display: flex;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .tools-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .usp-grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .category-tabs {
    gap: 0.375rem;
  }

  .cat-tab {
    font-size: 0.8rem;
    padding: 0.375rem 0.75rem;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn--lg {
    width: 100%;
  }

  .usp-grid {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .hero__stat__divider {
    display: none;
  }
}

/* ─── ACCESSIBILITY & PRINT ─── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 3px;
}

@media print {

  .navbar,
  .footer,
  .ad-container,
  #cursor,
  #cursor-follower {
    display: none;
  }
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* ─── SELECTION ─── */
::selection {
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-dark);
}
 / *    % % %  A D   U N I T    % % %  * / 
 . a d - u n i t   { 
     m a r g i n :   v a r ( - - s p a c e - x l )   a u t o ; 
     m a x - w i d t h :   1 0 0 % ; 
     d i s p l a y :   f l e x ; 
     f l e x - d i r e c t i o n :   c o l u m n ; 
     a l i g n - i t e m s :   c e n t e r ; 
     p a d d i n g :   0   v a r ( - - c o n t a i n e r - p a d d i n g ) ; 
     g a p :   v a r ( - - s p a c e - x s ) ; 
     o v e r f l o w :   h i d d e n ; 
 } 
 
 . a d - u n i t _ _ l a b e l   { 
     f o n t - s i z e :   1 0 p x ; 
     f o n t - w e i g h t :   7 0 0 ; 
     c o l o r :   v a r ( - - g r a y - 4 0 0 ) ; 
     l e t t e r - s p a c i n g :   0 . 1 e m ; 
     t e x t - t r a n s f o r m :   u p p e r c a s e ; 
 } 
 
 . a d - u n i t _ _ c o n t a i n e r   { 
     b a c k g r o u n d :   v a r ( - - g r a y - 1 0 0 ) ; 
     b o r d e r :   1 p x   d a s h e d   v a r ( - - g r a y - 3 0 0 ) ; 
     b o r d e r - r a d i u s :   v a r ( - - r a d i u s - m d ) ; 
     d i s p l a y :   f l e x ; 
     a l i g n - i t e m s :   c e n t e r ; 
     j u s t i f y - c o n t e n t :   c e n t e r ; 
     m i n - h e i g h t :   9 0 p x ; 
     w i d t h :   1 0 0 % ; 
     m a x - w i d t h :   9 7 0 p x ; 
     p o s i t i o n :   r e l a t i v e ; 
     t r a n s i t i o n :   v a r ( - - t r a n s i t i o n - b a s e ) ; 
 } 
 
 . a d - u n i t : h o v e r   . a d - u n i t _ _ c o n t a i n e r   { 
     b o r d e r - c o l o r :   v a r ( - - p r i m a r y - l i g h t ) ; 
     b a c k g r o u n d :   v a r ( - - w h i t e ) ; 
 } 
 
 . a d - p l a c e h o l d e r - m o c k   { 
     d i s p l a y :   f l e x ; 
     f l e x - d i r e c t i o n :   c o l u m n ; 
     a l i g n - i t e m s :   c e n t e r ; 
     g a p :   v a r ( - - s p a c e - s m ) ; 
     c o l o r :   v a r ( - - g r a y - 4 0 0 ) ; 
 } 
 
 . a d - p l a c e h o l d e r - m o c k _ _ i c o n   { 
     w i d t h :   2 8 p x ; 
     h e i g h t :   2 8 p x ; 
     b o r d e r - r a d i u s :   6 p x ; 
     b o r d e r :   1 . 5 p x   s o l i d   c u r r e n t C o l o r ; 
     d i s p l a y :   f l e x ; 
     a l i g n - i t e m s :   c e n t e r ; 
     j u s t i f y - c o n t e n t :   c e n t e r ; 
     f o n t - w e i g h t :   8 0 0 ; 
     f o n t - s i z e :   1 1 p x ; 
 } 
 
 . a d - p l a c e h o l d e r - m o c k _ _ t e x t   { 
     f o n t - s i z e :   1 1 p x ; 
     f o n t - w e i g h t :   5 0 0 ; 
 } 
 
 . a d - u n i t - - s i d e b a r   { 
     m a r g i n :   0   0   v a r ( - - s p a c e - l g )   0 ; 
     p a d d i n g :   0 ; 
 } 
 . a d - u n i t - - s i d e b a r   . a d - u n i t _ _ c o n t a i n e r   { 
     m i n - h e i g h t :   2 5 0 p x ; 
     m a x - w i d t h :   3 0 0 p x ; 
 } 
 
 . a d - u n i t - - b o x   . a d - u n i t _ _ c o n t a i n e r   { 
     m i n - h e i g h t :   2 8 0 p x ; 
     m a x - w i d t h :   3 3 6 p x ; 
 } 
  
 
 / *    % % %  U P S C   &   S T U D E N T   S E C T I O N    % % %  * / 
 . u p s c - s e c t i o n   { 
     p a d d i n g :   v a r ( - - s p a c e - 4 x l )   0 ; 
     b a c k g r o u n d :   l i n e a r - g r a d i e n t ( t o   b o t t o m ,   t r a n s p a r e n t ,   r g b a ( 9 9 ,   1 0 2 ,   2 4 1 ,   0 . 0 3 ) ,   t r a n s p a r e n t ) ; 
 } 
 
 . u p s c - g r i d   { 
     d i s p l a y :   g r i d ; 
     g r i d - t e m p l a t e - c o l u m n s :   1 f r   1 f r ; 
     g a p :   v a r ( - - s p a c e - 4 x l ) ; 
     a l i g n - i t e m s :   c e n t e r ; 
 } 
 
 . u p s c - c o n t e n t   h 2   { 
     f o n t - s i z e :   c l a m p ( 1 . 5 r e m ,   4 v w ,   2 . 5 r e m ) ; 
     m a r g i n - b o t t o m :   v a r ( - - s p a c e - m d ) ; 
 } 
 
 . u p s c - l i s t   { 
     m a r g i n :   v a r ( - - s p a c e - x l )   0 ; 
     d i s p l a y :   f l e x ; 
     f l e x - d i r e c t i o n :   c o l u m n ; 
     g a p :   v a r ( - - s p a c e - m d ) ; 
 } 
 
 . u p s c - i t e m   { 
     d i s p l a y :   f l e x ; 
     g a p :   v a r ( - - s p a c e - m d ) ; 
     a l i g n - i t e m s :   f l e x - s t a r t ; 
 } 
 
 . u p s c - i t e m   i   { 
     w i d t h :   2 4 p x ; 
     h e i g h t :   2 4 p x ; 
     b a c k g r o u n d :   v a r ( - - p r i m a r y - l i g h t ) ; 
     c o l o r :   v a r ( - - p r i m a r y - d a r k ) ; 
     b o r d e r - r a d i u s :   5 0 % ; 
     d i s p l a y :   f l e x ; 
     a l i g n - i t e m s :   c e n t e r ; 
     j u s t i f y - c o n t e n t :   c e n t e r ; 
     f l e x - s h r i n k :   0 ; 
     f o n t - s i z e :   1 4 p x ; 
     f o n t - w e i g h t :   8 0 0 ; 
 } 
 
 . u p s c - v i s u a l   { 
     p o s i t i o n :   r e l a t i v e ; 
     b a c k g r o u n d :   v a r ( - - w h i t e ) ; 
     p a d d i n g :   v a r ( - - s p a c e - x l ) ; 
     b o r d e r - r a d i u s :   v a r ( - - r a d i u s - 2 x l ) ; 
     b o x - s h a d o w :   v a r ( - - s h a d o w - x l ) ; 
     b o r d e r :   1 p x   s o l i d   v a r ( - - g r a y - 2 0 0 ) ; 
 } 
 
 . u p s c - b a d g e   { 
     p o s i t i o n :   a b s o l u t e ; 
     t o p :   - 1 r e m ; 
     r i g h t :   - 1 r e m ; 
     b a c k g r o u n d :   v a r ( - - w a r n i n g ) ; 
     c o l o r :   v a r ( - - g r a y - 9 0 0 ) ; 
     p a d d i n g :   0 . 5 r e m   1 r e m ; 
     b o r d e r - r a d i u s :   v a r ( - - r a d i u s - f u l l ) ; 
     f o n t - w e i g h t :   8 0 0 ; 
     f o n t - s i z e :   1 2 p x ; 
     b o x - s h a d o w :   v a r ( - - s h a d o w - m d ) ; 
     t r a n s f o r m :   r o t a t e ( 5 d e g ) ; 
 } 
 
 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   { 
     . u p s c - g r i d   {   g r i d - t e m p l a t e - c o l u m n s :   1 f r ;   g a p :   v a r ( - - s p a c e - 2 x l ) ;   } 
 } 
  
 
 / *    % % %  P R I V A C Y   P R O M I S E   S E C T I O N    % % %  * / 
 . p r i v a c y - s e c t i o n   { 
     p a d d i n g :   v a r ( - - s p a c e - 4 x l )   0 ; 
     b a c k g r o u n d :   v a r ( - - g r a y - 9 0 0 ) ; 
     c o l o r :   v a r ( - - w h i t e ) ; 
     b o r d e r - r a d i u s :   v a r ( - - r a d i u s - 2 x l ) ; 
     m a r g i n :   v a r ( - - s p a c e - 4 x l )   v a r ( - - c o n t a i n e r - p a d d i n g ) ; 
     t e x t - a l i g n :   c e n t e r ; 
     o v e r f l o w :   h i d d e n ; 
     p o s i t i o n :   r e l a t i v e ; 
 } 
 
 . p r i v a c y - s e c t i o n   . s e c t i o n - t i t l e   {   c o l o r :   v a r ( - - w h i t e ) ;   } 
 . p r i v a c y - s e c t i o n   . s e c t i o n - s u b t i t l e   {   c o l o r :   v a r ( - - g r a y - 4 0 0 ) ;   } 
 
 . p r i v a c y - g r i d   { 
     d i s p l a y :   g r i d ; 
     g r i d - t e m p l a t e - c o l u m n s :   r e p e a t ( 3 ,   1 f r ) ; 
     g a p :   v a r ( - - s p a c e - x l ) ; 
     m a r g i n - t o p :   v a r ( - - s p a c e - 3 x l ) ; 
 } 
 
 . p r i v a c y - c a r d   { 
     p a d d i n g :   v a r ( - - s p a c e - x l ) ; 
     b a c k g r o u n d :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 0 5 ) ; 
     b o r d e r - r a d i u s :   v a r ( - - r a d i u s - x l ) ; 
     b o r d e r :   1 p x   s o l i d   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 1 ) ; 
     t r a n s i t i o n :   v a r ( - - t r a n s i t i o n - b a s e ) ; 
 } 
 
 . p r i v a c y - c a r d : h o v e r   { 
     b a c k g r o u n d :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 0 8 ) ; 
     t r a n s f o r m :   t r a n s l a t e Y ( - 5 p x ) ; 
 } 
 
 . p r i v a c y - c a r d   h 3   {   c o l o r :   v a r ( - - w h i t e ) ;   f o n t - s i z e :   1 . 2 5 r e m ;   m a r g i n :   v a r ( - - s p a c e - m d )   0   v a r ( - - s p a c e - s m ) ;   } 
 . p r i v a c y - c a r d   p   {   c o l o r :   v a r ( - - g r a y - 4 0 0 ) ;   f o n t - s i z e :   0 . 9 r e m ;   } 
 
 . p r i v a c y - i c o n   { 
     w i d t h :   4 8 p x ; 
     h e i g h t :   4 8 p x ; 
     d i s p l a y :   f l e x ; 
     a l i g n - i t e m s :   c e n t e r ; 
     j u s t i f y - c o n t e n t :   c e n t e r ; 
     m a r g i n :   0   a u t o ; 
     c o l o r :   v a r ( - - p r i m a r y - l i g h t ) ; 
 } 
 
 @ m e d i a   ( m a x - w i d t h :   9 0 0 p x )   { 
     . p r i v a c y - g r i d   {   g r i d - t e m p l a t e - c o l u m n s :   1 f r ;   } 
     . p r i v a c y - s e c t i o n   {   m a r g i n :   v a r ( - - s p a c e - x l )   v a r ( - - s p a c e - m d ) ;   } 
 } 
  
 