/* CSS Reset & Variables */
:root {
  --primary-color: #000000;
  --primary-hover: #1e293b;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-dark: #0f172a;
  --bg-dark-card: #1e293b;
  
  --text-dark: #0f172a;
  --text-muted: #4a5568;
  --text-light: #ffffff;
  --text-light-muted: #94a3b8;
  
  --border-color: #e2e8f0;
  --border-dark: #334155;
  
  --green: #34c759;
  --green-bg: rgba(52, 199, 89, 0.15);
  --orange: #ff9500;
  --red: #ff3b30;
  --red-bg: rgba(255, 59, 48, 0.15);
  --blue: #38bdf8;
  --blue-bg: rgba(56, 189, 248, 0.15);
  
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --header-height: 70px;
  --transition-speed: 0.3s;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  background-image: radial-gradient(rgba(15, 23, 42, 0.015) 1.2px, transparent 1.2px);
  background-size: 20px 20px;
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================
   Creative Background Keyframe Animations
   ========================================== */
@keyframes float-glow-hero {
  0% {
    transform: translate(0%, 0%) scale(1) rotate(0deg);
  }
  33% {
    transform: translate(4%, 3%) scale(1.08) rotate(4deg);
  }
  66% {
    transform: translate(-3%, 6%) scale(0.95) rotate(-3deg);
  }
  100% {
    transform: translate(0%, 0%) scale(1) rotate(0deg);
  }
}

@keyframes float-glow-problem {
  0% {
    transform: translate(0%, 0%) scale(1);
  }
  50% {
    transform: translate(-5%, 4%) scale(1.1);
  }
  100% {
    transform: translate(0%, 0%) scale(1);
  }
}

@keyframes float-glow-solution {
  0% {
    transform: translate(0%, 0%) scale(1);
  }
  50% {
    transform: translate(4%, -5%) scale(1.08);
  }
  100% {
    transform: translate(0%, 0%) scale(1);
  }
}

@keyframes float-glow-dark {
  0% {
    transform: translate(0%, 0%) scale(1) rotate(0deg);
  }
  33% {
    transform: translate(3%, -4%) scale(1.1) rotate(5deg);
  }
  66% {
    transform: translate(-4%, 3%) scale(0.92) rotate(-5deg);
  }
  100% {
    transform: translate(0%, 0%) scale(1) rotate(0deg);
  }
}

@keyframes float-glow-feedback {
  0% {
    transform: translate(0%, 0%) scale(1);
  }
  50% {
    transform: translate(-2%, -3%) scale(1.08);
  }
  100% {
    transform: translate(0%, 0%) scale(1);
  }
}


/* 1. Sticky Header */
.main-header {
  position: sticky;
  top: 0;
  height: var(--header-height);
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  z-index: 1000;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}

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

.app-name {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
}

.app-subname {
  font-size: 0.625rem;
  color: #888888;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  transition: color var(--transition-speed);
}

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

.badge {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #475569;
  background-color: #f1f5f9;
  padding: 0.25rem 0.625rem;
  border-radius: 99px;
}

/* Scroll Container adjustment */
.main-content {
  width: 100%;
}

/* 2. Hero Section */
.hero-section {
  padding: 4rem 2rem;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  min-height: 540px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Hero animated glow blobs background layer */
.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  z-index: -2;
  background-image: 
    radial-gradient(circle at 80% 25%, rgba(52, 199, 89, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 20% 75%, rgba(56, 189, 248, 0.22) 0%, transparent 50%),
    radial-gradient(circle at 55% 45%, rgba(255, 149, 0, 0.08) 0%, transparent 40%);
  animation: float-glow-hero 22s infinite ease-in-out;
  pointer-events: none;
}

/* Hero premium ledger grid overlay */
.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-image: 
    radial-gradient(rgba(15, 23, 42, 0.06) 1.2px, transparent 1.2px),
    linear-gradient(rgba(15, 23, 42, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.012) 1px, transparent 1px);
  background-size: 20px 20px, 40px 40px, 40px 40px;
  pointer-events: none;
}

.hero-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 3.5rem;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
  min-width: 320px;
  max-width: 600px;
}

