/* ============================================================
   THE CONTENT — Editorial Theme
   MudBlazor overrides + global design system
   ============================================================ */

/* ===== DESIGN TOKENS ===== */
:root {
  --tc-ink: #0a0a0a;
  --tc-paper: #f5f0e8;
  --tc-cream: #ebe4d6;
  --tc-accent: #e8432a;
  --tc-accent-dark: #c43520;
  --tc-accent-glow: rgba(232, 67, 42, 0.25);
  --tc-muted: #8a8378;
  --tc-subtle: #d4cdc0;
  --tc-glass: rgba(245, 240, 232, 0.85);
  --tc-white: #ffffff;
  --tc-radius-sm: 6px;
  --tc-radius-md: 12px;
  --tc-radius-lg: 20px;
  --tc-font-display: 'Instrument Serif', Georgia, serif;
  --tc-font-body: 'DM Sans', 'Roboto', sans-serif;
  --tc-font-mono: 'JetBrains Mono', 'Consolas', monospace;
}

/* ===== GLOBAL RESET ===== */
html { scroll-behavior: smooth; }

body {
  font-family: var(--tc-font-body);
  background: var(--tc-paper);
  color: var(--tc-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--tc-accent);
  color: var(--tc-paper);
}

/* ===== GRAIN OVERLAY ===== */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: var(--tc-cream); }
::-webkit-scrollbar-thumb { background: var(--tc-subtle); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--tc-muted); }


/* ============================================================
   MUDBLAZOR OVERRIDES — APPBAR
   ============================================================ */
.mud-appbar {
  background: var(--tc-glass) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--tc-ink) !important;
  border-bottom: 1px solid var(--tc-subtle);
  box-shadow: none !important;
}

.mud-appbar .mud-typography {
  font-family: var(--tc-font-display);
  letter-spacing: -0.02em;
}

.mud-appbar .mud-icon-button {
  color: var(--tc-ink) !important;
}

.mud-appbar .mud-button-text {
  color: var(--tc-ink) !important;
  font-family: var(--tc-font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.mud-appbar .mud-button-outlined {
  border-color: var(--tc-ink) !important;
  color: var(--tc-ink) !important;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.mud-appbar .mud-button-outlined:hover {
  background: var(--tc-ink) !important;
  color: var(--tc-paper) !important;
}


/* ============================================================
   MUDBLAZOR OVERRIDES — DRAWER
   ============================================================ */
.mud-drawer {
  background: var(--tc-paper) !important;
  border-right: 1px solid var(--tc-subtle) !important;
  box-shadow: none !important;
}

/* Drawer header — editorial branding */
.mud-drawer-header {
  border-bottom: 1px solid var(--tc-subtle);
  padding: 1.25rem 1.5rem !important;
  min-height: auto !important;
}

.mud-drawer-header .mud-typography {
  font-family: var(--tc-font-display) !important;
  font-size: 1.25rem !important;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--tc-ink);
}

/* Nav menu container */
.mud-drawer .mud-navmenu {
  padding: 0.75rem 0.75rem !important;
}

/* Nav link base */
.mud-nav-link {
  font-family: var(--tc-font-body) !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  color: var(--tc-muted) !important;
  border-radius: var(--tc-radius-sm) !important;
  transition: all 0.2s ease !important;
  margin-bottom: 2px !important;
  padding: 0.55rem 1rem !important;
  position: relative;
}

/* Hover state */
.mud-nav-link:hover {
  background: var(--tc-cream) !important;
  color: var(--tc-ink) !important;
}

/* Active state — accent left bar + filled background */
.mud-nav-link.active {
  background: var(--tc-ink) !important;
  color: var(--tc-paper) !important;
  font-weight: 600 !important;
  border-radius: var(--tc-radius-sm) !important;
}

.mud-nav-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  background: var(--tc-accent);
  border-radius: 0 2px 2px 0;
}

.mud-nav-link.active .mud-nav-link-icon {
  color: var(--tc-paper) !important;
}

/* Icon styling */
.mud-nav-link-icon {
  color: var(--tc-subtle) !important;
  transition: color 0.2s ease !important;
  margin-right: 0.75rem !important;
}

.mud-nav-link:hover .mud-nav-link-icon {
  color: var(--tc-ink) !important;
}

/* Nav group (e.g. Admin section) */
.mud-navgroup .mud-nav-group-text {
  font-family: var(--tc-font-body) !important;
  font-weight: 700 !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--tc-muted) !important;
  padding: 0.5rem 1rem 0.25rem !important;
}

