@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
  --bg: #080c14;
  --surface: #0e1420;
  --surface2: #141b2d;
  --border: rgba(99,179,237,0.12);
  --accent: #3b82f6;
  --accent2: #06b6d4;
  --accent3: #8b5cf6;
  --text: #e2e8f0;
  --muted: #64748b;
  --success: #10b981;
  --danger: #ef4444;
  --glow: rgba(59,130,246,0.15);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background grid */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Orbs */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.orb-1 { width: 500px; height: 500px; background: rgba(59,130,246,0.08); top: -200px; right: -100px; }
.orb-2 { width: 400px; height: 400px; background: rgba(139,92,246,0.06); bottom: -100px; left: -100px; }
.orb-3 { width: 300px; height: 300px; background: rgba(6,182,212,0.05); top: 50%; left: 40%; }

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(8,12,20,0.85);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 64px;
  gap: 2rem;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  margin-right: auto;
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.nav-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.nav-links { display: flex; gap: 0.25rem; }
.nav-link {
  padding: 0.4rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  background: none;
  font-family: 'DM Sans', sans-serif;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--accent); background: rgba(59,130,246,0.1); }

/* MAIN */
main {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
}

/* PAGES */
.page { display: none; animation: fadeUp 0.4s ease; }
.page.active { display: block; }

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

/* HERO */
.hero {
  text-align: center;
  padding: 5rem 0 4rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 50%, var(--accent3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* FEATURE CARDS */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--card-glow, transparent);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 20px;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
  border-color: var(--card-border, rgba(59,130,246,0.4));
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.feature-card.url-card  { --card-glow: radial-gradient(ellipse at top left, rgba(59,130,246,0.08), transparent 60%); --card-border: rgba(59,130,246,0.4); }
.feature-card.file-card { --card-glow: radial-gradient(ellipse at top left, rgba(139,92,246,0.08), transparent 60%); --card-border: rgba(139,92,246,0.4); }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.card-icon.blue   { background: rgba(59,130,246,0.15); }
.card-icon.purple { background: rgba(139,92,246,0.15); }
.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.feature-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* GET STARTED — glowing animated border button */
.card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  position: relative;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.3s, transform 0.2s;
  background: transparent;
  border: none;
  outline: none;
  z-index: 0;
  /* Arrow slide animation */
  letter-spacing: 0.02em;
}

/* Animated glowing border via pseudo-element */
.card-arrow::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 1.5px;
  background: linear-gradient(
    var(--glow-angle, 0deg),
    transparent 0%,
    transparent 30%,
    var(--glow-color, #3b82f6) 50%,
    transparent 70%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderSpin 2.4s linear infinite;
  opacity: 0.85;
  z-index: -1;
}

/* Glow colors per card type */
.url-card  .card-arrow { --glow-color: #3b82f6; color: #3b82f6; }
.file-card .card-arrow { --glow-color: #8b5cf6; color: #8b5cf6; }

/* Soft glow behind the box */
.card-arrow::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 10px;
  background: var(--glow-color, #3b82f6);
  opacity: 0;
  filter: blur(10px);
  z-index: -2;
  transition: opacity 0.3s;
}

.card-arrow:hover::after { opacity: 0.18; }
.card-arrow:hover { transform: translateX(3px); }

/* Arrow icon shift on hover */
.card-arrow .arrow-icon {
  display: inline-block;
  transition: transform 0.25s ease;
}
.card-arrow:hover .arrow-icon { transform: translateX(4px); }

@keyframes borderSpin {
  0%   { --glow-angle: 0deg; }
  100% { --glow-angle: 360deg; }
}

/* Register the custom property for smooth animation */
@property --glow-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}


/* PAGE TITLES */
.page-header { margin-bottom: 2.5rem; }
.page-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}
.page-header p { color: var(--muted); }

/* FORM LAYOUT */
.form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 768px) {
  .form-layout { grid-template-columns: 1fr; }
  .nav-links { gap: 0; }
  .nav-link { padding: 0.4rem 0.6rem; font-size: 0.8rem; }
}

/* FORM CARD */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
}
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.form-input {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  transition: all 0.2s;
  outline: none;
}
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.form-input::placeholder { color: var(--muted); }

/* FILE DROP ZONE */
.drop-zone {
  border: 2px dashed var(--border);
  border-radius: 14px;
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  background: var(--surface2);
  position: relative;
}
.drop-zone:hover,
.drop-zone.drag-over {
  border-color: var(--accent);
  background: rgba(59,130,246,0.05);
}
.drop-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.drop-icon { margin-bottom: 0.75rem; }
.drop-text { font-size: 0.9rem; color: var(--muted); }
.drop-text strong { color: var(--accent); }
.file-preview {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 10px;
  margin-top: 1rem;
  font-size: 0.85rem;
}
.file-preview.show { display: flex; }

