/* ========== CSS RESET ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

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

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

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

p {
  font-size: 20px;
}

ul li {
  font-size: 20px;
  line-height: 2.5rem;
}

/* ========== THEME BASE - SQ3.IO STYLE ========== */
:root {
  /* Brand Colors */
  --brand: #e53935;
  --brand-600: #d32f2f;
  --brand-700: #c62828;
  --accent: #14b8a6;

  /* Dark Theme (Default - sq3.io style) */
  --bg: #0a0a0a;
  --bg-secondary: #111111;
  --surface: #141414;
  --surface-elevated: #1a1a1a;
  --text: #ffffff;
  --text-secondary: #a1a1a1;
  --muted: #888888;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);

  /* Effects */
  --success: #22c55e;
  --warning: #f59e0b;
  --glow: 0 0 40px rgba(229, 57, 53, 0.15);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1200px;
}

/* Light theme (when toggled) */
[data-theme="light"] {
  --bg: #ffffff;
  --bg-secondary: #f8f9fa;
  --surface: #f3f4f6;
  --surface-elevated: #ffffff;
  --text: #0a0a0a;
  --text-secondary: #4a4a4a;
  --muted: #6b7280;
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(0, 0, 0, 0.06);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  --glow: 0 0 40px rgba(229, 57, 53, 0.1);
}

/* Remove system preference override - now dark is default */

/* ========== LAYOUT ========== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.surface {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.toolbar {
  padding: 12px;
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.pad-18 {
  padding: 18px;
}

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

.row-flex {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

/* ========== HEADER ========== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: var(--text);
  color: var(--bg);
  border-radius: 8px;
  z-index: 9999;
}

header {
  display: flex;
  justify-content: space-between;
  padding: 16px 40px;
  align-items: center;
  position: sticky;
  top: 0;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(10, 10, 10, 0.85);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

[data-theme="light"] header {
  background: rgba(255, 255, 255, 0.85);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.logo-img {
  width: 100px;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Dark theme default - show dark logo */
.logo-light {
  display: none;
}

.logo-dark {
  display: block;
}

/* Light theme - show light logo */
[data-theme="light"] .logo-light {
  display: block;
}

[data-theme="light"] .logo-dark {
  display: none;
}

nav a {
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.3s ease;
}

nav a:hover,
nav a:focus {
  color: var(--text);
  background: var(--glass-bg);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 600;
  font-size: 14px;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 20px rgba(229, 57, 53, 0.3);
}

.btn-primary:hover {
  background: var(--brand-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(229, 57, 53, 0.4);
}

.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--border-hover);
  background: var(--glass-bg);
  transform: translateY(-2px);
}

.btn.sm {
  padding: 8px 10px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(120, 130, 150, 0.3);
  background: transparent;
  border-radius: 10px;
  padding: 8px 10px;
}

@media (max-width: 1024px) {
  header {
    padding: 14px;
  }

  nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 75px;
    left: 0;
    background: var(--bg);
    z-index: 1000;
    width: 100%;
    text-align: center;
    padding-right: 2rem;
  }

  nav a {
    padding: 10px;
  }

  nav.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* ========== HERO ========== */
.hero {
  padding: 40px 0 20px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--brand) 15%, transparent);
  color: var(--brand-700);
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.05;
  margin: 14px 0 16px;
  letter-spacing: -0.02em;
}

.hero p {
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 20px);
  margin: 0 0 22px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.trust-row {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.kpis .tile {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface);
}

.kpis .num {
  font-weight: 900;
  font-size: 24px;
}

.kpis .label {
  color: var(--muted);
  font-size: 18px;
}

