:root {
  /* Dark Theme Variables (Default) */
  --bg: #020713;
  --bg2: #050b18;
  --panel: #08101f;
  --panel2: #0e1728;
  --card: #0b1424;
  --line: rgba(148, 163, 184, 0.16);
  --line2: rgba(255, 255, 255, 0.09);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted2: #cbd5e1;
  --purple: #7c4dff;
  --purple2: #a78bfa;
  --purple3: #5b37ee;
  --blue: #2f80ff;
  --green: #33d28b;
  --max: 1280px;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);

  /* Glassmorphism options */
  --glass-bg: rgba(2, 7, 19, 0.82);
  --glass-border: rgba(255, 255, 255, 0.035);

  /* Page glows */
  --glow-opacity-a: 0.45;
  --glow-opacity-b: 0.18;

  /* Card specific elements */
  --integration-bg: #ffffff;
  --integration-text: #101827;
  --popover-bg: #ffffff;
  --popover-text: #0f172a;
}

[data-theme="light"] {
  /* Light Theme Variables (High Contrast & Readability) */
  --bg: #f8fafc;
  --bg2: #f1f5f9;
  --panel: #e2e8f0;
  --panel2: #cbd5e1;
  --card: #ffffff;
  --line: rgba(15, 23, 42, 0.08);
  --line2: rgba(15, 23, 42, 0.04);
  --text: #0f172a;       /* Dark slate for primary text */
  --muted: #475569;      /* Slate gray for secondary text */
  --muted2: #1e293b;     /* Darker slate for readability */
  --purple: #6366f1;
  --purple2: #4f46e5;
  --purple3: #3730a3;
  --blue: #2563eb;
  --green: #16a34a;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.08);

  /* Glassmorphism options */
  --glass-bg: rgba(248, 250, 252, 0.85);
  --glass-border: rgba(15, 23, 42, 0.08);

  /* Page glows */
  --glow-opacity-a: 0.15;
  --glow-opacity-b: 0.06;

  /* Card specific elements */
  --integration-bg: #f8fafc;
  --integration-text: #0f172a;
  --popover-bg: #ffffff;
  --popover-text: #0f172a;
}

/* Logo display switching based on active theme */
.logo-light-theme {
  display: none !important;
}
.logo-dark-theme {
  display: block !important;
}
[data-theme="light"] .logo-light-theme {
  display: block !important;
}
[data-theme="light"] .logo-dark-theme {
  display: none !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

svg {
  display: block;
}

button, input, select, textarea {
  font: inherit;
}

/* Page Glows */
.page-glow {
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.page-glow-a {
  width: 420px;
  height: 420px;
  background: #5b37ee;
  top: 70px;
  left: 48%;
  opacity: var(--glow-opacity-a);
}

.page-glow-b {
  width: 360px;
  height: 360px;
  background: #00aeb7;
  right: -120px;
  top: 280px;
  opacity: var(--glow-opacity-b);
}

/* Topbar Navigation */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 4.8vw, 58px);
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--glass-border);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 27px;
  font-weight: 790;
  letter-spacing: -0.03em;
}

.brand img {
  height: 38px;
  display: block;
  object-fit: contain;
}

.owl-logo {
  width: 37px;
  height: 37px;
  display: inline-grid;
  place-items: center;
}

.owl-logo svg {
  width: 100%;
  height: 100%;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 37px;
  margin-left: 37px;
  margin-right: auto;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
}

.main-nav a {
  opacity: 0.9;
  transition: opacity 0.2s, color 0.2s;
}

.main-nav a:hover {
  opacity: 1;
  color: var(--purple);
}

.main-nav span {
  font-size: 12px;
  color: var(--muted);
  margin-left: 4px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 650;
}

.login {
  padding: 12px 6px;
  color: var(--text);
  opacity: 0.9;
}

.login:hover {
  opacity: 1;
  color: var(--purple);
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: var(--line2);
  border: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
}

