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

/* ==========================================================================
   Monochrome Minimalist Design System
   Pure Black & White with subtle architectural precision
   ========================================================================== */

:root {
  /* Surface & Background Hierarchy */
  --bg-primary: #050505;
  --bg-secondary: #0c0c0e;
  --bg-card: rgba(14, 14, 18, 0.94);
  --bg-input: #08080a;
  --bg-hover: rgba(255, 255, 255, 0.06);

  /* Borders & Hairlines */
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-medium: rgba(255, 255, 255, 0.2);
  --border-focus: #ffffff;
  --border-hover: rgba(255, 255, 255, 0.28);

  /* Typography / Grayscale */
  --text-main: #ffffff;
  --text-muted: #a1a1aa;
  --text-subtle: #71717a;
  --text-inverse: #000000;

  /* Monochrome Accents */
  --accent-primary: #ffffff;
  --accent-secondary: #e4e4e7;
  --accent-gradient: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
  --accent-glow: rgba(255, 255, 255, 0.15);

  /* Functional Status (Restrained) */
  --success: #ffffff;
  --success-subtle: #10b981;
  --success-bg: rgba(255, 255, 255, 0.06);
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.1);
  --warning: #f59e0b;

  /* Geometric Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  /* Shadows & Depth */
  --shadow-card: 0 16px 36px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--border-subtle);
  --shadow-glow: 0 0 24px rgba(255, 255, 255, 0.18);

  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.5;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 100% 100%, 36px 36px, 36px 36px;
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
}

/* Atmospheric Subtle Artwork Background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('/bg-art.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  filter: grayscale(100%) contrast(115%);
}

/* Smooth Scroll Offsets for Sticky Header */
#shorten-section,
#features,
#analytics-section,
#extension-section {
  scroll-margin-top: 5.5rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Top Navigation Bar
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
}

.nav-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #ffffff;
}

.brand-logo-nav {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.15);
  object-fit: cover;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.nav-badge-pill {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-service-badge {
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.social-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.15s ease;
}

.social-nav-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* Extension CTA with Hover Tooltip */
.ext-btn-wrapper {
  position: relative;
  display: inline-flex;
}

.btn-ext-header {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
  letter-spacing: -0.01em;
}

.btn-ext-header:hover {
  background: #e4e4e7;
  border-color: #e4e4e7;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.ext-badge-pill {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #000000;
  color: #ffffff;
  padding: 1px 5px;
  border-radius: 4px;
}

.ext-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 270px;
  background: rgba(14, 14, 18, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 0.8rem 0.95rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1010;
}

.ext-tooltip::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 24px;
  width: 10px;
  height: 10px;
  background: rgba(14, 14, 18, 0.98);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  transform: rotate(45deg);
}

.ext-btn-wrapper:hover .ext-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ext-tooltip-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.ext-tooltip-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   Expanded Container & Hero
   ========================================================================== */

.container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4.5rem;
}

.hero-section {
  text-align: center;
  margin-bottom: 3rem;
}

.header-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-subtle);
}

.badge-dot.online {
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}

.brand-logo-hero-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.brand-logo-hero {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.15);
  object-fit: cover;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.brand-logo-hero:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
  font-weight: 400;
}

/* ==========================================================================
   Features Section & Extension Showcase
   ========================================================================== */

.features-section {
  margin-bottom: 3.5rem;
}

.section-badge-row {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.section-headline {
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
  max-width: 720px;
  margin: 0 auto 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.7);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #ffffff;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Extension Spotlight Card */
.extension-spotlight-card {
  background: linear-gradient(180deg, #121216 0%, #08080a 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  margin-top: 3.5rem;
}

.extension-spotlight-content {
  max-width: 800px;
}

.extension-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.extension-spotlight-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.extension-spotlight-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.extension-spotlight-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-ext-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.badge-mini {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.35);
  color: #000000;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 0.3rem;
}

.extension-local-note {
  font-size: 0.82rem;
  color: var(--text-subtle);
}

.extension-local-note code {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
  color: #ffffff;
}

/* ==========================================================================
   Cards & Shortener Form
   ========================================================================== */

.card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 1.85rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: var(--border-hover);
}

