:root {
  --bg: #eef3f7;
  --bg-elevated: rgba(255, 255, 255, 0.94);
  --bg-strong: #ffffff;
  --text: #14253d;
  --muted: #60748a;
  --primary: #0f5fb8;
  --primary-strong: #114a8c;
  --accent: #ffb347;
  --line: rgba(20, 37, 61, 0.12);
  --shadow: 0 16px 40px rgba(16, 27, 42, 0.08);
  --shadow-strong: 0 24px 60px rgba(16, 27, 42, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 999px;
  --max-width: 1180px;
  --transition: 240ms ease;
}

body.dark-mode {
  --bg: #061120;
  --bg-elevated: rgba(10, 22, 42, 0.82);
  --bg-strong: #0b1830;
  --text: #e9f4ff;
  --muted: #98b3cf;
  --primary: #52a5ff;
  --primary-strong: #7ac5ff;
  --accent: #62efff;
  --line: rgba(116, 190, 255, 0.16);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  --shadow-strong: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(74, 224, 255, 0.3), transparent 34%),
    radial-gradient(circle at top right, rgba(20, 119, 255, 0.22), transparent 28%),
    linear-gradient(180deg, #f8fbfd 0%, var(--bg) 44%, #ffffff 100%);
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}

body.dark-mode {
  background:
    radial-gradient(circle at top left, rgba(74, 224, 255, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(20, 119, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #05101d 0%, var(--bg) 60%, #08131f 100%);
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  overflow-x: hidden;
}

.section {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  padding: 5.5rem 0;
}

.header {
  position: relative;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-elevated);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(20, 119, 255, 0.18);
}

.brand-text {
  display: grid;
  gap: 0.15rem;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.brand-text small {
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links a {
  color: var(--muted);
  transition: color var(--transition), transform var(--transition);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 99px;
  transition: transform var(--transition), opacity var(--transition);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--line);
  background: var(--bg-strong);
  border-radius: 18px;
  color: var(--text);
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition);
}

.theme-toggle:hover {
  transform: translateY(-1px);
}

.theme-toggle-track {
  position: relative;
  width: 48px;
  height: 28px;
  background: linear-gradient(135deg, rgba(20, 119, 255, 0.28), rgba(74, 224, 255, 0.28));
  border-radius: 99px;
}

.theme-toggle-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-strong);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
  transition: transform var(--transition);
}

body.dark-mode .theme-toggle-thumb {
  transform: translateX(20px);
}

.theme-label {
  font-size: 0.95rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
  padding-top: 4rem;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 18px;
  background: rgba(74, 224, 255, 0.14);
  border: 1px solid rgba(74, 224, 255, 0.24);
  color: var(--primary-strong);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  line-height: 1.05;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.7rem);
  max-width: 12ch;
}

.hero-subtitle,
.section-heading p,
.glass-card p,
.service-card p,
.why-card p,
.news-feature p,
.news-card p,
.testimonial-card p,
.contact-panel p,
.form-note {
  color: var(--muted);
  line-height: 1.75;
}

.hero-subtitle {
  font-size: 1.1rem;
  max-width: 58ch;
  margin: 1.25rem 0 2rem;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.9rem 1.3rem;
  border-radius: 18px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 14px 32px rgba(20, 119, 255, 0.28);
}

.button-secondary {
  background: var(--bg-strong);
  border-color: var(--line);
  color: var(--text);
}

.button-small {
  min-height: 44px;
  padding: 0.75rem 1rem;
  width: fit-content;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.highlight-card,
.glass-card,
.service-card,
.why-card,
.news-feature,
.news-card,
.testimonial-card,
.contact-panel,
.contact-form {
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.highlight-card {
  padding: 1.15rem;
  border-radius: var(--radius-md);
}

.highlight-card strong,
.news-feature h3,
.news-card h3,
.why-card h3,
.contact-panel h3,
.service-card h3,
.glass-card h3 {
  display: block;
  margin-bottom: 0.5rem;
}

.highlight-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.hero-panel {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  align-content: center;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.8), rgba(223, 246, 255, 0.44));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

body.dark-mode .hero-panel {
  background: linear-gradient(180deg, rgba(10, 22, 42, 0.96), rgba(11, 24, 40, 0.94));
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -10% -12% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(74, 224, 255, 0.28), transparent 68%);
}