.theme-toggle-btn:hover {
  background: var(--line);
  transform: translateY(-1px);
}

.theme-toggle-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

[data-theme="light"] .theme-toggle-btn .sun-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle-btn .moon-icon {
  display: none;
}

/* Fixed Theme Toggle Switch on Right Side */
.theme-toggle-btn.fixed-toggle {
  position: fixed;
  right: 24px;
  top: 100px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), var(--line);
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.theme-toggle-btn.fixed-toggle:hover {
  transform: scale(1.08);
  background: var(--line2);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2), var(--line);
}

.theme-toggle-btn.fixed-toggle svg {
  width: 20px;
  height: 20px;
}

/* Language Dropdown Adjustment */
.nav-actions #langForm .dropdown button {
  background: var(--line2);
  border: 1px solid var(--line);
  padding: 3px 8px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.nav-actions #langForm .dropdown button:hover {
  background: var(--line);
}

/* General Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  padding: 13px 21px;
  font-size: 14px;
  font-weight: 780;
  line-height: 1;
  white-space: nowrap;
  transition: all 0.2s ease;
  cursor: pointer;
}

.button-primary {
  background: linear-gradient(135deg, #6a42ff, #8d6bff);
  color: #ffffff;
  box-shadow: 0 16px 45px rgba(124, 77, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(124, 77, 255, 0.32);
}

.button-outline {
  background: var(--line2);
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.03);
}

.button-outline:hover {
  background: var(--line);
  transform: translateY(-1px);
}

.button-lg {
  padding: 17px 26px;
  border-radius: 11px;
  font-size: 15px;
}

/* Hero Section */
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(440px, 0.89fr) minmax(620px, 1.11fr);
  gap: 66px;
  max-width: 1536px;
  margin: 0 auto;
  padding: 77px clamp(24px, 4.8vw, 58px) 64px;
  min-height: 686px;
  background: radial-gradient(circle at 65% 18%, rgba(116, 72, 255, 0.28), transparent 25%),
              radial-gradient(circle at 96% 54%, rgba(7, 201, 181, 0.14), transparent 22%);
}

.hero-copy {
  padding-top: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 46px;
  padding: 11px 17px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--line2);
  color: var(--text);
  font-size: 13px;
  font-weight: 740;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.16);
}

.eyebrow span {
  color: var(--purple2);
}

.hero h1 {
  max-width: 660px;
  margin: 0 0 26px;
  font-size: clamp(46px, 5.1vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.065em;
  font-weight: 835;
}

.hero h1 strong, .section-head h2 strong {
  font-weight: inherit;
  color: var(--purple2);
  text-shadow: 0 0 42px rgba(124, 77, 255, 0.35);
}

.hero-copy p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.75;
  letter-spacing: -0.02em;
}

.hero-actions {
  display: flex;
  gap: 17px;
  margin-top: 35px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 13px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-row svg, .cta li svg {
  width: 17px;
  height: 17px;
  stroke: var(--purple2);
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Hero Dashboard Preview Visual */
.hero-visual {
  position: relative;
  padding-top: 11px;
}

.browser-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  height: 520px;
  max-width: 780px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--panel), var(--bg2));
  box-shadow: var(--shadow), 
              0 0 0 1px rgba(124, 77, 255, 0.08), 
              0 0 90px rgba(124, 77, 255, 0.12);
  overflow: hidden;
}

.browser-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 20%, rgba(124, 77, 255, 0.06), transparent 33%);
  pointer-events: none;
}

.app-sidebar {
  position: relative;
  z-index: 1;
  padding: 26px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg2), var(--bg));
}

.app-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  width: 100%;
}

.app-logo img {
  height: 28px;
  display: block;
}

.app-sidebar label {
  display: block;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.app-sidebar button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 11px;
  margin-bottom: 18px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--line2);
  font-size: 11px;
  font-weight: 650;
  text-align: left;
}

.app-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.app-sidebar li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 16px;
  transition: all 0.2s;
  cursor: pointer;
}

