/* Visual upgrade layer: keeps existing copy and markup intact. */
:root {
  --ink: #0a1224;
  --ink-soft: #15233b;
  --surface: #ffffff;
  --surface-soft: #f5f8fb;
  --line-soft: rgba(16, 32, 60, .1);
  --brand-blue: #2563eb;
  --brand-teal: #10b6c9;
  --brand-mint: #21c999;
  --brand-warm: #f6a623;
  --radius-ui: 10px;
  --shadow-soft: 0 18px 50px rgba(15, 23, 42, .10);
  --shadow-strong: 0 28px 80px rgba(15, 23, 42, .22);
}

html {
  background: var(--surface-soft);
}

body {
  color: var(--ink-soft);
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f8fb 46%, #ffffff 100%);
  padding-bottom: 112px;
  text-rendering: optimizeLegibility;
}

a,
button,
.btn,
summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.btn:focus-visible {
  outline: 3px solid rgba(16, 182, 201, .36);
  outline-offset: 3px;
}

.container {
  width: min(1200px, calc(100% - 40px));
}

.topbar {
  background: #07111f;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.topbar .container {
  min-height: 42px;
}

.topbar .container > div:first-child,
.topbar-brand {
  letter-spacing: .01em;
}

.toplinks a {
  opacity: .88;
  transition: color .2s ease, opacity .2s ease;
}

.toplinks a:hover {
  color: #8ee7f2;
  opacity: 1;
}

.header {
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 10px 32px rgba(15, 23, 42, .06);
}

.brand img {
  width: clamp(138px, 14vw, 172px);
}

.desktop-menu {
  gap: 8px;
}

.desktop-menu a:not(.btn) {
  border-radius: 999px;
  padding: 10px 12px;
  color: #25324a;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.desktop-menu a:not(.btn):hover {
  background: rgba(37, 99, 235, .08);
  color: var(--brand-blue);
  transform: translateY(-1px);
}

.mobile-toggle {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #f1f5f9;
  font-size: 24px;
}

.btn {
  border-radius: 999px;
  min-height: 46px;
  box-shadow: none;
  letter-spacing: .01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-teal));
  box-shadow: 0 14px 34px rgba(37, 99, 235, .26);
}

.btn-primary:hover {
  box-shadow: 0 18px 42px rgba(37, 99, 235, .34);
}

.btn-dark {
  background: var(--ink);
}

.btn-light,
.btn-ghost {
  color: var(--ink);
}

.btn-ghost {
  border-color: var(--line-soft);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.hero {
  padding: clamp(64px, 7vw, 104px) 0 clamp(116px, 9vw, 146px);
  background:
    radial-gradient(circle at 8% 18%, rgba(16, 182, 201, .28), transparent 30%),
    radial-gradient(circle at 82% 10%, rgba(33, 201, 153, .18), transparent 24%),
    linear-gradient(135deg, #06111f 0%, #10213d 52%, #263f74 100%);
}

.hero::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-grid {
  gap: clamp(30px, 5vw, 64px);
}

.eyebrow,
.kicker,
.tag {
  letter-spacing: .08em;
}

.eyebrow {
  max-width: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
}

.hero h1 {
  font-size: clamp(40px, 5vw, 66px);
  max-width: 780px;
  letter-spacing: 0;
}

.hero h1 span {
  background: linear-gradient(135deg, #ffffff 0%, #8ee7f2 45%, #9cffd8 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero p {
  max-width: 720px;
}

.hero-bullets span {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .18);
  backdrop-filter: blur(12px);
}

.slider,
.demo-box,
.dark-card,
.all-in-card-v2,
.home-allin-clean-card {
  border-radius: 16px !important;
  box-shadow: var(--shadow-strong);
}

.slider {
  min-height: 500px;
  background:
    radial-gradient(circle at 18% 18%, rgba(16, 182, 201, .28), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(246, 166, 35, .16), transparent 26%),
    linear-gradient(145deg, #07111f 0%, #15345e 54%, #2563eb 100%);
}

.slide {
  min-height: 500px;
}

.slide h2 {
  letter-spacing: 0;
}

.slide-mini,
.mini-card,
.store-button,
details,
.step,
.feature-card,
.deliverable,
.service-card,
.plan,
.payment-card,
.trust-card {
  border-radius: var(--radius-ui) !important;
}

.trust-row {
  margin-top: -24px;
}

.trust-card {
  box-shadow: var(--shadow-soft);
}

section {
  padding: clamp(64px, 7vw, 92px) 0;
}

.light-section,
.plans-section {
  background:
    radial-gradient(circle at 9% 12%, rgba(16, 182, 201, .08), transparent 24%),
    linear-gradient(180deg, #f7faff 0%, #eef4fb 100%);
}

.section-head {
  margin-bottom: clamp(32px, 4vw, 48px);
}

.section-head h2,
.split-copy h2 {
  color: var(--ink);
  letter-spacing: 0;
}

.section-head p,
.split-copy p {
  color: #64748b;
}

.kicker {
  color: var(--brand-blue);
}

.feature-grid,
.deliverables,
.service-grid,
.plans-wrap,
.steps {
  gap: 18px;
}

.feature-card,
.deliverable,
.service-card,
.plan,
.step,
details {
  border-color: var(--line-soft);
  box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}

.feature-card:hover,
.service-card:hover,
.plan:hover,
.store-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 54px rgba(15, 23, 42, .12);
}

.icon,
.num {
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(16, 182, 201, .16));
  color: var(--brand-blue);
}

.plan {
  overflow: visible;
}

.plan.featured {
  border-color: rgba(37, 99, 235, .5);
  box-shadow: 0 22px 64px rgba(37, 99, 235, .16);
}

.tag.hot {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-teal));
}

