:root {
  --teal: #005b5d;
  --teal-bright: #0fb5b8;
  --teal-soft: #4dd4d6;
  --teal-glow: rgba(15, 181, 184, 0.16);
  --teal-border: rgba(15, 181, 184, 0.25);
  --white: #ffffff;
  --bg: #050d0e;
  --bg-soft: #081416;
  --surface: #0c1a1c;
  --surface-2: #102224;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #e8f1f1;
  --text-muted: #93a8a8;
  --text-dim: #5e7374;
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.55);
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 1180px;
  --header-height: 72px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section--gray {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--teal {
  background:
    radial-gradient(ellipse 70% 90% at 50% 0%, rgba(15, 181, 184, 0.14) 0%, transparent 60%),
    linear-gradient(180deg, #04282a 0%, #032021 100%);
  border-top: 1px solid var(--teal-border);
  color: var(--white);
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 14px;
  padding: 6px 12px;
  border: 1px solid var(--teal-border);
  border-radius: 100px;
  background: var(--teal-glow);
}

.section__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 8px var(--teal-bright);
}

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--white);
}

.section__lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 640px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(5, 13, 14, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--teal-soft);
}

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--teal-bright) 0%, var(--teal) 100%);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(15, 181, 184, 0.3);
}

.btn--primary:hover {
  box-shadow: 0 6px 32px rgba(15, 181, 184, 0.45);
}

.btn--secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn--secondary:hover {
  border-color: var(--teal-bright);
  color: var(--teal-soft);
}

.btn--white {
  background: var(--white);
  color: var(--teal);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

/* Hero */
.hero {
  padding-top: calc(var(--header-height) + 72px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 15%, rgba(15, 181, 184, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 15% 90%, rgba(0, 91, 93, 0.18) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 181, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 181, 184, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 0%, transparent 75%);
  z-index: 0;
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__title {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--white);
}

.hero__title span {
  background: linear-gradient(90deg, var(--teal-soft) 0%, var(--teal-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero__stats {
  display: flex;
  gap: 32px;
}

.hero__stat strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--teal-soft);
  letter-spacing: -0.02em;
}

.hero__stat span {
  font-size: 0.8125rem;
  color: var(--text-dim);
  font-weight: 500;
}

.hero__visual {
  position: relative;
}

.hero__device-stack {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__device {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-strong);
}

.hero__device--main {
  width: 72%;
  z-index: 2;
}

.hero__device--secondary {
  position: absolute;
  right: 0;
  bottom: -24px;
  width: 48%;
  z-index: 1;
  opacity: 0.95;
}

.hero__badge {
  position: absolute;
  top: 16px;
  left: -16px;
  background: rgba(12, 26, 28, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--teal-border);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  z-index: 3;
}

.hero__badge strong {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-soft);
  font-size: 1rem;
  font-family: var(--mono);
}

.hero__badge strong::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 72px;
  position: relative;
  z-index: 2;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}

.step-card:hover {
  border-color: var(--teal-border);
  transform: translateY(-2px);
}

.step-card__num {
  font-family: var(--mono);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--teal-glow);
  border: 1px solid var(--teal-border);
  color: var(--teal-soft);
  font-size: 0.75rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.step-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--white);
}

.step-card__text {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Feature modules */
.module {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}

.module__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.module__item {
  text-align: left;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}

.module__item:hover {
  background: var(--surface);
}

.module__item.is-active {
  background: var(--teal-glow);
  border-color: var(--teal-border);
}

.module__item-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  transition: color 0.2s;
}

.module__item:hover .module__item-title {
  color: var(--text);
}

.module__item.is-active .module__item-title {
  color: var(--teal-soft);
}

.module__panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  min-height: 320px;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.module__panel-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--white);
}

.module__panel-text {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 1rem;
}

.module__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.metric {
  background: var(--surface-2);
  border-radius: 10px;
  padding: 20px;
  border: 1px solid var(--border);
}

.metric__value {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal-soft);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}