/* LOGO UPLOAD */
.logo-upload-area {
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--surface2);
  position: relative;
  overflow: hidden;
}
.logo-upload-area input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.logo-upload-area:hover { border-color: var(--accent); }
.logo-preview-img {
  width: 48px; height: 48px;
  border-radius: 8px;
  object-fit: cover;
  display: none;
  margin: 0 auto 0.4rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 20px rgba(59,130,246,0.3);
}
.btn-primary:hover { background: #2563eb; transform: translateY(-1px); box-shadow: 0 6px 25px rgba(59,130,246,0.4); }
.btn-secondary {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--surface); border-color: rgba(255,255,255,0.2); }
.btn-success { background: var(--success); color: white; }
.btn-success:hover { background: #059669; }
.btn-lg   { padding: 0.9rem 2rem; font-size: 1rem; border-radius: 12px; }
.btn-full { width: 100%; justify-content: center; }

/* QR RESULT */
.qr-result {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.qr-result.show { display: flex; animation: fadeUp 0.4s ease; }
.qr-container {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.qr-container canvas { display: block; }
.qr-container img    { max-width: 240px; display: block; }
.qr-info {
  width: 100%;
  background: var(--surface2);
  border-radius: 12px;
  padding: 1rem;
  font-size: 0.85rem;
}
.qr-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}
.qr-info-row:last-child { border-bottom: none; }
.qr-info-label { color: var(--muted); }
.qr-info-value { color: var(--text); font-weight: 500; font-family: monospace; font-size: 0.8rem; }
.qr-actions { display: flex; gap: 0.75rem; width: 100%; }

/* LOADING SPINNER */
.loading-spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: none;
  flex-shrink: 0;

  display: none;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
}
.about-card h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 0.75rem 0 0.5rem;
}
.about-card p { color: var(--muted); font-size: 0.85rem; line-height: 1.5; }
.tech-stack { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.tech-tag {
  padding: 0.25rem 0.75rem;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--accent2);
}

/* TOAST */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 0.9rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.9rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 350px;
}
.toast.show    { transform: translateY(0); opacity: 1; }
.toast.success { border-color: rgba(16,185,129,0.4); }
.toast.error   { border-color: rgba(239,68,68,0.4); }

/* EXPIRY NOTE */
.expiry-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(251,191,36,0.08);
  border: 1px solid rgba(251,191,36,0.2);
  border-radius: 8px;
  font-size: 0.82rem;
  color: #fbbf24;
  margin-top: 0.5rem;
}

/* STAT CARDS */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  text-align: center;
}
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-label { color: var(--muted); font-size: 0.8rem; margin-top: 0.25rem; }