/* Phone mock */
.phone {
  position: relative;
  width: min(360px, 100%);
  margin-inline: auto;
  aspect-ratio: 9/19.5;
  border-radius: 34px;
  background: linear-gradient(180deg, #0e1220, #12192b);
  border: 8px solid #111827;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 36%;
  height: 24px;
  background: #0b1220;
  border-radius: 0 0 16px 16px;
}

.screen {
  position: absolute;
  inset: 8px;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(
      1200px 400px at -10% -10%,
      rgba(229, 57, 53, 0.35),
      transparent
    ),
    linear-gradient(180deg, #0f172a 10%, #0b1220 90%);
}

.screen .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: grid;
  place-items: center;
  padding: 16px;
}

.screen .slide.active {
  opacity: 1;
}

.screen .badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 18px;
}

/* Slide content helpers */
.slide-content {
  display: grid;
  gap: 10px;
  text-align: center;
  color: #e6edf6;
}

/* Compact list styles for features and team pages */
.features-list,
.team-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.feature-row,
.member-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature-row .icon {
  flex: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-row h3,
.member-body h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.feature-row p,
.member-body .bio {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.member-row .avatar {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 8px;
  flex: 0 0 76px;
}

.member-body .role {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 6px;
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.tag {
  background: color-mix(in oklab, var(--brand) 8%, transparent);
  color: var(--brand-700);
  padding: 6px 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}

@media (max-width: 700px) {
  .feature-row,
  .member-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .member-row .avatar {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
  }
}

.slide-title {
  font-weight: 800;
  font-size: 22px;
}

.slide-sub {
  opacity: 0.8;
  font-size: 20px;
}

.icon-center {
  display: block;
  margin-inline: auto;
}

.c-cyan {
  color: #22d3ee;
}

.c-rose {
  color: #f43f5e;
}

.c-green {
  color: #86efac;
}

@media (max-width: 960px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .kpis {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========== SECTIONS ========== */
section {
  padding: 60px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 36px);
  margin: 0 0 8px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  gap: 10px;
}

.feature .icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: color-mix(in oklab, var(--brand) 25%, transparent);
  display: grid;
  place-items: center;
  color: var(--brand-700);
}

.feature h3 {
  margin: 0;
  font-size: 20px;
}

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

@media (max-width: 1024px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  display: grid;
  gap: 8px;
}

.step .num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.step p {
  margin: 0;
  color: var(--muted);
}

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

/* Screens / Slider */
.slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  transition: transform 0.4s ease;
}

.slide-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 18px;
  background: var(--surface);
  align-items: center;
}

.slide-card .img {
  aspect-ratio: 16/10;
  border-radius: 12px;
  background: linear-gradient(
    120deg,
    rgba(229, 57, 53, 0.15),
    rgba(20, 184, 166, 0.1)
  );
  border: 1px solid rgba(120, 130, 150, 0.18);
}

.slide-card h3 {
  margin: 0 0 6px;
}

.slide-card p {
  margin: 0;
  color: var(--muted);
}

.slider-nav {
  position: absolute;
  inset: auto 0 10px 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(120, 130, 150, 0.4);
  border: none;
  cursor: pointer;
}

.dot.active {
  background: var(--brand);
}

.slider-arrows {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.arrow {
  pointer-events: all;
  border: 1px solid rgba(120, 130, 150, 0.35);
  background: var(--bg);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  margin: 0 8px;
}

.arrow.flip {
  transform: rotate(180deg);
}

@media (max-width: 900px) {
  .slide-card {
    grid-template-columns: 1fr;
  }
}

/* Coverage */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.chip {
  border: 1px solid rgba(120, 130, 150, 0.25);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(120, 130, 150, 0.06);
}

/* Testimonials */
.testi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.quote {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  gap: 8px;
}

.quote p {
  margin: 0;
}

.quote .who {
  color: var(--muted);
  font-size: 20px;
}

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

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.plan {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(120, 130, 150, 0.15);
}

.price {
  font-weight: 900;
  font-size: 28px;
}

.plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

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

/* FAQ */
.faq {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

details {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 14px 16px;
  border: 1px solid rgba(120, 130, 150, 0.18);
}

details summary {
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
}

details[open] {
  border-color: var(--brand);
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: start;
}

.form {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  gap: 12px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  font-size: 20px;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid rgba(120, 130, 150, 0.25);
  background: transparent;
  color: var(--text);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.note {
  font-size: 19px;
  color: var(--muted);
}

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

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

/* Footer */
footer {
  padding: 40px 0;
  border-top: 1px solid rgba(100, 100, 100, 0.1);
  color: var(--muted);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: 0.5s ease;
}

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

/* Back to top */
.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  border: none;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  /* default: not clickable when hidden */
  transition: 0.25s ease;
  z-index: 1000;
  /* stay above content */
}

.to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  /* make it clickable when visible */
}

svg.flip {
  transform: rotate(180deg);
}

/* ========== ABOUT / TEAM ========== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 24px;
  width: 100%;
}

#team .container {
  max-width: 100%;
  padding: 0 40px;
}

#team {
  padding: 80px 0;
}

.member-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  align-items: center;
  border: 1px solid rgba(120, 130, 150, 0.12);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.member-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(229, 57, 53, 0.2);
}

@media (max-width: 640px) {
  #team .container {
    padding: 0 20px;
  }

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

  .member-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 20px;
  }

  .member-card .avatar {
    order: 1;
    margin: 0 auto 10px;
    width: 100px;
    height: 100px;
  }

  .member-card .member-body {
    order: 2;
  }

  .member-card .social {
    justify-content: center;
  }

  .tags {
    justify-content: center;
  }
}

.member-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  align-items: center;
  border: 1px solid rgba(120, 130, 150, 0.12);
}

.avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in oklab, var(--brand) 20%, transparent);
  color: var(--brand-700);
  font-weight: 900;
  font-size: 22px;
}

.member-name {
  margin: 0;
}

.role {
  color: var(--muted);
  font-weight: 600;
  margin: 2px 0 6px;
}

.bio {
  margin: 0 0 10px;
  color: var(--text);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.tag {
  font-size: 18px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(120, 130, 150, 0.2);
  background: rgba(120, 130, 150, 0.06);
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ========== FOOTER GRID ========== */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  h3 {
    display: block;
    font-size: 16px;
    margin-block-start: 0.2rem;
    margin-block-end: 0.2rem;
  }

  p {
    font-size: 16px;
  }

  ul li {
    font-size: 15px;
    line-height: 1.4rem;
  }

  .hero p {
    font-size: clamp(16px);
  }

  .hero .container {
    gap: 40px;
  }

  .trust-row {
    font-size: 14px;
  }

  .kpis .label {
    font-size: 12px;
  }

  section {
    padding: 40px 0;
  }

  .screen .badge {
    font-size: 12px;
  }

  .slide-title {
    font-size: 20px;
  }

  .slide-sub {
    font-size: 14px;
  }

  .slide-title {
    font-size: 20px;
  }

  .slide-sub {
    font-size: 14px;
  }

  .quote .who {
    font-size: 14px;
  }

  label {
    font-size: 14px;
  }

  .note {
    font-size: 15px;
  }

  .tag {
    font-size: 12px;
  }

  .feature h3 {
    font-size: 18px;
  }

  .feature p {
    font-size: 16px;
  }

  .footer-col h4 {
    font-size: 14px;
  }

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

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

  .phone {
    width: 85%;
  }

  .price {
    font-size: 22px;
  }

  .btn {
    padding: 8px 14px;
  }

  details summary {
    font-size: 16px;
  }
}

.footer-brand .brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-brand p {
  margin: 0 0 10px;
}

.footer-col h4 {
  margin: 0 0 10px;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: var(--text);
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
}

/* ========== THEME TOGGLE & OVERRIDES ========== */
:root {
  color-scheme: light;
}

:root[data-theme="dark"] {
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #ffffff;
  --surface: #f7f9fc;
  --text: #0b172a;
  --muted: #5a6473;
  --shadow: 0 10px 30px rgba(9, 20, 40, 0.12);
}

:root[data-theme="dark"] {
  --bg: #0b1220;
  --surface: #0f1a2b;
  --text: #e6edf6;
  --muted: #9aa4b2;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Toggle icon visibility */
.theme-toggle .sun {
  display: inline;
}

.theme-toggle .moon {
  display: none;
}

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

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

/* ========== BUSINESS-FOCUSED STYLES ========== */

/* Enhanced KPI Tiles with Gradient */
.kpis .tile {
  padding: 18px 20px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    var(--surface) 0%,
    color-mix(in oklab, var(--surface) 90%, var(--brand)) 100%
  );
  border: 1px solid rgba(120, 130, 150, 0.12);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.kpis .tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.kpis .num {
  font-weight: 900;
  font-size: 32px;
  color: var(--brand);
}

.kpis .num .counter {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Counter Animation */
.counter {
  display: inline-block;
}

/* ROI Calculator Section */
.roi-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
  padding: 80px 0;
}

.roi-calculator {
  background: var(--surface);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(120, 130, 150, 0.1);
}

.roi-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.roi-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.roi-input-group label {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.roi-input-group input {
  padding: 16px;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  border-radius: 12px;
  border: 2px solid rgba(120, 130, 150, 0.2);
  background: var(--bg);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.roi-input-group input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.15);
}

.input-hint {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.roi-results {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.roi-result-card {
  padding: 24px;
  border-radius: 16px;
  background: var(--bg);
  text-align: center;
  border: 1px solid rgba(120, 130, 150, 0.1);
  transition: transform 0.3s ease;
}

.roi-result-card:hover {
  transform: translateY(-2px);
}

.roi-result-card.highlight {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
  color: #fff;
  border: none;
}

.roi-value {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 8px;
  line-height: 1.1;
}

.roi-result-card.highlight .roi-value {
  font-size: 42px;
}

.roi-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

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

@media (max-width: 900px) {
  .roi-inputs {
    grid-template-columns: 1fr;
  }

  .roi-results {
    grid-template-columns: 1fr;
  }

  .roi-result-card.highlight {
    order: -1;
  }
}

/* Business Testimonials */
.business-quote {
  position: relative;
  padding-top: 28px;
}

.quote-metric {
  position: absolute;
  top: -8px;
  left: 18px;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3);
}

.business-quote .who {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}

.business-quote .who strong {
  font-size: 16px;
  color: var(--text);
}

.business-quote .who span {
  color: var(--muted);
  font-size: 13px;
}

/* Enhanced Pricing Cards for Enterprise */
.plan {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.plan:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Premium Button Styling */
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(
    135deg,
    var(--brand-600) 0%,
    var(--brand-700) 100%
  );
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.4);
  transform: translateY(-2px);
}

/* Trust Badge Animation */
.trust-row {
  animation: fadeInUp 0.8s ease 0.5s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Feature Cards */
.feature-row {
  padding: 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid rgba(120, 130, 150, 0.08);
  transition: all 0.3s ease;
}

.feature-row:hover {
  background: color-mix(in oklab, var(--surface) 95%, var(--brand));
  transform: translateX(4px);
  border-color: rgba(229, 57, 53, 0.2);
}

/* Enterprise Badge */
.eyebrow {
  animation: pulse 2s ease-in-out infinite;
}

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

  50% {
    opacity: 0.85;
  }
}

/* ========== MODERN UI ANIMATIONS ========== */

/* Staggered Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Staggered delays for children */
.reveal:nth-child(1) {
  transition-delay: 0ms;
}

.reveal:nth-child(2) {
  transition-delay: 100ms;
}

.reveal:nth-child(3) {
  transition-delay: 200ms;
}

.reveal:nth-child(4) {
  transition-delay: 300ms;
}

.reveal:nth-child(5) {
  transition-delay: 400ms;
}

/* Hero Title Animation */
.hero h1 {
  animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero p {
  animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.cta-row {
  animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating Animation for Phone Mock */
.phone {
  animation: float 6s ease-in-out infinite;
}

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

  50% {
    transform: translateY(-15px);
  }
}

/* 3D Card Tilt Effect */
.surface,
.plan,
.quote,
.step,
.feature-row {
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

.surface:hover,
.plan:hover,
.quote:hover,
.step:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Gradient Animation on Hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 50% at 50% -20%,
    rgba(229, 57, 53, 0.15),
    transparent 70%
  );
  pointer-events: none;
  animation: gradientPulse 8s ease-in-out infinite;
}

@keyframes gradientPulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.hero {
  position: relative;
  overflow: hidden;
}

/* Animated Gradient Border */
.roi-calculator {
  position: relative;
  overflow: hidden;
}

.roi-calculator::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--brand),
    var(--accent),
    var(--brand-700),
    var(--accent),
    var(--brand)
  );
  background-size: 400% 400%;
  animation: gradientBorder 8s ease infinite;
  border-radius: 22px;
  z-index: -1;
  opacity: 0.5;
}