.main-price strong,
.price strong,
.plan h3,
.feature-card h3,
.deliverable h3,
.service-card h3,
.step h3 {
  color: var(--ink);
}

.features li::before,
.checklist li::before {
  color: var(--brand-teal);
}

.checklist li::before {
  background: rgba(16, 182, 201, .12);
}

.price-block {
  border-color: var(--line-soft);
  background: #f8fbff;
}

.demo-box {
  background: linear-gradient(145deg, #07111f, #17345d);
  padding: 14px;
}

.demo-box iframe,
.demo-box video {
  border-radius: 10px;
}

.phones-stage,
.phone-stage {
  isolation: isolate;
}

.phones-glow,
.phone-stage::before {
  background:
    radial-gradient(circle, rgba(16, 182, 201, .26), transparent 58%),
    radial-gradient(circle at 34% 18%, rgba(37, 99, 235, .24), transparent 48%),
    radial-gradient(circle at 72% 72%, rgba(246, 166, 35, .12), transparent 44%);
}

.phone-img,
.premium-phone {
  filter: drop-shadow(0 34px 42px rgba(15, 23, 42, .34));
}

.store-section,
.bonus,
.cta,
.home-allin-clean {
  background:
    radial-gradient(circle at 10% 10%, rgba(16, 182, 201, .20), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(246, 166, 35, .12), transparent 24%),
    linear-gradient(135deg, #07111f 0%, #13294b 58%, #204f8f 100%) !important;
}

.bonus .dark-card {
  background:
    linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.16);
}

.payment-section {
  background: #ffffff;
}

.payment-card {
  max-width: 780px !important;
  border-color: var(--line-soft);
  background:
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.payment-card img {
  border-radius: 8px !important;
}

.app-bottom-nav {
  display: grid;
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  border-color: var(--line-soft);
  box-shadow: 0 16px 46px rgba(15, 23, 42, .18);
  width: min(650px, calc(100% - 24px));
}

.sumas-pay-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 14%, rgba(246, 166, 35, .14), transparent 26%),
    radial-gradient(circle at 92% 8%, rgba(33, 201, 153, .14), transparent 24%),
    linear-gradient(135deg, #07111f 0%, #10213d 52%, #17345d 100%);
  color: #fff;
}

.sumas-pay-section .section-head h2,
.sumas-pay-section .section-head p {
  color: #fff;
}

.sumas-pay-section .section-head p {
  color: rgba(255, 255, 255, .78);
}

.sumas-pay-grid {
  display: grid;
  grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr);
  gap: 22px;
  align-items: stretch;
}

.sumas-logo-card,
.sumas-info-card {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 22px 58px rgba(0, 0, 0, .2);
  backdrop-filter: blur(16px);
}

