/* ============================================
   Reign VoIP Landing — Design System & Layout
   ============================================ */

:root {
  --color-primary-dark: #0f172a;
  --color-primary: #1e293b;
  --color-accent-blue: #38bdf8;
  --color-accent-secondary: #2563eb;
  --color-bg-white: #ffffff;
  --color-bg-light: #f8fafc;
  --color-bg-muted: #f0f2f5;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  --color-success: #10b981;
  --color-glass: rgba(56, 189, 248, 0.08);
  --color-dashboard-bg: #0c121a;
  --color-dashboard-sidebar: #0a0f16;
  --font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 50px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 24px 60px rgba(15, 23, 42, 0.12);
  --container-max: 1280px;
  --header-height: 72px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-primary);
  background: var(--color-bg-white);
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

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

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-blue);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Typography */
h1, h2, h3, h4 {
  line-height: 1.2;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent-secondary), var(--color-accent-blue));
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background: var(--color-bg-white);
  color: var(--color-primary-dark);
  border: 1.5px solid #e2e8f0;
}

.btn-secondary:hover {
  border-color: var(--color-accent-blue);
  color: var(--color-accent-secondary);
  background: var(--color-glass);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-white {
  background: #fff;
  color: var(--color-primary-dark);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-icon {
  width: 18px;
  height: 18px;
}

/* Glass card utility */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   Header
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: #e2e8f0;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-primary-dark);
  letter-spacing: -0.02em;
}

.logo-text span {
  color: var(--color-accent-blue);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 1;
  min-width: 0;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
  line-height: 1.2;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary-dark);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color var(--transition);
  white-space: nowrap;
  line-height: 1.2;
}

.nav-dropdown-trigger:hover {
  color: var(--color-primary-dark);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid #e2e8f0;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  pointer-events: none;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav-dropdown-item {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-dropdown-item:hover {
  background: var(--color-glass);
  color: var(--color-primary-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-actions .btn-secondary.btn-sm {
  padding: 10px 14px;
}

.header-actions .btn-secondary.btn-sm span,
.header-actions .btn-primary.btn-sm {
  white-space: nowrap;
}

.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--color-bg-muted);
  border-radius: 100px;
  padding: 4px;
  gap: 2px;
}

.lang-btn {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-muted);
  border-radius: 100px;
  transition: all var(--transition);
}

.lang-btn.active {
  background: #fff;
  color: var(--color-primary-dark);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}

.lang-btn:not(.active):hover {
  color: var(--color-primary-dark);
  background: rgba(0, 0, 0, 0.03);
}

.header-login {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-muted);
  padding: 8px 10px;
  transition: color var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.header-login:hover {
  color: var(--color-primary-dark);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.4);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

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

.mobile-menu-panel {
  background: #fff;
  padding: 24px;
  transform: translateY(-16px);
  transition: transform var(--transition);
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
}

.mobile-menu.open .mobile-menu-panel {
  transform: translateY(0);
}

.mobile-nav-link {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary-dark);
  border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: 80px 0 96px;
  background: linear-gradient(180deg, var(--color-bg-light) 0%, var(--color-bg-white) 100%);
  position: relative;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-blob-1 {
  width: 500px;
  height: 500px;
  background: rgba(56, 189, 248, 0.12);
  top: -100px;
  right: -100px;
}

.hero-blob-2 {
  width: 300px;
  height: 300px;
  background: rgba(37, 99, 235, 0.08);
  bottom: 0;
  left: 10%;
}

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

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--color-glass);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent-secondary);
  margin-bottom: 24px;
}

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

.hero-title {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-typewriter {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  color: var(--color-accent-blue);
  min-height: 32px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}

.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: var(--color-accent-blue);
  margin-left: 2px;
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}

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

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

.hero-visual {
  position: relative;
}

/* Dashboard Mockup */
.dashboard-mockup {
  background: var(--color-dashboard-bg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(56, 189, 248, 0.15);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
  transform-origin: center;
}

.dashboard-mockup-inner {
  display: grid;
  grid-template-columns: 52px 1fr;
  min-height: 380px;
}

.dashboard-sidebar {
  background: var(--color-dashboard-sidebar);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-logo {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--color-accent-blue), var(--color-accent-secondary));
  border-radius: 8px;
  margin-bottom: 12px;
}

.sidebar-item {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
}

.sidebar-item.active {
  background: rgba(56, 189, 248, 0.15);
  color: var(--color-accent-blue);
}