.app-sidebar li:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.app-sidebar li.active {
  background: rgba(124, 77, 255, 0.18);
  color: var(--text);
  font-weight: 700;
}

.dashboard-card {
  position: relative;
  z-index: 1;
  padding: 30px 30px 22px;
}

.dashboard-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.dashboard-head h2 {
  margin: 0 0 8px;
  font-size: 23px;
  letter-spacing: -0.04em;
  color: var(--text);
}

.dashboard-head p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.tag {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.tag.powerbi {
  background: #f2c811;
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 99px;
  background: var(--muted);
}

.people {
  display: flex;
  align-items: center;
  padding-right: 3px;
}

.people span, .avatar {
  width: 31px;
  height: 31px;
  border-radius: 999px;
  margin-left: -8px;
  border: 2px solid var(--bg2);
  background: linear-gradient(135deg, #ffd4b6, #4361ee);
}

.people span:nth-child(2) {
  background: linear-gradient(135deg, #f6b1c9, #4cc9f0);
}

.people span:nth-child(3) {
  background: linear-gradient(135deg, #ffe08a, #e76f51);
}

.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 29px;
}

.kpis article {
  padding: 19px 18px 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line2);
}

.kpis small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.kpis strong {
  display: block;
  margin: 8px 0 5px;
  font-size: 26px;
  letter-spacing: -0.04em;
  color: var(--text);
}

.kpis em {
  font-style: normal;
  color: var(--green);
  font-size: 11px;
  font-weight: 750;
}

.chart-box {
  position: relative;
  height: 212px;
  margin-top: 17px;
  padding: 15px 14px 30px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--line2), transparent);
}

.chart-box svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.grid-lines line {
  stroke: var(--line);
  stroke-width: 1;
}

.line-blue, .line-purple {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4.5;
}

.line-blue {
  stroke: var(--blue);
}

.line-purple {
  stroke: #8b5cf6;
}

.axis {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 10px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin-top: 15px;
}