.hero-logo {
  width: min(100%, 440px);
  justify-self: center;
  filter: drop-shadow(0 20px 44px rgba(20, 119, 255, 0.2));
}

.hero-stats {
  display: grid;
  gap: 0.9rem;
}

.hero-stats div {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.54);
}

body.dark-mode .hero-stats div {
  background: rgba(255, 255, 255, 0.03);
}

.hero-stats strong {
  display: block;
  margin-bottom: 0.3rem;
}

.hero-stats span {
  color: var(--muted);
}

.website-builder {
  --builder-blue: #0d6efd;
  --builder-cyan: #04bfd9;
  --builder-surface: rgba(255, 255, 255, 0.82);
  --builder-line: rgba(13, 110, 253, 0.14);
  --builder-shadow: 0 22px 60px rgba(12, 72, 138, 0.13);
  width: min(1480px, calc(100% - 2rem));
  position: relative;
}

.website-builder::before {
  content: "";
  position: absolute;
  inset: 1rem -4vw auto;
  height: 360px;
  border-radius: 0 0 48px 48px;
  background:
    radial-gradient(circle at 16% 18%, rgba(13, 110, 253, 0.18), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(4, 191, 217, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(229, 246, 255, 0.88), rgba(255, 255, 255, 0));
  z-index: -1;
}

.builder-hero {
  max-width: 980px;
  margin: 0 auto 1.7rem;
  text-align: center;
}

.builder-badge {
  margin-bottom: 0.65rem;
  background: rgba(13, 110, 253, 0.09);
  color: #0a62df;
}

.builder-hero h2 {
  margin: 0;
  color: #071a36;
  font-size: clamp(2.4rem, 7vw, 5.3rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.builder-hero h2 span {
  color: var(--builder-blue);
}

.builder-hero p {
  margin: 1rem auto 0;
  max-width: 740px;
  color: #47637f;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.builder-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: 980px;
  margin: 0 auto 1.3rem;
  padding: 0.9rem;
  border: 1px solid var(--builder-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--builder-shadow);
  backdrop-filter: blur(18px);
}

.builder-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 0.75rem;
  align-items: center;
  min-width: 0;
  position: relative;
}

.builder-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: 0.15rem;
  color: #8aa8c7;
}

.builder-step span,
.builder-group-title span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--builder-blue);
  color: #fff;
  font-weight: 800;
}

.builder-step strong,
.builder-step small {
  grid-column: 2;
}

.builder-step strong {
  color: #10233e;
}

.builder-step small {
  color: #6c8299;
  font-size: 0.78rem;
}

.builder-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(440px, 1.25fr) minmax(320px, 0.86fr);
  gap: 1rem;
  align-items: start;
}

.builder-card {
  border: 1px solid var(--builder-line);
  border-radius: 22px;
  background: var(--builder-surface);
  box-shadow: var(--builder-shadow);
  backdrop-filter: blur(18px);
}

.builder-controls,
.order-card {
  padding: 1rem;
}

.builder-group {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(13, 110, 253, 0.1);
}

.builder-group:last-child {
  border-bottom: 0;
}

.builder-group-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  color: #10233e;
}

.builder-group-title span {
  width: 24px;
  height: 24px;
  font-size: 0.78rem;
}

.option-grid {
  display: grid;
  gap: 0.7rem;
}

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

.option-grid-five {
  grid-template-columns: repeat(5, 1fr);
}

.option-grid-four {
  grid-template-columns: repeat(4, 1fr);
}

.builder-option,
.builder-pill {
  cursor: pointer;
}