.form-group {
  margin-bottom: 1rem;
}

.input-with-button {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.4rem 0.45rem 0.4rem 1rem;
  transition: all 0.2s ease;
}

.input-with-button:focus-within {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.url-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.05rem;
  outline: none;
  font-family: inherit;
}

.url-input::placeholder {
  color: var(--text-subtle);
}

/* Stark Monochrome Primary Button */
.btn-primary {
  background: var(--accent-primary);
  color: var(--text-inverse);
  border: 1px solid var(--accent-primary);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.18s ease;
  letter-spacing: -0.01em;
}

.btn-primary:hover {
  background: var(--accent-secondary);
  border-color: var(--accent-secondary);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Options Drawer Toggle */
.options-toggle {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  transition: color 0.15s ease;
}

.options-toggle:hover {
  color: var(--text-main);
}

.options-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.options-panel.hidden {
  display: none;
}

.field-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.custom-input, .custom-select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.custom-input:focus, .custom-select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Result Card
   ========================================================================== */

.result-card {
  border-color: rgba(255, 255, 255, 0.25);
  background: linear-gradient(180deg, rgba(20, 20, 24, 0.95) 0%, rgba(10, 10, 12, 0.95) 100%);
  animation: fadeIn 0.25s ease;
}

.result-card.hidden {
  display: none;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.result-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
}

.result-header h3 svg {
  stroke: #ffffff;
}

.result-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.short-link-box {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.short-url-text {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
  letter-spacing: -0.01em;
}

.short-url-text:hover {
  text-decoration: underline;
}

.btn-icon {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-icon:hover {
  background: #e4e4e7;
  border-color: #e4e4e7;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.qr-preview {
  background: #ffffff;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.qr-preview img {
  width: 96px;
  height: 96px;
  display: block;
}

/* ==========================================================================
   Tabs & History Section
   ========================================================================== */

.tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.tab-btn.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.table-container {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

th {
  color: var(--text-subtle);
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
  vertical-align: middle;
}

tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

.table-short-code {
  font-family: var(--font-mono);
  color: #ffffff;
  font-weight: 600;
}

.table-orig-url {
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-muted);
}

.badge-clicks {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 0.15rem 0.6rem;
  font-weight: 700;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  transition: all 0.2s ease;
}

/* White background when clicks > 0 */
.badge-clicks.has-clicks {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.stat-click-pill {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-subtle);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.25rem 0.85rem;
  display: inline-block;
  line-height: 1.1;
  transition: all 0.2s ease;
}

.stat-click-pill.has-clicks {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Site Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #000000;
  padding: 3.5rem 1.5rem 2rem;
  width: 100%;
}

.footer-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand .brand-link {
  margin-bottom: 0.75rem;
}

.brand-logo-footer {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  object-fit: cover;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 380px;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-group-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-social-link svg {
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.footer-social-link:hover svg {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  font-size: 0.82rem;
  color: var(--text-subtle);
}

.footer-badges-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tech-pill {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
}

/* ==========================================================================
   Alert Toast
   ========================================================================== */

.alert-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #121215;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  font-weight: 500;
  z-index: 100;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.alert-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.alert-toast.error {
  border-color: rgba(239, 68, 68, 0.5);
  background: #180d0f;
  color: #f87171;
}

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

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 992px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .nav-container {
    padding: 0.75rem 1rem;
  }
  .container {
    padding: 1.5rem 1rem 4rem;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .options-panel {
    grid-template-columns: 1fr;
  }
  .result-content {
    grid-template-columns: 1fr;
  }
  .qr-preview {
    justify-self: center;
  }
  .input-with-button {
    flex-direction: column;
    padding: 0.75rem;
  }
  .btn-primary {
    width: 100%;
    justify-content: center;
  }
}
