/* ==========================================================================
   HaatBeat Premium Landing Page CSS Stylesheet
   ========================================================================== */

/* Design Tokens & Theme Variables */
:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;

  /* Default Dark Color Palette */
  --bg-dark-deep: #09090b;
  --bg-dark-surface: #121216;
  --bg-dark-card: rgba(20, 20, 26, 0.65);
  --bg-dark-border: rgba(255, 255, 255, 0.08);
  --bg-dark-glow: rgba(255, 94, 54, 0.12); /* Updated dynamically by script */
  --page-gradient:
    radial-gradient(circle at 8% 10%, rgba(var(--accent-rgb), 0.10), transparent 28%),
    radial-gradient(circle at 84% 12%, rgba(255, 174, 51, 0.06), transparent 30%),
    linear-gradient(135deg, #09090b 0%, #0d0d11 48%, #121216 100%);
  --header-bg: rgba(9, 9, 11, 0.75);
  --header-solid-bg: #09090b;
  --section-fade-start: rgba(9,9,11,0);
  --section-fade-soft: rgba(255,255,255,0.01);
  --footer-bg: #060608;
  --heading-gradient: linear-gradient(180deg, #ffffff 40%, rgba(255, 255, 255, 0.7) 100%);
  --link-card-bg: rgba(255, 255, 255, 0.02);
  --link-card-hover-bg: rgba(255, 255, 255, 0.06);
  --mockup-bg: #0d0d11;
  --mockup-header-bg: #141419;
  --mockup-sidebar-bg: #101014;
  --mockup-panel-bg: rgba(255, 255, 255, 0.025);
  --mockup-panel-hover-bg: rgba(255, 255, 255, 0.04);
  --mockup-border: rgba(255, 255, 255, 0.06);
  --mockup-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --card-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.4);
  --card-shadow-soft: 0 15px 35px rgba(0, 0, 0, 0.4);
  
  --text-main: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  
  /* Dynamic Accent Theme (Default: Shop Management Orange/Gold) */
  --accent-color: #FF5E36;
  --accent-gradient: linear-gradient(135deg, #FF5E36 0%, #FFAE33 100%);
  --accent-rgb: 255, 94, 54;
  
  --header-height: 80px;
  --border-radius-lg: 20px;
  --border-radius-md: 12px;
  --border-radius-sm: 8px;
  
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg-dark-deep: #fffaf3;
    --bg-dark-surface: #ffffff;
    --bg-dark-card: rgba(255, 255, 255, 0.76);
    --bg-dark-border: rgba(15, 23, 42, 0.12);
    --bg-dark-glow: rgba(255, 94, 54, 0.14);
    --page-gradient:
      radial-gradient(circle at 8% 10%, rgba(var(--accent-rgb), 0.13), transparent 30%),
      radial-gradient(circle at 88% 5%, rgba(59, 130, 246, 0.12), transparent 32%),
      linear-gradient(135deg, #fffaf3 0%, #edf6ff 44%, #f8fafc 100%);
    --header-bg: rgba(255, 250, 243, 0.78);
    --header-solid-bg: #fffaf3;
    --section-fade-start: rgba(255,250,243,0);
    --section-fade-soft: rgba(15,23,42,0.025);
    --footer-bg: #f8fafc;
    --heading-gradient: linear-gradient(180deg, #111827 35%, #475569 100%);
    --link-card-bg: rgba(255, 255, 255, 0.66);
    --link-card-hover-bg: rgba(255, 255, 255, 0.92);
    --mockup-bg: #ffffff;
    --mockup-header-bg: #f8fafc;
    --mockup-sidebar-bg: #f1f5f9;
    --mockup-panel-bg: rgba(15, 23, 42, 0.035);
    --mockup-panel-hover-bg: rgba(15, 23, 42, 0.055);
    --mockup-border: rgba(15, 23, 42, 0.1);
    --mockup-shadow: 0 30px 70px rgba(15, 23, 42, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.85);
    --card-shadow-hover: 0 20px 40px rgba(15, 23, 42, 0.12);
    --card-shadow-soft: 0 15px 35px rgba(15, 23, 42, 0.12);
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-dim: #64748b;
  }
}

/* Reset and Global Defaults */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background: var(--page-gradient);
  background-color: var(--bg-dark-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar for Premium Feel */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark-deep);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  border: 2px solid var(--bg-dark-deep);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Layout Container */
.section-container {
  width: 100%;
  max-width: 1300px; /* Wider screens mapping */
  margin: 0 auto;
  padding: 0 24px;
}

/* Common Typography & Alignment */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

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

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--border-radius-md);
  padding: 14px 32px;
  cursor: pointer;
  transition: var(--transition-bounce);
  font-size: 15px;
  outline: none;
  border: 1px solid transparent;
  gap: 8px;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
  border-radius: var(--border-radius-sm);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 16px;
  border-radius: var(--border-radius-lg);
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.25);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: skewX(-25deg);
  transition: 0.75s;
  opacity: 0;
}