@keyframes gradientBorder {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Button Shine Effect */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -100%;
  width: 100%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

.btn-primary:hover::after {
  left: 100%;
}

/* Smooth Scale on Button Hover */
.btn {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.btn:active {
  transform: translateY(-1px) scale(0.98);
}

/* Glowing Focus States */
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(229, 57, 53, 0.3),
    0 0 20px rgba(229, 57, 53, 0.2);
}

/* Icon Hover Animation */
.feature-row .icon svg,
.step .num {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-row:hover .icon svg {
  transform: scale(1.2) rotate(5deg);
}

.step:hover .num {
  transform: scale(1.15);
}

/* Text Glow on Hover */
.nav a {
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

nav a:hover::after {
  width: 100%;
}

/* Chip Hover Effect */
.chip {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chip:hover {
  transform: translateY(-3px) scale(1.05);
  background: color-mix(in oklab, var(--brand) 15%, transparent);
  border-color: var(--brand);
  box-shadow: 0 8px 20px rgba(229, 57, 53, 0.15);
}

/* Smooth Accordion Animation */
details {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

details summary {
  transition: color 0.3s ease;
}

details summary:hover {
  color: var(--brand);
}

details[open] {
  transform: scale(1.01);
}

/* ROI Result Cards Animation */
.roi-result-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.roi-result-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.roi-result-card.highlight:hover {
  box-shadow: 0 20px 50px rgba(229, 57, 53, 0.35);
}

/* Quote Card Shimmer */
.business-quote {
  position: relative;
  overflow: hidden;
}

.business-quote::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

/* Glassmorphism Enhancement */
header {
  backdrop-filter: saturate(200%) blur(20px);
  -webkit-backdrop-filter: saturate(200%) blur(20px);
}

/* Logo Hover Animation */
.logo:hover .logo-img {
  animation: logoWiggle 0.5s ease;
}

@keyframes logoWiggle {
  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-3deg);
  }

  75% {
    transform: rotate(3deg);
  }
}

/* Smooth Page Load Animation */
body {
  animation: pageLoad 0.6s ease-out;
}

@keyframes pageLoad {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Parallax-like effect on scroll for sections */
section {
  transition: transform 0.1s ease-out;
}

/* Slider Card Animation */
.slide-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-card:hover {
  transform: scale(1.02);
}

/* Arrow Button Pulse */
.arrow {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.arrow:hover {
  transform: scale(1.15);
  border-color: var(--brand);
  box-shadow: 0 0 15px rgba(229, 57, 53, 0.3);
}

.arrow.flip:hover {
  transform: rotate(180deg) scale(1.15);
}

/* Input Field Animation */
.roi-input-group input {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.roi-input-group input:hover {
  border-color: rgba(229, 57, 53, 0.5);
}

.roi-input-group input:focus {
  transform: scale(1.02);
}

/* Footer Link Animations */
.footer-links a {
  position: relative;
  display: inline-block;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.footer-links a:hover {
  transform: translateX(5px);
  color: var(--brand);
}

/* Social Button Pop */
.footer-social .btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Smooth Counter Value */
.counter {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.kpis .tile:hover .counter {
  transform: scale(1.1);
}

/* Back to Top Button Animation */
.to-top {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 35px rgba(229, 57, 53, 0.4);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .phone {
    animation: none;
  }
}

/* ========== PROFESSIONAL SECTIONS ========== */

.section-professional {
  padding: 80px 0;
}

.section-professional.alt-bg {
  background: var(--surface);
}

/* Section Label */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand);
  margin-bottom: 12px;
  position: relative;
  padding-left: 24px;
}

.section-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 2px;
  background: var(--brand);
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  font-size: 18px;
  text-align: center;
}

/* Value Grid - for Overview section */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 48px;
}

.value-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.value-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(229, 57, 53, 0.1) 0%,
    rgba(229, 57, 53, 0.05) 100%
  );
  color: var(--brand);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-item:hover .value-icon {
  background: var(--brand);
  color: #fff;
  transform: scale(1.1);
}

.value-content h4 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.value-content p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .value-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Problem Grid - for Challenges section */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.problem-item {
  position: relative;
  padding: 32px 24px;
  border-left: 3px solid var(--brand);
  background: transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.problem-item:hover {
  background: color-mix(in oklab, var(--bg) 80%, var(--brand));
  border-left-width: 5px;
  padding-left: 22px;
}

.problem-number {
  display: block;
  font-size: 42px;
  font-weight: 900;
  color: var(--brand);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 16px;
  transition: opacity 0.3s ease;
}

.problem-item:hover .problem-number {
  opacity: 0.5;
}

.problem-item h4 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.problem-item p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .problem-item {
    padding: 24px 20px;
  }

  .problem-number {
    font-size: 32px;
  }
}

/* Professional Typography Enhancements */
.section-professional .section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

/* Clean Divider Line */
.section-professional::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), transparent);
  margin: 60px auto 0;
  opacity: 0;
}

