/* ═══════════════════════════════════════════════════════════════
   AI Widget Showcase Website — Ultra-Premium Fluent Monochrome Theme
   100% Pure Black (#09090b), Clean White (#ffffff) & Zinc Neutrals
   Zero colorful noise · Apple / Linear / Vercel Aesthetic
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg-page: #fafafa;
  --bg-card: #ffffff;
  --bg-subtle: #f4f4f5;
  --bg-muted: #e4e4e7;
  
  --border-color: #e4e4e7;
  --border-dark: #27272a;
  --border-hover: #a1a1aa;
  
  --text-primary: #09090b;
  --text-secondary: #52525b;
  --text-muted: #71717a;
  --text-white: #ffffff;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-popup: 0 16px 36px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

/* RTL Support */
[dir="rtl"] {
  font-family: 'Segoe UI', Tahoma, 'Plus Jakarta Sans', sans-serif;
}
[dir="rtl"] .workflow-arrow {
  transform: rotate(180deg);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography & Tags ── */
.pure-dark-text {
  color: #09090b;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mono-icon {
  stroke: var(--text-primary);
}

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

.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

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

/* ── Visibility Utilities (Desktop Default) ── */
.mobile-only {
  display: none !important;
}

.mobile-menu {
  display: none !important;
}

.desktop-only {
  display: inline-flex;
}

nav.desktop-only {
  display: flex;
}

/* ── Navbar ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  height: 68px;
  display: flex;
  align-items: center;
}

.nav-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-links a {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-github-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-github-link:hover {
  background: #09090b;
  color: #ffffff;
  border-color: #09090b;
  transform: translateY(-1px);
}

.github-star-badge {
  font-size: 11.5px;
  font-weight: 700;
}

.lang-selector {
  display: flex;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 4px 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: #ffffff;
  color: var(--text-primary);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: #09090b;
  color: #ffffff;
  border: 1px solid #09090b;
}

.btn-primary:hover {
  background: #27272a;
  border-color: #27272a;
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

/* ── Hero Section ── */
.hero {
  padding: 72px 0 60px;
  text-align: center;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

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

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn-hero {
  padding: 10px 20px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: all 0.2s ease;
  min-width: 220px;
}

.btn-hero-primary {
  background: #09090b;
  color: #ffffff;
  border: 1px solid #09090b;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-hero-primary:hover {
  background: #27272a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary {
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-hero-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-hero .btn-main {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
}

.btn-hero .btn-sub {
  display: block;
  font-size: 11px;
  opacity: 0.8;
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
}

/* 4 Core Pillars under Hero (Balanced 2x2 Grid) */
.hero-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
  text-align: left;
}

.pillar-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-content h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pillar-content p {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
}

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

.stat-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}

.stat-lbl {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ── Section: Comment fonctionne AiWidget (Workflow) ── */
.how-it-works-section {
  padding: 80px 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-color);
}

.workflow-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  box-shadow: var(--shadow-card);
}

.workflow-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.workflow-step {
  flex: 1;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.workflow-step.highlight-step {
  border: 2px solid #09090b;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 99px;
  background: #09090b;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.step-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.step-branch {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.branch-item {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 11px;
}

.branch-tag {
  display: inline-block;
  background: #09090b;
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 2px;
}

.branch-text {
  color: var(--text-primary);
  font-size: 11px;
  display: block;
}

.workflow-arrow {
  font-size: 20px;
  color: var(--text-muted);
  font-weight: 800;
}

/* ── Mockup Preview ── */
.preview-section {
  padding: 80px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.mockup-window {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-popup);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.mockup-topbar {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: #d4d4d8;
}

.mockup-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
  font-family: 'JetBrains Mono', monospace;
}

.mockup-badge {
  font-size: 11px;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 3px 8px;
  border-radius: 99px;
  color: var(--text-primary);
}

.mockup-body {
  padding: 24px;
  background: #ffffff;
}

.mockup-chat {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-msg {
  display: flex;
  gap: 12px;
  max-width: 85%;
}

.chat-msg.user {
  margin-left: auto;
  flex-direction: row-reverse;
}

.chat-msg.bot {
  margin-right: auto;
}

.msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: #09090b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.msg-avatar-img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.msg-bubble {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--text-primary);
}

.chat-msg.user .msg-bubble {
  background: #09090b;
  color: #ffffff;
  border-color: #09090b;
}

.msg-chip {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11.5px;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 6px;
}

.mockup-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 12.5px;
}

.mockup-table th, .mockup-table td {
  padding: 8px 10px;
  border: 1px solid var(--border-color);
  text-align: left;
}

.mockup-table th {
  background: #ffffff;
  font-weight: 700;
}

.mockup-table .highlight-row {
  background: #f4f4f5;
  font-weight: 700;
}

/* ── Section: Pourquoi Local ? ── */
.why-local-section {
  padding: 80px 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-color);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.why-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.2s ease;
}

