/* ============================================
   SHORTMYLINK - Modern URL Shortener
   Dark Mode + Premium Redesign
   ============================================ */

/* ===== LIGHT THEME (Default) ===== */
:root {
  --font-inter: 'Inter', sans-serif;
  --background: #fdfdfd;
  --surface: #ffffff;
  --surface-alt: #f0f4f8;
  --surface-card: #ffffff;
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-light: rgba(99, 102, 241, 0.1);
  --accent: #ec4899;
  --accent-light: rgba(236, 72, 153, 0.1);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-light: rgba(226, 232, 240, 0.6);
  --radius-xl: 28px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px -10px rgba(99, 102, 241, 0.12);
  --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.08);
  --gradient-text: linear-gradient(135deg, #6366f1, #ec4899);
  --gradient-btn: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  --gradient-bg: radial-gradient(ellipse at top right, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(236, 72, 153, 0.06) 0%, transparent 50%);
  --hero-glow-1: rgba(99, 102, 241, 0.12);
  --hero-glow-2: rgba(236, 72, 153, 0.1);
  --header-bg: rgba(253, 253, 253, 0.85);
  --mobile-nav-bg: #ffffff;
  --alert-bg: #fef2f2;
  --alert-color: #ef4444;
  --alert-border: #fecaca;
  --result-bg: #fdf2f8;
  --result-border: #fbcfe8;
  --feature-icon-1-bg: rgba(99, 102, 241, 0.08);
  --feature-icon-1-color: #6366f1;
  --feature-icon-2-bg: rgba(16, 185, 129, 0.08);
  --feature-icon-2-color: #10b981;
  --feature-icon-3-bg: rgba(245, 158, 11, 0.08);
  --feature-icon-3-color: #f59e0b;
  --feature-icon-4-bg: rgba(236, 72, 153, 0.08);
  --feature-icon-4-color: #ec4899;
  --cta-bg: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
  --footer-bg: var(--surface);
}

/* ===== DARK THEME ===== */
[data-theme="dark"] {
  --background: #0b0f1a;
  --surface: #131827;
  --surface-alt: #1a2035;
  --surface-card: #131827;
  --primary: #818cf8;
  --primary-hover: #a5b4fc;
  --primary-light: rgba(129, 140, 248, 0.12);
  --accent: #f472b6;
  --accent-light: rgba(244, 114, 182, 0.12);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: #1e293b;
  --border-light: rgba(30, 41, 59, 0.8);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px -10px rgba(99, 102, 241, 0.15);
  --shadow-glow: 0 0 80px rgba(99, 102, 241, 0.12);
  --gradient-text: linear-gradient(135deg, #818cf8, #f472b6);
  --gradient-btn: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  --gradient-bg: radial-gradient(ellipse at top right, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
  --hero-glow-1: rgba(99, 102, 241, 0.15);
  --hero-glow-2: rgba(236, 72, 153, 0.1);
  --header-bg: rgba(11, 15, 26, 0.85);
  --mobile-nav-bg: #131827;
  --alert-bg: rgba(239, 68, 68, 0.12);
  --alert-color: #fca5a5;
  --alert-border: rgba(239, 68, 68, 0.25);
  --result-bg: rgba(236, 72, 153, 0.1);
  --result-border: rgba(236, 72, 153, 0.25);
  --feature-icon-1-bg: rgba(129, 140, 248, 0.12);
  --feature-icon-1-color: #818cf8;
  --feature-icon-2-bg: rgba(52, 211, 153, 0.12);
  --feature-icon-2-color: #34d399;
  --feature-icon-3-bg: rgba(251, 191, 36, 0.12);
  --feature-icon-3-color: #fbbf24;
  --feature-icon-4-bg: rgba(244, 114, 182, 0.12);
  --feature-icon-4-color: #f472b6;
  --cta-bg: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #9333ea 100%);
  --footer-bg: #0d1120;
}

/* ===== BASE RESET ===== */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: var(--font-inter), system-ui, -apple-system, sans-serif;
  color: var(--text-primary);
  background: var(--background);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.4s ease, color 0.3s ease;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-bg);
  pointer-events: none;
  z-index: 0;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.main-layout {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

/* ===== HEADER ===== */
.header {
  padding: 1rem 0;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border-light);
  transition: background-color 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

/* Desktop nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ===== DARK MODE TOGGLE ===== */
.theme-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: scale(1.05);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

[data-theme="dark"] .theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* ===== HAMBURGER ===== */
.hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  color: var(--text-primary);
  transition: all 0.2s;
}

.hamburger-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ===== MOBILE NAV ===== */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: var(--mobile-nav-bg);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-close {
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: all 0.2s;
}

.mobile-nav-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.mobile-nav-links {
  flex: 1;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.mobile-nav-links a {
  display: block;
  padding: 1rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--border-light);
  transition: color 0.2s;
}

.mobile-nav-links a:last-child {
  border-bottom: none;
}

.mobile-nav-links a:hover {
  color: var(--primary);
}

.mobile-nav-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
}

