/* ==============================================================================
   Empowerpoint® Platform & Anasua App - Design System
   Brand Accent: Warm Gold (#f6ad55) & Electric Cyan (#0ea5e9)
   Pure Static Architecture - Lightweight, Zero Bloat, Ultra Responsive
   ============================================================================== */

:root {
  --bg-main: #090d16;
  --bg-card: #111827;
  --bg-card-hover: #162032;
  --bg-elevated: #1a2438;
  --border-color: #1e293b;
  --border-accent: rgba(246, 173, 85, 0.3);
  
  --primary-gold: #f6ad55;
  --primary-gold-dark: #dd6b20;
  --accent-cyan: #0ea5e9;
  --accent-cyan-glow: rgba(14, 165, 233, 0.25);
  --accent-green: #10b981;
  --accent-purple: #c084fc;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(246, 173, 85, 0.15);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Background Atmosphere */
.bg-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 500px;
  background: radial-gradient(circle at 50% 20%, rgba(246, 173, 85, 0.08) 0%, rgba(14, 165, 233, 0.04) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.75rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }

p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

a {
  color: var(--primary-gold);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #fed7aa;
  text-decoration: underline;
}

/* Header & Navigation */
header {
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
}

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

.brand-combo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-combo img {
  max-height: 36px;
  width: auto;
  object-fit: contain;
}

.brand-combo img.tirja-logo {
  height: 36px;
  width: auto;
  max-width: 36px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
}

.brand-divider {
  width: 1px;
  height: 22px;
  background: var(--border-color);
  margin: 0 2px;
  flex-shrink: 0;
}

.brand-combo img.logo-icon {
  height: 36px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-combo img.logo-text {
  height: 20px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-gold);
  border-left: 1px solid var(--border-color);
  padding-left: 10px;
  margin-left: 2px;
  white-space: nowrap;
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-gold);
  background: rgba(246, 173, 85, 0.08);
  text-decoration: none;
}

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

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
  color: #000000;
  box-shadow: 0 4px 12px rgba(246, 173, 85, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fbd38d 0%, #dd6b20 100%);
  color: #000000;
  transform: translateY(-1px);
  text-decoration: none;
}

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

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-gold);
  color: var(--primary-gold);
  text-decoration: none;
}

.btn-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  color: #000000;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

.btn-cyan:hover {
  background: linear-gradient(135deg, #7dd3fc 0%, #0369a1 100%);
  color: #000000;
  transform: translateY(-1px);
  text-decoration: none;
}

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

/* Badges & Pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
}

.badge-gold {
  background: rgba(246, 173, 85, 0.12);
  color: var(--primary-gold);
  border: 1px solid rgba(246, 173, 85, 0.3);
}

.badge-cyan {
  background: rgba(14, 165, 233, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.badge-green {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-purple {
  background: rgba(192, 132, 252, 0.12);
  color: var(--accent-purple);
  border: 1px solid rgba(192, 132, 252, 0.3);
}

/* Hero Section */
.hero-section {
  padding: 60px 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.1rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-top: 14px;
  margin-bottom: 22px;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fbd38d 0%, #f6ad55 50%, #ed8936 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-size: 0.86rem;
  color: var(--text-dim);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Hero Visual & Interactive Demo */
.hero-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
}

.demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 18px;
}

.demo-badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-gold);
}

.demo-box {
  background: #0d121f;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 14px;
}

.demo-box label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.demo-box .demo-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
}

.script-layers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.script-layer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0f172a;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary-gold);
}

.script-layer-row.cyan-accent {
  border-left-color: var(--accent-cyan);
}

.script-layer-row.green-accent {
  border-left-color: var(--accent-green);
}

.script-layer-meta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.script-layer-val {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: right;
}

/* Section Containers */
section.section {
  padding: 70px 0;
  position: relative;
}