.mud-navgroup .mud-nav-link {
  padding-left: 1.75rem !important;
  font-size: 0.82rem !important;
}

.mud-navgroup .mud-collapse-wrapper .mud-nav-link-icon {
  font-size: 1.15rem !important;
}

/* Expand icon on groups */
.mud-navgroup .mud-nav-link-expand-icon {
  color: var(--tc-subtle) !important;
}

/* Divider inside drawer */
.mud-drawer .mud-divider {
  border-color: var(--tc-subtle) !important;
  margin: 0.5rem 1rem !important;
}


/* ============================================================
   MUDBLAZOR OVERRIDES — BUTTONS
   ============================================================ */
.mud-button-filled.mud-button-filled-primary {
  background: var(--tc-accent) !important;
  color: var(--tc-white) !important;
  font-family: var(--tc-font-body);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 8px;
  box-shadow: none !important;
  transition: all 0.25s ease;
}

.mud-button-filled.mud-button-filled-primary:hover {
  background: var(--tc-accent-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--tc-accent-glow) !important;
}

.mud-button-outlined.mud-button-outlined-primary {
  border-color: var(--tc-ink) !important;
  color: var(--tc-ink) !important;
  border-radius: 8px;
  border-width: 1.5px !important;
  transition: all 0.25s ease;
}

.mud-button-outlined.mud-button-outlined-primary:hover {
  background: var(--tc-ink) !important;
  color: var(--tc-paper) !important;
  transform: translateY(-1px);
}

.mud-button-filled.mud-button-filled-secondary {
  background: var(--tc-ink) !important;
  color: var(--tc-paper) !important;
  border-radius: 8px;
}

.mud-button-filled.mud-button-filled-secondary:hover {
  background: var(--tc-accent) !important;
}

.mud-fab-primary {
  background: var(--tc-accent) !important;
}

.mud-fab-primary:hover {
  background: var(--tc-accent-dark) !important;
}


/* ============================================================
   MUDBLAZOR OVERRIDES — TYPOGRAPHY
   ============================================================ */
.mud-typography-h1,
.mud-typography-h2,
.mud-typography-h3,
.mud-typography-h4 {
  font-family: var(--tc-font-display) !important;
  letter-spacing: -0.02em !important;
  color: var(--tc-ink);
}

.mud-typography-h1 { font-size: clamp(2.5rem, 5vw, 4rem) !important; line-height: 1 !important; }
.mud-typography-h2 { font-size: clamp(2rem, 4vw, 3rem) !important; line-height: 1.05 !important; }
.mud-typography-h3 { font-size: 1.75rem !important; line-height: 1.15 !important; }
.mud-typography-h4 { font-size: 1.35rem !important; line-height: 1.2 !important; }

.mud-typography-h5,
.mud-typography-h6 {
  font-family: var(--tc-font-body) !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
}

.mud-typography-body1,
.mud-typography-body2 {
  font-family: var(--tc-font-body) !important;
}

.mud-typography-body1 {
  font-size: 1rem !important;
  line-height: 1.7 !important;
  font-weight: 300;
}

.mud-typography-body2 {
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
  color: var(--tc-muted);
}

.mud-typography-subtitle1,
.mud-typography-subtitle2 {
  font-family: var(--tc-font-body) !important;
  color: var(--tc-muted);
}


/* ============================================================
   MUDBLAZOR OVERRIDES — PAPER & CARDS
   ============================================================ */
