/* LanguageFlow Web - Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Core */
  --background: 220 20% 7%;
  --foreground: 210 20% 92%;
  --card: 220 18% 10%;
  --card-foreground: 210 20% 92%;

  /* Primary (Cyan/Teal) */
  --primary: 175 70% 50%;
  --primary-foreground: 220 20% 7%;

  /* Surfaces */
  --secondary: 220 16% 16%;
  --secondary-foreground: 210 20% 82%;
  --muted: 220 14% 14%;
  --muted-foreground: 215 12% 50%;
  --accent: 175 50% 20%;
  --accent-foreground: 175 70% 70%;

  /* Borders */
  --border: 220 14% 18%;
  --input: 220 14% 18%;
  --ring: 175 70% 50%;

  /* Semantic */
  --destructive: 0 65% 55%;
  --success: 150 60% 45%;
  --warning: 35 90% 55%;

  /* Glass */
  --surface-glass: 220 18% 10%;
  --surface-glass-border: 220 14% 20%;

  /* Radius */
  --radius: 0.75rem;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: hsl(var(--primary)); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.85; }

code, .mono { font-family: 'JetBrains Mono', monospace; }

/* ============================================ */
/* Glass Panels                                 */
/* ============================================ */
.glass-panel {
  background: hsla(var(--card), 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid hsl(var(--surface-glass-border));
  border-radius: var(--radius);
}

.glass-panel-strong {
  background: hsla(var(--card), 0.95);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid hsl(var(--surface-glass-border));
  border-radius: var(--radius);
}

/* ============================================ */
/* Typography                                   */
/* ============================================ */
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.3; }
h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }

.text-gradient-primary {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent-foreground)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted { color: hsl(var(--muted-foreground)); }
.text-primary { color: hsl(var(--primary)); }
.text-success { color: hsl(var(--success)); }
.text-warning { color: hsl(var(--warning)); }
.text-destructive { color: hsl(var(--destructive)); }

/* ============================================ */
/* Buttons                                      */
/* ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 20px hsla(var(--primary), 0.3);
}

.btn-secondary {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}
.btn-secondary:hover { background: hsla(var(--secondary), 0.8); }

.btn-outline {
  background: transparent;
  color: hsl(var(--primary));
  border: 1px solid hsla(var(--primary), 0.3);
}
.btn-outline:hover {
  background: hsla(var(--primary), 0.1);
}

.btn-ghost {
  background: transparent;
  color: hsl(var(--muted-foreground));
}
.btn-ghost:hover { color: hsl(var(--foreground)); background: hsl(var(--secondary)); }

.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.75rem; }
.btn-block { width: 100%; }

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================ */
/* Forms                                        */
/* ============================================ */
.form-group { margin-bottom: 1rem; }

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--input));
  border-radius: var(--radius);
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px hsla(var(--ring), 0.2);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: hsl(var(--muted-foreground));
}

.form-textarea { resize: vertical; min-height: 80px; }

/* ============================================ */
/* Cards                                        */
/* ============================================ */
.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card-hover:hover {
  border-color: hsla(var(--primary), 0.3);
  box-shadow: 0 0 20px hsla(var(--primary), 0.05);
}

/* ============================================ */
/* Badges                                       */
/* ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid;
}

.badge-primary {
  background: hsla(var(--primary), 0.1);
  color: hsl(var(--primary));
  border-color: hsla(var(--primary), 0.2);
}

.badge-success {
  background: hsla(var(--success), 0.1);
  color: hsl(var(--success));
  border-color: hsla(var(--success), 0.2);
}

.badge-warning {
  background: hsla(var(--warning), 0.1);
  color: hsl(var(--warning));
  border-color: hsla(var(--warning), 0.2);
}

.badge-destructive {
  background: hsla(var(--destructive), 0.1);
  color: hsl(var(--destructive));
  border-color: hsla(var(--destructive), 0.2);
}

/* ============================================ */
/* Alerts                                       */
/* ============================================ */
.alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  border: 1px solid;
}

.alert-success {
  background: hsla(var(--success), 0.1);
  color: hsl(var(--success));
  border-color: hsla(var(--success), 0.2);
}

.alert-error {
  background: hsla(var(--destructive), 0.1);
  color: hsl(var(--destructive));
  border-color: hsla(var(--destructive), 0.2);
}

.alert-warning {
  background: hsla(var(--warning), 0.1);
  color: hsl(var(--warning));
  border-color: hsla(var(--warning), 0.2);
}

.alert-info {
  background: hsla(var(--primary), 0.1);
  color: hsl(var(--primary));
  border-color: hsla(var(--primary), 0.2);
}

/* ============================================ */
/* Tables                                       */
/* ============================================ */
.table-container { overflow-x: auto; }

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--muted-foreground));
  border-bottom: 1px solid hsl(var(--border));
}

.table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid hsl(var(--border));
  vertical-align: middle;
}

.table tbody tr:hover {
  background: hsla(var(--secondary), 0.5);
}

