/* ============================================================
   PALADEM Scale — Enterprise Light Theme Design System
   Navy-Primary Variant
   ============================================================ */

/* --- Design Tokens --- */
:root {
  /* Official PALADEM Brand */
  --green: #2a7f50;
  --green-dark: #1e5e3b;
  --green-light: #34a065;
  --navy: #1b374d;
  --navy-light: #264b69;
  --navy-bright: #2d5f8a;
  --orange: #ce5016;
  --orange-light: #e0672f;
  --orange-warm: #f4a261;
  --grey: #4e4e4e;

  /* Extended Palette — Navy Dominant */
  --navy-tint: #e8edf2;
  --navy-tint-light: #f0f4f7;
  --cream: #fefcf9;
  --bg-page: #f8f9fb;
  --bg-white: #ffffff;
  --text-dark: #1b1b2f;
  --text-body: #3a3a4a;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border-light: #e2e5ea;
  --border-subtle: #eef0f3;

  /* Typography */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(27, 55, 77, 0.06);
  --shadow-md: 0 4px 16px rgba(27, 55, 77, 0.08);
  --shadow-lg: 0 8px 32px rgba(27, 55, 77, 0.1);
  --shadow-xl: 0 16px 48px rgba(27, 55, 77, 0.12);
  --shadow-glow: 0 0 40px rgba(27, 55, 77, 0.15);

  /* Spacing */
  --section-pad: 7rem;
  --container-max: 1200px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease-out);
}

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

/* --- Utilities --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3.5rem;
  line-height: 1.7;
}

.highlight-navy { color: var(--navy-bright); }
.highlight-orange { color: var(--orange); }
.highlight-green { color: var(--green); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(206, 80, 22, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(206, 80, 22, 0.4);
}

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

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--navy-tint-light);
}

.btn-navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(27, 55, 77, 0.3);
}

.btn-navy:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(27, 55, 77, 0.4);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  border-radius: 14px;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248, 249, 251, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-logo img {
  width: 400px;
  height: 98px;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
}

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

.nav-links .btn-primary {
  color: #ffffff !important;
}

.nav-links .btn-primary:hover {
  color: #ffffff !important;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--navy);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 6rem;
  overflow: hidden;
  background: var(--bg-white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.7) 0%,
    rgba(255,255,255,0.45) 40%,
    rgba(248,249,251,0.9) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--navy-tint);
  border: 1px solid rgba(27, 55, 77, 0.15);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: var(--navy);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.08;
  color: var(--navy);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero h1 .navy-underline {
  position: relative;
  color: var(--navy-bright);
}

.hero h1 .navy-underline::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 6px;
  background: rgba(27, 55, 77, 0.15);
  border-radius: 3px;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

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

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Floating dashboard mockup */
.dashboard-preview {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.dashboard-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  padding: 2rem;
  position: relative;
}

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

.dash-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

.dash-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  background: var(--navy-tint);
  color: var(--navy);
  border-radius: 6px;
}

.dash-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dash-metric {
  background: var(--bg-page);
  border-radius: 12px;
  padding: 1rem;
}

.dash-metric-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.dash-metric-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
}

.dash-metric-change {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
}