/* ========== BENEFITS GRID ========== */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}

.benefit-column {
  padding: 20px 0;
}

.benefit-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.benefit-header svg {
  color: var(--brand);
}

.benefit-header h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.benefit-divider {
  width: 1px;
  height: 100%;
  min-height: 200px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(120, 130, 150, 0.2) 20%,
    rgba(120, 130, 150, 0.2) 80%,
    transparent
  );
}

.benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
  transition: transform 0.3s ease;
}

.benefit-list li:hover {
  transform: translateX(6px);
}

.benefit-icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(229, 57, 53, 0.15),
    rgba(229, 57, 53, 0.05)
  );
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .benefit-divider {
    width: 60%;
    height: 1px;
    min-height: auto;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(120, 130, 150, 0.2),
      transparent
    );
    margin: 0 auto;
  }
}

/* ========== BENEFITS GRID ========== */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}

.benefit-column {
  padding: 0;
}

.benefit-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(229, 57, 53, 0.15);
}

.benefit-header svg {
  color: var(--brand);
  flex-shrink: 0;
}

.benefit-header h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.benefit-divider {
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(120, 130, 150, 0.3),
    transparent
  );
  align-self: stretch;
}

.benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  color: var(--text);
  line-height: 1.5;
  transition: transform 0.3s ease;
}