.hero-pretitle {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #666666;
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: 2.375rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  margin-bottom: 1.75rem;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-color);
  color: var(--text-light);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.8rem 1.375rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: background-color var(--transition-speed), transform 0.1s ease;
}

.cta-primary:hover {
  background-color: var(--primary-hover);
}

.cta-primary:active {
  transform: scale(0.98);
}

.slider-indicators {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background-color: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: width var(--transition-speed) ease, background-color var(--transition-speed) ease;
}

.slider-dot.active {
  width: 24px;
  background-color: var(--primary-color);
}

.hero-visual {
  flex: 1;
  min-width: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Mimic Widget Styles */
.mimic-container {
  width: 100%;
  max-width: 440px;
  background-color: var(--bg-dark);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.mimic-tabs {
  display: flex;
  background-color: var(--bg-dark-card);
  border-radius: 8px;
  padding: 3px;
  margin-bottom: 1rem;
}

.mimic-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5rem 0;
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: #888888;
  font-size: 0.6875rem;
  font-weight: 600;
  font-family: var(--font-family);
  transition: color var(--transition-speed), background-color var(--transition-speed);
}

.mimic-tab ion-icon {
  font-size: 0.875rem;
}

.mimic-tab.active {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.mimic-display {
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.widget-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: opacity var(--transition-speed) ease;
}

.widget-card.hidden {
  display: none;
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.widget-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-light);
}

.widget-badge {
  font-size: 0.625rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
}

.active-badge {
  color: var(--green);
  background-color: var(--green-bg);
}

.stock-badge {
  color: var(--blue);
  background-color: var(--blue-bg);
}

.dealer-badge {
  color: var(--orange);
  background-color: rgba(255, 149, 0, 0.15);
}

/* Budget Tracker state */
.progress-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.progress-label {
  font-size: 0.6875rem;
  color: var(--text-light-muted);
}

.progress-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-light);
}

.mimic-progress-bar-container {
  height: 8px;
  background-color: var(--border-dark);
  border-radius: 4px;
  margin-bottom: 0.625rem;
  overflow: hidden;
}

.mimic-progress-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color var(--transition-speed);
}

.limit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.limit-text {
  font-size: 0.6875rem;
  color: var(--text-light-muted);
}

.limit-status-text {
  font-size: 0.6875rem;
  font-weight: 600;
}

.safe-text {
  color: var(--green);
}

.warning-text {
  color: var(--red);
  font-weight: 700;
}

/* Stock Levels State */
.stock-status-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stock-level-indicator {
  display: flex;
  align-items: baseline;
}

.stock-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-light);
}

.stock-unit {
  font-size: 0.875rem;
  color: var(--text-light-muted);
  margin-left: 6px;
}

.stock-threshold-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.threshold-text {
  font-size: 0.6875rem;
  color: var(--text-light-muted);
  margin-bottom: 6px;
}

.stock-status-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 700;
  display: inline-block;
  transition: background-color var(--transition-speed);
}

.badge-healthy {
  background-color: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.badge-low {
  background-color: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

/* Dealer Logs State */
.dealer-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-light-muted);
  margin-bottom: 0.5rem;
}

.transaction-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.transaction-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--border-dark);
}

.tx-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tx-left ion-icon {
  font-size: 1.125rem;
}

.tx-note {
  font-size: 0.75rem;
  color: #e2e8f0;
}

.tx-qty {
  font-size: 0.75rem;
  font-weight: 600;
}

.text-green {
  color: var(--green);
}

.text-orange {
  color: var(--orange);
}

/* 3. Section Dividers & General Sections */
.section-divider {
  height: 1px;
  background-color: #f0f0f0;
  margin: 0 2rem;
}

.light-section {
  padding: 4rem 2rem;
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.light-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  z-index: -2;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(255, 59, 48, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(56, 189, 248, 0.15) 0%, transparent 45%);
  animation: float-glow-problem 25s infinite ease-in-out;
  pointer-events: none;
}

