:root {
  color-scheme: dark;
  --ink: #0b1220;
  --ink-soft: #101b2c;
  --panel: #121f32;
  --panel-light: #19283c;
  --line: rgba(157, 181, 211, .16);
  --text: #f1f6fc;
  --muted: #9aabc0;
  --cyan: #24b9f4;
  --blue: #168de0;
  --violet: #9298ff;
  --mono: "DM Mono", Consolas, monospace;
  --body: "DM Sans", Arial, sans-serif;
  --display: "Manrope", "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 64px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(157,181,211,.1); background: rgba(11,18,32,.9); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: .02em; }
.brand img { width: 36px; height: 36px; object-fit: contain; border-radius: 9px; }
.main-nav { display: flex; align-items: center; gap: 32px; color: #bac8d9; font-size: 12px; font-weight: 600; }
.main-nav > a:not(.nav-cta):hover, .site-footer a:hover { color: var(--cyan); }
.nav-cta { display: inline-flex; align-items: center; gap: 12px; padding: 11px 15px; border: 1px solid rgba(36,185,244,.35); border-radius: 5px; color: var(--text); background: transparent; font-size: 12px; font-weight: 600; cursor: pointer; }
.nav-cta span { color: var(--cyan); }
.menu-toggle { display: none; }

.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 77% 39%, rgba(21,108,178,.18), transparent 34%), linear-gradient(180deg,#0d1727 0%,var(--ink) 100%); }
.hero-layout { min-height: 650px; display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 62px; padding-top: 54px; padding-bottom: 55px; }
.hero-copy { position: relative; z-index: 1; padding-bottom: 8px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: #9fb4c9; font-family: var(--mono); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(36,185,244,.12); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); letter-spacing: -.055em; }
h1 { margin-bottom: 20px; font-size: clamp(54px, 5.4vw, 72px); line-height: 1.02; font-weight: 700; }
h1 span, .section-heading h2 span, .contact-copy h2 span { color: var(--cyan); }
.hero-description { max-width: 450px; margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; margin-top: 29px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 18px; border: 1px solid transparent; border-radius: 5px; font-size: 12px; font-weight: 700; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: #f1f6fc; color: #0b1220; }
.button-primary:hover { background: #d8edfa; }
.button-primary span { color: #058bd0; font-size: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: #d0d9e5; font-size: 12px; font-weight: 700; }
.text-link span { color: var(--cyan); font-size: 16px; }
.hero-footnote { display: flex; align-items: center; gap: 10px; margin-top: 38px; color: #8496aa; font-size: 11px; }
.footnote-icon { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: #d7e7f5; }
.product-stage { position: relative; min-width: 0; padding: 23px 0; }
.stage-glow { position: absolute; inset: 7% -8% 4% 5%; border-radius: 50%; background: rgba(13,140,222,.12); filter: blur(55px); }
.stage-window { position: relative; overflow: hidden; border: 1px solid rgba(94,153,207,.3); border-radius: 11px; background: #101b2b; box-shadow: 0 32px 90px rgba(0,0,0,.4), 0 0 0 7px rgba(68,125,174,.045); transform: perspective(1400px) rotateY(-4deg) rotateX(1deg); }
.window-bar { height: 39px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 13px; border-bottom: 1px solid var(--line); color: #9aacc0; font-family: var(--mono); font-size: 9px; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #405269; }
.window-dots i:first-child { background: #ef6f6c; }.window-dots i:nth-child(2) { background: #e8bd5c; }.window-dots i:nth-child(3) { background: #55c994; }
.window-live { display: inline-flex; align-items: center; gap: 6px; color: #b7d5e9; }
.window-live i { width: 5px; height: 5px; border-radius: 50%; background: #41d6a0; }
.hero-screenshot { display: block; position: relative; width: 100%; background: #10151d; border: none; padding: 0; cursor: pointer; text-align: inherit; }
.hero-screenshot img { width: 100%; height: auto; }
.hero-zoom-hint { position: absolute; bottom: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 6px; border: 1px solid rgba(36, 185, 244, 0.4); background: rgba(11, 18, 32, 0.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #d8edf8; font-family: var(--mono); font-size: 10px; font-weight: 500; opacity: 0; transform: translateY(4px); transition: opacity 0.2s, transform 0.2s; }
.hero-screenshot:hover .hero-zoom-hint { opacity: 1; transform: translateY(0); }
.stage-caption { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 16px; color: #8fa2b8; font-family: var(--mono); font-size: 10px; }
.stage-caption span, .section-index { color: var(--cyan); }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0d1726; }
.strip-inner { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #a5b4c7; font-family: var(--mono); font-size: 9px; letter-spacing: .025em; }
.strip-separator { width: 4px; height: 4px; flex: 0 0 4px; border-radius: 50%; background: var(--cyan); }
.section { padding: 112px 0; }
.section-heading { max-width: 680px; }
.section-heading .eyebrow { margin-bottom: 19px; }
.section-heading h2, .contact-copy h2 { margin-bottom: 17px; font-size: clamp(38px, 4.6vw, 56px); line-height: 1.08; font-weight: 700; }
.section-heading > p:last-child { max-width: 560px; margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 48px; }
.feature-card { min-height: 279px; padding: 25px 24px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(145deg,rgba(23,38,57,.94),rgba(15,26,41,.92)); }
.feature-card-dark { background: linear-gradient(145deg,rgba(18,76,117,.42),rgba(15,26,41,.94)); }
.feature-icon { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 25px; border: 1px solid currentColor; border-radius: 8px; font-size: 21px; }
.icon-blue { color: #55b8ff; background: rgba(31,141,221,.11); }.icon-cyan { color: #45d6d0; background: rgba(27,196,178,.1); }.icon-violet { color: #a4a4ff; background: rgba(126,117,255,.1); }
.card-index, .license-kicker { margin-bottom: 8px; color: #8095ac; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.feature-card h3 { margin-bottom: 10px; font-family: var(--display); font-size: 17px; letter-spacing: -.025em; }
.feature-card > p:not(.card-index) { min-height: 66px; margin-bottom: 15px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.feature-card > a { display: inline-flex; gap: 9px; align-items: center; color: #c6d7e8; font-size: 11px; font-weight: 700; }
.feature-card > a span { color: var(--cyan); }

.gallery-section { background: #f2f6fa; color: #101a29; }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.gallery-heading .section-heading > p:last-child { display: none; }
.gallery-heading .eyebrow { color: #52677c; }
.gallery-heading h2 { margin-bottom: 0; }
.gallery-heading h2 span { color: #078fd2; }
.gallery-heading > p { max-width: 320px; margin: 0 0 5px; color: #65778b; font-size: 12px; line-height: 1.8; }
.gallery-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.gallery-card { min-width: 0; overflow: hidden; border: 1px solid rgba(16,26,41,.12); border-radius: 8px; background: white; box-shadow: 0 10px 30px rgba(24,51,79,.08); display: flex; flex-direction: column; text-align: left; padding: 0; cursor: pointer; width: 100%; position: relative; }
.gallery-card-large { grid-row: span 2; }
.gallery-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; background: #111a27; transition: transform .35s; }
.gallery-card-large img { height: calc(100% - 54px); min-height: 315px; aspect-ratio: auto; object-fit: contain; }
.gallery-card:hover img { transform: scale(1.02); }
.gallery-label { min-height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 16px; color: #152236; font-size: 12px; font-weight: 700; width: 100%; box-sizing: border-box; }
.gallery-label > span { color: #078fd2; font-family: var(--mono); font-size: 9px; }
.gallery-expand-icon { margin-left: auto; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; color: #078fd2; background: rgba(7, 143, 210, 0.08); transition: background 0.2s, color 0.2s, transform 0.2s; }
.gallery-card:hover .gallery-expand-icon { background: #078fd2; color: #fff; transform: scale(1.08); }

.demo-band { padding: 60px 0; background: linear-gradient(110deg,#103552,#0e2439 62%,#111b2e); border-top: 1px solid rgba(72,174,231,.19); border-bottom: 1px solid rgba(72,174,231,.19); }
.demo-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.demo-band .eyebrow { margin-bottom: 13px; }
.demo-band h2 { margin-bottom: 9px; font-size: 31px; }
.demo-band p:not(.eyebrow) { max-width: 620px; margin-bottom: 0; color: #b0c1d1; font-size: 13px; line-height: 1.7; }
.button-light { flex: 0 0 auto; border-color: rgba(115,195,239,.28); background: #eaf6fc; color: #0b1a2a; }
.button-light span { color: #058bd0; font-size: 16px; }

.licenses { background: radial-gradient(ellipse at 50% 33%,rgba(29,107,166,.1),transparent 52%),var(--ink); }
.section-heading-center { max-width: 700px; margin: 0 auto; text-align: center; }
.section-heading-center .eyebrow { justify-content: center; }
.section-heading-center > p:last-child { margin-right: auto; margin-left: auto; }
.license-grid { display: grid; grid-template-columns: repeat(3,1fr); align-items: stretch; gap: 15px; margin-top: 48px; }
.license-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 26px 24px 22px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(160deg,#152339,#101a2a); }
.license-card-featured { border-color: rgba(36,185,244,.6); background: linear-gradient(155deg,rgba(18,66,99,.65),#101a2a 58%); box-shadow: 0 14px 45px rgba(7,123,190,.11); }
.popular-badge { position: absolute; top: -11px; right: 17px; padding: 5px 9px; border-radius: 3px; background: var(--cyan); color: #061725; font-family: var(--mono); font-size: 8px; font-weight: 500; letter-spacing: .08em; }
.license-card h3 { min-height: 27px; margin-bottom: 12px; font-family: var(--display); font-size: 18px; letter-spacing: -.035em; }
.license-price { margin-bottom: 11px; font-family: var(--display); font-size: 39px; font-weight: 700; letter-spacing: -.06em; }
.license-price span { color: #98aabd; font-family: var(--body); font-size: 11px; font-weight: 500; letter-spacing: 0; }
.license-description { min-height: 52px; margin-bottom: 15px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.license-card ul { display: grid; gap: 11px; margin: 0 0 25px; padding: 17px 0 0; border-top: 1px solid var(--line); list-style: none; }
.license-card li { display: flex; gap: 10px; align-items: start; color: #d3deea; font-size: 11px; line-height: 1.45; }
.license-card li span { color: var(--cyan); font-weight: 700; }
.license-button { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding: 0 12px; border: 1px solid rgba(151,178,207,.23); border-radius: 5px; color: #dce8f3; font-size: 10px; font-weight: 700; background: transparent; cursor: pointer; width: 100%; text-align: left; }
.license-button span { color: var(--cyan); font-size: 15px; }
.license-button:hover { border-color: rgba(36,185,244,.62); }
.license-button-primary { border-color: var(--cyan); background: var(--cyan); color: #041522; }
.license-button-primary span { color: #041522; }
.license-button-primary:hover { background: #60ccf5; }
.license-note { margin: 22px 0 0; color: #8092a7; text-align: center; font-size: 10px; }

.contact-section { padding: 26px 0 90px; }
.contact-card { position: relative; min-height: 335px; display: flex; align-items: center; justify-content: space-between; overflow: hidden; padding: 46px 54px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(110deg,#15253a,#101b2d 65%,#102c43); }
.contact-copy { position: relative; z-index: 1; max-width: 540px; }
.contact-copy .eyebrow { margin-bottom: 15px; }
.contact-copy h2 { margin-bottom: 12px; }
.contact-copy > p:not(.eyebrow) { margin-bottom: 19px; color: #a8b8c9; font-size: 12px; line-height: 1.7; }
.contact-mark { position: absolute; right: 5%; display: grid; justify-items: center; gap: 12px; color: rgba(208,230,247,.16); font-family: var(--mono); font-size: 13px; }
.contact-mark img { width: clamp(130px,19vw,230px); opacity: .14; filter: grayscale(1); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #8294a9; font-size: 10px; }
.footer-brand { color: var(--text); font-size: 11px; }
.footer-brand img { width: 27px; height: 27px; }

@media (min-width: 1440px) { .hero-layout { min-height: 720px; } }
@media (max-width: 1000px) {
  .hero-layout { grid-template-columns: .9fr 1.1fr; gap: 32px; min-height: 580px; }
  h1 { font-size: clamp(48px,6.4vw,64px); }
  .section { padding: 88px 0; }
  .feature-grid, .license-grid { gap: 11px; }
  .feature-card, .license-card { padding-right: 18px; padding-left: 18px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .nav-wrap { min-height: 66px; }
  .menu-toggle { width: 40px; height: 40px; display: grid; align-content: center; justify-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: var(--text); cursor: pointer; }
  .menu-toggle > span:not(.sr-only) { width: 16px; height: 1px; background: #d5e4f2; }
  .main-nav { position: absolute; top: 65px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 8px 20px 17px; border-bottom: 1px solid var(--line); background: #0b1220; }
  .main-nav.is-open { display: flex; flex-direction: column; }
  .main-nav > a:not(.nav-cta) { padding: 13px 0; border-bottom: 1px solid rgba(157,181,211,.1); }
  .nav-cta { justify-content: center; margin-top: 12px; }
  .hero-layout { grid-template-columns: 1fr; gap: 25px; min-height: 0; padding-top: 55px; padding-bottom: 45px; }
  .hero-copy { max-width: 590px; }
  h1 { font-size: clamp(53px,10vw,68px); }
  .hero-description { max-width: 530px; font-size: 14px; }
  .product-stage { width: 100%; max-width: 700px; margin: 0 auto; padding: 12px 0 0; }
  .stage-window { transform: none; }
  .strip-inner { min-height: 60px; flex-wrap: wrap; justify-content: center; gap: 10px 15px; padding: 14px 0; font-size: 8px; }
  .feature-grid { grid-template-columns: 1fr; margin-top: 34px; }
  .feature-card { min-height: 0; padding: 22px; }
  .feature-card > p:not(.card-index) { min-height: 0; }
  .gallery-heading { align-items: start; flex-direction: column; gap: 15px; margin-bottom: 26px; }
  .gallery-heading > p { max-width: 480px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card-large { grid-row: auto; }
  .gallery-card-large img { height: auto; min-height: 0; aspect-ratio: 16/9; object-fit: cover; }
  .demo-band-inner { align-items: flex-start; flex-direction: column; }
  .license-grid { grid-template-columns: 1fr; gap: 16px; max-width: 530px; margin-right: auto; margin-left: auto; }
  .license-card { padding: 25px 23px 20px; }
  .license-card h3, .license-description { min-height: 0; }
  .license-card ul { gap: 10px; }
  .contact-card { min-height: 0; padding: 36px 27px; }
  .contact-mark { right: -30px; opacity: .55; }
  .contact-mark img { width: 155px; }
  .footer-inner { flex-wrap: wrap; justify-content: space-between; padding: 16px 0; }
  .footer-inner > span { order: 3; width: 100%; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 36px); }
  .hero-layout { padding-top: 43px; }
  .eyebrow { font-size: 9px; }
  h1 { font-size: 53px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
  .hero-actions .button { width: 100%; justify-content: space-between; }
  .hero-footnote { margin-top: 26px; font-size: 10px; }
  .section { padding: 72px 0; }
  .section-heading h2, .contact-copy h2 { font-size: clamp(32px, 10vw, 39px); }
  .window-bar { font-size: 8px; }
  .window-live { display: none; }
  .strip-separator { display: none; }
  .strip-inner { display: grid; grid-template-columns: 1fr 1fr; text-align: center; }
  .gallery-label { min-height: 48px; padding: 0 12px; font-size: 11px; }
  .demo-band { padding: 43px 0; }
  .demo-band h2 { font-size: 27px; }
  .demo-band .button { width: 100%; justify-content: space-between; }
  .contact-card { padding: 30px 21px; }
  .contact-mark { right: -53px; opacity: .36; }
  .contact-copy { max-width: 100%; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner > span { order: initial; }
}
.footer-email-link { font: inherit; font-size: 10px; color: #8294a9; background: none; border: none; padding: 0; cursor: pointer; transition: color .2s; }
.footer-email-link:hover { color: var(--cyan); }

/* Contact Modal Styles */
body.modal-open {
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 11, 20, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 530px;
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.is-open .modal-container {
  transform: translateY(0) scale(1);
}

.modal-window {
  background: linear-gradient(165deg, #132238 0%, #0d1727 100%);
  border: 1px solid rgba(94, 153, 207, 0.28);
  border-radius: 12px;
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(36, 185, 244, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 18, 32, 0.5);
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 6px;
}

.modal-title {
  margin: 0;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.modal-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: #9aacc0;
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.modal-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(36, 185, 244, 0.4);
}

.modal-body {
  padding: 22px 24px;
  overflow-y: auto;
  max-height: calc(85vh - 75px);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #cad8e6;
}

.required-badge {
  color: var(--cyan);
}

.optional-label {
  font-size: 11px;
  font-weight: 400;
  color: #7b8e9f;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(157, 181, 211, 0.22);
  border-radius: 6px;
  background: rgba(11, 18, 32, 0.85);
  color: var(--text);
  font-family: var(--body);
  font-size: 13px;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(36, 185, 244, 0.18);
  background: rgba(11, 18, 32, 0.98);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #5c6e82;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2324b9f4' 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");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group select option {
  background: #0d1727;
  color: #f1f6fc;
  padding: 8px;
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.5;
}

.email-notice-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(36, 185, 244, 0.35);
  border-radius: 6px;
  background: rgba(36, 185, 244, 0.08);
  color: #a6ddfb;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.4;
}

.email-notice-box svg {
  flex-shrink: 0;
  color: var(--cyan);
}

.license-group {
  animation: modalSlideIn 0.25s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-actions {
  margin-top: 4px;
}

.modal-btn-submit {
  width: 100%;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  cursor: pointer;
}

/* Success / confirmation view */
.modal-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 4px 6px;
}

.success-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(36, 185, 244, 0.12);
  border: 1px solid rgba(36, 185, 244, 0.4);
  color: var(--cyan);
  box-shadow: 0 0 25px rgba(36, 185, 244, 0.22);
}

.modal-success h3 {
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 21px;
  color: var(--text);
}

.success-desc {
  max-width: 400px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.success-desc strong {
  color: var(--cyan);
  word-break: break-all;
}

.success-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.success-btn {
  width: 100%;
  justify-content: center;
  gap: 10px;
  font-size: 12.5px;
  cursor: pointer;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: #dce8f3;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(36, 185, 244, 0.4);
}

.reset-form-link {
  font-size: 11.5px;
  color: #8fa2b8;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.reset-form-link:hover {
  color: var(--cyan);
}

@media (max-width: 480px) {
  .modal-overlay {
    padding: 12px;
  }
  .modal-header {
    padding: 16px 18px;
  }
  .modal-body {
    padding: 18px;
  }
  .modal-title {
    font-size: 17px;
  }
}

/* Lightbox Image Viewer Styles */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.lightbox-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 16, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  background: #0d1727;
  border: 1px solid rgba(94, 153, 207, 0.3);
  border-radius: 12px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(36, 185, 244, 0.15);
  overflow: hidden;
  transform: scale(0.96) translateY(12px);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-overlay.is-open .lightbox-container {
  transform: scale(1) translateY(0);
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 18, 32, 0.85);
}

.lightbox-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lightbox-badge {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--cyan);
  padding: 3px 8px;
  border: 1px solid rgba(36, 185, 244, 0.3);
  border-radius: 4px;
  background: rgba(36, 185, 244, 0.08);
  font-weight: 500;
  letter-spacing: 0.06em;
}

.lightbox-title {
  margin: 0;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.lightbox-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: #9aacc0;
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.lightbox-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(36, 185, 244, 0.5);
}

.lightbox-body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
  background: #09101c;
  min-height: 280px;
}

.lightbox-image-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image-wrap img {
  max-width: 100%;
  max-height: calc(82vh - 120px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transition: opacity 0.18s ease;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(157, 181, 211, 0.25);
  border-radius: 50%;
  background: rgba(11, 18, 32, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #dce8f3;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s;
}

.lightbox-nav:hover {
  background: rgba(36, 185, 244, 0.2);
  border-color: var(--cyan);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  background: rgba(11, 18, 32, 0.85);
  text-align: center;
}

.lightbox-caption {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 760px) {
  .lightbox-prev {
    left: 10px;
    width: 36px;
    height: 36px;
  }
  .lightbox-next {
    right: 10px;
    width: 36px;
    height: 36px;
  }
  .lightbox-header {
    padding: 12px 14px;
  }
  .lightbox-title {
    font-size: 14px;
  }
  .lightbox-body {
    padding: 12px 8px;
  }
  .lightbox-image-wrap img {
    max-height: calc(75vh - 100px);
  }
}

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