.builder-option input,
.builder-pill input,
.color-choice input,
.logo-drop input,
.builder-honeypot {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.builder-option span,
.builder-pill span {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 0.65rem 0.45rem;
  border: 1px solid rgba(13, 110, 253, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
  color: #23415f;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.builder-pill span {
  min-height: 44px;
}

.builder-option:hover span,
.builder-pill:hover span,
.builder-option.active span,
.builder-pill.active span,
.builder-option:has(input:checked) span,
.builder-pill:has(input:checked) span {
  transform: translateY(-2px);
  border-color: rgba(13, 110, 253, 0.58);
  background: #f7fbff;
  box-shadow: 0 12px 26px rgba(13, 110, 253, 0.12);
  color: #0b61d8;
}

.color-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.color-choice {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 10px 22px rgba(19, 65, 112, 0.16);
  cursor: pointer;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.color-choice span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.gradient-swatch {
  background: conic-gradient(from 90deg, #0d6efd, #04bfd9, #22c98a, #ff922e, #ef476f, #8f3de8, #0d6efd);
}

.color-choice.active,
.color-choice:has(input:checked) {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(13, 110, 253, 0.7), 0 14px 28px rgba(13, 110, 253, 0.2);
}

.builder-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.logo-drop {
  min-height: 118px;
  display: grid;
  place-items: center;
  gap: 0.35rem;
  padding: 0.9rem;
  border: 1px dashed rgba(13, 110, 253, 0.34);
  border-radius: 14px;
  background: rgba(239, 248, 255, 0.88);
  text-align: center;
  color: #224361;
  cursor: pointer;
}

.logo-drop img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
  padding: 0.35rem;
  box-shadow: 0 12px 24px rgba(13, 110, 253, 0.12);
}

.logo-drop small,
.order-card p,
.secure-note {
  color: #6a8199;
}

.builder-field {
  display: grid;
  gap: 0.45rem;
}

.builder-field span {
  color: #2a415c;
  font-size: 0.82rem;
  font-weight: 700;
}

.builder-field input,
.builder-field textarea,
.builder-field select {
  width: 100%;
  border: 1px solid rgba(13, 110, 253, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  color: #10233e;
  outline: none;
  padding: 0.86rem 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.builder-field input:focus,
.builder-field textarea:focus,
.builder-field select:focus {
  border-color: rgba(13, 110, 253, 0.65);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
  background: #fff;
}

.compact-field input {
  min-height: 118px;
}

.preview-card {
  overflow: hidden;
}

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--builder-line);
}

.preview-toolbar span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #10233e;
  font-weight: 800;
}

.preview-toolbar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #20d7a0;
}

.device-buttons {
  display: flex;
  gap: 0.45rem;
}

.device-buttons button {
  border: 1px solid rgba(13, 110, 253, 0.18);
  border-radius: 10px;
  background: #fff;
  color: #46627f;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
}

.device-buttons button.active {
  border-color: var(--builder-blue);
  color: var(--builder-blue);
  box-shadow: 0 8px 18px rgba(13, 110, 253, 0.12);
}

.preview-frame {
  margin: 0.75rem;
  padding: 1.6rem;
  border: 1px solid rgba(13, 110, 253, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 78% 35%, rgba(13, 110, 253, 0.1), transparent 35%),
    #ffffff;
  min-height: 520px;
  color: #0b1a33;
  transition: background var(--transition), color var(--transition), max-width var(--transition);
}

.preview-frame[data-theme="Dark"] {
  background: radial-gradient(circle at 78% 35%, rgba(82, 165, 255, 0.18), transparent 36%), #101b2f;
  color: #eff7ff;
}

.preview-frame[data-theme="Corporate"] {
  background: #f8fafc;
}

.preview-frame[data-theme="Futuristic"] {
  background: radial-gradient(circle at 78% 32%, rgba(4, 191, 217, 0.18), transparent 34%), linear-gradient(135deg, #f8fcff, #edf8ff);
}

.preview-frame.is-tablet {
  max-width: 78%;
  margin-inline: auto;
}

.preview-frame.is-mobile {
  max-width: 48%;
  margin-inline: auto;
}

.preview-frame nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.76rem;
}

.preview-frame nav strong {
  color: var(--preview-color, var(--builder-blue));
  font-size: 1rem;
}

.preview-frame nav div {
  display: flex;
  gap: 1rem;
}

.preview-frame nav button,
.preview-actions button:first-child {
  border: 0;
  border-radius: 999px;
  background: var(--preview-bg, var(--builder-blue));
  color: #fff;
  padding: 0.62rem 0.92rem;
  font-weight: 800;
}

.preview-hero {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 1rem;
  padding: 3rem 0 2.2rem;
}

.preview-hero small {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.08);
  color: var(--preview-color, var(--builder-blue));
  font-weight: 800;
}