.benefit-list li:hover {
  transform: translateX(6px);
}

.benefit-list .check-icon {
  flex-shrink: 0;
  color: var(--brand);
  margin-top: 2px;
}

.benefit-list span {
  color: var(--muted);
}

@media (max-width: 800px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .benefit-divider {
    width: 100%;
    height: 1px;
  }
}

/* ========== FEATURE DETAILS SECTION ========== */
.feature-details-section {
  background: linear-gradient(
    180deg,
    var(--bg) 0%,
    var(--surface) 50%,
    var(--bg) 100%
  );
  padding: 80px 0;
}

.feature-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-detail-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-detail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-700) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-detail-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--border-hover);
}

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

.feature-detail-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    color-mix(in oklab, var(--brand) 15%, transparent) 0%,
    color-mix(in oklab, var(--brand) 8%, transparent) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--brand);
  transition: all 0.3s ease;
}

.feature-detail-card:hover .feature-detail-icon {
  transform: scale(1.1);
  background: linear-gradient(
    135deg,
    color-mix(in oklab, var(--brand) 25%, transparent) 0%,
    color-mix(in oklab, var(--brand) 15%, transparent) 100%
  );
}

.feature-detail-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
}

.feature-detail-desc {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 18px;
  line-height: 1.5;
}

.feature-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.feature-detail-list .check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success) 0%, #16a34a 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .feature-details-grid {
    grid-template-columns: 1fr;
  }

  .feature-detail-card {
    padding: 22px;
  }
}