.dash-chart {
  height: 80px;
  background: linear-gradient(180deg, var(--navy-tint-light) 0%, transparent 100%);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.dash-chart-line {
  position: absolute;
  bottom: 10%;
  left: 0;
  right: 0;
  height: 60%;
}

/* Floating notification cards */
.float-card {
  position: absolute;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
  z-index: 3;
}

.float-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.float-card-icon.navy { background: var(--navy-tint); }
.float-card-icon.orange { background: #fef0e6; }
.float-card-icon.green { background: #e8f5ee; }

.float-card-text strong {
  display: block;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.8rem;
}

.float-card-text span {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.float-card-1 {
  top: -10px;
  right: -30px;
  animation-delay: 0s;
}

.float-card-2 {
  bottom: 60px;
  left: -50px;
  animation-delay: 2s;
}

.float-card-3 {
  bottom: -10px;
  right: 10px;
  animation-delay: 4s;
}

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

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--navy);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(45, 95, 138, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-number .stat-suffix {
  font-size: 1.5rem;
  color: var(--orange-warm);
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* ============================================================
   FEATURES GRID SECTION
   ============================================================ */
.features-section {
  padding: var(--section-pad) 0;
  background: var(--bg-page);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2.25rem;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--navy-bright));
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

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

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

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform 0.3s var(--ease-spring);
}

.feature-card:hover .feature-icon {
  transform: scale(1.08);
}

.feature-icon.navy-bg { background: var(--navy-tint); color: var(--navy); }
.feature-icon.orange-bg { background: #fef0e6; color: var(--orange); }
.feature-icon.green-bg { background: #e8f5ee; color: var(--green); }

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   MODULES SPOTLIGHT SECTION
   ============================================================ */
.modules-section {
  padding: var(--section-pad) 0;
  background: var(--bg-white);
}

.module-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 5rem;
}

.module-feature:last-child {
  margin-bottom: 0;
}

.module-feature.reverse {
  direction: rtl;
}

.module-feature.reverse > * {
  direction: ltr;
}

.module-text .module-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 1rem;
}

.module-text h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.module-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.module-benefits {
  list-style: none;
  margin-bottom: 2rem;
}

.module-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--text-body);
}

.module-benefits li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--navy);
  margin-top: 2px;
}

.module-visual {
  position: relative;
}

.module-visual-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 24px;
  padding: 2.5rem;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.module-visual-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.module-visual-card .visual-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}

.module-visual-card .visual-headline {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.module-visual-card .visual-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.visual-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  font-weight: 500;
}

.visual-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

/* ============================================================
   INDUSTRY SECTION
   ============================================================ */
.industry-section {
  padding: var(--section-pad) 0;
  background: var(--bg-page);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.industry-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
  transition: all 0.4s var(--ease-out);
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy);
}

.ind-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.industry-card h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.industry-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section {
  padding: var(--section-pad) 0;
  background: var(--bg-white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: linear-gradient(90deg, var(--navy-tint), var(--navy), var(--navy-tint));
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 12px rgba(27, 55, 77, 0.3);
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.step-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 300px;
  margin: 0 auto;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  padding: var(--section-pad) 0;
  background: var(--bg-page);
}

.faq-container {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
  transition: color 0.3s var(--ease-out);
}

.faq-question:hover {
  color: var(--navy-bright);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s var(--ease-out);
  font-size: 1.1rem;
  color: var(--navy);
}

.faq-item.active .faq-icon {
  background: var(--navy);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq-answer-inner {
  padding: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-section {
  padding: var(--section-pad) 0;
  background: linear-gradient(135deg, var(--navy) 0%, #0f2233 60%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45, 95, 138, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(206, 80, 22, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-section .section-title {
  color: #ffffff;
  font-size: 3rem;
}

.cta-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0f2233;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.9);
}

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

.footer-brand img {
  width: 200px;
  height: auto;
  opacity: 0.85;
}

.footer-brand span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3.2rem; }
  .hero-inner { gap: 3rem; }
  .module-feature { gap: 3rem; }
  .section-title { font-size: 2.25rem; }

  .header-logo img { width: 300px; height: auto; }
  .footer-brand img { width: 180px; height: auto; }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content { max-width: 100%; }

  .hero-cta {
    justify-content: center;
  }

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

  .dashboard-preview { max-width: 400px; }

  .float-card-1 { right: -10px; }
  .float-card-2 { left: -10px; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .module-feature {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .module-feature.reverse {
    direction: ltr;
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .header-logo img { width: 240px; height: auto; }
  .footer-brand img { width: 160px; height: auto; }
}

@media (max-width: 640px) {
  :root {
    --section-pad: 4.5rem;
  }

  .container { padding: 0 1.25rem; }

  .hero { padding: 7rem 0 4rem; min-height: auto; }
  .hero h1 { font-size: 2.4rem; }
  .hero-description { font-size: 1.05rem; }

  .section-title { font-size: 1.85rem; }
  .section-subtitle { font-size: 1rem; }

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

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .steps-grid::before { display: none; }

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

  .stat-number { font-size: 2rem; }

  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    gap: 0.75rem;
  }

  .nav-toggle { display: flex; }

  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .float-card { display: none; }

  .module-visual-card { padding: 1.75rem; min-height: 280px; }

  .header-logo img { width: 180px; height: auto; }
  .footer-brand img { width: 140px; height: auto; }
}