.sumas-logo-card {
  display: grid;
  place-items: center;
  padding: 24px;
}

.sumas-logo-card img {
  width: min(190px, 70%);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}

.sumas-info-card {
  padding: clamp(24px, 4vw, 38px);
  display: grid;
  gap: 18px;
}

.sumas-info-card h3 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.02;
  margin: 0;
  color: #fff;
}

.sumas-info-card p {
  margin: 0;
  color: rgba(255, 255, 255, .80);
  font-size: 17px;
}

.sumas-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sumas-benefit {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .09);
  padding: 16px;
}

.sumas-benefit strong {
  display: block;
  color: #fff;
  margin-bottom: 4px;
}

.sumas-benefit span {
  display: block;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.42;
}

.sumas-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.app-bottom-nav a {
  border-radius: 12px;
}

.app-bottom-nav a.active,
.app-bottom-nav a:hover {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-teal));
}

footer {
  background: #07111f;
}

/* Repair cramped home cards left by previous patch layers. */
.home-fixed-section .home-four-grid,
.home-fixed-section .service-grid.home-four-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.home-fixed-section .home-fixed-card,
.home-fixed-section .service-card.home-fixed-card {
  min-height: 210px !important;
  padding: 22px !important;
  border-radius: var(--radius-ui) !important;
}

.home-fixed-section .home-fixed-card .icon {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  font-size: 20px !important;
}

.home-fixed-section .home-fixed-card h3 {
  font-size: 19px !important;
}

.home-fixed-section .home-fixed-card p {
  font-size: 14px !important;
  line-height: 1.52 !important;
}

@media (max-width: 1020px) {
  .desktop-menu.open {
    display: grid;
    gap: 8px;
    padding: 16px 20px 20px;
    box-shadow: 0 22px 48px rgba(15, 23, 42, .12);
  }

  .desktop-menu.open a {
    width: 100%;
  }

  .hero-grid,
  .split {
    gap: 34px;
  }

  .plans-wrap,
  .feature-grid,
  .deliverables,
  .service-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sumas-pay-grid {
    grid-template-columns: 1fr;
  }

  .home-fixed-section .home-four-grid,
  .home-fixed-section .service-grid.home-four-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, 1200px);
  }

  body {
    padding-bottom: 112px !important;
  }

  .topbar {
    padding: 12px 0 !important;
  }

  .topbar .container {
    gap: 8px !important;
  }

  .hero {
    padding: 52px 0 44px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 40px);
    line-height: 1.04;
  }

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

  .hero-actions .btn,
  .cta .btn,
  .home-fixed-actions .btn {
    width: 100%;
  }

  .slider,
  .slide {
    min-height: 440px;
  }

  .slide {
    padding: 26px;
  }

  .slide h2 {
    font-size: clamp(30px, 10vw, 40px);
  }

  .plans-wrap,
  .plans-wrap.two,
  .feature-grid,
  .deliverables,
  .service-grid,
  .steps,
  .trust-card,
  .mini-grid,
  .home-fixed-section .home-four-grid,
  .home-fixed-section .service-grid.home-four-grid {
    grid-template-columns: 1fr !important;
  }

  .trust-row {
    margin-top: 0;
  }

  .phones-stage,
  .phone-stage {
    min-height: 390px;
  }

  .phone-img {
    max-height: 350px;
  }

  .phone-ios {
    right: 0;
  }

  .phone-android {
    left: 0;
  }

  .demo-box iframe,
  .demo-box video {
    height: 360px;
  }

  .app-bottom-nav {
    display: grid;
    width: calc(100% - 18px);
    bottom: 8px;
    padding: 7px;
    gap: 4px;
  }

  .app-bottom-nav a {
    font-size: 10px;
    padding: 8px 3px;
  }

  iframe[src*="tawk.to"],
  iframe[src*="embed.tawk.to"],
  iframe[title*="chat"],
  iframe[title*="Chat"],
  div[id*="tawk"],
  div[class*="tawk"] {
    right: 16px !important;
    bottom: 152px !important;
    z-index: 2147483002 !important;
  }

  .payment-card {
    max-width: 100% !important;
  }

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

  .sumas-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
