/* ==============================================================================
   GetLinker.app - Unified Design System & Modern Theme Engine
   ============================================================================== */

:root {
  /* Obsidian Glass (Default) */
  --bg-base: #0B0F17;
  --bg-surface: rgba(18, 24, 38, 0.75);
  --bg-surface-elevated: rgba(28, 38, 60, 0.85);
  --bg-card: rgba(23, 31, 48, 0.6);
  --bg-card-hover: rgba(30, 41, 64, 0.85);
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --accent: #3B82F6;
  --accent-secondary: #8B5CF6;
  --accent-glow: 0 0 25px rgba(59, 130, 246, 0.35);
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(99, 102, 241, 0.5);
  --glass-blur: blur(16px);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

/* Cyberpunk Neon Theme */
body.theme-cyberpunk {
  --bg-base: #080314;
  --bg-surface: rgba(23, 12, 46, 0.85);
  --bg-surface-elevated: rgba(38, 18, 77, 0.9);
  --bg-card: rgba(28, 14, 56, 0.7);
  --bg-card-hover: rgba(45, 22, 90, 0.9);
  --text-main: #FFFFFF;
  --text-muted: #D8B4FE;
  --accent: #00F0FF;
  --accent-secondary: #FF007F;
  --accent-glow: 0 0 25px rgba(0, 240, 255, 0.5);
  --border: rgba(0, 240, 255, 0.25);
  --border-focus: rgba(255, 0, 127, 0.8);
}

/* Minimalist Paper Theme */
body.theme-paper {
  --bg-base: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --accent: #0F172A;
  --accent-secondary: #475569;
  --accent-glow: none;
  --border: #E2E8F0;
  --border-focus: #0F172A;
}

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

body {
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navbar */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.nav-logo {
  width: 30px;
  height: 30px;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
}

.btn-primary:hover {
  filter: brightness(1.15);
  box-shadow: var(--accent-glow);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border);
}

.btn-outline:hover {
  background: var(--bg-surface-elevated);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 12px;
}

/* Hero Section */
.hero {
  padding: 90px 0 60px;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
}

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

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.bento-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.col-12 { grid-column: span 12; }
.col-8  { grid-column: span 8; }
.col-6  { grid-column: span 6; }
.col-4  { grid-column: span 4; }

@media (max-width: 860px) {
  .col-8, .col-6, .col-4 {
    grid-column: span 12;
  }
}

/* Feature Showcase */
.feature-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 8px;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Interactive Demo Container */
.demo-window {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  margin: 40px auto;
  max-width: 950px;
}

.window-chrome {
  background: var(--bg-surface-elevated);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #EF4444; }
.dot.yellow { background: #F59E0B; }
.dot.green { background: #10B981; }

.window-url {
  flex: 1;
  background: var(--bg-base);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: monospace;
}

.window-body {
  padding: 24px;
}

/* Claim Handle Form */
.claim-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border);
  padding: 8px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  max-width: 520px;
  margin: 0 auto;
}

.claim-prefix {
  padding-left: 14px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14px;
}

.claim-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 10px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  margin-top: 80px;
  background: var(--bg-surface);
}

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

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

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  color: var(--text-muted);
  font-size: 12px;
}