.preview-hero h3 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(1.8rem, 3.5vw, 3.1rem);
  line-height: 1.05;
}

.preview-hero h3 span {
  color: var(--preview-color, var(--builder-blue));
}

.preview-hero p {
  max-width: 410px;
  color: #5e7691;
  line-height: 1.65;
}

.preview-frame[data-theme="Dark"] .preview-hero p {
  color: #b5c7dc;
}

.preview-actions {
  display: flex;
  gap: 0.7rem;
}

.preview-actions button:last-child {
  border: 1px solid rgba(13, 110, 253, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #29445f;
  padding: 0.62rem 0.92rem;
  font-weight: 800;
}

.preview-art {
  min-height: 240px;
  display: grid;
  place-items: center;
  position: relative;
}

.preview-art::before {
  content: "";
  width: min(280px, 100%);
  aspect-ratio: 1.25;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 56px rgba(13, 110, 253, 0.16);
}

.preview-art span {
  position: absolute;
  border-radius: 10px;
  background: var(--preview-bg, var(--builder-blue));
  opacity: 0.82;
}

.preview-art span:nth-child(1) { width: 126px; height: 16px; top: 52px; }
.preview-art span:nth-child(2) { width: 180px; height: 82px; bottom: 74px; opacity: 0.18; }
.preview-art span:nth-child(3) { width: 80px; height: 46px; right: 32px; bottom: 54px; opacity: 0.28; }

.preview-services {
  text-align: center;
}

.preview-services div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.preview-services article,
.preview-strip {
  border: 1px solid rgba(13, 110, 253, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 28px rgba(13, 110, 253, 0.08);
}

.preview-services article {
  padding: 1rem;
  text-align: left;
}

.preview-services p {
  color: #66809a;
  font-size: 0.82rem;
}

.preview-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0.85rem;
  color: #35516f;
  font-size: 0.74rem;
  font-weight: 800;
  text-align: center;
}

.order-card h3 {
  margin: 0 0 0.35rem;
  color: #10233e;
  font-size: 1.45rem;
}

.order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1rem;
}

.builder-field.full,
.secure-note,
.order-submit,
.order-card .form-status {
  grid-column: 1 / -1;
}

.secure-note {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(13, 110, 253, 0.08);
  font-size: 0.86rem;
}

.order-submit {
  width: 100%;
  min-height: 56px;
  justify-content: center;
  border: 0;
  cursor: pointer;
}

.order-submit.is-loading {
  opacity: 0.76;
  pointer-events: none;
}

body.dark-mode .website-builder {
  --builder-surface: rgba(9, 24, 45, 0.76);
  --builder-line: rgba(82, 165, 255, 0.18);
}

body.dark-mode .builder-hero h2,
body.dark-mode .builder-step strong,
body.dark-mode .builder-group-title,
body.dark-mode .preview-toolbar span,
body.dark-mode .order-card h3 {
  color: #e9f4ff;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  animation: float 6s ease-in-out infinite;
}

.hero-orb-one {
  width: 220px;
  height: 220px;
  top: 8%;
  right: 6%;
  background: radial-gradient(circle, rgba(74, 224, 255, 0.42), transparent 65%);
}

