:root {
  --color-neutral-100: #070814 !important;
  --color-neutral-200: #0c1020 !important;
  --color-neutral-300: #1b2440 !important;
  --color-neutral-400: #536179 !important;
  --color-neutral-500: #91a0b8 !important;
  --color-neutral-800: #d9f8ff !important;
  --color-neutral-900: #f4fdff !important;
  --color-primary-500: #00fffb !important;
  --color-primary-900: #101a34 !important;
  --color-positive: #4dff88 !important;
  --color-negative: #ff4e83 !important;
  --color-warning: #ffae00 !important;
  --lumin-bg: #080312;
  --lumin-panel: rgba(12, 16, 32, 0.86);
  --lumin-panel-strong: #0e1428;
  --lumin-line: rgba(175, 255, 255, 0.18);
  --lumin-cyan: #00fffb;
  --lumin-ice: #afffff;
  --lumin-violet: #7e03aa;
  --lumin-gold: #ffae00;
  --lumin-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

html,
body {
  background:
    radial-gradient(circle at 18% 12%, rgba(126, 3, 170, 0.24), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(0, 255, 251, 0.16), transparent 28%),
    linear-gradient(135deg, #050611 0%, #09061a 48%, #070c18 100%) !important;
  color: var(--lumin-ice) !important;
}

body {
  letter-spacing: 0 !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(rgba(175, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(175, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.08));
}

#root {
  position: relative;
  z-index: 1;
}

.lumin-logo {
  width: min(236px, 42vw);
  height: 56px;
  object-fit: contain;
  display: block;
}

header,
aside,
[class*="header"],
[class*="sidebar"],
[class*="mobileMenu"] {
  background: rgba(8, 3, 18, 0.82) !important;
  backdrop-filter: blur(22px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.2) !important;
  border-color: var(--lumin-line) !important;
  box-shadow: 0 1px 0 rgba(175, 255, 255, 0.1), var(--lumin-shadow) !important;
}

main,
[class*="dashboard"],
[class*="layout"],
[class*="page"],
[class*="content"] {
  color: var(--lumin-ice) !important;
}

[class*="card"],
[class*="slide"],
[class*="dropdown"],
[class*="modal"],
[class*="table"],
[class*="invoice"],
[class*="profile"],
[class*="tariff"],
[class*="plan"],
[class*="history"],
[class*="details"],
[class*="wrapper"] {
  background: linear-gradient(145deg, rgba(14, 20, 40, 0.94), rgba(8, 3, 18, 0.9)) !important;
  border: 1px solid var(--lumin-line) !important;
  box-shadow: var(--lumin-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

[class*="card"],
[class*="slide"],
[class*="dropdown"],
[class*="modal"],
[class*="plan"] {
  border-radius: 10px !important;
}

[class*="hero"] {
  background:
    linear-gradient(180deg, rgba(8, 3, 18, 0.48), rgba(8, 3, 18, 0.96)),
    radial-gradient(circle at 50% 24%, rgba(0, 255, 251, 0.22), transparent 28%),
    radial-gradient(circle at 20% 72%, rgba(255, 174, 0, 0.12), transparent 26%),
    url("/images/hero-bg.png?v=20260731-lumin2") center / cover no-repeat,
    linear-gradient(135deg, #070814 0%, #11051d 48%, #071a24 100%) !important;
}

h1, h2, h3, h4,
[class*="title"] {
  color: #f7feff !important;
  text-shadow: 0 0 18px rgba(0, 255, 251, 0.14);
}

p,
span,
li,
td,
th,
label,
[class*="text"],
[class*="description"],
[class*="subtitle"] {
  color: inherit;
}

[class*="navLink"],
a {
  color: #9fb6c8 !important;
}

[class*="navLink"]:hover,
[class*="active"],
a:hover {
  color: var(--lumin-cyan) !important;
}

input,
textarea,
select,
[class*="input"],
[contenteditable="true"] {
  background: rgba(175, 255, 255, 0.06) !important;
  color: var(--lumin-ice) !important;
  border: 1px solid rgba(175, 255, 255, 0.16) !important;
  border-radius: 8px !important;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25) !important;
}

input::placeholder,
textarea::placeholder {
  color: rgba(175, 255, 255, 0.48) !important;
}

button,
a[class*="button"],
[role="button"],
[class*="button"] {
  --border-color: linear-gradient(-45deg, #ffae00, #7e03aa, #00fffb);
  --border-width: 0.125em;
  --curve-size: 0.58em;
  --bg: #080312;
  --color: #afffff;
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  clip-path: polygon(0% var(--curve-size), var(--curve-size) 0, 100% 0, 100% calc(100% - var(--curve-size)), calc(100% - var(--curve-size)) 100%, 0 100%) !important;
  color: var(--color) !important;
  background: transparent !important;
  text-transform: none !important;
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.45) !important;
}

button::before,
a[class*="button"]::before,
[role="button"]::before,
[class*="button"]::before,
button::after,
a[class*="button"]::after,
[role="button"]::after,
[class*="button"]::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
}

button::before,
a[class*="button"]::before,
[role="button"]::before,
[class*="button"]::before {
  background: var(--border-color) !important;
  background-size: 300% 300% !important;
  animation: lumin-move-bg 5s ease infinite !important;
  z-index: -2 !important;
}

button::after,
a[class*="button"]::after,
[role="button"]::after,
[class*="button"]::after {
  background: var(--bg) !important;
  z-index: -1 !important;
  clip-path: polygon(var(--border-width) calc(var(--curve-size) + var(--border-width) * 0.5), calc(var(--curve-size) + var(--border-width) * 0.5) var(--border-width), calc(100% - var(--border-width)) var(--border-width), calc(100% - var(--border-width)) calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5)), calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5)) calc(100% - var(--border-width)), var(--border-width) calc(100% - var(--border-width))) !important;
  transition: clip-path 500ms !important;
}