.metric__label {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* Highlight box */
.highlight-box {
  margin-top: 32px;
  padding: 24px;
  background: var(--teal-glow);
  border-radius: var(--radius);
  border: 1px solid var(--teal-border);
}

.highlight-box p:first-child {
  font-weight: 600;
  color: var(--teal-soft);
  margin-bottom: 4px;
}

.highlight-box p:last-child {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Secondary cards */
.cards-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.card-secondary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s;
}

.card-secondary:hover {
  border-color: var(--teal-border);
}

.card-secondary__eyebrow {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.card-secondary__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.card-secondary__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.card-secondary__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-secondary__list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.card-secondary__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-bright);
}

/* Support */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.2s;
}

.support-card:hover {
  border-color: var(--teal-border);
}

.support-card__num {
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(15, 181, 184, 0.3);
  line-height: 1;
  margin-bottom: 16px;
}

.support-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.support-card__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Showcase */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.showcase--reverse .showcase__content {
  order: 2;
}

.showcase--reverse .showcase__media {
  order: 1;
}

.showcase__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-strong);
}

.showcase__list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.showcase__list li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}

.showcase__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 2px;
  background: var(--teal-bright);
}

/* Video */
.video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(15, 181, 184, 0.1) 0%, transparent 60%),
    var(--surface);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
}

.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder {
  text-align: center;
  color: var(--text-muted);
  padding: 40px;
}

.video-placeholder strong {
  display: block;
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 8px;
}

/* Gallery */
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.gallery-tab {
  font-family: var(--mono);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  transition: all 0.2s;
}

.gallery-tab:hover {
  color: var(--teal-soft);
  border-color: var(--teal-border);
}

.gallery-tab.is-active {
  background: var(--teal-glow);
  color: var(--teal-soft);
  border-color: var(--teal-bright);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-grid--landscape {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  transition: transform 0.2s, border-color 0.2s;
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--teal-border);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top;
}

.gallery-grid--landscape .gallery-item img {
  aspect-ratio: 16/9;
}

.gallery-placeholder {
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-dim);
  font-size: 0.875rem;
  font-family: var(--mono);
  text-align: center;
  padding: 24px;
}

.gallery-panel {
  display: none;
}

.gallery-panel.is-active {
  display: block;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.blog-card:hover {
  border-color: var(--teal-border);
  transform: translateY(-2px);
}

.blog-card__date {
  font-family: var(--mono);
  padding: 20px 24px 0;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--teal-bright);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-card__body {
  padding: 12px 24px 24px;
}

.blog-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
  color: var(--white);
}

.blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.blog-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-soft);
}

/* CTA */
.cta {
  text-align: center;
  padding: 96px 0;
}

.cta__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--white);
}

.cta__text {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */
.footer {
  background: #030809;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand img {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
}

.footer__desc {
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer__heading {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--teal-soft);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  font-size: 0.8125rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer__social a:hover {
  color: var(--teal-soft);
}

/* Blog pages */
.page-hero {
  padding-top: calc(var(--header-height) + 48px);
  padding-bottom: 48px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.page-hero__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
}

.article {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(var(--header-height) + 48px) 24px 64px;
}

.article__meta {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--teal-bright);
  font-weight: 600;
  margin-bottom: 16px;
}

.article__title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.2;
  color: var(--white);
}

.article__content p {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.article__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-soft);
  margin-bottom: 32px;
}

/* Icons */
.icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.module__item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.module__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
  flex-shrink: 0;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.module__icon .icon {
  width: 16px;
  height: 16px;
}

.module__item:hover .module__icon {
  color: var(--text-muted);
}

.module__item.is-active .module__icon {
  background: var(--teal-glow);
  border-color: var(--teal-border);
  color: var(--teal-soft);
}

.card-secondary__icon,
.support-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--teal-glow);
  border: 1px solid var(--teal-border);
  color: var(--teal-soft);
  margin-bottom: 18px;
}

.card-secondary__icon .icon,
.support-card__icon .icon {
  width: 20px;
  height: 20px;
}

.support-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.support-card__icon {
  margin-bottom: 16px;
}

.gallery-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gallery-tab .icon {
  width: 15px;
  height: 15px;
}

.video-placeholder__play {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal-glow);
  border: 1px solid var(--teal-border);
  color: var(--teal-soft);
  margin: 0 auto 20px;
}