.section-alt {
  background: #0b111c;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.section-head h2 {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.section-head p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Feature Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all 0.25s ease;
  position: relative;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(246, 173, 85, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(246, 173, 85, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.card-icon.cyan {
  background: rgba(14, 165, 233, 0.1);
}

.card-icon.green {
  background: rgba(16, 185, 129, 0.1);
}

.card-icon.purple {
  background: rgba(192, 132, 252, 0.1);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

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

/* Language Explorer Matrix */
.matrix-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 40px;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

.lang-chip {
  background: #0e1524;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  cursor: default;
}

.lang-chip:hover {
  background: rgba(246, 173, 85, 0.08);
  border-color: rgba(246, 173, 85, 0.4);
}

.lang-chip-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.lang-chip-code {
  font-size: 0.72rem;
  color: var(--primary-gold);
  font-family: var(--font-mono);
}

/* Architecture Showcase */
.arch-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.arch-box img, .arch-box svg {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

/* Download Cards */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.download-card:hover {
  border-color: var(--accent-cyan);
}

.download-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.download-arch {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.download-size {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(14, 165, 233, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

/* Quota & Pricing Table */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary-gold);
  box-shadow: 0 0 20px rgba(246, 173, 85, 0.15);
}

.pricing-card.featured::before {
  content: "MOST POPULAR";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gold);
  color: #000000;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 2px 12px;
  border-radius: var(--radius-full);
}

.pricing-name {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.pricing-cost {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 16px 0;
}

.pricing-cost span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin: 20px 0 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pricing-features li.active {
  color: var(--text-main);
}

.pricing-features li::before {
  content: "✓";
  color: var(--primary-gold);
  font-weight: 800;
}

/* General Content Page Styles */
.page-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 24px 90px;
}

.page-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-badge-strip {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.page-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.page-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 auto;
}

/* Legal & Policy Document Styles */
.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.legal-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 36px;
}

.legal-badge-strip {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.legal-title {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.legal-meta {
  font-size: 0.88rem;
  color: var(--text-dim);
}

.legal-content h2 {
  font-size: 1.5rem;
  color: var(--primary-gold);
  margin-top: 40px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.legal-content h3 {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-content p, .legal-content li {
  font-size: 1rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 14px;
}

.legal-content ol, .legal-content ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

.legal-callout {
  background: #0d1424;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 28px 0;
}

.legal-callout h4 {
  color: var(--primary-gold);
  margin-bottom: 8px;
}

.contact-card-box {
  background: #0d1424;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 20px;
  font-size: 0.95rem;
}

.contact-card-box strong {
  color: var(--text-main);
}

/* Deletion Portal Form Styles */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-top: 30px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: #0a0f1d;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(246, 173, 85, 0.15);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
}

.form-check input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--primary-gold);
}

.form-check label {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* API Documentation Styles */
.api-endpoint-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  overflow: hidden;
}

.api-endpoint-header {
  padding: 16px 20px;
  background: #0e1524;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
}

.http-method {
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 800;
  font-family: var(--font-mono);
}

.method-post {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.method-get {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.endpoint-path {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.endpoint-body {
  padding: 20px;
}

pre.code-block {
  background: #080c14;
  border: 1px solid #1a2234;
  border-radius: var(--radius-sm);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: #e2e8f0;
  overflow-x: auto;
  line-height: 1.5;
  margin: 12px 0;
}

/* Tables */
.table-responsive {
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

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

table.data-table th {
  background: #0d1424;
  color: var(--text-main);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  font-weight: 600;
}

table.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
}

table.data-table tr:last-child td {
  border-bottom: none;
}

table.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Footer */
footer {
  background: #060910;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-gold);
  margin-bottom: 16px;
}

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

.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

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

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

/* Responsive Rules */
@media (max-width: 1140px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .grid-3, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  /* Responsive Navigation Drawer for Tablets & Mobile */
  .mobile-toggle { display: block; }
  nav.main-nav {
    position: fixed;
    top: 67px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 67px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #090d16;
    border-bottom: 1px solid var(--border-color);
    padding: 20px 24px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
  }
  nav.main-nav.open {
    display: flex;
  }
  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 10px 14px;
  }
  .nav-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .nav-actions .btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  .hero-title { font-size: 2.3rem; }
  .brand-combo img.tirja-logo { height: 30px; }
  .brand-combo img.logo-icon { height: 30px; }
  .brand-combo img.logo-text { height: 18px; }
  .brand-tagline { font-size: 0.65rem; padding-left: 8px; }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .brand-tagline {
    display: none;
  }
}

/* ==============================================================================
   App Screenshot Showcase
   ============================================================================== */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.screenshot-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.screenshot-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}

.screenshot-img-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
  background: #000;
  box-shadow: var(--shadow-md);
}

.screenshot-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.screenshot-title {
  font-size: 1.05rem;
  color: var(--primary-gold);
  font-weight: 700;
  margin-bottom: 8px;
}

.screenshot-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