button:hover::after,
button:focus-visible::after,
a[class*="button"]:hover::after,
[role="button"]:hover::after,
[class*="button"]:hover::after {
  clip-path: polygon(calc(100% - var(--border-width)) calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5)), calc(100% - var(--border-width)) var(--border-width), calc(100% - var(--border-width)) var(--border-width), calc(100% - var(--border-width)) calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5)), calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5)) calc(100% - var(--border-width)), calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5)) calc(100% - var(--border-width))) !important;
  transition: 200ms !important;
}

button:hover,
button:focus-visible,
a[class*="button"]:hover,
[role="button"]:hover,
[class*="button"]:hover {
  color: #ffffff !important;
  opacity: 1 !important;
  transform: translateY(-1px) !important;
}

@keyframes lumin-move-bg {
  0% { background-position: 31% 0%; }
  50% { background-position: 70% 100%; }
  100% { background-position: 31% 0%; }
}

table,
thead,
tbody,
tr {
  border-color: rgba(175, 255, 255, 0.12) !important;
}

img {
  filter: saturate(1.12) contrast(1.04);
}

svg path[fill="#003CFF"],
svg path[fill="#27294C"] {
  fill: var(--lumin-cyan) !important;
}

@media (max-width: 767px) {
  .lumin-logo {
    width: 174px;
    height: 44px;
  }

  [class*="card"],
  [class*="slide"],
  [class*="dropdown"],
  [class*="modal"],
  [class*="plan"] {
    border-radius: 8px !important;
  }
}

/* Light Lumin theme */
:root {
  --color-neutral-100: #ffffff !important;
  --color-neutral-200: #f6f8fc !important;
  --color-neutral-300: #e8edf6 !important;
  --color-neutral-400: #71809a !important;
  --color-neutral-500: #526078 !important;
  --color-neutral-800: #182036 !important;
  --color-neutral-900: #080c18 !important;
  --color-primary-500: #00b7ff !important;
  --color-primary-900: #eaf7ff !important;
  --lumin-bg: #ffffff;
  --lumin-panel: rgba(255, 255, 255, 0.92);
  --lumin-panel-strong: #ffffff;
  --lumin-line: rgba(16, 30, 58, 0.12);
  --lumin-cyan: #00c8ff;
  --lumin-ice: #11182c;
  --lumin-shadow: 0 16px 42px rgba(18, 33, 64, 0.12);
}