.hero-orb-two {
  width: 180px;
  height: 180px;
  left: 0;
  bottom: 10%;
  background: radial-gradient(circle, rgba(20, 119, 255, 0.26), transparent 65%);
  animation-delay: -2.5s;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 4px solid var(--primary);
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.about-grid,
.service-grid,
.why-grid,
.testimonial-grid {
  display: grid;
  gap: 1.3rem;
}

.about-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.glass-card,
.service-card,
.why-card,
.testimonial-card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.service-card:hover,
.news-card:hover,
.testimonial-card:hover,
.why-card:hover,
.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(74, 224, 255, 0.34);
}

.icon-box {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(20, 119, 255, 0.14), rgba(74, 224, 255, 0.2));
}

.icon-box svg {
  width: 26px;
  height: 26px;
  fill: var(--primary-strong);
}

.why-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.news-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.3rem;
}

.news-feature,
.contact-panel,
.contact-form {
  padding: 2rem;
  border-radius: var(--radius-xl);
}

.news-badge {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.4rem 0.75rem;
  border-radius: 18px;
  background: rgba(74, 224, 255, 0.16);
  color: var(--primary-strong);
  font-weight: 700;
}

.news-list {
  display: grid;
  gap: 1.3rem;
}

.news-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

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

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card span {
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 0.9rem;
}

.contact-list a,
.contact-list > span {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
}

body.dark-mode .contact-list a,
body.dark-mode .contact-list > span {
  background: rgba(255, 255, 255, 0.03);
}

.contact-list strong {
  font-size: 0.95rem;
}

.contact-list a span,
.contact-list > span span {
  color: var(--muted);
}

.contact-benefits {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.contact-benefits div {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(74, 224, 255, 0.08);
}

.contact-benefits strong {
  display: block;
  margin-bottom: 0.3rem;
}

.contact-benefits span {
  color: var(--muted);
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-strong);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(74, 224, 255, 0.46);
  box-shadow: 0 0 0 4px rgba(74, 224, 255, 0.12);
}

.form-note,
.form-status {
  font-size: 0.95rem;
}

.form-status {
  min-height: 1.2rem;
  margin: 0.8rem 0 0;
  color: var(--primary-strong);
  padding: 0.95rem 1rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
}

.form-status.is-success {
  color: #0f6b52;
  background: rgba(76, 220, 173, 0.12);
  border-color: rgba(76, 220, 173, 0.28);
}

.form-status.is-error {
  color: #b14444;
  background: rgba(255, 108, 108, 0.1);
  border-color: rgba(255, 108, 108, 0.22);
}

.form-status.is-loading {
  color: var(--primary-strong);
  background: rgba(74, 224, 255, 0.08);
  border-color: rgba(74, 224, 255, 0.2);
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.button.is-loading {
  opacity: 0.85;
  pointer-events: none;
}

.footer {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto 2rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
}

.footer-brand img {
  width: 90px;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  gap: 3rem;
}

.footer-links div {
  display: grid;
  gap: 0.6rem;
}

.footer-links h3 {
  margin: 0 0 0.35rem;
}

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

.footer-copy {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

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

.founder-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.4rem;
  align-items: center;
}

.founder-photo-wrap {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  min-height: 280px;
  background:
    radial-gradient(circle at top right, rgba(74, 224, 255, 0.25), transparent 32%),
    linear-gradient(160deg, rgba(20, 119, 255, 0.16), rgba(255, 255, 255, 0.68));
  border: 1px solid var(--line);
}

.founder-glow {
  position: absolute;
  right: -8%;
  bottom: -8%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 224, 255, 0.48), transparent 66%);
  pointer-events: none;
}

.founder-photo {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center top;
  background: var(--bg-strong);
}

.founder-copy h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.founder-role {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--primary-strong);
  font-weight: 700;
}

.founder-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.founder-points span {
  padding: 0.45rem 0.8rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(74, 224, 255, 0.1);
  color: var(--text);
  font-size: 0.92rem;
}