.mud-paper {
  background: var(--tc-white) !important;
  border-radius: var(--tc-radius-lg) !important;
  border: 1px solid var(--tc-subtle);
  box-shadow: none !important;
  transition: all 0.35s ease;
}

.mud-paper:not(.mud-drawer):not(.mud-appbar):not(.mud-dialog):not(.mud-popover):not(.mud-table):not(.mud-menu):hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06) !important;
}

.mud-card {
  border-radius: var(--tc-radius-lg) !important;
  border: 1px solid var(--tc-subtle);
  overflow: hidden;
}

.mud-card-header .mud-card-header-text .mud-typography {
  font-family: var(--tc-font-display) !important;
}


/* ============================================================
   MUDBLAZOR OVERRIDES — INPUTS & FIELDS
   ============================================================ */
.mud-input.mud-input-outlined .mud-input-outlined-border {
  border-color: var(--tc-subtle) !important;
  border-radius: var(--tc-radius-sm);
}

.mud-input.mud-input-outlined:hover .mud-input-outlined-border {
  border-color: var(--tc-muted) !important;
}

.mud-input.mud-input-outlined.mud-input-focused .mud-input-outlined-border {
  border-color: var(--tc-accent) !important;
  border-width: 1.5px !important;
}

.mud-input-label {
  font-family: var(--tc-font-body) !important;
  font-size: 0.85rem !important;
}

.mud-input-label-inputcontrol.mud-input-label-animated.mud-input-label-focused {
  color: var(--tc-accent) !important;
}

.mud-select .mud-input-control .mud-select-input {
  font-family: var(--tc-font-body);
}


/* ============================================================
   MUDBLAZOR OVERRIDES — TABLE
   ============================================================ */
.mud-table {
  border-radius: var(--tc-radius-md) !important;
  border: 1px solid var(--tc-subtle);
  overflow: hidden;
}

.mud-table .mud-table-head .mud-table-cell {
  font-family: var(--tc-font-body) !important;
  font-weight: 600 !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--tc-muted) !important;
  background: var(--tc-cream) !important;
  border-bottom: 1px solid var(--tc-subtle) !important;
}

.mud-table .mud-table-body .mud-table-row:hover {
  background: var(--tc-cream) !important;
}

.mud-table .mud-table-body .mud-table-cell {
  font-family: var(--tc-font-body);
  font-size: 0.88rem;
  border-color: var(--tc-subtle) !important;
}

.mud-table-pagination {
  border-top: 1px solid var(--tc-subtle) !important;
}


/* ============================================================
   MUDBLAZOR OVERRIDES — CHIPS & BADGES
   ============================================================ */
.mud-chip {
  font-family: var(--tc-font-body) !important;
  font-weight: 500;
  border-radius: 100px !important;
  font-size: 0.78rem;
}

.mud-chip.mud-chip-filled.mud-chip-color-primary {
  background: var(--tc-ink) !important;
  color: var(--tc-paper) !important;
}

.mud-chip.mud-chip-filled.mud-chip-color-secondary {
  background: var(--tc-accent) !important;
  color: var(--tc-white) !important;
}

.mud-badge .mud-badge-content {
  font-family: var(--tc-font-mono);
  font-size: 0.65rem;
}


/* ============================================================
   MUDBLAZOR OVERRIDES — DIALOG
   ============================================================ */
.mud-dialog {
  border-radius: var(--tc-radius-lg) !important;
  border: 1px solid var(--tc-subtle);
}

.mud-dialog .mud-dialog-title {
  font-family: var(--tc-font-display) !important;
  font-size: 1.5rem !important;
}

.mud-overlay-dialog {
  backdrop-filter: blur(8px);
}


/* ============================================================
   MUDBLAZOR OVERRIDES — TABS
   ============================================================ */