html,
body {
  background:
    linear-gradient(rgba(0, 183, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 3, 170, 0.026) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #f7faff 48%, #ffffff 100%) !important;
  background-size: 42px 42px, 42px 42px, auto !important;
  color: #11182c !important;
}

body::before {
  background:
    radial-gradient(circle at 14% 8%, rgba(0, 200, 255, 0.14), transparent 28%),
    radial-gradient(circle at 86% 14%, rgba(255, 174, 0, 0.12), transparent 26%) !important;
  mask-image: none !important;
}

header,
aside,
[class*="header"],
[class*="sidebar"],
[class*="mobileMenu"] {
  background: rgba(255, 255, 255, 0.88) !important;
  border-color: rgba(16, 30, 58, 0.1) !important;
  box-shadow: 0 1px 0 rgba(16, 30, 58, 0.08), 0 16px 42px rgba(18, 33, 64, 0.1) !important;
}

main,
[class*="dashboard"],
[class*="layout"],
[class*="page"],
[class*="content"] {
  color: #11182c !important;
}

[class*="card"],
[class*="slide"],
[class*="dropdown"],
[class*="modal"],
[class*="table"],
[class*="invoice"],
[class*="profile"],
[class*="tariff"],
[class*="plan"],
[class*="history"],
[class*="details"],
[class*="wrapper"] {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 0.94)) !important;
  border-color: rgba(16, 30, 58, 0.12) !important;
  box-shadow: 0 16px 42px rgba(18, 33, 64, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

[class*="hero"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.94)),
    radial-gradient(circle at 50% 28%, rgba(0, 200, 255, 0.14), transparent 28%),
    radial-gradient(circle at 20% 72%, rgba(255, 174, 0, 0.1), transparent 26%),
    url("/images/hero-bg.png?v=20260731-lumin2") center / cover no-repeat,
    linear-gradient(135deg, #ffffff 0%, #f5f8ff 48%, #ffffff 100%) !important;
}

h1, h2, h3, h4,
[class*="title"] {
  color: #0d1428 !important;
  text-shadow: none !important;
}

h1 {
  color: #0d1428 !important;
}

h1 * {
  color: inherit !important;
}

p,
span,
li,
td,
th,
label,
[class*="text"],
[class*="description"],
[class*="subtitle"] {
  color: #526078 !important;
}

[class*="navLink"],
a {
  color: #526078 !important;
}

[class*="navLink"]:hover,
[class*="active"],
a:hover {
  color: #008bd2 !important;
}

input,
textarea,
select,
[class*="input"],
[contenteditable="true"] {
  background: #f5f8ff !important;
  color: #11182c !important;
  border-color: rgba(16, 30, 58, 0.13) !important;
}

input::placeholder,
textarea::placeholder {
  color: rgba(82, 96, 120, 0.56) !important;
}

button,
a[class*="button"],
[role="button"],
[class*="button"] {
  --bg: #ffffff;
  --color: #11182c;
  color: var(--color) !important;
  box-shadow: 8px 8px 20px rgba(18, 33, 64, 0.14) !important;
}

button::after,
a[class*="button"]::after,
[role="button"]::after,
[class*="button"]::after {
  background: var(--bg) !important;
}

button:hover,
button:focus-visible,
a[class*="button"]:hover,
[role="button"]:hover,
[class*="button"]:hover {
  color: #008bd2 !important;
}

svg path[fill="#003CFF"],
svg path[fill="#27294C"] {
  fill: #00a6e8 !important;
}

section#faq [class*="_cta_"] {
  background-image: url("/images/help-image.png?v=20260731-lumin-help3") !important;
  background-size: cover !important;
  background-position: center right !important;
  background-repeat: no-repeat !important;
}

@media (max-width: 767px) {
  section#faq [class*="_cta_"] {
    background-size: cover !important;
    background-position: center right !important;
  }
}