.light-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-image: 
    radial-gradient(rgba(15, 23, 42, 0.05) 1.2px, transparent 1.2px),
    linear-gradient(rgba(15, 23, 42, 0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.01) 1px, transparent 1px);
  background-size: 20px 20px, 40px 40px, 40px 40px;
  pointer-events: none;
}

.light-section.alt-bg {
  background-color: var(--bg-secondary);
}

.light-section.alt-bg::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  z-index: -2;
  background-image: 
    radial-gradient(circle at 85% 15%, rgba(52, 199, 89, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(56, 189, 248, 0.16) 0%, transparent 45%);
  animation: float-glow-solution 24s infinite ease-in-out;
  pointer-events: none;
}

.light-section.alt-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-image: 
    radial-gradient(rgba(15, 23, 42, 0.05) 1.2px, transparent 1.2px),
    linear-gradient(rgba(15, 23, 42, 0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.01) 1px, transparent 1px);
  background-size: 20px 20px, 40px 40px, 40px 40px;
  pointer-events: none;
}

.section-category {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #666666;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-main-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 2.5rem;
}

.media-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.reverse-row {
  flex-direction: row-reverse;
}

.image-column {
  flex: 1.3;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.section-image {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

.text-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.paragraph-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 0.5rem;
}

.paragraph-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* 4. Core Capabilities (Dark Grid) */
.dark-section {
  background-color: var(--bg-dark);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.dark-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  z-index: -2;
  background-image: 
    radial-gradient(circle at 80% 80%, rgba(56, 189, 248, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 20% 20%, rgba(52, 199, 89, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.18) 0%, transparent 50%);
  animation: float-glow-dark 26s infinite ease-in-out;
  pointer-events: none;
}

.dark-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.05) 1.2px, transparent 1.2px),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 24px 24px, 48px 48px, 48px 48px;
  pointer-events: none;
}

.dark-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.dark-section-category {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light-muted);
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

.dark-section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.dark-section-subtitle {
  font-size: 1rem;
  color: var(--text-light-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 1.5rem;
  z-index: 2;
  position: relative;
  transition: transform var(--transition-speed), 
              border-color var(--transition-speed), 
              box-shadow var(--transition-speed), 
              background-color var(--transition-speed);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.4);
  background-color: rgba(30, 41, 59, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px -10px rgba(56, 189, 248, 0.25), 
              0 4px 12px -5px rgba(52, 199, 89, 0.15);
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  background-color: var(--primary-color);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.feature-icon-box ion-icon {
  font-size: 1.5rem;
  color: var(--text-light);
}

.feature-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.625rem;
}

.feature-card-desc {
  font-size: 0.875rem;
  color: var(--text-light-muted);
  line-height: 1.5;
}

/* 5. Feedback Form Section */
.feedback-section {
  padding: 5rem 2rem;
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feedback-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  z-index: -2;
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 30% 40%, rgba(139, 92, 246, 0.1) 0%, transparent 45%);
  animation: float-glow-feedback 20s infinite ease-in-out;
  pointer-events: none;
}

.feedback-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-image: 
    radial-gradient(rgba(15, 23, 42, 0.05) 1.2px, transparent 1.2px),
    linear-gradient(rgba(15, 23, 42, 0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.01) 1px, transparent 1px);
  background-size: 20px 20px, 40px 40px, 40px 40px;
  pointer-events: none;
}

.feedback-subtitle {
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 500px;
  line-height: 1.45;
  margin-bottom: 2.5rem;
}