.mud-tabs .mud-tab {
  font-family: var(--tc-font-body) !important;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mud-tabs .mud-tab-active {
  color: var(--tc-accent) !important;
}

.mud-tabs .mud-tab-slider {
  background: var(--tc-accent) !important;
}


/* ============================================================
   MUDBLAZOR OVERRIDES — SNACKBAR
   ============================================================ */
.mud-snackbar {
  border-radius: var(--tc-radius-md) !important;
  font-family: var(--tc-font-body);
}


/* ============================================================
   MUDBLAZOR OVERRIDES — DIVIDER
   ============================================================ */
.mud-divider {
  border-color: var(--tc-subtle) !important;
}


/* ============================================================
   MUDBLAZOR OVERRIDES — TOOLTIP
   ============================================================ */
.mud-tooltip {
  font-family: var(--tc-font-body) !important;
  font-size: 0.78rem !important;
  border-radius: var(--tc-radius-sm) !important;
  background: var(--tc-ink) !important;
}


/* ============================================================
   LANDING PAGE — HERO
   ============================================================ */
.tc-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 0 4rem;
  position: relative;
}

.tc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--tc-ink);
  color: var(--tc-paper);
  padding: 0.45rem 1rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  width: fit-content;
  opacity: 0;
  animation: tc-fadeUp 0.8s ease 0.2s forwards;
}

.tc-hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--tc-accent);
  border-radius: 50%;
  animation: tc-pulse 2s ease infinite;
}

.tc-hero-title {
  font-family: var(--tc-font-display) !important;
  font-size: clamp(3.5rem, 9vw, 8rem) !important;
  line-height: 0.92 !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 2rem;
  max-width: 900px;
  opacity: 0;
  animation: tc-fadeUp 0.8s ease 0.4s forwards;
}

.tc-hero-title .italic {
  font-style: italic;
  color: var(--tc-accent);
}

.tc-hero-title .line-2 {
  display: block;
  margin-left: 3rem;
}

.tc-hero-sub {
  font-size: 1.15rem !important;
  line-height: 1.7 !important;
  color: var(--tc-muted) !important;
  max-width: 520px;
  margin-bottom: 3rem;
  font-weight: 300;
  opacity: 0;
  animation: tc-fadeUp 0.8s ease 0.6s forwards;
}

.tc-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  opacity: 0;
  animation: tc-fadeUp 0.8s ease 0.8s forwards;
}

/* Hero decoration cards */
.tc-hero-deco {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: 520px;
  opacity: 0;
  animation: tc-fadeIn 1.2s ease 1s forwards;
}

.tc-float-card {
  position: absolute;
  background: var(--tc-white);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--tc-subtle);
  transition: transform 0.4s ease;
}

.tc-float-card:hover {
  transform: translateY(-4px) rotate(0deg) !important;
}

.tc-float-card.card-1 {
  top: 0;
  left: 0;
  width: 320px;
  transform: rotate(-2deg);
}

.tc-float-card.card-2 {
  bottom: 0;
  right: 0;
  width: 300px;
  transform: rotate(1.5deg);
}

.tc-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tc-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tc-white);
  font-size: 0.85rem;
}

.tc-card-icon.ai { background: linear-gradient(135deg, var(--tc-accent), #ff7b5e); }
.tc-card-icon.rss { background: var(--tc-ink); }

.tc-card-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tc-muted);
}

.tc-card-title {
  font-family: var(--tc-font-display);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.tc-card-lines {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.tc-card-line {
  height: 8px;
  background: var(--tc-cream);
  border-radius: 4px;
}

.tc-card-line:nth-child(1) { width: 100%; }
.tc-card-line:nth-child(2) { width: 85%; }
.tc-card-line:nth-child(3) { width: 60%; }

.tc-card-tag {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.3rem 0.7rem;
  background: rgba(232, 67, 42, 0.08);
  color: var(--tc-accent);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--tc-font-mono);
}


/* ============================================================
   LANDING PAGE — MARQUEE
   ============================================================ */
.tc-marquee {
  padding: 1.75rem 0;
  border-top: 1px solid var(--tc-subtle);
  border-bottom: 1px solid var(--tc-subtle);
  overflow: hidden;
}

.tc-marquee-track {
  display: flex;
  animation: tc-marquee 25s linear infinite;
  width: max-content;
}

.tc-marquee-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2.5rem;
  white-space: nowrap;
  font-family: var(--tc-font-display);
  font-size: 1.3rem;
  color: var(--tc-muted);
}

