/* timbra.one — Brand tokens */
:root {
  --brand-navy: #0B1220;
  --brand-blue: #2563EB;
  --brand-cyan: #06B6D4;
  --brand-mint: #2DD4BF;
  --brand-white: #F8FAFC;
  --brand-slate: #64748B;
  --brand-text: #0F172A;
  --brand-border: #E2E8F0;
  --brand-success: #10B981;
  --brand-warning: #F59E0B;
  --brand-danger: #EF4444;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-card: 0 1px 3px rgba(11, 18, 32, 0.06), 0 8px 24px rgba(11, 18, 32, 0.06);
  --shadow-elevated: 0 4px 6px rgba(11, 18, 32, 0.04), 0 20px 40px rgba(11, 18, 32, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--brand-white);
  color: var(--brand-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

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

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

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.header.scrolled {
  border-color: var(--brand-border);
  box-shadow: 0 1px 8px rgba(11, 18, 32, 0.04);
}

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

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

.logo__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo__text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.logo__text .timbra {
  color: var(--brand-navy);
}

.logo__text .dot-one {
  color: var(--brand-blue);
  font-weight: 500;
}

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

.nav__links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-slate);
  transition: color 0.15s;
}

.nav__links a:hover {
  color: var(--brand-text);
}

.nav__actions {
  display: flex;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.btn--primary:hover {
  background: #1D4ED8;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--brand-text);
  border: 1px solid var(--brand-border);
}

.btn--ghost:hover {
  background: #fff;
  border-color: #CBD5E1;
}

.btn--lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn--mint {
  background: linear-gradient(135deg, var(--brand-cyan), var(--brand-mint));
  color: var(--brand-navy);
  box-shadow: 0 2px 12px rgba(45, 212, 191, 0.3);
}

.btn--mint:hover {
  box-shadow: 0 4px 20px rgba(45, 212, 191, 0.4);
}

/* Fix the typo in btn--mint media query - I made an error. Let me fix in the file */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--brand-navy);
}

/* ── Hero ── */
.hero {
  padding: 9rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
}

.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
}

.hero__glow--blue {
  top: -200px;
  right: -100px;
  background: rgba(37, 99, 235, 0.2);
}

.hero__glow--mint {
  bottom: -100px;
  left: -150px;
  background: rgba(45, 212, 191, 0.15);
}

.hero__content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #0D9488;
  margin-bottom: 1.5rem;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-mint);
  animation: pulse 2s infinite;
}

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

.hero__title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  color: var(--brand-navy);
  margin-bottom: 1.25rem;
}

.hero__title .accent {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--brand-slate);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--brand-slate);
}

.hero__trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--brand-mint);
  flex-shrink: 0;
}

/* Dashboard mockup */
.hero__visual {
  position: relative;
}

.dashboard-mock {
  background: var(--brand-navy);
  border-radius: var(--radius-xl);
  padding: 1rem;
  box-shadow: var(--shadow-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-mock__bar {
  display: flex;
  gap: 6px;
  margin-bottom: 1rem;
  padding-left: 0.25rem;
}

.dashboard-mock__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.dashboard-mock__body {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.75rem;
  min-height: 320px;
}

.dashboard-mock__sidebar {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.dashboard-mock__nav-item {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.dashboard-mock__nav-item--active {
  background: var(--brand-blue);
}

.dashboard-mock__main {
  background: var(--brand-white);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dashboard-mock__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.dashboard-mock__metric {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  padding: 0.625rem;
}

.dashboard-mock__metric-label {
  font-size: 0.5625rem;
  color: var(--brand-slate);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dashboard-mock__metric-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-navy);
}

.dashboard-mock__metric-value--mint {
  color: #0D9488;
}

.dashboard-mock__chart {
  flex: 1;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.06) 0%, transparent 100%);
  border-radius: 8px;
  border: 1px solid var(--brand-border);
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding: 0.75rem;
  min-height: 100px;
}

.dashboard-mock__bar-chart {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--brand-blue), rgba(37, 99, 235, 0.4));
}

.dashboard-mock__bar-chart:nth-child(2) { height: 65%; background: linear-gradient(180deg, var(--brand-cyan), rgba(6, 182, 212, 0.4)); }
.dashboard-mock__bar-chart:nth-child(3) { height: 85%; }
.dashboard-mock__bar-chart:nth-child(4) { height: 45%; background: linear-gradient(180deg, var(--brand-mint), rgba(45, 212, 191, 0.4)); }
.dashboard-mock__bar-chart:nth-child(5) { height: 70%; }
.dashboard-mock__bar-chart:nth-child(6) { height: 55%; background: linear-gradient(180deg, var(--brand-cyan), rgba(6, 182, 212, 0.4)); }

.dashboard-mock__float {
  position: absolute;
  background: #fff;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--brand-border);
  font-size: 0.75rem;
}

.dashboard-mock__float--top {
  top: -12px;
  right: -12px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dashboard-mock__float--bottom {
  bottom: 24px;
  left: -24px;
}

.dashboard-mock__float-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-success);
}

/* ── Tagline strip ── */
.tagline-strip {
  background: var(--brand-navy);
  padding: 2.5rem 0;
  text-align: center;
}

.tagline-strip__text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
}

.tagline-strip__text .mint {
  color: var(--brand-mint);
}