/* ============================================ */
/* Layout                                       */
/* ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-sm { max-width: 480px; margin: 0 auto; padding: 0 1.5rem; }
.container-md { max-width: 720px; margin: 0 auto; padding: 0 1.5rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.flex-1 { flex: 1; }
.flex-wrap { flex-wrap: wrap; }

.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-xs { font-size: 0.625rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

.w-full { width: 100%; }
.min-h-screen { min-height: 100vh; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }
.hidden { display: none; }

.rounded { border-radius: var(--radius); }
.rounded-full { border-radius: 9999px; }

.border { border: 1px solid hsl(var(--border)); }
.border-b { border-bottom: 1px solid hsl(var(--border)); }

.opacity-60 { opacity: 0.6; }
.opacity-80 { opacity: 0.8; }

/* ============================================ */
/* Glow Effects                                 */
/* ============================================ */
.glow-primary {
  box-shadow: 0 0 15px hsla(var(--primary), 0.15);
}

.glow-primary-strong {
  box-shadow: 0 0 30px hsla(var(--primary), 0.25), 0 0 60px hsla(var(--primary), 0.1);
}

/* ============================================ */
/* Animations                                   */
/* ============================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px hsla(var(--primary), 0.2); }
  50% { box-shadow: 0 0 30px hsla(var(--primary), 0.4); }
}

.animate-fade-in { animation: fadeIn 0.4s ease-out; }
.animate-slide-up { animation: slideUp 0.5s ease-out; }
.animate-pulse-glow { animation: pulseGlow 2s ease-in-out infinite; }

/* ============================================ */
/* Navigation                                   */
/* ============================================ */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
  background: hsla(var(--background), 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 600;
  font-style: italic;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.navbar-links a {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.navbar-links a:hover { color: hsl(var(--foreground)); opacity: 1; }
.navbar-links a.active { color: hsl(var(--primary)); }

/* ============================================ */
/* Hero Section                                 */
/* ============================================ */
.hero {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: visible;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, hsla(var(--primary), 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text {
  text-align: left;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.hero .subtitle {
  font-size: 1.05rem;
  color: hsl(var(--muted-foreground));
  max-width: 480px;
  margin: 0 0 1.75rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.hero-meta i { color: hsl(var(--primary)); }

/* Fan Stack */
.hero-fan {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

.fan-stack {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 340px;
}

.fan-card {
  position: absolute;
  width: 88%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid hsla(var(--primary), 0.12);
  box-shadow: 0 8px 32px hsla(0, 0%, 0%, 0.35);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
  transform-origin: bottom center;
  background: hsl(var(--card));
}

.fan-card img {
  width: 100%;
  height: auto;
  display: block;
}

.fan-card-0 {
  z-index: 4;
  top: 10%;
  left: 2%;
  transform: rotate(0deg);
  box-shadow: 0 8px 40px hsla(var(--primary), 0.1), 0 12px 40px hsla(0, 0%, 0%, 0.3);
}

.fan-card-1 {
  z-index: 3;
  top: 6%;
  left: 6%;
  transform: rotate(4deg) translateX(5%);
}

.fan-card-2 {
  z-index: 2;
  top: 2%;
  left: 10%;
  transform: rotate(8deg) translateX(10%);
  opacity: 0.8;
}

.fan-card-3 {
  z-index: 1;
  top: -2%;
  left: 14%;
  transform: rotate(12deg) translateX(15%);
  opacity: 0.6;
}

.fan-stack:hover .fan-card-0 { transform: rotate(-2deg) translateY(-6px); }
.fan-stack:hover .fan-card-1 { transform: rotate(7deg) translateX(8%) translateY(-8px); }
.fan-stack:hover .fan-card-2 { transform: rotate(14deg) translateX(16%) translateY(-10px); opacity: 0.85; }
.fan-stack:hover .fan-card-3 { transform: rotate(20deg) translateX(22%) translateY(-12px); opacity: 0.7; }

/* ============================================ */
/* Pricing                                      */
/* ============================================ */
.pricing-card {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2rem;
  background: hsl(var(--card));
  text-align: center;
  transition: all 0.3s;
}

.pricing-card.featured {
  border-color: hsla(var(--primary), 0.5);
  box-shadow: 0 0 40px hsla(var(--primary), 0.1);
  position: relative;
}

.pricing-card.featured::before {
  content: 'RECOMENDADO';
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1rem 0;
}

.pricing-price small {
  font-size: 0.875rem;
  font-weight: 400;
  color: hsl(var(--muted-foreground));
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 1.5rem 0;
}

.pricing-features li {
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: hsl(var(--secondary-foreground));
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-features li .check {
  color: hsl(var(--primary));
  font-weight: 700;
}

.pricing-features .check-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: hsl(var(--primary));
}

.pricing-features li.disabled {
  color: hsl(var(--muted-foreground));
  text-decoration: line-through;
  opacity: 0.5;
}

.pricing-features li.disabled .check { color: hsl(var(--muted-foreground)); }
.pricing-features li.disabled .check-icon { color: hsl(var(--muted-foreground)); }

/* ============================================ */
/* Features Section                             */
/* ============================================ */
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: hsla(var(--primary), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: hsl(var(--primary));
  font-size: 1.25rem;
}

/* ============================================ */
/* Footer                                       */
/* ============================================ */
.footer {
  border-top: 1px solid hsl(var(--border));
  padding: 2rem 0;
  text-align: center;
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
}

/* ============================================ */
/* Auth Pages                                   */
/* ============================================ */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-card {
  width: 100%;
  max-width: 420px;
}

/* ============================================ */
/* Dashboard / Admin                            */
/* ============================================ */
.sidebar {
  width: 240px;
  min-height: 100vh;
  background: hsl(var(--card));
  border-right: 1px solid hsl(var(--border));
  padding: 1.5rem 0;
  position: fixed;
  top: 0;
  left: 0;
}

.sidebar-brand {
  padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
  margin-bottom: 1rem;
}

.sidebar-nav { list-style: none; }

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1.5rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}

.sidebar-nav a:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--secondary));
  opacity: 1;
}

.sidebar-nav a.active {
  color: hsl(var(--primary));
  background: hsla(var(--primary), 0.1);
  border-right: 2px solid hsl(var(--primary));
}

.main-content {
  margin-left: 240px;
  padding: 2rem;
  min-height: 100vh;
}

/* ============================================ */
/* Stats Cards                                  */
/* ============================================ */
.stat-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.25rem;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================ */
/* Toggle Switch                                */
/* ============================================ */
.toggle {
  position: relative;
  width: 40px;
  height: 22px;
  cursor: pointer;
}

.toggle input { display: none; }

.toggle-slider {
  position: absolute;
  inset: 0;
  background: hsl(var(--secondary));
  border-radius: 9999px;
  transition: background 0.2s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
}

.toggle input:checked + .toggle-slider {
  background: hsl(var(--primary));
}

.toggle input:checked + .toggle-slider::before {
  transform: translateX(18px);
}

/* ============================================ */
/* FAQ Section                                  */
/* ============================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item[open] {
  border-color: hsla(var(--primary), 0.3);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  list-style: none;
  user-select: none;
  transition: color 0.2s;
}

.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; content: ''; }

.faq-question:hover { color: hsl(var(--primary)); }

.faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: hsl(var(--muted-foreground));
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: hsl(var(--primary));
}

.faq-answer {
  padding: 0 1.25rem 1.125rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

/* ============================================ */
/* Scroll Reveal                                */
/* ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.reveal-left {
  transform: translateX(-60px) translateY(0);
}

.reveal.reveal-right {
  transform: translateX(60px) translateY(0);
}

.reveal.reveal-scale {
  transform: scale(0.92) translateY(0);
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================ */
/* App Showcase                                 */
/* ============================================ */
.app-showcase {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.app-showcase::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, hsla(var(--primary), 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.showcase-frame {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid hsla(var(--primary), 0.15);
  box-shadow:
    0 0 40px hsla(var(--primary), 0.08),
    0 20px 60px hsla(0, 0%, 0%, 0.4);
  background: hsl(var(--card));
}

.showcase-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.showcase-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 1px solid hsla(var(--primary), 0.1);
  pointer-events: none;
  background: linear-gradient(180deg, hsla(var(--primary), 0.03) 0%, transparent 30%);
}

.showcase-content {
  max-width: 500px;
}

.showcase-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.showcase-content p {
  color: hsl(var(--muted-foreground));
  font-size: 0.95rem;
  line-height: 1.7;
}

.showcase-row {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.showcase-row.reverse {
  flex-direction: row-reverse;
}

.showcase-row .showcase-frame {
  flex: 1.3;
  min-width: 0;
}

.showcase-row .showcase-content {
  flex: 0.7;
  max-width: none;
}

.showcase-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  background: hsla(var(--primary), 0.1);
  color: hsl(var(--primary));
  border: 1px solid hsla(var(--primary), 0.2);
}

/* ============================================ */
/* Responsive                                   */
/* ============================================ */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-text { text-align: center; }
  .hero .subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-meta { justify-content: center; }
  .hero-fan { min-height: 280px; }
  .fan-stack { max-width: 360px; height: 260px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .navbar-links { display: none; }
  .sidebar { display: none; }
  .main-content { margin-left: 0; }
  .container { padding: 0 1rem; }
  .hero { padding: 3rem 0 2rem; }
  .showcase-row, .showcase-row.reverse { flex-direction: column; gap: 2rem; }
  .showcase-content { text-align: center; }
  .showcase-tag { margin-left: auto; margin-right: auto; }
  .app-showcase { padding: 3rem 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.5rem; }
  .hero-fan { min-height: 220px; }
  .fan-stack { max-width: 300px; height: 210px; }
  .hero-meta { gap: 1rem; font-size: 0.7rem; }
  .pricing-card { padding: 1.5rem; }
  .btn-lg { padding: 0.75rem 1.5rem; font-size: 0.875rem; }
}