.feedback-form-container {
  width: 100%;
  max-width: 520px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.feedback-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3.5rem;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.feedback-image-column {
  flex: 1.1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feedback-image {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.feedback-form-column {
  flex: 1;
  display: flex;
  justify-content: center;
  width: 100%;
}

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

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0 0.875rem;
  font-size: 0.875rem;
  color: #0f172a;
  font-family: var(--font-family);
  background-color: var(--bg-secondary);
  outline: none;
  transition: border-color var(--transition-speed);
}

.form-input:focus {
  border-color: var(--primary-color);
  background-color: var(--bg-primary);
}

.form-textarea {
  height: 110px;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  resize: vertical;
}

.form-submit-button {
  width: 100%;
  height: 48px;
  background-color: var(--primary-color);
  color: var(--text-light);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color var(--transition-speed), transform 0.1s ease;
}

.form-submit-button:hover {
  background-color: var(--primary-hover);
}

.form-submit-button:active {
  transform: scale(0.99);
}

/* Error Banner */
.error-banner {
  background-color: rgba(239, 68, 68, 0.1);
  border-left: 4px solid #ef4444;
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 1.25rem;
}

.error-text {
  color: #991bb1;
  font-size: 0.8125rem;
  font-weight: 600;
}

/* Success State Styles */
.success-container {
  text-align: center;
  padding: 1.5rem 0;
}

.success-icon {
  font-size: 3rem;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.success-title {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.success-message {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 1.5rem;
}

.reset-button {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--primary-color);
  background: none;
  font-weight: 600;
  font-size: 0.8125rem;
  cursor: pointer;
  font-family: var(--font-family);
  transition: background-color var(--transition-speed), color var(--transition-speed);
}

.reset-button:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.hidden {
  display: none !important;
}

/* 6. Footer Styles */
.footer-section {
  background-color: var(--bg-dark);
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--border-dark);
}

.footer-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
}

.footer-column-main {
  flex: 1.5;
  min-width: 260px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
}

.footer-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

.footer-app-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-light);
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-light-muted);
  line-height: 1.55;
  max-width: 380px;
}

.footer-links-row {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  min-width: 260px;
}

