/* Linear Architectural Precision Marketing Site CSS */

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;

  /* Light Theme Defaults */
  --bg-main: #ffffff;
  --bg-subtle: #f9fafb;
  --bg-hover: #f3f4f6;
  --hairline: #e5e7eb;
  --hairline-dark: #d1d5db;

  --text-main: #0f172a;
  --text-sub: #475569;
  --text-muted: #94a3b8;

  --accent-blue: #0284c7;
  --accent-blue-bg: #f0f9ff;
  --success-green: #166534;
}

body.dark-mode {
  --bg-main: #09090b;
  --bg-subtle: #121215;
  --bg-hover: #18181b;
  --hairline: #27272a;
  --hairline-dark: #3f3f46;

  --text-main: #f4f4f5;
  --text-sub: #a1a1aa;
  --text-muted: #71717a;

  --accent-blue: #38bdf8;
  --accent-blue-bg: #0c4a6e;
  --success-green: #4ade80;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important; /* STRICT: 100% sharp edges */
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  transition: background-color 0.15s ease, color 0.15s ease;
}

/* Sticky Top Navigation Shell */
.top-nav-shell {
  width: 100%;
  height: 54px;
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-main);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1040px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.mono-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  background: var(--text-main);
  color: var(--bg-main);
  padding: 3px 6px;
  letter-spacing: 1px;
}

.brand-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

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

.btn-theme {
  background: var(--bg-main);
  border: 1px solid var(--hairline-dark);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  cursor: pointer;
}

.btn-theme:hover {
  background: var(--text-main);
  color: var(--bg-main);
}

.btn-nav {
  background: var(--text-main);
  color: var(--bg-main);
  border: 1px solid var(--text-main);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.btn-nav:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #ffffff;
}

/* Centered Main Container (Max Width 1040px) */
.main-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
}

/* Hero Section */
.hero-block {
  width: 100%;
  padding: 56px 0 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  border-bottom: 1px solid var(--hairline);
}

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-blue);
  letter-spacing: 1px;
}

.hero-heading {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.25;
  max-width: 680px;
}

.hero-subtext {
  font-size: 15px;
  color: var(--text-sub);
  max-width: 560px;
  line-height: 1.55;
}

.hero-cta-row {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.btn-primary {
  background: var(--text-main);
  color: var(--bg-main);
  border: 1px solid var(--text-main);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  padding: 10px 20px;
  text-decoration: none;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
}

.btn-primary:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #ffffff;
}

.btn-outline {
  background: var(--bg-main);
  color: var(--text-main);
  border: 1px solid var(--hairline-dark);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  padding: 10px 20px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.15s ease;
}

.btn-outline:hover {
  background: var(--bg-hover);
  border-color: var(--text-main);
}

/* Live Preview Card Wrapper (Centered 540px) */
.preview-wrapper {
  width: 100%;
  max-width: 560px;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-label-bar {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-sub);
  letter-spacing: 1px;
}

.twitter-preview-card {
  width: 100%;
  border: 1px solid var(--hairline-dark);
  background: var(--bg-main);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.tweet-user-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.avatar-circle {
  width: 38px;
  height: 38px;
  background: #0f1419;
  color: #ffffff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-left: 10px;
}

.name-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.user-display-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.user-handle, .dot, .post-time {
  font-size: 13px;
  color: var(--text-sub);
}

.dots {
  color: var(--text-sub);
  font-family: var(--font-mono);
  font-size: 14px;
}

.tweet-text {
  font-size: 14.5px;
  color: var(--text-main);
}

.simulated-video-frame {
  width: 100%;
  position: relative;
  border: 1px solid var(--hairline-dark);
  background: #06090e;
  overflow: hidden;
}

.video-preview-bg.tech-promo-bg {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, #090e17 0%, #030712 50%, #0284c7 160%);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.promo-center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.promo-badge-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 3px 8px;
  letter-spacing: 1.2px;
}

.promo-title-hd {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.promo-spec-row {
  display: flex;
  gap: 6px;
  margin-top: 2px;
}

.spec-pill {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
}

.video-tag {
  position: absolute;
  left: 12px;
  bottom: 42px;
  background: rgba(220, 38, 38, 0.9);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 6px;
}

.video-bar {
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
}

.ctrls {
  display: flex;
  gap: 8px;
  font-size: 10.5px;
}

.extension-overlay-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #1d9bf0;
  color: #ffffff;
  border: 1px solid #1d9bf0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: transform 0.15s ease;
}

.extension-overlay-btn:hover {
  transform: scale(1.08);
}

.twitter-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid var(--hairline);
  font-size: 12px;
  color: var(--text-sub);
}

.act-item {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.extension-icon-item {
  cursor: pointer;
}

/* Section Blocks Architecture */
.section-block {
  width: 100%;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
}

.section-header {
  padding: 24px 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid var(--hairline);
}

.mono-step {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent-blue);
  letter-spacing: 1px;
}

.section-header h2 {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

/* 2-Column & 3-Column Grids */
.three-col-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.two-col-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.grid-col {
  padding: 28px 20px;
  border-right: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.grid-col:last-child {
  border-right: none;
}

.grid-col.featured {
  background: var(--bg-subtle);
}

.col-code {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-sub);
  letter-spacing: 0.8px;
}

.col-code.blue {
  color: var(--accent-blue);
}

.grid-col h3 {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.grid-col p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.5;
}

.grid-col code {
  font-family: var(--font-mono);
  background: var(--bg-subtle);
  border: 1px solid var(--hairline);
  padding: 2px 4px;
  font-size: 11px;
}

/* Pricing Grid Styles */
.price-val {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.price-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.full-btn {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}

/* Key Reveal Page Styling */
.reveal-block {
  width: 100%;
  max-width: 680px;
  margin: 48px auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.reveal-sub {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.5;
}

.key-box {
  width: 100%;
  padding: 24px;
  border: 1px solid var(--hairline-dark);
  background: var(--bg-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.key-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-blue);
  letter-spacing: 1px;
}

.key-value-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.key-value-row code {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
}

.permanent-link-box {
  width: 100%;
  padding: 20px;
  border: 1px solid var(--accent-blue);
  background: var(--accent-blue-bg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.perm-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent-blue);
  letter-spacing: 0.8px;
}

.perm-desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.5;
}

.link-input-group {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.linear-input {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 8px 12px;
  border: 1px solid var(--hairline-dark);
  background: var(--bg-main);
  color: var(--text-main);
}

.key-resend-notice-box {
  width: 100%;
  padding: 20px;
  border: 1px solid var(--hairline);
  background: var(--bg-main);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.key-resend-notice-box h4 {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
}

.key-resend-notice-box p {
  font-size: 12.5px;
  color: var(--text-sub);
  line-height: 1.45;
}

/* Footer */
.linear-footer {
  width: 100%;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}