.video-placeholder__play .icon {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

.contact-aside__card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-aside__card h3 .icon {
  width: 16px;
  height: 16px;
  color: var(--teal-soft);
}

/* Timeline (jornada do credenciamento) */
.timeline-section {
  text-align: center;
}

.timeline-section .section__lead {
  margin-inline: auto;
}

.timeline {
  margin-top: 64px;
}

.timeline__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-bottom: 40px;
}

.timeline__line {
  position: absolute;
  top: 7px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border-strong);
  border-radius: 2px;
  overflow: hidden;
}

.timeline__progress {
  display: block;
  height: 100%;
  width: var(--tl-progress, 0%);
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal-bright) 100%);
  box-shadow: 0 0 12px var(--teal-bright);
  transition: width 0.6s ease, height 0.6s ease;
}

.timeline__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  z-index: 1;
}

.timeline__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 2px solid var(--border-strong);
  margin-bottom: 12px;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.timeline__step.is-done .timeline__dot {
  border-color: var(--teal-bright);
  background: var(--teal);
}

.timeline__step.is-active .timeline__dot {
  border-color: var(--teal-bright);
  background: var(--teal-bright);
  box-shadow: 0 0 0 5px var(--teal-glow), 0 0 16px var(--teal-bright);
}

.timeline__num {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-dim);
  transition: color 0.3s;
}

.timeline__tag {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.3s;
}

.timeline__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.3;
  transition: color 0.3s;
}

.timeline__step:hover .timeline__label {
  color: var(--text);
}

.timeline__step.is-active .timeline__num,
.timeline__step.is-active .timeline__tag {
  color: var(--teal-bright);
}

.timeline__step.is-active .timeline__label {
  color: var(--white);
}

.timeline__panel {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: left;
  transition: opacity 0.3s;
}

.timeline__kicker {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 10px;
}

.timeline__title {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 4px;
}

.timeline__sub {
  font-size: 0.875rem;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.timeline__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.timeline__aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  background: var(--surface-2);
  border: 1px solid var(--teal-border);
  border-radius: var(--radius);
  padding: 32px 24px;
}

.timeline__aside strong {
  font-family: var(--mono);
  font-size: 1.375rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--teal-soft) 0%, var(--teal-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.01em;
}

.timeline__aside span {
  font-size: 0.8125rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* Phone mockup (hero) */
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 32px 0;
}

.phone-wrap::before {
  content: "";
  position: absolute;
  inset: -10% -20%;
  background:
    radial-gradient(circle at 50% 50%, transparent 38%, rgba(15, 181, 184, 0.07) 38.5%, transparent 39.5%),
    radial-gradient(circle at 50% 50%, transparent 52%, rgba(15, 181, 184, 0.05) 52.5%, transparent 53.5%),
    radial-gradient(circle at 50% 50%, transparent 66%, rgba(15, 181, 184, 0.04) 66.5%, transparent 67.5%);
  pointer-events: none;
}

.phone {
  position: relative;
  width: min(290px, 70%);
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(160deg, #1c2e30 0%, #0a1517 100%);
  border: 1px solid var(--border-strong);
  box-shadow:
    0 0 0 2px rgba(15, 181, 184, 0.12),
    0 32px 80px rgba(0, 0, 0, 0.6),
    0 0 64px rgba(15, 181, 184, 0.1);
  z-index: 2;
}

.phone::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 22px;
  background: #0a1517;
  border-radius: 100px;
  z-index: 3;
}

.phone img {
  width: 100%;
  border-radius: 32px;
  aspect-ratio: 9/19;
  object-fit: cover;
  object-position: top;
}

.phone-chip {
  position: absolute;
  z-index: 4;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text);
  background: rgba(12, 26, 28, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--teal-border);
  border-radius: 100px;
  padding: 9px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  animation: float 5s ease-in-out infinite;
}

.phone-chip::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 6px var(--teal-bright);
  margin-right: 8px;
  vertical-align: 1px;
}

.phone-chip:nth-of-type(1) { top: 14%; right: -4%; animation-delay: 0s; }
.phone-chip:nth-of-type(2) { top: 36%; right: -10%; animation-delay: 1.2s; }
.phone-chip:nth-of-type(3) { bottom: 30%; left: -10%; animation-delay: 2.4s; }
.phone-chip:nth-of-type(4) { bottom: 14%; left: -4%; animation-delay: 3.6s; }

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