.mini-stats span {
  padding: 12px 12px 10px;
  border-radius: 10px;
  background: var(--line2);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.mini-stats strong {
  display: block;
  color: var(--text);
  font-size: 23px;
  letter-spacing: -0.05em;
  margin-bottom: 3px;
}

.addons-column {
  position: absolute;
  right: 7px;
  top: 83px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
  transform: translateX(54%);
  z-index: 10;
}

.integration-stack {
  display: grid;
  gap: 13px;
}

.integration-stack div {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 134px;
  min-height: 51px;
  padding: 12px 15px;
  background: var(--integration-bg);
  color: var(--integration-text);
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  font-size: 13px;
  font-weight: 800;
}

/* Custom Icons in Integration Stack */
.i {
  display: inline-block;
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.powerbi-i::before, .powerbi-i::after {
  content: "";
  position: absolute;
  bottom: 3px;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, #ffd66b, #f5a400);
}

.powerbi-i::before {
  left: 3px;
  width: 7px;
  height: 11px;
}

.powerbi-i::after {
  left: 12px;
  width: 8px;
  height: 18px;
  box-shadow: 9px -5px 0 -1px #f7bf23;
}

.tableau-i {
  background: radial-gradient(circle at 50% 50%, #3b82f6 0 10%, transparent 11%),
              radial-gradient(circle at 20% 20%, #f97316 0 9%, transparent 10%),
              radial-gradient(circle at 78% 24%, #22c55e 0 9%, transparent 10%),
              radial-gradient(circle at 24% 80%, #ef4444 0 9%, transparent 10%),
              radial-gradient(circle at 80% 78%, #a855f7 0 9%, transparent 10%);
}

.looker-i::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 3px solid #4285f4;
  border-radius: 50%;
  box-shadow: -7px 5px 0 -3px #34a853;
}

.metabase-i {
  background: repeating-linear-gradient(90deg, #0ea5e9 0 3px, transparent 3px 7px);
  border-radius: 4px;
}

.qlik-i::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 5px solid #12a36a;
  border-right-color: transparent;
  border-radius: 50%;
}

.excel-i {
  background: #168348;
  border-radius: 4px;
}

.excel-i::after {
  content: "X";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.source-popover {
  width: 262px;
  padding: 16px;
  border-radius: 12px;
  background: var(--popover-bg);
  color: var(--popover-text);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.source-popover h4 {
  margin: 0 0 13px;
  font-size: 13px;
}

.source-popover div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.source-popover p {
  margin: 0;
  min-width: 0;
  flex: 1;
}

.source-popover strong {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
}

.source-popover small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

/* Logo Strip */
.logo-strip {
  position: relative;
  z-index: 2;
  padding: 33px clamp(24px, 4.8vw, 58px) 38px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg2);
  text-align: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.logo-strip p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.logo-strip div {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo-strip span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 19px;
  font-weight: 730;
}

.logo-strip i.i {
  border: 1px solid var(--line);
}

/* Sections - Features */
.section {
  position: relative;
  z-index: 1;
  padding: 66px clamp(24px, 4.8vw, 58px);
  background: var(--bg);
  transition: background-color 0.3s ease;
}

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

.section-head h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.17;
  letter-spacing: -0.045em;
  color: var(--text);
}

.section-head p {
  max-width: 560px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.feature-grid {
  max-width: 1380px;
  margin: 43px auto 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 43px;
}

.feature-grid article, .workflow-grid article, .testimonial-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.feature-grid article:hover, .workflow-grid article:hover {
  transform: translateY(-2px);
}

.feature-grid article {
  min-height: 275px;
  padding: 27px 22px;
  text-align: left;
}

.icon {
  width: 53px;
  height: 53px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 27px;
}

.icon svg, .step-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon.purple {
  color: #8b5cf6;
  background: rgba(124, 77, 255, 0.18);
}

.icon.green {
  color: #16a34a;
  background: rgba(46, 213, 139, 0.14);
}

.icon.blue {
  color: #3b82f6;
  background: rgba(47, 128, 255, 0.15);
}

.icon.pink {
  color: #ec4899;
  background: rgba(217, 70, 239, 0.15);
}

.icon.violet {
  color: #8b5cf6;
  background: rgba(167, 139, 250, 0.15);
}

.feature-grid h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 16px;
  letter-spacing: -0.02em;
}

.feature-grid p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
}

.feature-grid a {
  color: var(--purple);
  font-size: 13px;
  font-weight: 800;
}

.feature-grid a:hover {
  color: var(--purple3);
}

/* Workflow - How it works */
.workflow {
  padding-top: 18px;
  text-align: center;
}

.workflow h2, .testimonials h2 {
  margin: 0 0 31px;
  font-size: 22px;
  letter-spacing: -0.035em;
  color: var(--text);
}

.workflow-grid {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.workflow-grid article {
  position: relative;
  display: flex;
  gap: 17px;
  align-items: center;
  min-height: 108px;
  padding: 20px 19px;
  text-align: left;
}

.workflow-grid article:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 20px;
}

.step-icon {
  position: relative;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  flex: 0 0 56px;
  border-radius: 13px;
  background: rgba(124, 77, 255, 0.18);
  color: var(--purple);
}

.step-icon span {
  position: absolute;
  right: -6px;
  top: -7px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #734bff;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.workflow-grid h3 {
  margin: 0 0 5px;
  font-size: 15px;
  color: var(--text);
}

.workflow-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}

/* Testimonials */
.testimonials {
  text-align: center;
  padding-top: 42px;
}

.testimonial-grid {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.testimonial-grid article {
  padding: 28px 24px;
  text-align: left;
  min-height: 224px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-grid p {
  margin: 0;
  color: var(--text);
  opacity: 0.95;
  font-size: 14px;
  line-height: 1.68;
}

.person {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 28px;
}

.avatar {
  margin: 0;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
}

.a1 { background: linear-gradient(135deg, #fbcfe8, #f97316); }
.a2 { background: linear-gradient(135deg, #fed7aa, #2563eb); }
.a3 { background: linear-gradient(135deg, #fecdd3, #06b6d4); }
.a4 { background: linear-gradient(135deg, #fdba74, #3b82f6); }

.person strong {
  display: block;
  color: var(--text);
  font-size: 15px;
}

.person small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.success-link {
  display: inline-flex;
  margin-top: 31px;
  color: var(--purple);
  font-weight: 800;
  font-size: 15px;
}

.success-link:hover {
  color: var(--purple3);
}

/* Call to Action (CTA) Card (Preserved with beautiful Dark theme gradient as visual anchor) */
.cta {
  position: relative;
  z-index: 1;
  max-width: 1380px;
  margin: 42px auto 0;
  padding: 43px 51px;
  display: grid;
  grid-template-columns: 1.4fr 0.95fr 0.95fr;
  gap: 42px;
  align-items: center;
  border: 1px solid rgba(124, 77, 255, 0.42);
  border-radius: 16px;
  background: radial-gradient(circle at 78% 45%, rgba(124, 77, 255, 0.45), transparent 26%),
              radial-gradient(circle at 0 0, rgba(124, 77, 255, 0.25), transparent 22%),
              linear-gradient(135deg, #0c1230, #0a1023 58%, #150d3a);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.22;
  pointer-events: none;
}

.cta > * {
  position: relative;
}

.cta h2 {
  max-width: 490px;
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.16;
  letter-spacing: -0.05em;
  color: #ffffff;
}

.cta p {
  margin: 0;
  color: #d7deeb;
  font-size: 16px;
  line-height: 1.55;
}

.cta ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.cta li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 650;
}

.cta li svg {
  stroke: #ffffff;
}

.cta-actions {
  display: grid;
  gap: 14px;
}

.cta .button-outline {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.cta .button-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  margin-top: 58px;
  background: linear-gradient(180deg, var(--panel), var(--bg2));
  border-top: 1px solid var(--line);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.footer-main {
  max-width: 1536px;
  margin: 0 auto;
  padding: 64px clamp(24px, 4.8vw, 58px);
  display: grid;
  grid-template-columns: 1.72fr repeat(3, 1fr) 1.7fr;
  gap: 44px;
}

.footer .brand {
  font-size: 28px;
}

.footer p, .footer a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--purple);
}

.footer-brand p {
  max-width: 275px;
  margin: 18px 0 24px;
  line-height: 1.7;
  font-size: 14px;
}

.social {
  display: flex;
  gap: 12px;
}

.social a {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--line2);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  transition: all 0.2s ease;
}

.social a:hover {
  background: var(--purple);
  color: #fff;
  transform: translateY(-1px);
}

.footer h4 {
  margin: 4px 0 19px;
  color: var(--text);
  font-size: 15px;
}

.footer-main > div:not(.footer-brand):not(.newsletter) a {
  display: block;
  margin: 13px 0;
  font-size: 14px;
}

.newsletter p {
  margin: 0 0 20px;
  line-height: 1.65;
  font-size: 14px;
}

.newsletter form {
  display: flex;
  align-items: center;
  min-height: 51px;
  padding: 6px;
  border-radius: 11px;
  background: var(--line2);
  border: 1px solid var(--line);
}

.newsletter input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  padding: 0 13px;
}

.newsletter button {
  width: 42px;
  height: 39px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #7046ff, #8b5cf6);
  font-size: 21px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.newsletter button:hover {
  transform: scale(1.03);
}

.footer-bottom {
  max-width: 1536px;
  margin: 0 auto;
  padding: 27px clamp(24px, 4.8vw, 58px);
  display: flex;
  align-items: center;
  gap: 75px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.footer-bottom a:last-child {
  margin-left: auto;
}

/* Custom WhatsApp Floating Button from original site styling */
.plexdel-wu-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF !important;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plexdel-wu-float:hover {
  transform: scale(1.08);
  box-shadow: 2px 5px 8px #666;
}

/* Responsive Media Queries */
@media (max-width: 1280px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    max-width: 860px;
  }
  .addons-column {
    right: 34px;
    transform: none;
  }
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .workflow-grid, .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workflow-grid article::after {
    display: none;
  }
  .footer-main {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .topbar {
    height: auto;
    min-height: 74px;
    padding: 10px 20px;
  }
  .main-nav {
    display: none;
  }
  .nav-actions .login, .nav-actions .button-outline {
    display: none;
  }
  .hero {
    padding-top: 50px;
  }
  .hero-copy {
    padding-top: 0;
  }
  .hero-actions, .trust-row {
    align-items: flex-start;
  }
  .browser-card {
    grid-template-columns: 1fr;
    height: auto;
  }
  .app-sidebar {
    display: none;
  }
  .dashboard-card {
    padding: 24px;
  }
  .addons-column {
    display: none;
  }
  .logo-strip div {
    flex-wrap: wrap;
    justify-content: center;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 450px !important;
    margin: 43px auto 0;
  }
  .cta {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-bottom a:last-child {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 18px 20px;
  }
  .brand {
    font-size: 23px;
  }
  .nav-actions {
    display: none;
  }
  .hero {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero-copy p {
    font-size: 17px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .button {
    width: 100%;
  }
  .trust-row {
    display: grid;
  }
  .kpis, .mini-stats {
    grid-template-columns: 1fr;
  }
  .chart-box {
    height: 180px;
  }
  .logo-strip {
    padding-left: 20px;
    padding-right: 20px;
  }
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .section-head h2 {
    font-size: 31px;
  }
  .feature-grid, .workflow-grid, .testimonial-grid, .footer-main {
    grid-template-columns: 1fr;
  }
  .cta {
    margin-left: 20px;
    margin-right: 20px;
    padding: 32px 24px;
  }
  .cta h2 {
    font-size: 28px;
  }
  .footer-main {
    padding-top: 44px;
  }
  .footer-bottom {
    padding-bottom: 36px;
  }
}

/* Button overrides to prevent link color bleed on hover */
.button, .button-primary, .button-outline {
  text-decoration: none !important;
}
.button-primary {
  color: #ffffff !important;
}
.button-primary:hover, .button-primary:focus {
  color: #ffffff !important;
}
.button-outline {
  color: var(--text) !important;
}
.button-outline:hover, .button-outline:focus {
  color: var(--text) !important;
}

/* Form control overrides for modals and general inputs */
.form-control, select.form-control {
  background-color: var(--line2) !important;
  border: 1px solid var(--line) !important;
  color: var(--text) !important;
  border-radius: 9px !important;
  padding: 12px 16px !important;
  height: auto !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

.form-control::placeholder {
  color: var(--muted) !important;
  opacity: 0.8 !important;
}

.form-control:focus {
  background-color: var(--line2) !important;
  border-color: var(--purple) !important;
  box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.15) !important;
  color: var(--text) !important;
}

/* Make sure select elements look nice */
select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238892b0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 16px !important;
  padding-right: 40px !important;
}

/* Ensure read-only state is styled correctly */
.form-control[readonly] {
  background-color: rgba(255, 255, 255, 0.02) !important;
  opacity: 0.7;
}

/* Button overrides for submit in modal */
.contact-form .btn-primary {
  background: linear-gradient(135deg, #6a42ff, #8d6bff) !important;
  border: none !important;
  color: #ffffff !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
  border-radius: 9px !important;
  box-shadow: 0 16px 45px rgba(124, 77, 255, 0.24) !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.contact-form .btn-primary:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 20px 50px rgba(124, 77, 255, 0.32) !important;
}

/* Localize dropdown options styles to fix text contrast bug */
select option {
  background-color: var(--card) !important;
  color: var(--text) !important;
}