.tc-marquee-item .sep {
  width: 6px;
  height: 6px;
  background: var(--tc-accent);
  border-radius: 50%;
  flex-shrink: 0;
}


/* ============================================================
   LANDING PAGE — FEATURES GRID
   ============================================================ */
.tc-section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tc-accent);
  margin-bottom: 1rem;
  font-family: var(--tc-font-body);
}

.tc-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tc-feature-card {
  background: var(--tc-white);
  border-radius: var(--tc-radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--tc-subtle);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.tc-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--tc-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.tc-feature-card:hover::before { transform: scaleX(1); }
.tc-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.tc-feature-card.featured {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--tc-ink);
  color: var(--tc-paper);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tc-feature-card.featured::before { background: var(--tc-paper); }

.tc-feature-number {
  font-family: var(--tc-font-mono);
  font-size: 0.7rem;
  color: var(--tc-muted);
  margin-bottom: 1.5rem;
}

.tc-feature-card.featured .tc-feature-number {
  color: rgba(245, 240, 232, 0.4);
}

.tc-feature-icon {
  width: 52px;
  height: 52px;
  background: var(--tc-cream);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.tc-feature-card.featured .tc-feature-icon {
  background: rgba(245, 240, 232, 0.1);
  width: 64px;
  height: 64px;
  font-size: 1.6rem;
}

.tc-feature-name {
  font-family: var(--tc-font-display) !important;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.tc-feature-card.featured .tc-feature-name {
  font-size: 2rem;
  max-width: 400px;
  line-height: 1.15;
}

.tc-feature-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--tc-muted);
  font-weight: 300;
}

.tc-feature-card.featured .tc-feature-desc {
  color: rgba(245, 240, 232, 0.6);
  font-size: 1rem;
  max-width: 420px;
}

/* Feature visual: transcript preview */
.tc-feature-visual {
  margin-top: 2rem;
  background: rgba(245, 240, 232, 0.06);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(245, 240, 232, 0.1);
}

.tc-transcript-line {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  font-family: var(--tc-font-mono);
}

.tc-transcript-time {
  color: var(--tc-accent);
  flex-shrink: 0;
  font-size: 0.7rem;
  margin-top: 2px;
}

.tc-transcript-text {
  color: rgba(245, 240, 232, 0.5);
  line-height: 1.5;
}

.tc-transcript-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.25rem 0;
  color: var(--tc-accent);
  font-size: 1.2rem;
  gap: 0.5rem;
}

.tc-transcript-arrow span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--tc-font-body);
  font-weight: 600;
}

.tc-blog-preview {
  background: rgba(245, 240, 232, 0.08);
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid rgba(245, 240, 232, 0.08);
}

.tc-blog-preview-title {
  font-family: var(--tc-font-display);
  font-size: 0.95rem;
  color: var(--tc-paper);
  margin-bottom: 0.5rem;
}

.tc-blog-preview-line {
  height: 5px;
  background: rgba(245, 240, 232, 0.08);
  border-radius: 3px;
  margin-bottom: 0.3rem;
}

.tc-blog-preview-line:nth-child(1) { width: 100%; }
.tc-blog-preview-line:nth-child(2) { width: 90%; }
.tc-blog-preview-line:nth-child(3) { width: 70%; }


/* ============================================================
   LANDING PAGE — HOW IT WORKS
   ============================================================ */
.tc-how-section {
  background: var(--tc-ink);
  color: var(--tc-paper);
  padding: 6rem 0 8rem;
}

.tc-how-section .tc-section-eyebrow { color: var(--tc-accent); }

.tc-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
  position: relative;
}

.tc-steps::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 240, 232, 0.15), transparent);
}

.tc-step { text-align: center; }