@media (max-width: 1100px) {
  .hero,
  .news-layout,
  .contact-layout,
  .footer {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-visual {
    min-height: auto;
  }

  .founder-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .section {
    width: min(var(--max-width), calc(100% - 1.2rem));
    padding: 4rem 0;
  }

  .navbar {
    width: min(var(--max-width), calc(100% - 1.2rem));
    align-items: flex-start;
    border-radius: 24px;
  }

  .nav-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--bg-elevated);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity var(--transition), transform var(--transition);
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .theme-toggle {
    justify-content: space-between;
  }

  .hero-highlights,
  .about-grid,
  .service-grid,
  .why-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 100%;
  }

  .hero-panel,
  .news-feature,
  .contact-panel,
  .contact-form,
  .footer {
    padding: 1.4rem;
  }

  .brand-text small,
  .theme-label {
    display: none;
  }

  .footer-links {
    display: grid;
    gap: 1.2rem;
  }
}

/* Full-screen video homepage hero */
.hero.section {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 100px);
  width: min(1440px, calc(100% - 2rem));
  margin-top: 1rem;
  padding: clamp(4rem, 9vw, 8rem) clamp(1.5rem, 7vw, 6rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  isolation: isolate;
  box-shadow: var(--shadow-strong);
}

.hero-video-background {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #061120;
}

.hero-video-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 12, 25, 0.9) 0%, rgba(3, 12, 25, 0.72) 48%, rgba(3, 12, 25, 0.25) 100%);
}

.hero.section .hero-copy {
  max-width: 720px;
}

.hero.section .eyebrow {
  color: #f5fbff;
  background: rgba(4, 19, 38, 0.58);
  border-color: rgba(167, 223, 255, 0.48);
}

.hero.section h1,
.hero.section .hero-subtitle,
.hero.section .highlight-card,
.hero.section .highlight-card span {
  color: #f5fbff;
}

.hero.section .highlight-card {
  background: rgba(4, 17, 34, 0.56);
  border-color: rgba(187, 230, 255, 0.26);
  backdrop-filter: blur(12px);
}

.hero.section .button-secondary {
  color: #f5fbff;
  background: rgba(4, 17, 34, 0.68);
  border-color: rgba(187, 230, 255, 0.38);
}

/* Board of Directors */
.board-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.board-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.board-card:hover {
  transform: translateY(-6px);
  border-color: rgba(74, 224, 255, 0.48);
  box-shadow: var(--shadow-strong);
}

.board-photo-wrap {
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  background: var(--bg-strong);
}

.board-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 400ms ease;
}

.board-card:hover .board-photo {
  transform: scale(1.04);
}

.board-card-copy {
  padding: 1.25rem;
}

.board-card-copy h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.board-card-copy p {
  margin: 0;
  color: var(--primary-strong);
  font-weight: 700;
  line-height: 1.45;
}

/* Dark theme contrast corrections */
body.dark-mode .industrial-band-card,
body.dark-mode .hero-slider,
body.dark-mode .builder-option,
body.dark-mode .builder-summary,
body.dark-mode .order-card,
body.dark-mode .preview-toolbar,
body.dark-mode .builder-group,
body.dark-mode .form-field,
body.dark-mode .form-field select {
  background: var(--bg-strong);
  color: var(--text);
}

body.dark-mode .industrial-band-card,
body.dark-mode .industrial-band-card p,
body.dark-mode .website-builder label,
body.dark-mode .website-builder p,
body.dark-mode .website-builder small,
body.dark-mode .website-builder .builder-option span,
body.dark-mode .website-builder .builder-summary span,
body.dark-mode .website-builder .form-note {
  color: var(--text);
}

body.dark-mode .website-builder .builder-hero p,
body.dark-mode .website-builder .builder-step span,
body.dark-mode .website-builder .field-help,
body.dark-mode .website-builder .form-note {
  color: var(--muted);
}

body.dark-mode .form-status.is-success {
  color: #75f0c4;
}

body.dark-mode .form-status.is-error {
  color: #ffabab;
}