/* ── Sections ── */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: #fff;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  color: var(--brand-navy);
  margin-bottom: 0.75rem;
}

.section__desc {
  color: var(--brand-slate);
  font-size: 1.0625rem;
}

/* ── Feature grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.feature-card--highlight {
  grid-column: span 1;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(45, 212, 191, 0.06));
  border-color: rgba(37, 99, 235, 0.15);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-card__icon--blue { background: rgba(37, 99, 235, 0.1); color: var(--brand-blue); }
.feature-card__icon--cyan { background: rgba(6, 182, 212, 0.1); color: var(--brand-cyan); }
.feature-card__icon--mint { background: rgba(45, 212, 191, 0.12); color: #0D9488; }
.feature-card__icon--navy { background: rgba(11, 18, 32, 0.08); color: var(--brand-navy); }

.feature-card__icon svg {
  width: 22px;
  height: 22px;
}

.feature-card__title {
  font-size: 1.0625rem;
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
}

.feature-card__desc {
  font-size: 0.875rem;
  color: var(--brand-slate);
  line-height: 1.65;
}

.feature-card__tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--brand-blue);
}

.feature-card__tag--new {
  background: rgba(45, 212, 191, 0.15);
  color: #0D9488;
}

.feature-card__tag--phase2 {
  background: rgba(100, 116, 139, 0.1);
  color: var(--brand-slate);
}

/* ── Flow section ── */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}

.flow::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-mint));
  opacity: 0.2;
}

.flow__step {
  text-align: center;
  position: relative;
}

.flow__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--brand-blue);
  position: relative;
  z-index: 1;
  transition: border-color 0.2s, background 0.2s;
}

.flow__step:hover .flow__number {
  border-color: var(--brand-blue);
  background: rgba(37, 99, 235, 0.05);
}

.flow__title {
  font-size: 0.9375rem;
  color: var(--brand-navy);
  margin-bottom: 0.375rem;
}

.flow__desc {
  font-size: 0.8125rem;
  color: var(--brand-slate);
  padding: 0 0.5rem;
}

/* ── Security banner ── */
.security-banner {
  background: linear-gradient(135deg, var(--brand-navy) 0%, #111827 100%);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.security-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.08);
  filter: blur(60px);
}

.security-banner__title {
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: 1rem;
}

.security-banner__desc {
  color: rgba(248, 250, 252, 0.7);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.security-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.security-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: rgba(248, 250, 252, 0.85);
}

.security-list li svg {
  width: 20px;
  height: 20px;
  color: var(--brand-mint);
  flex-shrink: 0;
  margin-top: 2px;
}

.security-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.security-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.security-card__label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-mint);
  margin-bottom: 0.375rem;
}

.security-card__value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  color: #fff;
  font-weight: 500;
}

/* ── Plans ── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.plan-card {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.plan-card--featured {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 1px var(--brand-blue), var(--shadow-card);
  position: relative;
}

.plan-card__badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-blue);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.plan-card__name {
  font-size: 1rem;
  color: var(--brand-navy);
  margin-bottom: 0.25rem;
}

.plan-card__rfc {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 0.25rem;
}

.plan-card__rfc span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--brand-slate);
}

.plan-card__features {
  list-style: none;
  margin: 1.25rem 0;
  flex: 1;
}

.plan-card__features li {
  font-size: 0.8125rem;
  color: var(--brand-slate);
  padding: 0.375rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.plan-card__features li svg {
  width: 16px;
  height: 16px;
  color: var(--brand-mint);
  flex-shrink: 0;
}

/* ── CTA ── */
.cta {
  padding: 5rem 0;
}

.cta__box {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #1D4ED8 50%, var(--brand-cyan) 100%);
  border-radius: var(--radius-xl);
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta__box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(45,212,191,0.15) 0%, transparent 40%);
}

.cta__content {
  position: relative;
}

.cta__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta__desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
  max-width: 480px;
  margin: 0 auto 2rem;
}

.cta__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn--white {
  background: #fff;
  color: var(--brand-blue);
}

.btn--white:hover {
  background: var(--brand-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

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

/* ── Footer ── */
.footer {
  background: var(--brand-navy);
  padding: 3rem 0 2rem;
  color: rgba(248, 250, 252, 0.6);
}

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

.footer__brand-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 280px;
}

.footer__col-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(248, 250, 252, 0.4);
  margin-bottom: 1rem;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

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

.footer__links a:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}

.footer .logo__text .timbra {
  color: #fff;
}

/* ── Mobile menu ── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 72px 0 0;
  background: var(--brand-white);
  padding: 1.5rem;
  z-index: 99;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--brand-border);
}

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

.mobile-nav a {
  padding: 0.875rem 1rem;
  font-weight: 500;
  border-radius: var(--radius-lg);
  transition: background 0.15s;
}

.mobile-nav a:hover {
  background: rgba(37, 99, 235, 0.06);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero__content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero__visual {
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav__links,
  .nav__actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .features-grid,
  .flow,
  .security-banner,
  .security-cards,
  .plans-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .flow::before {
    display: none;
  }

  .hero {
    padding-top: 7rem;
  }

  .cta__box {
    padding: 2.5rem 1.5rem;
  }

  .security-banner {
    padding: 2rem;
  }
}