.sidebar-item svg {
  width: 16px;
  height: 16px;
}

.dashboard-main {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.dashboard-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--color-success);
  font-weight: 600;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--color-success);
  border-radius: 50%;
}

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

.kpi-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 10px;
}

.kpi-label {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.kpi-value {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.kpi-change {
  font-size: 9px;
  font-weight: 600;
  color: var(--color-success);
  margin-top: 2px;
}

.kpi-change.neutral {
  color: var(--color-accent-blue);
}

.chart-container {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 12px;
  flex: 1;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.chart-title {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.chart-legend {
  display: flex;
  gap: 12px;
}

.chart-legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
}

.legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.legend-dot.blue { background: var(--color-accent-blue); }
.legend-dot.green { background: var(--color-success); }

.chart-svg {
  width: 100%;
  height: 80px;
}

.calls-table {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.calls-table-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr 0.6fr;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.calls-table-header span {
  font-size: 8px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calls-table-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr 0.6fr;
  padding: 7px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  align-items: center;
}

.calls-table-row:last-child {
  border-bottom: none;
}

.call-dest {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.flag {
  font-size: 12px;
  line-height: 1;
}

.call-number {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
  font-family: monospace;
}

.call-duration {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.6);
}

.call-status {
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-align: center;
}

.call-status.success {
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-success);
}

.call-status.active {
  background: rgba(56, 189, 248, 0.15);
  color: var(--color-accent-blue);
}

/* ============================================
   Trust Bar
   ============================================ */
.trust-bar {
  padding: 56px 0 48px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
}

.trust-caption {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}

.trust-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.trust-marquee-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: marquee 35s linear infinite;
  padding: 12px 0;
  will-change: transform;
}

.trust-marquee:hover .trust-marquee-track {
  animation-play-state: paused;
}

.trust-marquee-logo {
  height: 36px;
  width: auto;
  opacity: 0.82;
  filter: grayscale(100%) contrast(1.1);
  transition: opacity var(--transition), filter var(--transition);
  flex-shrink: 0;
}

.trust-marquee-track:hover .trust-marquee-logo {
  opacity: 1;
  filter: grayscale(20%) contrast(1.05);
}

.trust-marquee-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100% / 3)); }
}

/* ============================================
   Solutions
   ============================================ */
.solutions-grid-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

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

