/* ============================================
   Sant Tabs Landing Page
   Premium Ethereal Glass Aesthetic
   ============================================ */

:root {
  /* Core Palette */
  --bg-primary: #050505;
  --bg-elevated: #0a0a0b;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.05);

  /* Text */
  --text-primary: #f0f0f2;
  --text-secondary: #a0a0a8;
  --text-muted: #606068;

  /* Accent */
  --accent: #6366f1;
  --accent-glow: rgba(99, 102, 241, 0.15);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-card: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  /* Spacing */
  --section-padding: clamp(60px, 10vw, 100px);
  --container-width: 1200px;
  --container-padding: clamp(20px, 5vw, 48px);
  --card-gap: 16px;

  /* Radii */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
}

/* ============================================
   Reset & Base
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

/* Smooth theme transitions */
.hero-title,
.section-title,
.hero-subtitle,
.section-desc,
.card-core,
.bento-card,
.privacy-card,
.nav-inner,
.nav-logo,
.nav-links a,
.nav-cta,
.footer,
.btn,
.orb {
  transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   Ambient Background
   ============================================ */

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  animation: float 20s ease-in-out infinite;
  transition: background 1s ease, opacity 1s ease;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
  bottom: 20%;
  left: -150px;
  animation-delay: -7s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  top: 60%;
  right: 10%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px var(--container-padding);
}

.nav-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 20px;
  background: var(--nav-bg, rgba(255, 255, 255, 0.9));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--nav-border, rgba(0, 0, 0, 0.08));
  border-radius: 100px;
  transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 20px;
  color: var(--nav-text, #1a1915);
  transition: all 0.3s ease;
}

.nav-logo:hover {
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

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

.nav-links a {
  font-size: 14px;
  color: var(--nav-text-secondary, #4a4940);
  transition: color 0.3s var(--ease-out-expo);
}

.nav-links a:hover {
  color: var(--nav-text, #1a1915);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 10px 18px;
  background: var(--nav-cta-bg, #1a1915);
  color: var(--nav-cta-text, #f5f4f0);
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.4s var(--ease-out-expo);
}

.nav-cta:hover {
  transform: scale(1.02);
}

.nav-cta:active {
  transform: scale(0.98);
}

.cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  transition: transform 0.4s var(--ease-spring);
}

.nav-cta:hover .cta-icon {
  transform: translate(2px, -2px);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 140px var(--container-padding) 80px;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 12px;
  background: var(--accent-glow);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin-bottom: 32px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, #a855f7 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px var(--accent-glow));
}

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

.hero-subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.hero-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: #f59e0b;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.4s var(--ease-out-expo);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
  padding-right: 16px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -10px rgba(255, 255, 255, 0.15);
}

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

.btn-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  transition: transform 0.4s var(--ease-spring);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-card);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-card);
}

.btn-large {
  padding: 20px 28px;
  font-size: 16px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
}

/* Popup Mockup - Accurate Extension Replica */
.popup-mockup {
  position: relative;
  width: 100%;
  max-width: 460px;
}

.popup-svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 4px 24px -4px rgba(0, 0, 0, 0.3),
    0 40px 80px -20px rgba(0, 0, 0, 0.5);
  transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s var(--ease-out-expo);
}

.popup-mockup:hover .popup-svg {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(99, 102, 241, 0.2) inset,
    0 8px 32px -4px rgba(99, 102, 241, 0.15),
    0 60px 100px -20px rgba(0, 0, 0, 0.6);
}

.popup-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out-expo);
  z-index: -1;
}

.popup-mockup:hover .popup-glow {
  opacity: 1;
}

/* SVG Animation Classes */
.popup-svg .favicon-row rect,
.popup-svg .favicon-row circle {
  transition: transform 0.3s var(--ease-out-expo), opacity 0.3s ease, fill 0.3s ease, filter 0.3s ease;
}

/* Selected favicon glow */
.popup-svg .selected-favicon {
  filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.5));
}

/* Preview bar subtle pulse */
.popup-svg .preview-bar {
  animation: previewPulse 3s ease-in-out infinite;
}

@keyframes previewPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

/* Subtle floating animation for the mockup */
@keyframes mockupFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.popup-mockup {
  animation: mockupFloat 6s ease-in-out infinite;
}

.popup-mockup:hover {
  animation-play-state: paused;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 120px;
  }

  .hero-content {
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 40px;
  }

  .popup-mockup {
    max-width: 380px;
  }
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }
}

/* ============================================
   Sections
   ============================================ */

.section {
  position: relative;
  z-index: 2;
  padding: var(--section-padding) var(--container-padding);
  max-width: var(--container-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.section-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.section-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ============================================
   Privacy Section
   ============================================ */

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--card-gap);
}