.btn-primary:hover::after {
  left: 120%;
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.45);
}

.btn-outline {
  background: var(--link-card-bg);
  border: 1px solid var(--bg-dark-border);
  color: var(--text-main);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: var(--link-card-hover-bg);
  border-color: var(--accent-color);
  transform: translateY(-3px);
}

/* Header & Navigation */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--header-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--bg-dark-border);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand-logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  transition: transform 0.5s ease;
  border-radius: 14px;
  color: transparent;
  font-size: 0;
}

.brand-logo-container:hover .brand-logo-img {
  transform: rotate(15deg) scale(1.05);
}

.brand-name-text {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: var(--heading-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Desktop Navigation Menu */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.desktop-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
  padding: 6px 0;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition-smooth);
}

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

.desktop-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Toggle Hamburger Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition-smooth);
}

/* Mobile Navigation Drawer - HIDE BY DEFAULT ON DESKTOP */
.mobile-nav-drawer {
  display: none;
}

/* Suite Selector Layout Integration (Directly inside Hero Content) */
.suite-selector-container {
  margin-bottom: 28px;
  text-align: left;
}

.suite-selector-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  color: var(--text-dim);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.vertical-tabs-wrapper {
  display: inline-flex;
  gap: 8px;
  background: var(--link-card-bg);
  padding: 5px;
  border-radius: 100px;
  border: 1px solid var(--bg-dark-border);
}

.vertical-tab {
  background: transparent;
  border: none;
  padding: 8px 18px;
  border-radius: 100px;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  transition: var(--transition-smooth);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vertical-tab:hover {
  color: var(--text-main);
}

.vertical-tab.active {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.2);
}