.tc-step-number {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1px solid rgba(245, 240, 232, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-family: var(--tc-font-display);
  font-size: 2.5rem;
  font-style: italic;
  color: var(--tc-accent);
  background: var(--tc-ink);
  z-index: 1;
  position: relative;
  transition: all 0.3s ease;
}

.tc-step:hover .tc-step-number {
  border-color: var(--tc-accent);
  box-shadow: 0 0 40px rgba(232, 67, 42, 0.15);
}

.tc-step-title {
  font-family: var(--tc-font-display) !important;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--tc-paper);
}

.tc-step-desc {
  font-size: 0.88rem;
  color: rgba(245, 240, 232, 0.5);
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
  font-weight: 300;
}


/* ============================================================
   LANDING PAGE — TECH STACK
   ============================================================ */
.tc-tech-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.tc-tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 2.5rem;
  background: var(--tc-white);
  border-radius: 16px;
  border: 1px solid var(--tc-subtle);
  transition: all 0.3s ease;
  min-width: 140px;
}

.tc-tech-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  border-color: var(--tc-accent);
}

.tc-tech-icon { font-size: 2rem; line-height: 1; }
.tc-tech-name { font-weight: 600; font-size: 0.85rem; letter-spacing: 0.02em; }
.tc-tech-desc { font-size: 0.72rem; color: var(--tc-muted); }


/* ============================================================
   LANDING PAGE — CTA
   ============================================================ */
.tc-cta { padding: 6rem 0; text-align: center; }

.tc-cta-title {
  font-family: var(--tc-font-display) !important;
  font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 1.5rem;
}

.tc-cta-title .italic { font-style: italic; color: var(--tc-accent); }

.tc-cta-note {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--tc-muted);
}


/* ============================================================
   LANDING PAGE — FOOTER
   ============================================================ */
.tc-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--tc-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tc-footer-logo {
  font-family: var(--tc-font-display);
  font-size: 1.1rem;
  color: var(--tc-ink);
}

.tc-footer-logo em {
  font-style: italic;
  color: var(--tc-muted);
}

.tc-footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tc-footer-links a {
  font-size: 0.8rem;
  color: var(--tc-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.tc-footer-links a:hover { color: var(--tc-accent); }

.tc-footer-copy {
  font-size: 0.75rem;
  color: var(--tc-muted);
}


/* ============================================================
   LANDING PAGE BUTTONS (standalone, outside MudBlazor)
   ============================================================ */
.tc-btn-primary {
  background: var(--tc-accent);
  color: var(--tc-white);
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 8px;
  font-family: var(--tc-font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-block;
}

.tc-btn-primary:hover {
  background: var(--tc-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--tc-accent-glow);
}

.tc-btn-secondary {
  background: none;
  border: 1.5px solid var(--tc-ink);
  color: var(--tc-ink);
  padding: 0.95rem 2rem;
  border-radius: 8px;
  font-family: var(--tc-font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-block;
}

.tc-btn-secondary:hover {
  background: var(--tc-ink);
  color: var(--tc-paper);
  transform: translateY(-2px);
}


/* ============================================================
   UTILITY — SCROLL REVEAL
   ============================================================ */
.tc-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.tc-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes tc-fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes tc-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes tc-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes tc-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .tc-hero-deco { display: none; }
  .tc-hero-title { max-width: 100%; }
}

@media (max-width: 900px) {
  .tc-hero { padding: 5rem 0 3rem; }
  .tc-hero-title .line-2 { margin-left: 0; }

  .tc-features-grid { grid-template-columns: 1fr; }
  .tc-feature-card.featured {
    grid-column: span 1;
    grid-row: span 1;
  }

  .tc-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .tc-steps::before { display: none; }

  .tc-how-section { padding: 4rem 0; }

  .tc-footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .tc-tech-stack { gap: 1rem; }
  .tc-tech-item { min-width: 120px; padding: 1.5rem; }
}

@media (max-width: 600px) {
  .tc-hero-actions { flex-direction: column; align-items: stretch; }
  .tc-hero-actions .tc-btn-primary,
  .tc-hero-actions .tc-btn-secondary { text-align: center; }
}