.solution-card {
  background: var(--color-bg-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(56, 189, 248, 0.3);
}

.solution-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.solution-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.solution-icon.blue { background: linear-gradient(135deg, #2563eb, #38bdf8); }
.solution-icon.cyan { background: linear-gradient(135deg, #0891b2, #38bdf8); }
.solution-icon.indigo { background: linear-gradient(135deg, #4f46e5, #818cf8); }
.solution-icon.teal { background: linear-gradient(135deg, #0d9488, #2dd4bf); }
.solution-icon.violet { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.solution-icon.emerald { background: linear-gradient(135deg, #059669, #34d399); }

.solution-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.solution-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.solution-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent-secondary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}

.solution-link:hover {
  gap: 8px;
}

/* Portal mockups stack */
.portal-mockups {
  position: relative;
  height: 480px;
}

.portal-mockup {
  position: absolute;
  background: var(--color-dashboard-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.12);
}

.portal-mockup-1 {
  width: 90%;
  top: 0;
  right: 0;
  z-index: 2;
}

.portal-mockup-2 {
  width: 75%;
  bottom: 0;
  left: 0;
  z-index: 1;
  opacity: 0.85;
}

.portal-mockup-header {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 8px;
}

.portal-dots {
  display: flex;
  gap: 4px;
}

.portal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.portal-dot.red { background: #ef4444; opacity: 0.6; }
.portal-dot.yellow { background: #f59e0b; opacity: 0.6; }
.portal-dot.green { background: #10b981; opacity: 0.6; }

.portal-mockup-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  margin-left: 8px;
}

.portal-mockup-body {
  padding: 16px;
}

.portal-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.portal-stat {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.portal-stat-label {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}

.portal-stat-value {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.portal-table-mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.portal-table-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  font-size: 10px;
}

.portal-table-row span:first-child {
  color: rgba(255, 255, 255, 0.7);
}

.portal-table-row span:last-child {
  color: var(--color-accent-blue);
  font-weight: 600;
}

/* ============================================
   Why Reign VoIP
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.why-card {
  text-align: center;
  padding: 32px 24px;
}

.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}

.why-icon svg {
  width: 28px;
  height: 28px;
  color: #fff;
}

.why-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}

.why-desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

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

.industry-card {
  background: var(--color-bg-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all var(--transition);
}

.industry-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(56, 189, 248, 0.25);
}

.industry-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(56, 189, 248, 0.15));
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.industry-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent-secondary);
}

.industry-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 16px;
}

.industry-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.industry-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.industry-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-accent-blue);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

/* ============================================
   Pricing
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.pricing-card {
  background: var(--color-bg-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--color-accent-blue);
  box-shadow: 0 0 0 1px var(--color-accent-blue), var(--shadow-lg);
}

.pricing-card.featured::before {
  content: attr(data-featured-label);
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-accent-secondary), var(--color-accent-blue));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 16px;
}

.pricing-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-primary-dark);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.pricing-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.pricing-features {
  text-align: left;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-muted);
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-check {
  width: 20px;
  height: 20px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-success);
}

.pricing-check svg {
  width: 12px;
  height: 12px;
}

.pricing-cta-wrapper {
  text-align: center;
}

/* ============================================
   Platform Showcase
   ============================================ */
.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.platform-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.platform-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.platform-feature-icon {
  width: 44px;
  height: 44px;
  background: var(--color-glass);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent-secondary);
}

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

.platform-feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 4px;
}

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

.platform-visual {
  position: relative;
  height: 420px;
}

.platform-screenshot {
  position: absolute;
  background: var(--color-dashboard-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(56, 189, 248, 0.12);
  overflow: hidden;
}

.platform-screenshot-1 {
  width: 85%;
  top: 0;
  left: 0;
  z-index: 2;
}

.platform-screenshot-2 {
  width: 70%;
  bottom: 0;
  right: 0;
  z-index: 1;
}

/* ============================================
   How It Works
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent-blue), var(--color-accent-secondary));
  opacity: 0.2;
  z-index: 0;
}

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

.step-number {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--color-bg-white);
  border: 2px solid var(--color-accent-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: var(--color-accent-secondary);
  box-shadow: var(--shadow-md);
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

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

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e2e8f0;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary-dark);
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--color-accent-secondary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-accent-blue);
  transition: transform var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

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

/* ============================================
   Final CTA
   ============================================ */
.final-cta {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #1e3a5f 50%, var(--color-primary) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.final-cta-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.final-cta-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--color-primary-dark);
  padding: 64px 0 32px;
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-brand .logo-text {
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-powered {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-accent-blue);
}

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

/* ============================================
   Animations
   ============================================ */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up.delay-1 { transition-delay: 0.08s; }
.fade-in-up.delay-2 { transition-delay: 0.16s; }
.fade-in-up.delay-3 { transition-delay: 0.24s; }
.fade-in-up.delay-4 { transition-delay: 0.32s; }
.fade-in-up.delay-5 { transition-delay: 0.4s; }
.fade-in-up.delay-6 { transition-delay: 0.48s; }
.fade-in-up.delay-7 { transition-delay: 0.56s; }
.fade-in-up.delay-8 { transition-delay: 0.64s; }

/* ============================================
   Responsive
   ============================================ */
@media (min-width: 1025px) and (max-width: 1280px) {
  .nav {
    gap: 18px;
  }

  .nav-link,
  .nav-dropdown-trigger {
    font-size: 14px;
  }

  .header-inner {
    gap: 16px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .btn-secondary.btn-sm {
    padding: 10px 12px;
  }

  .logo-text {
    font-size: 17px;
  }
}

@media (max-width: 1024px) {
  .nav, .header-actions .btn:not(.header-login), .header-actions .lang-toggle {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .hero-grid,
  .solutions-grid-wrapper,
  .platform-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }


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

  .industries-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

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

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

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

  .portal-mockups,
  .platform-visual {
    height: 360px;
  }

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

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

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

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

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .trust-marquee-track {
    gap: 40px;
  }

  .dashboard-mockup-inner {
    grid-template-columns: 40px 1fr;
  }

  .kpi-value {
    font-size: 14px;
  }

  .header-actions .header-login {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .dashboard-mockup {
    animation: none;
  }

  .typewriter-cursor {
    animation: none;
  }

  .hero-badge-dot {
    animation: none;
  }

  .fade-in-up {
    transition-duration: 0.5s;
  }

  .trust-marquee-track {
    animation-duration: 50s;
  }
}
