@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/Inter-Regular.4145168e5230.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/Inter-Bold.c7b5fabc34e7.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

:root {
  --tb-blue: #3B82F6;
  --tb-purple: #8B5CF6;
  --tb-pink: #EC4899;
  --tb-bg: #FFFFFF;
  --tb-surface: #F8FAFC;
  --tb-text: #0B1225;
  --tb-muted: #64748B;
  --tb-border: #E2E8F0;
  --tb-dark: #0F1530;
  --tb-ink: #0B1225;
  --tb-shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.07);
  --tb-shadow-strong: 0 18px 40px rgba(59, 130, 246, 0.24);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--tb-text);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 38%, #ffffff 100%);
  line-height: 1.6;
}

.tb-container { width: min(1120px, 92vw); margin: 0 auto; }
.tb-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--tb-border); backdrop-filter: blur(6px); }
.tb-nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.tb-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.tb-brand-logo { width: 216px; height: 44px; object-fit: contain; }
.tb-nav { display: flex; gap: 22px; }
.tb-nav a { text-decoration: none; color: var(--tb-muted); font-weight: 500; }
.tb-nav a:hover { color: var(--tb-ink); }

.tb-btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 12px; padding: 12px 20px; text-decoration: none; font-weight: 700; letter-spacing: .01em; color: var(--tb-ink); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tb-btn:hover { transform: translateY(-1px); }
.tb-btn-primary { background: linear-gradient(130deg, #2f76ea, #4f46e5); color: #fff; box-shadow: var(--tb-shadow-soft); }
.tb-btn-secondary { border-color: #cfd8e6; background: #fff; box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05); }
.tb-btn-gradient { background: linear-gradient(130deg, var(--tb-blue), var(--tb-purple)); color: #fff; box-shadow: var(--tb-shadow-strong); }
.tb-btn-login { box-shadow: 0 10px 26px rgba(59, 130, 246, 0.35); }
.tb-btn-login-ghost { border-color: #b9caf2; }
.tb-btn-block { width: 100%; border: none; cursor: pointer; font-size: 1rem; }

.tb-hero { padding: 94px 0 56px; position: relative; overflow: hidden; }
.tb-hero-glow {
  position: absolute;
  right: -180px;
  top: -160px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.24), rgba(236, 72, 153, 0.06) 56%, rgba(255, 255, 255, 0) 72%);
  pointer-events: none;
}
.tb-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; position: relative; z-index: 2; }
.tb-kicker { color: var(--tb-blue); font-weight: 700; margin: 0 0 14px; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 10px; }
h1 { font-size: clamp(2.15rem, 4.2vw, 3.35rem); letter-spacing: -0.03em; margin-bottom: 18px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 20px; letter-spacing: -0.02em; }
.tb-lead { color: var(--tb-muted); font-size: 1.1rem; max-width: 60ch; margin: 0; }
.tb-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.tb-meta-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.tb-meta-pills > span {
  border: 1px solid #dbe5f5;
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px 8px 10px;
  font-size: .85rem;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.08);
}
.tb-pill-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2f76ea, #6c55f7);
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.28);
  color: #fff;
  flex: 0 0 auto;
}
.tb-pill-icon svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.tb-hero-panel { border: 1px solid #d9e4fa; background: linear-gradient(160deg, #fff, #f4f7ff); border-radius: 18px; padding: 18px; box-shadow: var(--tb-shadow-soft); }
.tb-mini-card { border: 1px solid var(--tb-border); border-radius: 12px; padding: 15px; background: var(--tb-bg); }
.tb-mini-card p { margin: 0; color: var(--tb-muted); }
.tb-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.tb-mini-grid div { border: 1px solid var(--tb-border); border-radius: 12px; padding: 11px; background: #fff; }
.tb-mini-grid span { display: block; color: var(--tb-muted); font-size: .85rem; }

.tb-section { padding: 64px 0; }
.tb-surface { background: var(--tb-surface); border-top: 1px solid var(--tb-border); border-bottom: 1px solid var(--tb-border); }
.tb-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tb-card { border: 1px solid var(--tb-border); border-radius: 14px; padding: 22px; background: #fff; box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04); }
.tb-card p { margin: 0; color: var(--tb-muted); }
.tb-audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tb-audience { border: 1px solid var(--tb-border); border-radius: 14px; padding: 20px; background: #fff; box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04); }

.tb-cta { padding-top: 18px; }
.tb-cta-box { border: 1px solid #1f2d5e; background: linear-gradient(120deg, #0f1530, #1c2654); color: #fff; border-radius: 18px; padding: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; box-shadow: 0 20px 45px rgba(15, 21, 48, 0.32); }
.tb-cta-box p { margin: 0; color: #c6cfde; }

.tb-contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.tb-form-card { max-width: 100%; }
.tb-form-row { margin-bottom: 12px; }
.tb-form-row label { display: block; margin-bottom: 6px; font-size: .95rem; font-weight: 600; }
.tb-form-row input, .tb-form-row textarea {
  width: 100%; border: 1px solid var(--tb-border); border-radius: 10px; padding: 10px 12px; font: inherit; color: var(--tb-text);
}
.tb-form-row input:focus, .tb-form-row textarea:focus {
  outline: 2px solid rgba(59, 130, 246, 0.24);
  border-color: #9fbaf3;
}
.tb-form-row textarea { resize: vertical; min-height: 130px; }
.tb-error { color: #b42318; display: block; margin-top: 4px; }
.tb-alert { border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; border: 1px solid var(--tb-border); }
.tb-alert-success { background: #ecfdf3; border-color: #b7ebc6; }
.tb-alert-error, .tb-alert-danger { background: #fef3f2; border-color: #fecdca; }
.tb-muted { color: var(--tb-muted); }

.tb-footer { border-top: 1px solid var(--tb-border); }
.tb-footer-wrap { padding: 20px 0 30px; color: var(--tb-muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tb-footer-wrap p { margin: 0; }
.tb-footer-wrap a { color: var(--tb-blue); font-weight: 600; }

.tb-modal-open { overflow: hidden; }

.tb-modal[hidden] {
  display: none !important;
}

.tb-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 20px;
}
.tb-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 37, 0.52);
}
.tb-modal-panel {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: min(84vh, 720px);
  overflow: auto;
}
.tb-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.tb-modal-close {
  border: none;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: #475569;
}

.tb-cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
}
.tb-cookie-content {
  margin: 0 auto;
  width: min(980px, 100%);
  border: 1px solid #c9d8f8;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.16);
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.tb-cookie-content p {
  margin: 0;
  color: #334155;
}
.tb-cookie-content a {
  color: var(--tb-blue);
  font-weight: 600;
}
.tb-cookie-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .tb-nav { display: none; }
  .tb-hero { padding-top: 78px; }
  .tb-hero-grid, .tb-contact-grid { grid-template-columns: 1fr; }
  .tb-hero-panel { max-width: 560px; }
  .tb-feature-grid, .tb-audience-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .tb-header { position: static; }
  .tb-nav-wrap { min-height: 70px; }
  .tb-brand-logo { width: 178px; height: 36px; }
  .tb-btn { width: 100%; }
  .tb-nav-wrap .tb-btn-primary { display: none; }
  .tb-hero { padding: 52px 0 34px; }
  .tb-hero-glow { right: -220px; top: -220px; }
  .tb-meta-pills > span { width: 100%; text-align: center; }
  .tb-section { padding: 48px 0; }
  .tb-feature-grid, .tb-audience-grid { grid-template-columns: 1fr; }
  .tb-cookie-content {
    flex-direction: column;
    align-items: stretch;
  }
  .tb-cookie-actions {
    flex-direction: column;
  }
}