/* ========== UNIFIED SECTION STYLING ========== */

/* Features Section */
.features-section {
  background: linear-gradient(
    180deg,
    var(--bg) 0%,
    var(--surface) 50%,
    var(--bg) 100%
  );
  padding: 80px 0;
}

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

.feature-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-700) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--border-hover);
}

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

.feature-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    color-mix(in oklab, var(--brand) 15%, transparent) 0%,
    color-mix(in oklab, var(--brand) 8%, transparent) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--brand);
  transition: all 0.3s ease;
}

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

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
}

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

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Overview Section - Enhanced Value Items */
.section-professional {
  padding: 80px 0;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-item {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.value-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-700) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.value-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--border-hover);
}

.value-item:hover::before {
  opacity: 1;
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    color-mix(in oklab, var(--brand) 15%, transparent) 0%,
    color-mix(in oklab, var(--brand) 8%, transparent) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand);
  transition: all 0.3s ease;
}

.value-item:hover .value-icon {
  transform: scale(1.1);
}

.value-content h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}

.value-content p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

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

/* Problems Section - Enhanced */
.alt-bg {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-item {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.problem-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-700) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.problem-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--border-hover);
}

.problem-item:hover::before {
  opacity: 1;
}

.problem-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #e53935;
  color: white;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(229, 57, 53, 0.35);
}

