@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --c-bg: #f4f4f4;
  --c-surface: #ffffff;
  --c-text: #0a0a0a;
  --c-text-muted: #555555;
  --c-accent: #0055ff;
  --c-accent-hover: #0044cc;
  --c-border: #e0e0e0;
  --c-grid-line: rgba(0, 0, 0, 0.05);

  --f-body: 'Inter', sans-serif;
  --f-head: 'Space Grotesk', sans-serif;

  --s-space-sm: clamp(0.5rem, 1vw, 1rem);
  --s-space-md: clamp(1rem, 2vw, 2rem);
  --s-space-lg: clamp(2rem, 4vw, 4rem);
  --s-space-xl: clamp(4rem, 8vw, 8rem);

  --container-w: 1280px;
  --container-pad: clamp(1.5rem, 4vw, 4rem);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography System */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-head);
  font-weight: 600;
  line-height: 1.1;
  color: var(--c-text);
  letter-spacing: -0.02em;
  margin-bottom: var(--s-space-sm);
}

h1 { font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem); }
h2 { font-size: clamp(2rem, 3vw + 1rem, 3rem); }
h3 { font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem); }

p {
  margin-bottom: var(--s-space-md);
  color: var(--c-text-muted);
  max-width: 65ch;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul { list-style: none; }

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

/* Layout Utility */
.tb-wrap {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding-inline: var(--container-pad);
}

/* Header / Nav */
.tb-head {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(244, 244, 244, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
}

.tb-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.tb-brand {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--c-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tb-brand span {
  color: var(--c-accent);
}

.tb-menu {
  display: flex;
  gap: var(--s-space-md);
}

.tb-link {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
}

.tb-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-accent);
  transition: width 0.3s ease;
}

.tb-link:hover {
  color: var(--c-accent);
}

.tb-link:hover::after {
  width: 100%;
}

/* Buttons */
.tb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 1rem;
  border: 1px solid var(--c-text);
  background: var(--c-text);
  color: var(--c-surface);
  cursor: pointer;
  transition: all 0.25s ease;
}

.tb-btn--primary {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
}

.tb-btn--primary:hover {
  background: var(--c-accent-hover);
  border-color: var(--c-accent-hover);
  transform: translateY(-2px);
}

.tb-btn--ghost {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-border);
}

.tb-btn--ghost:hover {
  border-color: var(--c-text);
}

/* Hero Section */
.tb-hero {
  padding-top: 160px;
  padding-bottom: var(--s-space-xl);
  position: relative;
  overflow: hidden;
}

/* Grid background pattern */
.tb-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
    linear-gradient(var(--c-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
  opacity: 0.6;
}

.tb-hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--s-space-lg);
  align-items: center;
}

.tb-hero-eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  font-weight: 600;
  margin-bottom: var(--s-space-md);
  border: 1px solid var(--c-accent);
  padding: 0.25rem 0.75rem;
}

.tb-hero-title {
  margin-bottom: var(--s-space-md);
  max-width: 900px;
}

.tb-hero-sub {
  font-size: 1.25rem;
  color: var(--c-text-muted);
  margin-bottom: var(--s-space-lg);
  max-width: 600px;
}

.tb-hero-actions {
  display: flex;
  gap: var(--s-space-md);
}

.tb-hero-visual {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  aspect-ratio: 4/3;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.tb-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Generic Section */
.tb-sec {
  padding-block: var(--s-space-xl);
  border-bottom: 1px solid var(--c-border);
}

.tb-sec--alt {
  background: var(--c-surface);
}

.tb-sec-head {
  margin-bottom: var(--s-space-lg);
}

.tb-sec-head p {
  font-size: 1.125rem;
  margin-top: var(--s-space-sm);
}

/* Feature Grid */
.tb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--s-space-md);
}

.tb-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  padding: var(--s-space-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tb-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border-color: var(--c-accent);
}

.tb-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.tb-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Stats Row */
.tb-stats {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-space-md);
  border-top: 1px solid var(--c-border);
  padding-top: var(--s-space-lg);
}

.tb-stat {
  flex: 1;
  min-width: 200px;
  text-align: left;
}

.tb-stat-num {
  display: block;
  font-family: var(--f-head);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.tb-stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-text-muted);
}

/* CTA Band */
.tb-cta {
  background: var(--c-text);
  color: var(--c-surface);
  text-align: center;
  padding: var(--s-space-xl) var(--s-space-md);
}

.tb-cta h2 {
  color: var(--c-surface);
  margin-bottom: var(--s-space-sm);
}

.tb-cta p {
  color: rgba(255,255,255,0.7);
  margin: 0 auto var(--s-space-lg);
}

.tb-cta .tb-btn--primary {
  background: var(--c-surface);
  color: var(--c-text);
  border-color: var(--c-surface);
}

.tb-cta .tb-btn--primary:hover {
  background: var(--c-accent);
  color: var(--c-surface);
  border-color: var(--c-accent);
}

/* FAQ */
.tb-faq-list {
  max-width: 800px;
}

.tb-faq-item {
  border-bottom: 1px solid var(--c-border);
}

.tb-faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: var(--s-space-md) 0;
  font-family: var(--f-head);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--c-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tb-faq-q::after {
  content: '+';
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--c-accent);
}

.tb-faq-a {
  padding-bottom: var(--s-space-md);
  color: var(--c-text-muted);
}

/* Footer */
.tb-foot {
  padding-block: var(--s-space-xl);
  border-top: 1px solid var(--c-border);
  background: var(--c-surface);
}

.tb-foot-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--s-space-lg);
}

.tb-foot-brand {
  margin-bottom: var(--s-space-sm);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.5rem;
}

.tb-foot-desc {
  color: var(--c-text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--s-space-md);
}

.tb-foot-col h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-text-muted);
  margin-bottom: var(--s-space-md);
}

.tb-foot-links li {
  margin-bottom: 0.75rem;
}

.tb-foot-links a {
  color: var(--c-text);
  font-size: 0.95rem;
}

.tb-foot-links a:hover {
  color: var(--c-accent);
}

.tb-foot-copy {
  margin-top: var(--s-space-lg);
  padding-top: var(--s-space-md);
  border-top: 1px solid var(--c-border);
  font-size: 0.875rem;
  color: var(--c-text-muted);
  text-align: center;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .tb-menu { display: none; } /* Simplified for brevity, ideally hamburger */
  .tb-hero-inner { grid-template-columns: 1fr; }
  .tb-hero-visual { display: none; }
  .tb-foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .tb-foot-grid { grid-template-columns: 1fr; }
  .tb-stats { flex-direction: column; gap: var(--s-space-lg); }
  .tb-hero-actions { flex-direction: column; }
  .tb-btn { width: 100%; }
}
img,svg,video{max-width:100%;height:auto}
html{-webkit-text-size-adjust:100%}
body{margin:0}
*{box-sizing:border-box}
