/* 
  SnapLink CSS Stylesheet
  Theme: Modern 2026 SaaS, Glassmorphism, Deep Dark Palette, Soft Indigo/Cyan Gradients.
*/

:root {
  --bg-dark: #030712;
  --bg-card: rgba(17, 24, 39, 0.55);
  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.3);
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --accent-color: #6366f1;
  --accent-secondary: #06b6d4;
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --accent-glow: rgba(99, 102, 241, 0.15);
  
  --success-color: #10b981;
  --error-color: #ef4444;
  --warning-color: #f59e0b;
  
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Base Reset & Core Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-main);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

/* Background Glowing Blobs */
.glow-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.18;
  pointer-events: none;
}
.blob-1 {
  background: var(--accent-color);
  top: -100px;
  right: -50px;
  animation: float-blob-1 20s infinite alternate;
}
.blob-2 {
  background: var(--accent-secondary);
  bottom: 10%;
  left: -100px;
  animation: float-blob-2 25s infinite alternate;
}

@keyframes float-blob-1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-80px, 60px) scale(1.1); }
}
@keyframes float-blob-2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(100px, -50px) scale(0.9); }
}

/* Glassmorphism Card Utility */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: var(--transition-smooth);
}
.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5), 0 0 30px var(--accent-glow);
}

