:root {
  --bg: #050711;
  --bg-elevated: #0b0f1f;
  --bg-soft: #111827;
  --accent: #ef4444;
  --accent-soft: rgba(239, 68, 68, 0.12);
  --accent-gradient: linear-gradient(135deg, #ef4444, #f97316);
  --text: #f9fafb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.3);
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.7);
  --radius-lg: 18px;
  --radius-full: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #111827 0, #0b0f1f 45%, #020617 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

section {
  scroll-margin-top: 80px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* NAV */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(
      to bottom,
      rgba(2, 6, 23, 0.9),
      rgba(2, 6, 23, 0.7),
      transparent
    );
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav__logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  background-image: var(--accent-gradient);
  box-shadow: 0 12px 30px rgba(127, 29, 29, 0.8);
}

.nav__logo-text {
  font-size: 0.88rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.nav__links a {
  position: relative;
  padding-bottom: 0.2rem;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background-image: var(--accent-gradient);
  transition: width 0.2s ease-out;
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__cta {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.2), transparent);
  color: var(--text);
}

.nav__cta:hover {
  border-color: rgba(148, 163, 184, 0.9);
}

/* HERO */

.hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 0, rgba(239, 68, 68, 0.45), transparent 55%),
    radial-gradient(circle at 90% 10%, rgba(248, 113, 113, 0.4), transparent 60%),
    radial-gradient(circle at 50% 100%, rgba(15, 23, 42, 0.9), #020617 80%);
}

.hero__content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 3.4vw, 3.3rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero__highlight {
  background-image: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  max-width: 34rem;
  font-size: 0.98rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    border-color 0.15s ease, color 0.15s ease;
}

.btn--primary {
  background-image: var(--accent-gradient);
  color: #0b1120;
  box-shadow: 0 18px 50px rgba(79, 70, 229, 0.6);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 60px rgba(79, 70, 229, 0.8);
}

.btn--ghost {
  border-color: rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.7);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(15, 23, 42, 0.95);
}

.btn--full {
  width: 100%;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero__meta-number {
  display: block;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text);
}

.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hero-mockup {
  max-width: 420px;
  margin-left: auto;
}



.hero-mockup__img--character {
}

.hero-character-glow {
  position: absolute;
  inset: 12% 10%;
  border-radius: 50%;
  
  opacity: 0.45;
  filter: blur(6px);
  pointer-events: none;
}

.hero-mockup__caption {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
}

.hero-mockup__caption-label {
  align-self: flex-start;
  padding: 0.14rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(248, 113, 113, 0.7);
  color: #fecaca;
  margin: auto;
}

.hero-mockup__caption-text {
  font-size: 0.9rem;
  font-weight: 500;
  background-image: linear-gradient(135deg, #f97316, #facc15);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
  }
  50% {
    box-shadow: 0 0 45px rgba(59, 130, 246, 0.85);
  }
}

/* SECTIONS */

.section {
  padding: 3.5rem 0;
}

.section--alt {
  background: radial-gradient(circle at top, #020617 0, #020617 40%, #000 100%);
}

.section--highlight {
  background: radial-gradient(circle at top left, #7f1d1d 0, #020617 55%, #020617 100%);
  border-top: 1px solid rgba(248, 113, 113, 0.45);
  border-bottom: 1px solid rgba(248, 113, 113, 0.45);
}

.section__header {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section__header h2 {
  margin: 0 0 0.7rem;
  font-size: 1.8rem;
}

.section__header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.card__list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.35rem;
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-image: var(--accent-gradient);
}

/* SHOWCASE */

.showcase {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), #020617);
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 1.4rem 1.2rem 1.3rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.showcase__thumb {
  border-radius: 1.1rem;
  height: 150px;
  margin-bottom: 0.95rem;
  position: relative;
  overflow: hidden;
}

.showcase__thumb--gradient-1 {
  background: radial-gradient(circle at 0 0, #38bdf8, #1e293b 50%, #020617 100%);
}

.showcase__thumb--gradient-2 {
  background: radial-gradient(circle at 0 0, #a855f7, #1f2937 55%, #020617 100%);
}

.showcase__thumb--gradient-3 {
  background: radial-gradient(circle at 0 0, #22c55e, #0f172a 55%, #020617 100%);
}

.showcase__tag {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.showcase h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.showcase p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ABOUT */

.about {
  display: grid;
}

.about__content {
  max-width: 720px;
}

.about__content > p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.7rem;
}

.about__grid h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
}

.about__grid p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
/* HIGHLIGHT CTA */

.highlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.highlight__content h2 {
  margin: 0 0 0.6rem;
  font-size: 1.6rem;
}

.highlight__content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.highlight__btn {
  flex-shrink: 0;
}

/* MODAL */

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.modal--open {
  display: flex;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
}

.modal__content {
  position: relative;
  max-width: 720px;
  width: 100%;
  margin: 1.5rem;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 1.25rem;
  background: #020617;
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.9);
}

.modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.35rem;
  cursor: pointer;
}

.modal__title {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
}

.modal__subtitle {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.modal__body {
  min-height: 260px;
}

.modal__placeholder {
  height: 100%;
  border-radius: 0.9rem;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 1.5rem;
}

.modal__body--embed {
  min-height: 420px;
  display: flex;
  align-items: stretch;
}

.modal__body--embed iframe {
  width: 100% !important;
  max-height: 70vh !important;
  border: none !important;
  border-radius: 0.9rem !important;
}

/* Jotform "source code" embed styling (if used instead of iframe) */
.modal__body--embed .form-all {
  width: 100% !important;
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.modal__body--embed .form-section {
  list-style: none;
  margin: 0;
  padding: 0;
}

.modal__body--embed .form-line {
  margin: 0 0 0.9rem;
  padding: 0;
}

.modal__body--embed .form-label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal__body--embed .form-required {
  color: #f97373;
}

.modal__body--embed .form-input-wide {
  width: 100%;
}

.modal__body--embed .form-sub-label-container {
  display: block;
}

.modal__body--embed .form-textbox,
.modal__body--embed .form-dropdown {
  width: 100% !important;
  max-width: 100%;
  border-radius: 11px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  padding: 0.6rem 0.7rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  box-sizing: border-box;
}

.modal__body--embed .form-textbox:focus,
.modal__body--embed .form-dropdown:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.35);
  background: #020617;
}

.modal__body--embed .form-sub-label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.modal__body--embed .form-buttons-wrapper {
  margin-top: 1.1rem;
}

.modal__body--embed .form-submit-button {
  border-radius: var(--radius-full);
  border: none;
  padding: 0.7rem 1.7rem;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  background-image: var(--accent-gradient);
  color: #0b1120;
  box-shadow: 0 18px 40px rgba(127, 29, 29, 0.8);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.modal__body--embed .form-submit-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 22px 55px rgba(127, 29, 29, 1);
}

/* FOOTER */

.footer {
  padding: 1.5rem 0 2rem;
  background: #020617;
  border-top: 1px solid rgba(30, 64, 175, 0.5);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer__top {
  color: var(--text);
}

.footer__top:hover {
  text-decoration: underline;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero__content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__visual {
    order: -1;
  }

  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .nav__links {
    display: none;
  }

  .nav__cta {
    display: none;
  }

  .hero {
    padding-top: 3.25rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__meta {
    gap: 1.4rem;
  }

  .grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .about__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .highlight {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