.footer-link-col {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.footer-link-text {
  font-size: 0.8125rem;
  color: var(--text-light-muted);
  text-decoration: none;
  transition: color var(--transition-speed);
}

.footer-link-text:hover {
  color: var(--text-light);
}

.footer-legal-divider {
  height: 1px;
  background-color: var(--border-dark);
  margin-bottom: 1.5rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.legal-copyright {
  font-size: 0.75rem;
  color: #64748b;
  flex: 1;
  min-width: 280px;
}

.developed-by {
  font-size: 0.75rem;
  color: var(--text-light-muted);
}

.developed-by .highlight {
  font-weight: 700;
  color: var(--text-light);
}

/* Responsive Styles */
@media (max-width: 960px) {
  .hero-section {
    padding: 4rem 1.5rem;
    min-height: auto;
  }
  
  .hero-container {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 2.5rem;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .media-row {
    flex-direction: column;
    gap: 2rem;
  }
  
  .image-column {
    width: 100%;
    max-width: 500px;
  }
  
  .text-column {
    width: 100%;
    text-align: center;
  }
  
  .feedback-row {
    flex-direction: column;
    gap: 2.5rem;
  }
  
  .feedback-image-column {
    width: 100%;
    max-width: 420px;
  }
  
  .feedback-form-column {
    width: 100%;
  }
}

@media (max-width: 600px) {
  html {
    font-size: 15px;
  }
  
  .main-header {
    padding: 0 1rem;
  }
  
  .hero-section {
    padding: 2rem 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .light-section {
    padding: 3rem 1rem;
  }
  
  .dark-section {
    padding: 3.5rem 1rem;
  }
  
  .feedback-section {
    padding: 3.5rem 1rem;
  }
  
  .feedback-form-container {
    padding: 1.5rem;
  }
  
  .footer-section {
    padding: 3rem 1rem 1.5rem;
  }
}

@media (max-width: 400px) {
  .mimic-tabs {
    flex-direction: column;
    gap: 4px;
    padding: 6px;
  }
  .mimic-tab {
    padding: 6px 0;
    width: 100%;
  }
}

/* Legal Pages Styling */
.legal-container {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 2rem;
  min-height: calc(100vh - var(--header-height) - 320px);
}

.legal-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.legal-last-updated {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 3rem;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.legal-content p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.legal-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.legal-content li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

/* ==========================================
   Hamburger & Mobile Navigation Menu
   ========================================== */

/* Hamburger Button in Header */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.375rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background-color var(--transition-speed), color var(--transition-speed);
}

.hamburger-btn:hover {
  background-color: var(--bg-secondary);
  color: var(--primary-hover);
}

.hamburger-btn:active {
  transform: scale(0.95);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Mobile Nav Drawer Menu */
.mobile-nav-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  max-width: 100%;
  height: 100vh;
  background-color: var(--bg-primary);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 2rem 2.5rem;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-menu.open {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.25rem;
}

.mobile-nav-header .header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-nav-header .logo {
  width: 30px;
  height: 30px;
  border-radius: 6px;
}

.mobile-nav-header .brand-text {
  display: flex;
  flex-direction: column;
}

.mobile-nav-header .app-name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.mobile-nav-header .app-subname {
  font-size: 0.5625rem;
  color: #888888;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background-color var(--transition-speed), color var(--transition-speed);
}

.mobile-nav-close:hover {
  background-color: var(--bg-secondary);
  color: var(--primary-hover);
}

.mobile-nav-close:active {
  transform: scale(0.95);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color var(--transition-speed), transform var(--transition-speed);
}

.mobile-nav-link:hover {
  color: var(--text-muted);
  transform: translateX(4px);
}

.mobile-nav-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .header-nav, .header-badges {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
}

/* App Link Button Styling */
.nav-btn {
  background-color: var(--primary-color);
  color: var(--text-light) !important;
  padding: 0.45rem 1.125rem;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
  vertical-align: middle;
  opacity: 1;
  max-width: 160px;
  overflow: hidden;
  white-space: nowrap;
  transition: background-color var(--transition-speed), 
              transform var(--transition-speed), 
              opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-btn:hover {
  background-color: var(--primary-hover);
  color: var(--text-light) !important;
  transform: translateY(-1px);
}

.nav-btn:active {
  transform: translateY(0);
}

.mobile-nav-btn {
  background-color: var(--primary-color);
  color: var(--text-light) !important;
  padding: 0.75rem;
  border-radius: 8px;
  text-align: center;
  justify-content: center;
  margin-top: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.mobile-nav-btn:hover {
  background-color: var(--primary-hover);
}

/* ==========================================
   App Simulator Side-by-Side Panel
   ========================================== */

/* Main transitions for side-by-side split */
body {
  transition: padding-right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-header {
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
}

@media (min-width: 1024px) {
  body.simulator-active {
    padding-right: 480px;
  }
  
  body.simulator-active #app-link {
    opacity: 0;
    max-width: 0;
    padding-left: 0;
    padding-right: 0;
    pointer-events: none;
  }
}

/* Simulator Panel Container */
.app-simulator-panel {
  position: fixed;
  top: 0;
  right: -480px;
  width: 480px;
  height: 100vh;
  background-color: #0f172a; /* Sleek dark slate */
  border-left: 1px solid var(--border-dark);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-simulator-panel.open {
  right: 0;
}

.simulator-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.simulator-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-light-muted);
  text-transform: uppercase;
}

.simulator-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  font-size: 1.35rem;
  color: var(--text-light);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-speed), transform 0.1s ease;
}

.simulator-close:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.simulator-close:active {
  transform: scale(0.95);
}

/* Phone Mockup Frame */
.phone-frame {
  width: 380px;
  height: 780px;
  max-height: calc(100vh - 100px);
  margin: auto;
  background-color: #000000;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6);
  border: 4px solid #1e293b;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Notched display look */
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 24px;
  background-color: #000000;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  z-index: 10;
}

#simulator-iframe {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background-color: #ffffff;
  border: none;
}

/* Simulator Install Button */
.simulator-install-btn {
  background-color: var(--text-light);
  color: #0f172a;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background-color var(--transition-speed), 
              transform 0.15s ease, 
              box-shadow var(--transition-speed);
}

.simulator-install-btn:hover {
  background-color: #f1f5f9;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.simulator-install-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.simulator-install-btn ion-icon {
  font-size: 0.875rem;
}