/* Parallax band */
.parallax {
  position: relative;
  padding: 140px 0;
  background:
    radial-gradient(ellipse 50% 60% at 20% 40%, rgba(15, 181, 184, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 80% 60%, rgba(0, 91, 93, 0.3) 0%, transparent 55%),
    linear-gradient(rgba(15, 181, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 181, 184, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, #02191a 0%, #041f21 100%);
  background-size: auto, auto, 48px 48px, 48px 48px, auto;
  background-attachment: fixed;
  border-top: 1px solid var(--teal-border);
  border-bottom: 1px solid var(--teal-border);
  overflow: hidden;
  text-align: center;
}

.parallax__kicker {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 20px;
}

.parallax__title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: 820px;
  margin: 0 auto 16px;
}

.parallax__title span {
  background: linear-gradient(90deg, var(--teal-soft) 0%, var(--teal-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.parallax__text {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

.parallax__stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.parallax__stat {
  background: rgba(12, 26, 28, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--teal-border);
  border-radius: var(--radius);
  padding: 20px 32px;
  min-width: 180px;
}

.parallax__stat strong {
  display: block;
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal-soft);
  line-height: 1.2;
}

.parallax__stat span {
  font-size: 0.78125rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* Back to top */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--teal-bright) 0%, var(--teal) 100%);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(15, 181, 184, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, box-shadow 0.2s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  box-shadow: 0 12px 32px rgba(15, 181, 184, 0.5);
}

.to-top svg {
  width: 22px;
  height: 22px;
}

/* Footer social icons */
.footer__social {
  align-items: center;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.footer__social a:hover {
  color: var(--teal-soft);
  border-color: var(--teal-border);
  transform: translateY(-2px);
}

.footer__social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* Forms (contact page) */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 640px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group label span {
  color: var(--teal-bright);
}

.form-control {
  width: 100%;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 12px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--teal-bright);
  box-shadow: 0 0 0 3px var(--teal-glow);
}

.form-control::placeholder {
  color: var(--text-dim);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2393a8a8' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-aside__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.contact-aside__card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.contact-aside__card p,
.contact-aside__card a {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-aside__card a:hover {
  color: var(--teal-soft);
}

/* Legal / article content */
.article__content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  margin: 36px 0 14px;
}

.article__content h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  margin: 28px 0 10px;
}

.article__content ul {
  list-style: none;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article__content ul li {
  font-size: 1rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}

.article__content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 2px;
  background: var(--teal-bright);
}

.article__content strong {
  color: var(--text);
}

.article__cover {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  margin-bottom: 32px;
  width: 100%;
}

.article--wide {
  max-width: 820px;
}

/* Blog card image */
.blog-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid,
  .module,
  .showcase,
  .cards-duo {
    grid-template-columns: 1fr;
  }

  .module__panel {
    position: static;
  }

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

  .support-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-grid--landscape {
    grid-template-columns: 1fr;
  }

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

  .hero__device--secondary {
    display: none;
  }

  .showcase--reverse .showcase__content,
  .showcase--reverse .showcase__media {
    order: unset;
  }
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .timeline__track {
    grid-template-columns: 1fr;
    gap: 28px;
    justify-items: start;
    margin-bottom: 32px;
  }

  .timeline__line {
    top: 8px;
    bottom: 8px;
    left: 7px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .timeline__progress {
    width: 100%;
    height: var(--tl-progress, 0%);
  }

  .timeline__step {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 0;
    text-align: left;
  }

  .timeline__dot {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .timeline__panel {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .phone-chip:nth-of-type(1) { right: 0; }
  .phone-chip:nth-of-type(2) { right: 0; }
  .phone-chip:nth-of-type(3) { left: 0; }
  .phone-chip:nth-of-type(4) { left: 0; }

  .parallax {
    background-attachment: scroll;
    padding: 96px 0;
  }

  .to-top {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }

  .form-card {
    padding: 24px;
  }

  .nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-soft);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav__toggle {
    display: block;
  }

  .steps {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

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

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

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

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