.problem-item h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
}

.problem-item p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

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

/* How it Works Section - Enhanced Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  display: grid;
  gap: 16px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-700) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--border-hover);
}

.step:hover::before {
  opacity: 1;
}

.step .num {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 20px;
  transition: all 0.3s ease;
}

.step:hover .num {
  transform: scale(1.1);
}

.step h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.step p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* Section Label Styling */
.section-label {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--brand) 15%, transparent);
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

/* Coverage Section - Enhanced Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.chip {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.chip:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  background: color-mix(in oklab, var(--brand) 10%, var(--surface-elevated));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ========== ENHANCED PRICING/PLAN CARDS ========== */
.access-section {
  background: linear-gradient(
    180deg,
    var(--bg) 0%,
    var(--surface) 50%,
    var(--bg) 100%
  );
  padding: 80px 0;
}

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

.plan {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.plan::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-700) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.plan:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--border-hover);
}

.plan:hover::before {
  opacity: 1;
}

.plan h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
}

.plan .price {
  font-size: 16px;
  font-weight: 600;
  color: var(--brand);
  padding: 8px 16px;
  background: color-mix(in oklab, var(--brand) 10%, transparent);
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 20px;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
}

.plan ul li {
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan ul li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
}

.plan ul li:last-child {
  border-bottom: none;
}

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

/* ========== ENHANCED FAQ SECTION ========== */
.faq-section {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  padding: 80px 0;
}

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

.faq details {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq details:hover {
  border-color: var(--border-hover);
}

.faq details[open] {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.faq summary {
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  transition: all 0.3s ease;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  color: var(--brand);
  transition: transform 0.3s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq summary:hover {
  color: var(--brand);
}

.faq .note,
.faq ul {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.faq ul {
  list-style: none;
  margin: 0;
}

.faq ul li {
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.faq ul li::before {
  content: "→";
  color: var(--brand);
  font-weight: 700;
}

/* ========== CONTACT SECTION ========== */
#contact {
  padding: 80px 0;
}

#contact .section-head p {
  color: var(--muted);
}

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

.form {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
}

.form label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  display: block;
  margin-bottom: 8px;
}

.form input,
.form textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand) 20%, transparent);
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