/* Navigation bar */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(3, 7, 18, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-icon {
  width: 32px;
  height: 32px;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 50%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.menu-toggle {
  display: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-btn {
  background: var(--accent-gradient);
  border: none;
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
  transition: var(--transition-fast);
  text-decoration: none;
}

.nav-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

/* Sections Layout */
section {
  padding: 100px 24px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

/* Hero Section */
.hero {
  padding-top: 180px;
  padding-bottom: 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -2px;
  margin-bottom: 20px;
  max-width: 850px;
  background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 70%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin-bottom: 40px;
  font-weight: 300;
}

/* Interactive Shortener Console */
.shortener-console {
  width: 100%;
  max-width: 760px;
  padding: 24px;
  margin-bottom: 48px;
}

.input-group {
  display: flex;
  gap: 12px;
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid var(--border-light);
  padding: 8px;
  border-radius: 16px;
  align-items: center;
  transition: var(--transition-fast);
}

.input-group:focus-within {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.input-icon {
  margin-left: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

.input-group input {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 1.05rem;
  padding: 12px 6px;
  flex: 1;
  outline: none;
  min-width: 0;
}

.input-group input::placeholder {
  color: var(--text-muted);
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
  transform: translateY(-1px);
}

/* Options Bar inside shortener card */
.shortener-options {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  justify-content: space-between;
}

.opt-field {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 200px;
}

.opt-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.opt-field input, .opt-field select {
  background: rgba(3, 7, 18, 0.4);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  border-radius: 8px;
  padding: 8px 12px;
  outline: none;
  font-family: var(--font-main);
  font-size: 0.85rem;
  width: 100%;
}

.opt-field input:focus, .opt-field select:focus {
  border-color: var(--accent-color);
}

/* Shortener Result Area */
.result-card {
  margin-top: 24px;
  background: rgba(16, 185, 129, 0.04);
  border: 1px dashed rgba(16, 185, 129, 0.3);
  border-radius: 14px;
  padding: 16px;
  display: none;
  animation: slide-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.result-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.result-urls {
  text-align: left;
  min-width: 0;
  flex: 1;
}

.shortened-link {
  font-size: 1.2rem;
  font-weight: 700;
  color: #a7f3d0;
  text-decoration: none;
  word-break: break-all;
  display: inline-block;
  margin-bottom: 4px;
}

.original-link-muted {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.result-actions {
  display: flex;
  gap: 8px;
}

.btn-action {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-main);
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.btn-action:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-copy-success {
  background: var(--success-color) !important;
  color: #fff !important;
  border-color: var(--success-color) !important;
}

/* QR Code Section inside Result */
.qr-container {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed rgba(16, 185, 129, 0.15);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  animation: fade-in 0.3s ease;
}

.qr-box {
  background: #fff;
  padding: 12px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.qr-box svg {
  display: block;
}

.qr-download-btn {
  text-decoration: none;
  color: #a7f3d0;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Secondary CTA Buttons */
.cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn-secondary {
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Trusted By Section */
.trusted-by {
  padding: 20px 24px;
  text-align: center;
}

.trusted-by p {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.logo-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  opacity: 0.65;
}

.brand-logo {
  height: 24px;
  fill: #fff;
  opacity: 0.4;
  transition: var(--transition-fast);
}

.brand-logo:hover {
  opacity: 0.8;
}

/* Section Header styling */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
}

.section-header .section-tag {
  color: #818cf8;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.section-header h2 {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 40%, #c7d2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 300;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 40px 32px;
  text-align: left;
}

.feat-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #a5b4fc;
}

.feature-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

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

/* Interactive Previews Section */
.previews-section {
  background: radial-gradient(circle at 80% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 60%);
}

.previews-container {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.preview-row {
  display: flex;
  gap: 60px;
  align-items: center;
}

.preview-row:nth-child(even) {
  flex-direction: row-reverse;
}

.preview-info {
  flex: 1;
}

.preview-info h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.preview-info p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 24px;
  font-weight: 300;
}

.preview-interactive {
  flex: 1.2;
  width: 100%;
}

.console-card {
  padding: 28px;
  border-radius: 20px;
}

/* Stats Cards inside preview */
.stats-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-item {
  padding: 20px;
  background: rgba(3, 7, 18, 0.4);
  border: 1px solid var(--border-light);
  border-radius: 12px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
}

.stat-trend {
  font-size: 0.75rem;
  color: var(--success-color);
  font-weight: 600;
  margin-top: 4px;
}

.chart-mockup {
  margin-top: 16px;
  background: rgba(3, 7, 18, 0.4);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 16px;
  height: 160px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.chart-bar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  height: 100%;
  justify-content: flex-end;
}

.chart-bar {
  width: 100%;
  background: linear-gradient(0deg, var(--accent-color) 0%, var(--accent-secondary) 100%);
  border-radius: 4px 4px 0 0;
  min-height: 10px;
  transition: height 1s ease-in-out;
  opacity: 0.8;
  position: relative;
}

.chart-bar:hover {
  opacity: 1;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
}

.chart-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Custom Alias preview mockup */
.alias-input-preview {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.alias-box {
  display: flex;
  background: rgba(3, 7, 18, 0.5);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  align-items: center;
  padding: 4px 8px;
}

.domain-part {
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 10px 8px;
  border-right: 1px solid var(--border-light);
  user-select: none;
}

.alias-box input {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-main);
  color: var(--accent-secondary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px;
  flex: 1;
}

.alias-badge {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--success-color);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-right: 8px;
}

/* API Code Block styling */
.api-section {
  background: radial-gradient(circle at 10% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 60%);
}

.api-layout {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.api-info {
  flex: 1;
  min-width: 300px;
}

.api-code {
  flex: 1.3;
  min-width: 280px;
  font-family: 'Consolas', 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  padding: 24px !important;
  background: #020617 !important;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow-x: auto;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.code-header {
  position: absolute;
  top: 12px;
  left: 20px;
  display: flex;
  gap: 6px;
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.api-tabs {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.api-tab {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: var(--font-main);
  transition: var(--transition-fast);
}

.api-tab.active {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--accent-color);
  color: var(--text-primary);
}

/* Code coloring styles */
.code-kw { color: #f43f5e; }
.code-str { color: #34d399; }
.code-fn { color: #60a5fa; }
.code-var { color: #facc15; }
.code-comment { color: var(--text-muted); }

/* Benefits Comparison Table */
.comparison-container {
  overflow-x: auto;
  width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
  margin-top: 20px;
}

th, td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
}

th {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

td {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

tr:hover td {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.01);
}

.check-icon {
  color: var(--success-color);
  font-weight: bold;
}

.cross-icon {
  color: var(--error-color);
  font-weight: bold;
}

/* Accordion FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active {
  border-color: var(--accent-color);
  background: rgba(99, 102, 241, 0.03);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-secondary);
}

.faq-item.active .faq-answer {
  padding-bottom: 24px;
}

/* Call to Action (CTA) Section */
.cta-banner {
  text-align: center;
  padding: 80px 40px;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
}

.cta-banner h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 32px auto;
  font-weight: 300;
}

/* Footer styling */
.footer-divider {
  border: none;
  border-top: 1px solid var(--border-light);
  max-width: 1280px;
  margin: 0 auto;
}

.main-footer {
  padding: 60px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

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

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

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

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 280px;
  margin-top: 16px;
  font-weight: 300;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

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

/* Legal Pages Styling */
.legal-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.legal-content-container {
  flex: 1;
  padding: 120px 24px 80px 24px;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.legal-card {
  padding: 50px 40px;
}

.legal-card h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #fff 40%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.last-updated {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.legal-card section {
  padding: 0 0 32px 0;
  max-width: 100%;
  margin: 0;
}

.legal-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.legal-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.legal-card ul {
  padding-left: 20px;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.legal-card ul li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Toast System */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid var(--border-light);
  padding: 14px 20px;
  border-radius: 12px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: slide-in-toast 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  min-width: 250px;
  max-width: 380px;
}

.toast-success {
  border-left: 4px solid var(--success-color);
}

.toast-error {
  border-left: 4px solid var(--error-color);
}

.toast-warning {
  border-left: 4px solid var(--warning-color);
}

@keyframes slide-in-toast {
  0% { transform: translateX(120%); }
  100% { transform: translateX(0); }
}

@keyframes fade-out-toast {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-10px); }
}

/* Skeleton Loaders */
.skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.08) 37%, rgba(255, 255, 255, 0.03) 63%);
  background-size: 400% 100%;
  animation: skeleton-loading 1.4s ease infinite;
}

@keyframes skeleton-loading {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* Keyframes */
@keyframes slide-up {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3.2rem; }
  .preview-row { flex-direction: column; gap: 40px; }
  .preview-row:nth-child(even) { flex-direction: column; }
  .logo-grid { gap: 40px; }
}

@media (max-width: 768px) {
  section { padding: 60px 16px; }
  .hero { padding-top: 140px; }
  .hero h1 { font-size: 2.2rem; letter-spacing: -1px; }
  .hero p { font-size: 1.05rem; }
  .input-group { flex-direction: column; background: transparent; border: none; padding: 0; gap: 12px; }
  .input-group .input-icon { display: none; }
  .input-group input { background: rgba(17, 24, 39, 0.8); border: 1px solid var(--border-light); border-radius: 12px; padding: 16px; width: 100%; }
  .btn-primary { width: 100%; justify-content: center; padding: 16px; }
  .shortener-options { flex-direction: column; gap: 12px; }
  .opt-field { width: 100%; }
  .api-layout { flex-direction: column; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column-reverse; text-align: center; }
  .legal-card { padding: 30px 20px; }
  .legal-content-container { padding-top: 100px; }

  /* Mobile menu toggle & drawer navigation styles */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
    padding: 0;
  }
  .menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
  }
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 280px;
    height: 100vh;
    background: rgba(3, 7, 18, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-light);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: var(--transition-smooth);
    z-index: 105;
    padding: 40px;
  }
  .nav-links.active {
    transform: translateX(0);
  }
}

@media (max-width: 480px) {
  .cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}
