/* ==========================================================================
   NAS GROUP — POULTRY ERP & MOBILE SUPERVISOR SUITE
   OFFICIAL MARKETING & SUPPORT PORTAL DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Brand Palettes */
  --brand-navy-950: #030d17;
  --brand-navy-900: #061826;
  --brand-navy-800: #0E3860;
  --brand-navy-700: #134475;
  --brand-navy-600: #1B4965;
  --brand-navy-500: #2C6E91;

  --brand-emerald-600: #059669;
  --brand-emerald-500: #10B981;
  --brand-emerald-400: #34D399;
  --brand-emerald-100: #D1FAE5;
  --brand-emerald-50:  #ECFDF5;

  --brand-teal-500: #00A896;
  --brand-teal-400: #38B2AC;
  --brand-teal-100: #E6FFFA;

  --brand-amber-500: #F59E0B;
  --brand-amber-100: #FEF3C7;
  --brand-rose-500: #EF4444;
  --brand-rose-100: #FEE2E2;

  /* Surfaces & Canvas (Light Mode) */
  --bg-page: #F8FAFC;
  --bg-page-gradient: radial-gradient(100% 80% at 50% 0%, #E8F5E9 0%, #F1F5F9 45%, #F8FAFC 100%);
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFFFF;
  --bg-surface-subtle: #F1F5F9;
  --bg-surface-glass: rgba(255, 255, 255, 0.88);

  /* Text & Readability */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-inverted: #FFFFFF;

  /* Borders & Dividers */
  --border-light: rgba(226, 232, 240, 0.9);
  --border-medium: #CBD5E1;
  --border-glow: rgba(16, 185, 129, 0.35);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 14px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 14px 30px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 24px 50px -12px rgba(15, 23, 42, 0.18);
  --shadow-emerald: 0 10px 25px -5px rgba(16, 185, 129, 0.3);

  /* Geometry & Layout */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --max-width: 1200px;
  --header-height: 76px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Dark Theme Variant
   ========================================================================== */
[data-theme="dark"] {
  --bg-page: #070D18;
  --bg-page-gradient: radial-gradient(100% 80% at 50% 0%, #0F2338 0%, #070D18 55%, #04080F 100%);
  --bg-surface: #0E1829;
  --bg-surface-elevated: #13223A;
  --bg-surface-subtle: #172945;
  --bg-surface-glass: rgba(14, 24, 41, 0.88);

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --border-light: rgba(51, 65, 85, 0.7);
  --border-medium: #334155;
  --border-glow: rgba(16, 185, 129, 0.5);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 14px -2px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 14px 30px -4px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 24px 50px -12px rgba(0, 0, 0, 0.75);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background: var(--bg-page);
  background-image: var(--bg-page-gradient);
  background-attachment: fixed;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: var(--brand-emerald-500);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--brand-teal-400);
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo {
  height: 42px;
  width: auto;
  border-radius: var(--radius-sm);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.brand-name .badge-pro {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  background: linear-gradient(135deg, var(--brand-navy-800), var(--brand-emerald-600));
  color: #FFFFFF;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-emerald-500);
  background: var(--bg-surface-subtle);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Theme Toggle Button */
.btn-theme-toggle {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: var(--transition);
}

.btn-theme-toggle:hover {
  color: var(--text-primary);
  border-color: var(--brand-emerald-500);
  transform: rotate(15deg);
}

/* Action Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-navy-800) 0%, #0d5c80 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(14, 56, 96, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-navy-700) 0%, #10B981 100%);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-emerald);
}

.btn-emerald {
  background: linear-gradient(135deg, var(--brand-emerald-600) 0%, var(--brand-teal-500) 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-emerald);
}

.btn-emerald:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  background: var(--bg-surface-subtle);
  border-color: var(--brand-emerald-500);
  color: var(--brand-emerald-500);
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
}

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

/* ==========================================================================
   Notice Banner (App Store Links Clarification)
   ========================================================================== */
.compliance-banner {
  background: linear-gradient(90deg, #061826 0%, #0E3860 100%);
  color: #FFFFFF;
  padding: 0.65rem 1.5rem;
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.compliance-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.compliance-tags {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.compliance-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 500;
}

.compliance-tag.active {
  background: rgba(16, 185, 129, 0.25);
  border: 1px solid var(--brand-emerald-400);
  color: #A7F3D0;
}

.banner-link {
  color: #6EE7B7;
  font-weight: 600;
  text-decoration: underline;
}

/* ==========================================================================
   Hero Section (Marketing)
   ========================================================================== */
.hero-section {
  padding: 4.5rem 1.5rem 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.hero-badge-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  background: var(--brand-emerald-100);
  color: var(--brand-emerald-600);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

[data-theme="dark"] .hero-badge {
  background: rgba(16, 185, 129, 0.15);
  color: var(--brand-emerald-400);
}

.hero-badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--brand-emerald-500);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--brand-navy-800), var(--brand-emerald-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .hero-title .gradient-text {
  background: linear-gradient(135deg, #60A5FA, #34D399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* App Store Badge Buttons */
.store-badges {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  flex-wrap: wrap;
}

.store-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.2rem;
  background: #000000;
  color: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  text-decoration: none;
}

.store-badge-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  color: #FFFFFF;
}

.store-badge-icon {
  font-size: 1.7rem;
  line-height: 1;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.store-badge-sub {
  font-size: 0.62rem;
  text-transform: uppercase;
  color: #94A3B8;
  letter-spacing: 0.05em;
}

.store-badge-title {
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Quick Trust Stats */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-light);
}

.stat-item h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-emerald-500);
  margin-bottom: 0.2rem;
}

.stat-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Device Mockup */
.device-showcase-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  position: relative;
  width: 310px;
  max-width: 100%;
  background: #0B132B;
  border: 10px solid #1E293B;
  border-radius: 46px;
  box-shadow: var(--shadow-xl), 0 0 60px rgba(16, 185, 129, 0.18);
  overflow: hidden;
  transition: transform 0.4s ease;
}

.phone-mockup:hover {
  transform: translateY(-6px) scale(1.01);
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 22px;
  background: #1E293B;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: auto;
  display: block;
}

/* Floating Status Badges around phone */
.floating-chip {
  position: absolute;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 15;
  animation: float 4s ease-in-out infinite;
}

.floating-chip-1 {
  top: 12%;
  left: -28px;
}

.floating-chip-2 {
  bottom: 14%;
  right: -28px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.chip-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.chip-icon.gps {
  background: var(--brand-emerald-100);
  color: var(--brand-emerald-600);
}

.chip-icon.sync {
  background: #E0F2FE;
  color: #0284C7;
}

.chip-content {
  display: flex;
  flex-direction: column;
}

.chip-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.chip-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Section Common Styles
   ========================================================================== */
.section {
  padding: 5rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-emerald-500);
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Features Bento Grid
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg);
}

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

.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.icon-emerald { background: var(--brand-emerald-50); color: var(--brand-emerald-600); }
.icon-navy    { background: #E0E7FF; color: var(--brand-navy-800); }
.icon-teal    { background: var(--brand-teal-100); color: var(--brand-teal-600); }
.icon-amber   { background: var(--brand-amber-100); color: var(--brand-amber-500); }
.icon-rose    { background: var(--brand-rose-100); color: var(--brand-rose-500); }

[data-theme="dark"] .icon-emerald { background: rgba(16, 185, 129, 0.15); color: var(--brand-emerald-400); }
[data-theme="dark"] .icon-navy    { background: rgba(99, 102, 241, 0.15); color: #818CF8; }
[data-theme="dark"] .icon-teal    { background: rgba(0, 168, 150, 0.15); color: var(--brand-teal-300); }
[data-theme="dark"] .icon-amber   { background: rgba(245, 158, 11, 0.15); color: #FBBF24; }
[data-theme="dark"] .icon-rose    { background: rgba(239, 68, 68, 0.15); color: #F87171; }

.bento-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

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

.bento-preview-img {
  margin-top: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Interactive Screenshot Gallery
   ========================================================================== */
.gallery-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.gallery-tab-btn {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-tab-btn.active, .gallery-tab-btn:hover {
  background: var(--brand-emerald-500);
  color: #FFFFFF;
  border-color: var(--brand-emerald-500);
}

.gallery-stage {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.gallery-screen-frame {
  max-width: 320px;
  margin: 0 auto;
  border-radius: 36px;
  border: 8px solid #1E293B;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.gallery-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.gallery-info p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.gallery-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gallery-features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}

.gallery-features-list li span.check {
  color: var(--brand-emerald-500);
  font-weight: 800;
  font-size: 1.1rem;
}

/* ==========================================================================
   Support Page Specific Components
   ========================================================================== */
.support-hero {
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.support-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.support-hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Live Search Box */
.support-search-box {
  position: relative;
  max-width: 620px;
  margin: 0 auto 1.5rem;
}

.support-search-input {
  width: 100%;
  padding: 1.1rem 1.25rem 1.1rem 3.4rem;
  font-size: 1.05rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--border-medium);
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  outline: none;
  transition: var(--transition);
}

.support-search-input:focus {
  border-color: var(--brand-emerald-500);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.search-icon-inside {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--text-muted);
  pointer-events: none;
}

/* Quick Channels Cards */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.channel-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.channel-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-emerald-500);
  box-shadow: var(--shadow-md);
}

.channel-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.channel-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.channel-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.channel-action {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-emerald-500);
  margin-top: auto;
}

/* Status Indicator */
.system-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1rem 1.75rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 1rem;
}

.status-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.status-dot {
  width: 12px;
  height: 12px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.status-text h5 {
  font-size: 0.95rem;
  font-weight: 700;
}

.status-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Two Column Support Section (Ticket Form + FAQ) */
.support-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

/* Support Form Card */
.ticket-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.ticket-form-header {
  margin-bottom: 1.75rem;
}

.ticket-form-header h2 {
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
}

.ticket-form-header p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
}

.form-label span.req {
  color: var(--brand-rose-500);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-surface-subtle);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--brand-emerald-500);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

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

/* FAQ Accordion */
.faq-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.faq-card.open {
  border-color: var(--brand-emerald-500);
  box-shadow: var(--shadow-sm);
}

.faq-header {
  padding: 1.15rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}

.faq-header h4 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.faq-card.open .faq-icon {
  transform: rotate(180deg);
  color: var(--brand-emerald-500);
}

.faq-body {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
  display: none;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.faq-card.open .faq-body {
  display: block;
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 24, 38, 0.7);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-xl);
  position: relative;
  animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPop {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--brand-emerald-100);
  color: var(--brand-emerald-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
}

.modal-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.modal-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.ticket-id-badge {
  background: var(--bg-surface-subtle);
  border: 1px dashed var(--border-medium);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--brand-emerald-600);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--brand-navy-950);
  color: #94A3B8;
  padding: 4.5rem 1.5rem 2rem;
  margin-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h4 {
  color: #FFFFFF;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 340px;
}

.footer-col h5 {
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.footer-links a {
  color: #94A3B8;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #34D399;
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   App Store Connect & Play Store Helper Box
   ========================================================================== */
.appstore-guide-box {
  background: var(--bg-surface);
  border: 2px dashed var(--brand-emerald-500);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin: 3rem auto;
  max-width: var(--max-width);
}

.guide-box-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.guide-box-header h3 {
  font-size: 1.35rem;
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.guide-item {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.guide-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.guide-pill-req {
  font-size: 0.7rem;
  padding: 2px 8px;
  background: var(--brand-rose-100);
  color: var(--brand-rose-500);
  border-radius: var(--radius-full);
  font-weight: 700;
  text-transform: uppercase;
}

.guide-pill-opt {
  font-size: 0.7rem;
  padding: 2px 8px;
  background: var(--brand-amber-100);
  color: var(--brand-amber-500);
  border-radius: var(--radius-full);
  font-weight: 700;
  text-transform: uppercase;
}

.url-copy-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  margin-top: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
}

.url-copy-box code {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--brand-navy-800);
}

[data-theme="dark"] .url-copy-box code {
  color: #38BDF8;
}

.btn-copy {
  background: var(--brand-emerald-500);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-copy:hover {
  background: var(--brand-emerald-600);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-badge-group, .hero-cta-group, .hero-stats-row {
    justify-content: center;
  }

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

  .bento-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-stage {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .gallery-features-list li {
    justify-content: center;
  }

  .channels-grid {
    grid-template-columns: 1fr 1fr;
  }

  .support-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }
}

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

  .mobile-nav-toggle {
    display: block;
  }

  .channels-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .floating-chip {
    display: none;
  }
}