.privacy-card {
  border-radius: var(--radius-lg);
}

.privacy-card-large {
  grid-column: span 2;
}

/* Double-Bezel Card Architecture */
.card-shell {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3px;
  transition: all 0.5s var(--ease-out-expo);
}

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

.card-core {
  background: var(--bg-elevated);
  border-radius: calc(var(--radius-lg) - 3px);
  padding: 32px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--accent-glow);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-md);
  color: var(--accent);
  margin-bottom: 20px;
}

.privacy-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.privacy-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.privacy-card-large .card-core {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.privacy-card-large .card-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  margin-bottom: 0;
}

.privacy-card-large h3 {
  font-size: 24px;
}

@media (max-width: 768px) {
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .privacy-card-large {
    grid-column: span 1;
  }

  .privacy-card-large .card-core {
    flex-direction: column;
  }
}

/* ============================================
   Features Bento
   ============================================ */

.features-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
  align-items: stretch;
}

.bento-card {
  border-radius: var(--radius-lg);
  display: flex;
}

.bento-card .card-shell {
  flex: 1;
  display: flex;
}

.bento-large {
  grid-column: span 2;
}

.bento-wide {
  grid-column: span 2;
}

.bento-card .card-core {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bento-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  margin: -32px -32px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
  border-radius: calc(var(--radius-lg) - 3px) calc(var(--radius-lg) - 3px) 0 0;
}

.grid-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 280px;
}

.grid-item {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--accent) 0%, #8b5cf6 100%);
  border-radius: var(--radius-sm);
  opacity: 0.7;
  transition: all 0.4s var(--ease-out-expo);
}

.grid-item:nth-child(2) { background: linear-gradient(135deg, #10b981 0%, #34d399 100%); }
.grid-item:nth-child(3) { background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%); }
.grid-item:nth-child(4) { background: linear-gradient(135deg, #ef4444 0%, #f87171 100%); opacity: 0.5; }
.grid-item:nth-child(5) { background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%); opacity: 0.5; }
.grid-item:nth-child(6) { background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%); opacity: 0.3; }

.bento-card:hover .grid-item {
  opacity: 1;
  transform: scale(1.05);
}

/* Views Showcase - 4 View Types */
.bento-visual.views-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  padding: 24px;
  margin: -32px -32px 20px;
  min-height: 240px;
}

.view-demo {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100px;
  transition: all 0.3s var(--ease-out-expo);
}

.view-demo:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.view-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.view-demo:hover .view-label {
  color: var(--accent);
}

/* Grid View Preview - 4x2 */
.grid-preview-lg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 6px;
  flex: 1;
}

.grid-preview-lg .grid-item {
  border-radius: 4px;
  opacity: 0.85;
  transition: all 0.3s var(--ease-out-expo);
}

.grid-preview-lg .grid-item:nth-child(1) { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); }
.grid-preview-lg .grid-item:nth-child(2) { background: linear-gradient(135deg, #10b981 0%, #34d399 100%); }
.grid-preview-lg .grid-item:nth-child(3) { background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%); }
.grid-preview-lg .grid-item:nth-child(4) { background: linear-gradient(135deg, #ef4444 0%, #f87171 100%); }
.grid-preview-lg .grid-item:nth-child(5) { background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%); }
.grid-preview-lg .grid-item:nth-child(6) { background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%); }
.grid-preview-lg .grid-item:nth-child(7) { background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%); }
.grid-preview-lg .grid-item:nth-child(8) { background: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 100%); }

.view-grid:hover .grid-item {
  opacity: 1;
  transform: scale(1.05);
}

/* Map View Preview - Window Columns with Bars */
.map-preview {
  display: flex;
  gap: 6px;
  flex: 1;
}

.map-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 8px 6px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}

.map-bar {
  width: 100%;
  height: 8px;
  background: var(--accent);
  border-radius: 3px;
  opacity: 0.7;
  transition: all 0.3s var(--ease-out-expo);
}