@media (max-width: 1100px) {
  .board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero.section {
    width: min(100% - 1.2rem, 1440px);
    min-height: calc(100svh - 86px);
    padding: 5rem 1.25rem 2rem;
    border-radius: 24px;
  }

  .hero-video-shade {
    background: linear-gradient(180deg, rgba(3, 12, 25, 0.72), rgba(3, 12, 25, 0.87));
  }

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

  .board-card {
    display: grid;
    grid-template-columns: 130px 1fr;
    align-items: stretch;
  }

  .board-photo-wrap {
    aspect-ratio: auto;
  }
}

.industrial-band {
  margin-top: -1.2rem;
  padding-top: 0;
}
.industrial-band-head {
  max-width: 820px;
  margin-bottom: 1.4rem;
  padding-left: 1rem;
  border-left: 4px solid var(--primary);
}
.industrial-band-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
}
.industrial-band-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.industrial-band-card {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow);
}
.industrial-index {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--primary-strong);
  font-weight: 800;
  letter-spacing: 0.08em;
}
.industrial-band-card strong {
  display: block;
  margin-bottom: 0.55rem;
}
.industrial-band-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 1100px) {
  .industrial-band-grid {
    grid-template-columns: 1fr;
  }
}

/* Final hero video fit fix */
.hero {
  grid-template-columns: 0.96fr 1.04fr;
  align-items: start;
  gap: 2.4rem;
  padding-top: 3.2rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.hero-visual {
  min-height: 0;
}

.hero-panel.hero-experience {
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.96));
}

body.dark-mode .hero-panel.hero-experience {
  background: linear-gradient(180deg, rgba(10, 22, 42, 0.96), rgba(11, 24, 40, 0.94));
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  height: auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(20, 37, 61, 0.12);
  background: #eef3f7;
  box-shadow: 0 18px 34px rgba(16, 27, 42, 0.10);
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #eef3f7;
  transform: none;
}

.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 16, 28, 0.02), rgba(8, 16, 28, 0.16));
  pointer-events: none;
}

.video-overlay {
  position: absolute;
  inset: auto 0.85rem 0.85rem 0.85rem;
  z-index: 2;
  padding: 0.9rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(14, 30, 50, 0.74);
  backdrop-filter: blur(14px);
  color: #f3f8ff;
}

.hero-slider {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(245, 247, 250, 0.94);
}

.slide-stack {
  min-height: 118px;
}

@media (max-width: 1100px) {
  .slide-stack {
    min-height: 134px;
  }
}

@media (max-width: 760px) {
  .video-frame {
    aspect-ratio: 4 / 3;
  }

  .video-overlay {
    inset: auto 0.7rem 0.7rem 0.7rem;
  }
}

/* Final hero overlay visibility fix */
.video-frame {
  aspect-ratio: 16 / 10;
  display: grid;
  align-items: end;
}

.video-overlay {
  position: relative;
  inset: auto;
  margin: 0.75rem;
  width: min(340px, calc(100% - 1.5rem));
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
}

.video-overlay h2 {
  margin: 0.35rem 0 0.3rem;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
}

.video-overlay p {
  font-size: 0.92rem;
  line-height: 1.45;
}

.video-badge {
  font-size: 0.72rem;
}

@media (max-width: 760px) {
  .video-frame {
    aspect-ratio: 4 / 3;
  }

  .video-overlay {
    width: calc(100% - 1.1rem);
    margin: 0.55rem;
    padding: 0.7rem 0.75rem;
  }
}

@media (max-width: 1100px) {
  .builder-layout {
    grid-template-columns: 1fr;
  }

  .builder-progress {
    grid-template-columns: repeat(2, 1fr);
  }

  .builder-step::after {
    display: none;
  }

  .preview-frame.is-tablet,
  .preview-frame.is-mobile {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .website-builder {
    width: min(100% - 1rem, 1480px);
  }

  .builder-hero h2 {
    font-size: clamp(2.25rem, 13vw, 4rem);
  }

  .builder-progress,
  .option-grid-four,
  .option-grid-five,
  .option-grid-six,
  .builder-split,
  .order-grid,
  .preview-hero,
  .preview-services div,
  .preview-strip {
    grid-template-columns: 1fr;
  }

  .preview-frame {
    padding: 1rem;
    min-height: auto;
  }

  .preview-frame nav div,
  .device-buttons {
    display: none;
  }

  .preview-hero h3 {
    max-width: none;
  }
}

/* Homepage layout: keep the hero and full-page video as separate sections. */
.intro-active {
  overflow: hidden;
}

.intro-screen {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #020914;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.intro-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #020914;
}

.header {
  display: flex;
  flex-direction: column;
  position: relative;
}

.header > .navbar {
  order: 0;
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--line);
}

