:root {
  --ink: #0d1b2a;
  --muted: #637083;
  --line: #dfe8f2;
  --panel: #ffffff;
  --soft: #f5f8fc;
  --blue: #075bd8;
  --cyan: #13c8cf;
  --green: #35d39b;
  --violet: #7457ff;
  --deep: #071221;
  --shadow: 0 24px 70px rgba(7, 18, 33, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  background: var(--soft);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 50px rgba(13, 27, 42, 0.12);
  backdrop-filter: blur(18px);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--ink);
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex: 1;
  color: #314154;
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a:hover {
  color: var(--blue);
}

.header-action,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
}

.header-action {
  color: #ffffff;
  background: var(--ink);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 16px 36px rgba(7, 91, 216, 0.24);
}

.btn-secondary {
  color: var(--blue);
  background: #eaf4ff;
}

.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: #edf5ff;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(115deg, rgba(7, 18, 33, 0.95), rgba(9, 29, 55, 0.82)),
    url("assets/ti-minds-office-logo.png") center/cover;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--soft));
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.62;
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 150px 0 120px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(380px, 0.72fr);
  align-items: center;
  gap: 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-head h2,
.solution-copy h2,
.checkout-copy h2,
.contact-copy h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 0.96;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-row span {
  min-width: 154px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.09);
}

.trust-row strong {
  display: block;
  color: #ffffff;
  font-size: 1.25rem;
}

.dashboard-card,
.checkout-card,
.lead-form {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow);
}

.dashboard-card {
  color: var(--ink);
  padding: 20px;
}

.dash-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.dash-top img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.dash-top span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.dash-top strong {
  font-size: 1.08rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric-grid article,
.chart-card,
.product-card,
.plan-card,
.client-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.metric-grid article {
  padding: 16px;
}

.metric-grid span,
.metric-grid small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.metric-grid strong {
  display: block;
  margin: 8px 0;
  font-size: 1.35rem;
}

.metric-grid small {
  color: #138c67;
}

.chart-card {
  margin-top: 12px;
  padding: 18px;
}

.chart-bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 9px;
  align-items: end;
  height: 150px;
  padding: 16px;
  border-radius: 8px;
  background: linear-gradient(180deg, #edf7ff, #f7fbff);
}

.chart-bars span {
  display: block;
  min-height: 30px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
}

.chart-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

section:not(.hero) {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.module-band,
.launch-section,
.plans-section,
.client-section,
.contact-section,
.checkout-section,
.split-section,
.dark-section {
  padding: 92px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2,
.solution-copy h2,
.checkout-copy h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.05;
}

.section-head p:not(.eyebrow),
.solution-copy p,
.checkout-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.product-grid,
.plans-grid,
.client-grid,
.kpi-grid {
  display: grid;
  gap: 16px;
}

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

.product-card {
  min-height: 254px;
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(19, 200, 207, 0.65);
  box-shadow: 0 18px 50px rgba(7, 18, 33, 0.12);
}

.icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-size: 0.84rem;
  font-weight: 900;
}

.product-card h3,
.plan-card h3,
.client-grid h3,
.timeline h3,
.checkout-card h3 {
  margin: 18px 0 10px;
  font-size: 1.25rem;
}

.product-card p,
.plan-card p,
.client-grid p,
.timeline p {
  color: var(--muted);
  line-height: 1.62;
}

.product-card a {
  display: inline-block;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 800;
}

.split-section,
.checkout-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: 44px;
}

.image-panel {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.feature-list div {
  padding: 18px;
  border-left: 4px solid var(--cyan);
  border-radius: 8px;
  background: #ffffff;
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.dark-section {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(7, 18, 33, 0.97), rgba(15, 35, 57, 0.97)),
    radial-gradient(circle at 85% 15%, rgba(19, 200, 207, 0.28), transparent 34%);
}

.dark-section .section-head p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

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

.kpi-grid article {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.kpi-grid strong {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--cyan);
}

.kpi-grid span {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  position: relative;
  padding: 20px 20px 20px 88px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.timeline-item span {
  position: absolute;
  left: 20px;
  top: 20px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
}

.timeline-item h3 {
  margin-top: 0;
}

.billing-toggle {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.billing-toggle button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.billing-toggle button.active {
  color: #ffffff;
  background: var(--ink);
}

.plans-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.plan-card {
  position: relative;
  padding: 26px;
}

.plan-card.featured {
  border-color: rgba(7, 91, 216, 0.46);
  box-shadow: var(--shadow);
}

.badge {
  display: inline-block;
  padding: 7px 10px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.plan-card strong {
  display: block;
  margin: 18px 0;
  font-size: 2rem;
}

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

.plan-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
}

.plan-card li {
  color: #3d4e61;
}

.checkout-section {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  background: #ffffff;
}

.payment-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.payment-strip span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #f8fbff;
  font-weight: 800;
}

.checkout-card,
.lead-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  color: var(--ink);
}

label {
  display: grid;
  gap: 8px;
  color: #34465a;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
}

input:focus,
select:focus {
  outline: 3px solid rgba(19, 200, 207, 0.2);
  border-color: var(--cyan);
}

.form-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

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

.client-grid article {
  padding: 22px;
}

.contact-section {
  padding-top: 70px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-footer img {
  width: 54px;
}

.site-footer p {
  max-width: 420px;
  color: var(--muted);
  line-height: 1.5;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #34465a;
  font-weight: 800;
}

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

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

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

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

  .main-nav {
    display: none;
    width: 100%;
    order: 5;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

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

  .main-nav a {
    padding: 14px 4px;
    border-top: 1px solid var(--line);
  }

  .header-action {
    display: none;
  }

  .hero-shell,
  .split-section,
  .checkout-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    padding-top: 132px;
  }

  .product-grid,
  .plans-grid,
  .client-grid,
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand span {
    font-size: 0.95rem;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust-row span,
  .metric-grid article {
    width: 100%;
  }

  .dashboard-card {
    padding: 14px;
  }

  .metric-grid,
  .product-grid,
  .plans-grid,
  .client-grid,
  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .module-band,
  .launch-section,
  .plans-section,
  .client-section,
  .contact-section,
  .checkout-section,
  .split-section,
  .dark-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .section-head h2,
  .solution-copy h2,
  .checkout-copy h2,
  .contact-copy h2 {
    font-size: 2.1rem;
  }

  .timeline-item {
    padding: 88px 18px 18px;
  }

  .site-footer,
  .site-footer div {
    align-items: flex-start;
    flex-direction: column;
  }
}