/* SECTION DIVIDER */
.section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* FILE ICON SWITCHER ANIMATION */
.file-icon-switcher {
  display: inline-flex;
  align-items: center;
  position: relative;
  width: 18px;
  height: 18px;
}
.ficon {
  position: absolute;
  top: 0; left: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.ficon.active          { opacity: 1; transform: translateY(0); }
.ficon:not(.active)    { opacity: 0; transform: translateY(8px); }

/* ============================================
   LINK GENERATOR PAGE
   ============================================ */

/* Navbar special highlight for Link Gen */
.nav-link-special {
  color: var(--accent2) !important;
  border: 1px solid rgba(6,182,212,0.25);
  background: rgba(6,182,212,0.06) !important;
}
.nav-link-special:hover,
.nav-link-special.active {
  background: rgba(6,182,212,0.15) !important;
  border-color: rgba(6,182,212,0.5);
  color: var(--accent2) !important;
}

/* Result card */
.lg-result {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.lg-result.show { display: flex; animation: fadeUp 0.4s ease; }

/* Link display box */
.lg-link-box {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s;
}
.lg-link-box:focus-within,
.lg-link-box:hover {
  border-color: var(--accent2);
}

/* Thumbnail preview */
.lg-thumb {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.lg-video-thumb {
  width: 100%;
  max-height: 200px;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* Copied flash animation */
@keyframes copiedFlash {
  0%   { border-color: var(--success); box-shadow: 0 0 0 3px rgba(16,185,129,0.2); }
  100% { border-color: var(--border);  box-shadow: none; }
}
.lg-link-box.copied {
  animation: copiedFlash 1s ease forwards;
}

/* Link Gen home card */
.feature-card.linkgen-card {
  --card-glow: radial-gradient(ellipse at top left, rgba(6,182,212,0.08), transparent 60%);
  --card-border: rgba(6,182,212,0.4);
}
.card-icon.teal { background: rgba(6,182,212,0.15); }
.linkgen-card .card-arrow { --glow-color: #06b6d4; color: #06b6d4; }

/* ============================================
   HAMBURGER MENU
   ============================================ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: background 0.2s;
}
.hamburger:hover { background: rgba(255,255,255,0.06); }
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav dropdown */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(8,12,20,0.97);
  border-top: 1px solid var(--border);
  padding: 0.5rem 1rem 1rem;
  backdrop-filter: blur(20px);
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  text-align: left;
  transition: all 0.2s;
  width: 100%;
}
.mobile-nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.mobile-nav-special { color: var(--accent2) !important; }

/* ============================================
   RESPONSIVE — TABLET (max 900px)
   ============================================ */
@media (max-width: 900px) {
  .stat-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
  .form-layout { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   RESPONSIVE — MOBILE (max 640px)
   ============================================ */
@media (max-width: 640px) {
  /* Hide desktop nav links, show hamburger */
  .nav-links { display: none !important; }
  .hamburger { display: flex; }

  nav { padding: 0 1rem; }
  .nav-inner { height: 56px; }

  main { padding: 1.5rem 1rem 4rem; }

  /* Hero */
  .hero { padding: 2.5rem 0 2rem; }
  .hero h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .hero p  { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  /* Feature grid — single column */
  .feature-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* Stat grid — 1 column on very small */
  .stat-grid { grid-template-columns: 1fr; gap: 0.75rem; }

  /* Form */
  .form-card { padding: 1.25rem; }
  .page-header h2 { font-size: 1.5rem; }

  /* QR result actions */
  .qr-actions { flex-direction: column; }
  .qr-actions .btn { width: 100%; justify-content: center; }

  /* About grid */
  .about-grid { grid-template-columns: 1fr; }

  /* Toast */
  .toast { right: 1rem; left: 1rem; max-width: none; }

  /* LG result actions */
  .lg-result .qr-actions { flex-direction: column; }
  .lg-result .qr-actions a { width: 100%; justify-content: center; }

  /* Section divider */
  .section-divider { margin: 1.5rem 0; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: rgba(8,12,20,0.8);
  padding: 1.5rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-copy { color: var(--muted); }
.footer-links { display: flex; align-items: center; gap: 0.5rem; }
.footer-link {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.82rem;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  padding: 0;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--accent); }

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
}

/* ============================================
   LEGAL PAGES (Privacy / Terms)
   ============================================ */
.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 760px;
}
.legal-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.legal-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.legal-section h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--accent);
}
.legal-section p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
}
.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.legal-section ul li {
  color: var(--muted);
  font-size: 0.9rem;
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.6;
}
.legal-section ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent2);
  font-weight: 700;
}
.legal-section strong { color: var(--text); }

@media (max-width: 640px) {
  .legal-card { padding: 1.25rem; border-radius: 14px; }
  .legal-section h3 { font-size: 0.98rem; }
}

/* Blocked content toast */
.toast.blocked {
  border-color: rgba(245,158,11,0.5);
  background: var(--surface);
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 380px;
}

/* ============================================
   ABOUT PAGE — redesigned
   ============================================ */

/* Hero intro card */
.about-hero-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 0;
}
.about-hero-icon {
  width: 60px; height: 60px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .about-hero-card { flex-direction: column; gap: 1rem; }
}

/* Tool cards with colored accents */
.about-card-blue  { border-color: rgba(59,130,246,0.25) !important; }
.about-card-blue h4 { color: #3b82f6; }
.about-card-purple{ border-color: rgba(139,92,246,0.25) !important; }
.about-card-purple h4 { color: #8b5cf6; }
.about-card-teal  { border-color: rgba(6,182,212,0.25) !important; }
.about-card-teal h4 { color: #06b6d4; }

.about-card h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 0.75rem 0 0.5rem;
}
.about-card p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* How it works steps */
.about-steps-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  margin-top: 1.5rem;
}
.about-steps {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.about-step {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  flex: 1;
  min-width: 160px;
}
.step-num {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  flex-shrink: 0;
}
.step-title {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}
.step-desc {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}
.about-step-arrow {
  color: var(--border);
  font-size: 1.4rem;
  flex-shrink: 0;
  align-self: center;
}
@media (max-width: 640px) {
  .about-step-arrow { display: none; }
  .about-steps { flex-direction: column; gap: 1.25rem; }
}

/* Benefits row */
.about-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem 2rem;
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  flex: 1;
  min-width: 160px;
}