.map-column:nth-child(2) .map-bar { background: #8b5cf6; }
.map-column:nth-child(3) .map-bar { background: #10b981; }

.view-map:hover .map-bar {
  opacity: 1;
}

/* List View Preview - Vertical Rows */
.list-preview {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.list-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}

.list-dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 3px;
  flex-shrink: 0;
}

.list-line {
  flex: 1;
  height: 6px;
  background: var(--text-muted);
  border-radius: 2px;
  opacity: 0.3;
  transition: all 0.3s var(--ease-out-expo);
}

.list-row:nth-child(2) .list-dot { background: #ef4444; }
.list-row:nth-child(3) .list-dot { background: #f59e0b; }
.list-row:nth-child(4) .list-dot { background: #10b981; }

.view-list:hover .list-line {
  opacity: 0.5;
}

/* Full Tab View Preview - Dashboard */
.full-preview {
  display: flex;
  gap: 6px;
  flex: 1;
}

.full-sidebar {
  width: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  transition: all 0.3s var(--ease-out-expo);
}

.full-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.full-row {
  flex: 1;
  display: flex;
  gap: 5px;
}

.full-row::before,
.full-row::after {
  content: '';
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  transition: all 0.3s var(--ease-out-expo);
}

.full-row:nth-child(1)::before { background: rgba(99, 102, 241, 0.15); border-color: rgba(99, 102, 241, 0.25); }
.full-row:nth-child(2)::after { background: rgba(16, 185, 129, 0.15); border-color: rgba(16, 185, 129, 0.25); }

.view-full:hover .full-sidebar,
.view-full:hover .full-row::before,
.view-full:hover .full-row::after {
  border-color: var(--accent);
}

.bento-content {
  margin-top: auto;
}

.bento-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.bento-content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.bento-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent-glow);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-sm);
  color: var(--accent);
  margin-bottom: 20px;
}

.bento-horizontal {
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
}

.bento-horizontal .bento-icon {
  flex-shrink: 0;
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .features-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-large {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 640px) {
  .features-bento {
    grid-template-columns: 1fr;
  }

  .bento-large,
  .bento-wide {
    grid-column: span 1;
  }

  .bento-horizontal {
    flex-direction: column;
  }
}

/* ============================================
   Keyboard Section
   ============================================ */

.keyboard-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.keyboard-content .section-badge {
  margin-bottom: 20px;
}

.keyboard-content .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.keyboard-content .section-desc {
  max-width: 400px;
  margin-bottom: 32px;
}

.shortcut-groups {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.shortcut-group h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.shortcut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.keys {
  display: flex;
  gap: 6px;
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: 0 2px 0 var(--border-subtle);
}

.shortcut-desc {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Keyboard Visual */
.keyboard-visual {
  display: flex;
  justify-content: center;
}

.keyboard-mockup {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 40px 80px -20px rgba(0, 0, 0, 0.4);
}

.key-row {
  display: flex;
  gap: 6px;
}

.key {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  box-shadow: 0 2px 0 var(--border-subtle);
  transition: all 0.3s var(--ease-out-expo);
}

.key-wide { width: 72px; }
.key-wider { width: 96px; }
.key-space { width: 200px; }

.key-highlight {
  background: var(--accent-glow);
  border-color: rgba(99, 102, 241, 0.3);
  color: var(--accent);
}

@media (max-width: 1024px) {
  .keyboard-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .keyboard-content {
    text-align: center;
  }

  .keyboard-content .section-title {
    text-align: center;
  }

  .keyboard-content .section-desc {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .keyboard-mockup {
    transform: scale(0.8);
    transform-origin: center;
  }
}

/* ============================================
   Themes Section
   ============================================ */

.themes-showcase {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.theme-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
}

.theme-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-card);
}

.theme-card.active {
  border-color: var(--accent);
  background: var(--accent-glow);
  box-shadow: 0 0 20px var(--accent-glow);
}

.theme-card.active .theme-preview {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.theme-preview {
  width: 80px;
  height: 56px;
  border-radius: 10px;
  border: 2px solid;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 8px;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}

.theme-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.theme-card span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.theme-card.active span {
  color: var(--text-primary);
  font-weight: 600;
}

/* ============================================
   Features Table Section
   ============================================ */

.features-table-section {
  padding-bottom: calc(var(--section-padding) / 2);
}

.features-table-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-category {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.3s var(--ease-out-expo);
}

.feature-category:hover {
  border-color: var(--border-card);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent-glow);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 10px;
  color: var(--accent);
  flex-shrink: 0;
}

.category-header h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  padding-left: 16px;
  position: relative;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.6;
}

/* Premium category styling */
.premium-category {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
  border-color: rgba(245, 158, 11, 0.3);
}

.premium-category:hover {
  border-color: rgba(245, 158, 11, 0.5);
}

.premium-category .category-icon {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

.premium-category .feature-list li::before {
  background: #f59e0b;
}

.premium-badge-small {
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 100px;
  color: #f59e0b;
  letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
  .features-table-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .features-table-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .features-table-container {
    grid-template-columns: 1fr;
  }

  .feature-category {
    padding: 20px;
  }
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
  text-align: center;
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.cta-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.cta-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  color: #f59e0b;
  margin-bottom: 16px;
}

.cta-note {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

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

.footer {
  position: relative;
  z-index: 2;
  padding: 32px var(--container-padding);
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.3s var(--ease-out-expo);
}

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

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

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

/* ============================================
   Scroll Reveal Animations
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo);
}

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

/* Staggered animations for children */
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.40s; }
.reveal:nth-child(7) { transition-delay: 0.48s; }

/* Card hover glow effect */
.card-shell {
  transition: all 0.4s var(--ease-out-expo), transform 0.2s ease-out;
}

.card-shell:hover {
  box-shadow: 0 0 30px -5px var(--accent-glow), 0 20px 40px -15px rgba(0, 0, 0, 0.3);
}

/* Bento card lift on hover */
.bento-card .card-shell:hover {
  transform: translateY(-4px);
}

/* Privacy card lift on hover */
.privacy-card .card-shell:hover {
  transform: translateY(-4px);
}

/* Theme card enhanced hover */
.theme-card:hover {
  box-shadow: 0 8px 30px -8px var(--accent-glow);
}

/* ============================================
   Mini Visual Elements for Feature Cards
   ============================================ */

.bento-visual-mini {
  padding: 16px;
  margin: -32px -32px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
  border-radius: calc(var(--radius-lg) - 3px) calc(var(--radius-lg) - 3px) 0 0;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Smart Organize Visual */
.organize-visual {
  gap: 12px;
}

.organize-before {
  position: relative;
  width: 50px;
  height: 60px;
}

.scatter-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.organize-arrow {
  color: var(--text-muted);
  font-size: 16px;
}

.organize-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 50px;
}

.group-stack {
  height: 26px;
  border-radius: 4px;
  border: 1px solid;
  transition: all 0.3s ease;
}

.bento-card:hover .scatter-dot {
  transform: scale(1.2);
}

.bento-card:hover .group-stack {
  transform: scale(1.05);
}

/* Instant Search Visual */
.search-visual {
  flex-direction: column;
  gap: 8px;
}

.search-input-demo {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: var(--bg-primary);
  border: 1px solid var(--border-card);
  border-radius: 6px;
  font-size: 11px;
  font-family: var(--font-mono);
}

.search-icon-mini {
  color: var(--text-muted);
  font-size: 10px;
}

.search-text {
  color: var(--text-primary);
}

.search-cursor {
  color: var(--accent);
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.search-results {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.search-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.search-tab.faded {
  opacity: 0.3;
}

.search-tab.active {
  background: var(--accent-glow);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.tab-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--text-muted);
}

.tab-text {
  flex: 1;
  height: 6px;
  background: var(--text-muted);
  border-radius: 2px;
  opacity: 0.3;
}

.search-tab.active .tab-text {
  opacity: 0.6;
}

/* Collections Visual */
.collections-visual {
  flex-direction: column;
  gap: 6px;
}

.collection-folder {
  position: relative;
  width: 60px;
}

.folder-tab {
  width: 24px;
  height: 8px;
  background: var(--accent);
  border-radius: 4px 4px 0 0;
  margin-left: 4px;
}

.folder-body {
  display: flex;
  gap: 4px;
  padding: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: 4px;
  margin-top: -2px;
}

.folder-item {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.collection-label {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.bento-card:hover .folder-item {
  transform: translateY(-2px);
}

.bento-card:hover .folder-body {
  border-color: var(--accent);
}

/* ============================================
   Floating Theme Switcher
   ============================================ */

.theme-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 8px;
}

.theme-fab-toggle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-out-expo);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.theme-fab-toggle:hover {
  background: var(--accent-glow);
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.05);
}

.theme-fab-toggle:active {
  transform: scale(0.95);
}

.theme-fab-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.9);
  transition: all 0.3s var(--ease-out-expo);
  pointer-events: none;
}

.theme-fab.open .theme-fab-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.theme-fab.open .theme-fab-toggle {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.theme-fab-option {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-out-expo);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
}

.theme-fab-option:hover {
  transform: scale(1.15);
  border-color: var(--text-secondary);
}

.theme-fab-option.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-glow);
}

.theme-fab-label {
  position: absolute;
  right: 52px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-card);
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.2s var(--ease-out-expo);
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.theme-fab-option:hover .theme-fab-label {
  opacity: 1;
  transform: translateX(0);
}

.theme-fab-option.active .theme-fab-label {
  color: var(--accent);
}

.theme-fab-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transition: transform 0.3s var(--ease-out-expo);
}

.theme-fab-option:hover .theme-fab-dot {
  transform: scale(1.1);
}

@media (max-width: 640px) {
  .theme-fab {
    bottom: 16px;
    right: 16px;
  }

  .theme-fab-toggle {
    width: 46px;
    height: 46px;
  }

  .theme-fab-option {
    width: 36px;
    height: 36px;
  }

  .theme-fab-dot {
    width: 16px;
    height: 16px;
  }
}