.mobile-nav-btn {
  display: block;
  flex: 1;
  text-align: center;
  padding: 0.85rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s;
}

.mobile-nav-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ===== HERO SECTION ===== */
.hero-section {
  padding: 6rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: visible;
}

/* Decorative glow orbs */
.hero-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--hero-glow-1);
  filter: blur(100px);
  top: -100px;
  right: -150px;
  pointer-events: none;
  animation: float-orb 8s ease-in-out infinite alternate;
}

.hero-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--hero-glow-2);
  filter: blur(100px);
  bottom: -50px;
  left: -100px;
  pointer-events: none;
  animation: float-orb 10s ease-in-out infinite alternate-reverse;
}

@keyframes float-orb {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(30px, -20px) scale(1.1);
  }
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: 99px;
  margin-bottom: 2rem;
  border: 1px solid rgba(99, 102, 241, 0.15);
  animation: fade-in-up 0.6s ease-out;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  animation: fade-in-up 0.6s ease-out 0.1s both;
  position: relative;
  z-index: 1;
}

.hero-title .highlight {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.7;
  animation: fade-in-up 0.6s ease-out 0.2s both;
  position: relative;
  z-index: 1;
}

@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SHORTENER BOX ===== */
.shortener-box {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  border: 1px solid var(--border-light);
  animation: fade-in-up 0.6s ease-out 0.3s both;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* ===== TABS ===== */
.tabs-container {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  background: var(--surface-alt);
  padding: 0.4rem;
  border-radius: var(--radius-md);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  transition: background-color 0.3s ease;
}

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

.tab-btn:hover {
  color: var(--text-secondary);
}

.tab-btn.active {
  background: var(--surface);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* ===== FORM ===== */
.app-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.app-form-stacked {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.input-wrapper {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 0.5rem;
}

.input-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.input-styled,
.select-styled,
.textarea-styled {
  width: 100%;
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  background: var(--surface-alt);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.25s ease;
  outline: none;
}

.input-styled::placeholder,
.textarea-styled::placeholder {
  color: var(--text-muted);
}

.input-styled:focus,
.select-styled:focus,
.textarea-styled:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
  background: var(--surface);
}

.textarea-styled {
  resize: vertical;
  min-height: 120px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--gradient-btn);
  background-size: 200% 200%;
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -8px rgba(99, 102, 241, 0.4);
  background-position: right center;
}

.btn-primary:hover::before {
  left: 100%;
}

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

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* ===== SVG ICON ===== */
.icon {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* ===== ALERT ===== */
.alert {
  background: var(--alert-bg);
  color: var(--alert-color);
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  border: 1px solid var(--alert-border);
  font-weight: 500;
  font-size: 0.9rem;
}

/* ===== RESULT BOX ===== */
.result-container {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--result-bg);
  border: 2px dashed var(--result-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.result-link {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.result-link:hover {
  text-decoration: underline;
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ===== STATS / SOCIAL PROOF ===== */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 3rem 0;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.stat-label-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* ===== FEATURES SECTION ===== */
.features-section {
  padding: 3rem 0 4rem;
  position: relative;
  z-index: 1;
}

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

.section-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.4rem 1rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-btn);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.2);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.feature-icon-1 {
  background: var(--feature-icon-1-bg);
  color: var(--feature-icon-1-color);
}

.feature-icon-2 {
  background: var(--feature-icon-2-bg);
  color: var(--feature-icon-2-color);
}

.feature-icon-3 {
  background: var(--feature-icon-3-bg);
  color: var(--feature-icon-3-color);
}

.feature-icon-4 {
  background: var(--feature-icon-4-bg);
  color: var(--feature-icon-4-color);
}

.feature-card h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 0.92rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 4rem 0;
  position: relative;
  z-index: 1;
}

.cta-box {
  background: var(--cta-bg);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.cta-title {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: #6366f1;
  border: none;
  border-radius: var(--radius-sm);
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===== FOOTER ===== */
.footer {
  padding: 3rem 0 2rem;
  margin-top: auto;
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
  transition: background-color 0.3s ease;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  max-width: 280px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 3rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.3rem 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* ===== DATA TABLE ===== */
.data-table-wrapper {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow-x: auto;
  margin-top: 2rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  background: var(--surface-alt);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.data-table tr:last-child td {
  border-bottom: none;
}

/* ===== ADMIN STYLES ===== */
.admin-container {
  padding: 3rem 0;
  max-width: 1000px;
  margin: 0 auto;
}

.admin-header {
  margin-bottom: 2rem;
}

.admin-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.admin-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.admin-tabs-wrapper {
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.admin-tabs {
  display: flex;
  gap: 2rem;
}

.admin-tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  padding: 1rem 0.5rem;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.admin-tab:hover {
  color: var(--text-primary);
}

.admin-tab.active {
  color: var(--primary);
}

.admin-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px 3px 0 0;
}

.admin-content {
  min-height: 400px;
}

.admin-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

/* ===== LOGIN STYLES ===== */
.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  min-height: calc(100vh - 250px);
}

.login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.login-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.login-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ===== SCROLL REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .desktop-nav {
    display: none !important;
  }

  .hamburger-btn {
    display: flex !important;
  }

  .header {
    padding: 0.85rem 0;
  }

  .hero-section {
    padding: 3rem 0 1.5rem;
  }

  .hero-section::before {
    width: 250px;
    height: 250px;
    top: -50px;
    right: -80px;
  }

  .hero-section::after {
    width: 200px;
    height: 200px;
    bottom: -30px;
    left: -60px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-pill {
    font-size: 0.75rem;
    padding: 0.4rem 0.85rem;
    margin-bottom: 1.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .shortener-box {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
  }

  .tabs-container {
    gap: 0.25rem;
    padding: 0.3rem;
    width: 100%;
  }

  .tab-btn {
    padding: 0.5rem 0.6rem;
    font-size: 0.78rem;
    flex: 1;
    text-align: center;
  }

  .container {
    padding: 0 1rem;
  }

  .stats-bar {
    gap: 1.5rem;
    padding: 2rem 0;
    flex-wrap: wrap;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label-text {
    font-size: 0.78rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .features-section {
    padding: 2rem 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .result-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .result-link {
    font-size: 1rem;
    word-break: break-all;
  }

  .btn-primary {
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
  }

  .cta-box {
    padding: 3rem 1.5rem;
    border-radius: var(--radius-lg);
  }

  .cta-title {
    font-size: 1.5rem;
  }

  .cta-subtitle {
    font-size: 0.95rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-links {
    gap: 2rem;
  }

  .admin-container {
    padding: 1.5rem 0;
  }

  .admin-title {
    font-size: 1.5rem;
  }

  .admin-tabs {
    gap: 0.75rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .admin-tab {
    font-size: 0.85rem;
    white-space: nowrap;
    padding: 0.75rem 0.25rem;
  }

  .admin-card {
    padding: 1.25rem;
  }

  .data-table th,
  .data-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
  }

  .footer {
    padding: 2rem 0 1.5rem;
  }

  .login-card {
    padding: 2rem 1.5rem;
  }

  .login-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .stats-bar {
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1.5rem;
  }
}