#contact .surface {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
}

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

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

/* ========== TEAM SECTION ========== */
.team-section {
  background: linear-gradient(
    180deg,
    var(--bg) 0%,
    var(--surface) 50%,
    var(--bg) 100%
  );
  padding: 80px 0;
}

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

.team-section .section-head p {
  max-width: 500px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.member-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.member-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-700) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.member-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--border-hover);
}

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

.member-avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
}

.member-card .avatar {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid var(--border);
}

.member-icon {
  display: none;
  /* Hidden as per user request */
}

.member-body .member-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text);
}

.member-body .role {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  padding: 4px 12px;
  background: color-mix(in oklab, var(--brand) 10%, transparent);
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 12px;
}

.member-body .bio {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 14px;
}

.member-body .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.member-body .tag {
  font-size: 12px;
  padding: 4px 10px;
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ========== MOBILE RESPONSIVENESS IMPROVEMENTS ========== */
@media (max-width: 768px) {
  /* Disable parallax on mobile for better performance */
  .hero .container > div:first-child,
  .phone {
    transform: none !important;
  }

  /* Reduce padding for mobile */
  section {
    padding: 50px 0;
  }

  .section-head {
    margin-bottom: 20px;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  /* Reduce card hover effects on mobile */
  .feature-card:hover,
  .feature-detail-card:hover,
  .value-item:hover,
  .problem-item:hover,
  .step:hover,
  .plan:hover,
  .member-card:hover {
    transform: none;
    box-shadow: var(--shadow);
  }

  /* Better spacing on mobile */
  .container {
    padding: 0 16px;
  }

  /* Hero adjustments */
  .hero {
    padding: 30px 0 20px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

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

  .cta-row .btn {
    width: 100%;
    justify-content: center;
  }

  .kpis {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  /* Phone mock hide on very small screens */
  .phone {
    display: none;
  }

  @media (min-width: 500px) {
    .phone {
      display: block;
      width: 280px;
      margin-top: 30px;
    }
  }
}

/* Disable complex animations on low-performance devices */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .cursor-glow {
    display: none !important;
  }
}

/* Touch device optimizations */
@media (hover: none) {
  .feature-card:hover,
  .feature-detail-card:hover,
  .value-item:hover,
  .problem-item:hover,
  .step:hover,
  .plan:hover,
  .member-card:hover,
  .chip:hover {
    transform: none;
  }

  .feature-card::before,
  .feature-detail-card::before,
  .value-item::before,
  .problem-item::before,
  .step::before,
  .plan::before,
  .member-card::before {
    opacity: 0;
  }
}

/* ========== GO TO TOP BUTTON ========== */
.to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(229, 57, 53, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(229, 57, 53, 0.5);
}

.to-top:active {
  transform: translateY(-2px);
}

.to-top svg {
  width: 22px;
  height: 22px;
  transform: rotate(-90deg);
}

.to-top .flip {
  transform: rotate(-90deg);
}

@media (max-width: 768px) {
  .to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

/* ========== SLIDER NAVIGATION ARROWS ========== */
.slider {
  position: relative;
}

.slider-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 16px;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slider:hover .slider-arrows {
  opacity: 1;
}

.slider-arrows .arrow {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(229, 57, 53, 0.35);
  transition: box-shadow 0.3s ease;
  pointer-events: auto;
}

.slider-arrows .arrow:hover {
  box-shadow: 0 12px 32px rgba(229, 57, 53, 0.5);
}

.slider-arrows .arrow svg {
  width: 20px;
  height: 20px;
}

/* Right arrow points right - uses .flip class from HTML */
.slider-arrows .arrow.flip svg {
  transform: scaleX(-1);
}

.slider-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.slider-nav button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-nav button:hover {
  background: var(--brand-300);
}

.slider-nav button.active {
  background: var(--brand);
  width: 32px;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .slider-arrows .arrow {
    width: 40px;
    height: 40px;
  }

  .slider-arrows {
    padding: 0 8px;
  }
}