.why-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}

.why-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.why-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.why-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Section: Pour qui ? ── */
.target-section {
  padding: 80px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.target-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.2s ease;
}

.target-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
  background: #ffffff;
}

.target-badge {
  display: inline-block;
  background: #09090b;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 99px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.target-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.target-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Features Grid (8 Piliers) ── */
.features {
  padding: 80px 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-color);
}

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

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}

.feature-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.feature-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Open-Core Banner ── */
.opencore-section {
  padding: 60px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.opencore-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
}

.opencore-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 28px;
}

.opencore-tag {
  display: inline-block;
  background: #09090b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 10px;
}

.opencore-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

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

.opencore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.opencore-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.opencore-box.open {
  border-left: 4px solid #09090b;
}

.opencore-box.enterprise {
  border-left: 4px solid #71717a;
}

.box-badge {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 6px;
}

.opencore-box h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.opencore-box p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Editions (LITE vs SERVER PRO) ── */
.editions-section {
  padding: 80px 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-color);
}

.editions-grid.two-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}

.edition-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: all 0.2s ease;
}

.edition-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}

.edition-card.pro-card {
  border: 2px solid #09090b;
}

.edition-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #09090b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 99px;
  text-transform: uppercase;
}

.edition-header {
  text-align: center;
  margin-bottom: 24px;
}

.edition-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.edition-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.edition-target {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.edition-price {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
}

.price-val {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
}

.price-type {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

.edition-features {
  list-style: none;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.edition-features li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.check {
  font-weight: 800;
  color: var(--text-primary);
}

/* ── Download Section ── */
.download-section {
  padding: 80px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.download-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-subtle);
  transition: all 0.2s ease;
}

.download-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}

.download-card.primary {
  border: 2px solid #09090b;
}

.download-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #09090b;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 99px;
  text-transform: uppercase;
}

.download-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--text-primary);
}

.download-card-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.download-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  min-height: 38px;
}

.download-file-info {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ── Share Section ── */
.share-section {
  padding: 80px 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-color);
}

.share-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  box-shadow: var(--shadow-card);
  max-width: 960px;
  margin: 0 auto;
}

.share-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: center;
}

.qr-box-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.qr-box {
  position: relative;
  width: 170px;
  height: 170px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 10px;
  box-shadow: var(--shadow-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.qr-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.qr-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: #ffffff;
  border-radius: 8px;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-logo-overlay {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.qr-scan-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.share-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.share-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}

.share-url-box {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 520px;
  margin-bottom: 16px;
}

.share-input {
  flex: 1;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-secondary);
  outline: none;
}

.share-buttons-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.share-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.share-action-btn:hover {
  background: var(--bg-subtle);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 36px 0;
  background: #ffffff;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-github-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #09090b;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-github-btn:hover {
  background: #27272a;
  transform: translateY(-1px);
  color: #ffffff;
}

.footer-contact-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.footer-contact-link:hover {
  text-decoration: underline;
}

/* Toast */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #09090b;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-popup);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* ── Responsive Tablet & Mobile (<= 1080px) ── */
@media (max-width: 1080px) {
  .desktop-only,
  nav.desktop-only,
  a.desktop-only,
  div.desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: inline-flex !important;
  }
  
  .hero-title {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-pillars-grid {
    grid-template-columns: 1fr;
  }
  
  .workflow-grid {
    flex-direction: column;
    gap: 16px;
  }
  
  .workflow-arrow {
    transform: rotate(90deg);
  }
  
  [dir="rtl"] .workflow-arrow {
    transform: rotate(90deg);
  }
  
  .share-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .share-url-box {
    flex-direction: column;
  }
  
  .share-buttons-row {
    justify-content: center;
  }
  
  .mobile-toggle-btn {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
  }
  
  .mobile-toggle-btn:hover {
    background: var(--bg-muted);
  }
  
  .mobile-menu {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    height: calc(100vh - 68px);
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 24px;
    display: none !important;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    overflow-y: auto;
  }
  
  .mobile-menu.open {
    display: flex !important;
  }
  
  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .mobile-nav-links a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    padding: 12px 8px;
    border-bottom: 1px solid var(--border-color);
    display: block;
    transition: background 0.15s ease;
  }

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

  .mobile-menu-footer {
    margin-top: 16px;
    padding-bottom: 24px;
  }
}

/* ── Small Mobile Screens (<= 480px) ── */
@media (max-width: 480px) {
  .nav-container {
    padding: 0 14px;
    gap: 8px;
  }

  .brand-logo-img {
    width: 28px;
    height: 28px;
  }

  .brand-name {
    font-size: 16px;
  }

  .lang-btn {
    padding: 3px 6px;
    font-size: 10.5px;
  }

  .mobile-toggle-btn {
    width: 34px;
    height: 34px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

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