.header > .navbar .brand-text strong,
.header > .navbar .nav-links a,
.header > .navbar .nav-links a:hover,
.header > .navbar .nav-links a:focus-visible {
  color: var(--text);
}

.header > .navbar .brand-text small {
  color: var(--muted);
}

.header > .navbar .theme-toggle {
  background: var(--bg-strong);
  border-color: var(--line);
  color: var(--text);
}

body.dark-mode .header > .navbar {
  background: rgba(4, 18, 36, 0.84);
  border-color: rgba(184, 226, 255, 0.3);
}

body.dark-mode .header > .navbar .brand-text strong,
body.dark-mode .header > .navbar .nav-links a,
body.dark-mode .header > .navbar .nav-links a:hover,
body.dark-mode .header > .navbar .nav-links a:focus-visible {
  color: #f4faff;
}

body.dark-mode .header > .navbar .brand-text small {
  color: #c6dcef;
}

body.dark-mode .header > .navbar .theme-toggle {
  background: rgba(245, 251, 255, 0.12);
  border-color: rgba(214, 240, 255, 0.26);
  color: #f4faff;
}

.header > .hero.section {
  order: 1;
}

.header > .industrial-band {
  order: 2;
}

.header > .hero.section {
  display: block;
  width: min(var(--max-width), calc(100% - 2rem));
  min-height: 100svh;
  margin: 0 auto;
  padding: 6.5rem 0 4rem;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  isolation: auto;
}

.header > .hero.section .hero-copy {
  max-width: 760px;
}

.header > .hero.section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 8vw, 7rem);
}

.header > .hero.section .eyebrow {
  color: var(--primary-strong);
  background: rgba(74, 224, 255, 0.14);
  border-color: rgba(74, 224, 255, 0.24);
}

.header > .hero.section h1 {
  color: var(--text);
}

.header > .hero.section .hero-subtitle,
.header > .hero.section .highlight-card span {
  color: var(--muted);
}

.header > .hero.section .highlight-card {
  color: var(--text);
  background: var(--bg-elevated);
  border-color: var(--line);
}

.header > .hero.section .button-secondary {
  color: var(--text);
  background: var(--bg-strong);
  border-color: var(--line);
}


.header > .hero.section .hero-visual {
  min-height: 0;
}

.header > .hero.section .hero-panel.hero-experience {
  padding: 1rem;
  border-radius: 24px;
  background: var(--bg-elevated);
}

.header > .hero.section .video-frame {
  aspect-ratio: 16 / 10;
}

.header > .hero.section .hero-video {
  object-fit: cover;
}

.video-overlay-logo {
  width: 42px;
  height: 42px;
  margin-bottom: 0.45rem;
  border-radius: 10px;
}

.board-grid {
  align-items: stretch;
}

.board-card {
  display: flex;
  flex-direction: column;
}

.board-card-copy {
  min-height: 118px;
}

.builder-hero p {
  max-width: 680px;
}

@media (max-width: 760px) {
  .header > .navbar {
    position: absolute;
    top: 0.65rem;
    left: 50%;
    width: min(var(--max-width), calc(100% - 1.2rem));
  }

  .header > .hero.section {
    width: min(var(--max-width), calc(100% - 1.2rem));
    padding: 4rem 0 2.5rem;
    grid-template-columns: 1fr;
  }

  .board-card {
    display: block;
  }

  .board-card-copy {
    min-height: 0;
  }
}