.vertical-tab .status-badge {
  font-size: 9px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 1px 6px;
  border-radius: 100px;
  text-transform: uppercase;
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  padding: calc(var(--header-height) + 40px) 0 120px 0;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.12) 0%, transparent 70%);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.vertical-badge {
  display: inline-block;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  color: var(--accent-color);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-headline {
  font-size: 62px;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 24px;
  background: var(--heading-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.hero-subtext {
  font-size: 19px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Interface Mockup Window */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.visual-glow-plate {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background: var(--accent-gradient);
  filter: blur(120px);
  opacity: 0.2;
  z-index: -1;
  border-radius: var(--border-radius-lg);
}

.visual-mockup-frame {
  background: var(--mockup-bg);
  border: 1px solid var(--mockup-border);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--mockup-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 440px;
  width: 100%;
  max-width: 580px;
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  backdrop-filter: blur(10px);
}

.visual-mockup-frame:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg) translateY(-5px);
}

.mockup-header {
  height: 48px;
  background: var(--mockup-header-bg);
  border-bottom: 1px solid var(--mockup-border);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dot.red { background-color: #ff5f56; }
.mockup-dot.yellow { background-color: #ffbd2e; }
.mockup-dot.green { background-color: #27c93f; }

.mockup-title {
  margin-left: 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  font-family: var(--font-heading);
}

.mockup-content {
  display: flex;
  flex: 1;
  background: var(--mockup-bg);
}

.mockup-sidebar {
  width: 135px;
  background: var(--mockup-sidebar-bg);
  border-right: 1px solid var(--mockup-border);
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-item {
  font-size: 11px;
  color: var(--text-dim);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-weight: 500;
}

.mockup-item.active {
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent-color);
  font-weight: 600;
}

.mockup-body {
  flex: 1;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mockup-kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.mockup-card {
  background: var(--mockup-panel-bg);
  border: 1px solid var(--mockup-border);
  padding: 18px;
  border-radius: var(--border-radius-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: var(--transition-smooth);
}

.mockup-card:hover {
  background: var(--mockup-panel-hover-bg);
  border-color: rgba(var(--accent-rgb), 0.3);
}

.card-label {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-val {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  font-family: var(--font-heading);
}

.mockup-chart-box {
  flex: 1;
  background: var(--mockup-panel-bg);
  border: 1px solid var(--mockup-border);
  border-radius: var(--border-radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 160px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  width: 100%;
  height: 100px;
  border-bottom: 1px solid var(--mockup-border);
}

.bar {
  width: 24px;
  background: var(--accent-gradient);
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
  transition: height 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Sections Global Headers */
.section-header {
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-meta-tag {
  color: var(--accent-color);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  background: var(--heading-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

/* Features Grid Section */
.features-section {
  padding: 120px 0;
  border-top: 1px solid var(--bg-dark-border);
  background: linear-gradient(180deg, var(--section-fade-start) 0%, var(--section-fade-soft) 100%);
}

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

.feature-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--border-radius-lg);
  padding: 36px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(var(--accent-rgb), 0.12), transparent 60%);
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--accent-rgb), 0.4);
  box-shadow: var(--card-shadow-hover);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--border-radius-md);
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--accent-gradient);
  color: #ffffff;
  transform: scale(1.05);
}

.feature-card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

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

/* Offline-First Technology Focus Section */
.offline-section {
  padding: 120px 0;
  border-top: 1px solid var(--bg-dark-border);
}

.offline-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 80px;
}

.offline-visual {
  background: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--border-radius-lg);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.offline-icon-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.12) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  margin-bottom: 30px;
  position: relative;
}

.wifi-off-svg {
  width: 64px;
  height: 64px;
}

.offline-badge {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  background: var(--link-card-bg);
  border: 1px solid var(--bg-dark-border);
  padding: 8px 20px;
  border-radius: 100px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.offline-text {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}

.offline-points {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.point-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.point-icon {
  width: 26px;
  height: 26px;
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 12px;
  flex-shrink: 0;
}

.point-item span {
  font-size: 16px;
  color: var(--text-main);
  font-weight: 500;
}

/* Security Section Styles */
.security-section {
  padding: 120px 0;
  background: radial-gradient(circle at 10% 90%, rgba(var(--accent-rgb), 0.05), transparent 50%);
  border-top: 1px solid var(--bg-dark-border);
}

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

.security-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--border-radius-lg);
  padding: 44px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
}

.security-card:hover {
  border-color: rgba(var(--accent-rgb), 0.35);
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-soft);
}

.security-card-icon {
  font-size: 32px;
  margin-bottom: 24px;
  display: inline-block;
}

.security-card h4 {
  font-size: 22px;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

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

/* Supported Platforms Section */
.platforms-section {
  padding: 120px 0;
  border-top: 1px solid var(--bg-dark-border);
  background: linear-gradient(180deg, var(--section-fade-soft) 0%, var(--section-fade-start) 100%);
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.platform-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--border-radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.platform-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-color);
  box-shadow: var(--card-shadow-soft);
}

.platform-icon-svg {
  width: 44px;
  height: 44px;
  color: var(--accent-color);
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}

.platform-card:hover .platform-icon-svg {
  transform: scale(1.1);
}

.platform-name {
  font-size: 20px;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

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

/* FAQ Section Styles */
.faq-section {
  padding: 120px 0;
  border-top: 1px solid var(--bg-dark-border);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.faq-item:hover {
  border-color: rgba(var(--accent-rgb), 0.28);
}

.faq-question {
  width: 100%;
  padding: 26px 32px;
  background: transparent;
  border: none;
  color: var(--text-main);
  text-align: left;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '';
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--accent-color);
  border-bottom: 2px solid var(--accent-color);
  transform: rotate(45deg);
  transition: var(--transition-smooth);
  margin-right: 6px;
}

.faq-item.active .faq-question::after {
  transform: rotate(-135deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding: 0 32px;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 28px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Legal Section */
.legal-section {
  padding: 120px 0 24px;
  border-top: 1px solid var(--bg-dark-border);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.legal-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--border-radius-lg);
  padding: 28px;
  box-shadow: var(--card-shadow-soft);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.legal-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.legal-card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.legal-card-header h4 {
  font-size: 20px;
  letter-spacing: -0.4px;
}

.legal-card-link {
  color: var(--accent-color);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.legal-card-link:hover {
  text-decoration: underline;
}

.legal-copy-btn {
  border: 1px solid var(--bg-dark-border);
  background: transparent;
  color: var(--text-main);
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.legal-copy-btn:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background: rgba(var(--accent-rgb), 0.08);
}

.legal-copy-btn:focus-visible,
.legal-card-link:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.legal-card-lead {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.legal-list {
  margin-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Footer Section */
.app-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--bg-dark-border);
  padding: 100px 0 40px 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 2.8fr;
  gap: 80px;
  margin-bottom: 80px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 300px;
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-main);
}

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

.footer-menu-list a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  transition: var(--transition-smooth);
}

.footer-menu-list a:hover {
  color: var(--accent-color);
}

.footer-menu-list span {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-bottom {
  border-top: 1px solid var(--bg-dark-border);
  padding-top: 40px;
}

.copyright-text {
  font-size: 13px;
  color: var(--text-dim);
}

/* Scroll and Entrance Animations */
.animate-glow {
  box-shadow: 0 0 40px rgba(var(--accent-rgb), 0.1);
  animation: accentPulse 4s infinite alternate;
}

@keyframes accentPulse {
  0% {
    box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.08);
    border-color: rgba(255, 255, 255, 0.08);
  }
  100% {
    box-shadow: 0 0 50px rgba(var(--accent-rgb), 0.2);
    border-color: rgba(var(--accent-rgb), 0.25);
  }
}

/* Scroll Fade in Utilities */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Media Queries & Responsiveness
   ========================================================================== */

@media (max-width: 991px) {
  :root {
    --header-height: 70px;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .suite-selector-container {
    text-align: center;
  }

  .hero-headline {
    font-size: 48px;
  }
  
  .hero-subtext {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    justify-content: center;
    width: 100%;
    min-width: 0;
  }
  
  .visual-mockup-frame {
    transform: none;
    width: min(100%, 540px);
    max-width: 540px;
    margin: 0 auto;
  }
  
  .offline-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 767px) {
  .section-container {
    padding: 0 18px;
  }

  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  /* Mobile Navigation Drawer */
  .mobile-nav-drawer {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: 0;
    background: var(--header-solid-bg);
    border-bottom: 1px solid var(--bg-dark-border);
    overflow: hidden;
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  .mobile-nav-drawer.active {
    height: 260px;
  }
  
  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 28px;
    gap: 18px;
  }
  
  .mobile-nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 500;
  }
  
  .mobile-nav-links a:hover {
    color: var(--accent-color);
  }
  
  /* Header burger active transformation */
  .mobile-menu-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .mobile-menu-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding-bottom: 72px;
  }

  .hero-headline {
    font-size: 40px;
    letter-spacing: 0;
  }

  .hero-actions .btn {
    width: min(100%, 320px);
  }

  .visual-mockup-frame {
    height: 380px;
    max-width: 100%;
    border-radius: 16px;
  }

  .mockup-title,
  .mockup-content,
  .mockup-body {
    min-width: 0;
  }

  .mockup-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mockup-sidebar {
    width: 112px;
    flex: 0 0 112px;
    padding: 16px 8px;
  }

  .mockup-body {
    padding: 18px;
    gap: 16px;
  }

  .mockup-kpi-row {
    gap: 12px;
  }

  .mockup-card {
    padding: 14px;
  }

  .card-val {
    font-size: 20px;
  }

  .mockup-chart-box {
    min-height: 120px;
    padding: 14px;
  }
  
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

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

@media (max-width: 560px) {
  .header-container {
    gap: 10px;
    padding: 0 18px;
  }

  .brand-logo-container {
    gap: 8px;
    min-width: 0;
  }

  .brand-logo-img {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
  }

  .brand-name-text {
    font-size: 24px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-actions .btn {
    white-space: nowrap;
  }

  .hero-section {
    padding-top: calc(var(--header-height) + 28px);
  }

  .hero-container {
    gap: 32px;
  }

  .hero-headline {
    font-size: 36px;
  }

  .hero-subtext {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .visual-mockup-frame {
    height: auto;
  }

  .mockup-header {
    height: 44px;
    padding: 0 14px;
  }

  .mockup-content {
    flex-direction: column;
  }

  .mockup-sidebar {
    width: 100%;
    flex: none;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    padding: 10px;
    border-right: 0;
    border-bottom: 1px solid var(--mockup-border);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mockup-sidebar::-webkit-scrollbar {
    display: none;
  }

  .mockup-item {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 6px 10px;
    font-size: 10px;
  }

  .mockup-body {
    padding: 14px;
    gap: 12px;
  }

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

  .mockup-card {
    gap: 4px;
  }

  .mockup-chart-box {
    min-height: 110px;
  }

  .chart-bars {
    height: 70px;
  }

  .bar {
    width: clamp(12px, 5vw, 20px);
  }
}

@media (max-width: 360px) {
  .header-container {
    padding: 0 14px;
  }

  .brand-logo-img {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand-name-text {
    font-size: 22px;
  }

  .header-actions .btn-sm {
    padding: 8px 12px;
    font-size: 12px;
  }
}
