/* ==========================================================================
   PostSnap — Ultra-Aesthetic Design System & Watermelon UI Dynamic Animations
   ========================================================================== */

:root {
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-tweet: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* App Theme Colors */
  --bg-primary: #07080c;
  --bg-secondary: #0d0f15;
  --bg-card: rgba(15, 18, 26, 0.75);
  --bg-card-hover: rgba(22, 26, 38, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: #1d9bf0;
  
  --text-white: #ffffff;
  --text-primary: #e6edf3;
  --text-secondary: #949daf;
  --text-muted: #565f6c;

  --accent-blue: #1d9bf0;
  --accent-blue-hover: #1a8cd8;
  --accent-glow: rgba(29, 155, 240, 0.35);
  --accent-cyan: #00d2ff;
  --accent-purple: #7928ca;

  --success: #00ba7c;
  --danger: #f4212e;
}

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Background Grid Pattern (Watermelon UI style) */
.bg-grid-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 900px;
  background-size: 44px 44px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 10%, #000 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 10%, #000 60%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* --------------------------------------------------------------------------
   Layout & Container
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Navigation Bar
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 8, 12, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.95rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text-white);
  transition: transform 0.2s ease;
}

.brand-logo:hover {
  transform: scale(1.02);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #1d9bf0, #0052cc);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 0 18px rgba(29, 155, 240, 0.45);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.brand-accent {
  color: var(--accent-blue);
  font-weight: 800;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--text-white);
}

.btn-primary-header {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.15rem;
  background: rgba(29, 155, 240, 0.12);
  color: var(--accent-blue);
  border: 1px solid rgba(29, 155, 240, 0.3);
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-header:hover {
  background: var(--accent-blue);
  color: #ffffff;
  border-color: var(--accent-blue);
  box-shadow: 0 0 20px rgba(29, 155, 240, 0.5);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 5.5rem 0 3.5rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(circle, rgba(29, 155, 240, 0.18) 0%, rgba(7, 8, 12, 0) 70%);
  pointer-events: none;
  z-index: 0;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { opacity: 0.7; transform: translateX(-50%) scale(0.95); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.05); }
}

.hero-container {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Watermelon UI Floating Announcement Pill */
.announcement-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.35rem 0.95rem;
  border-radius: 30px;
  font-size: 0.82rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
  cursor: pointer;
}

.announcement-badge:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 0 16px var(--accent-glow);
  transform: translateY(-1px);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-blue);
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--accent-blue);
  opacity: 0.6;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.badge-arrow {
  color: var(--accent-blue);
  font-weight: 700;
  transition: transform 0.15s ease;
}

.announcement-badge:hover .badge-arrow {
  transform: translateX(3px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.045em;
  color: var(--text-white);
  margin-bottom: 1.35rem;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #1d9bf0 80%, #00d2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  max-width: 680px;
  margin: 0 auto 2.75rem;
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Watermelon UI Style Border-Beam Animated Converter Box
   -------------------------------------------------------------------------- */
.converter-box-wrapper {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  border-radius: 20px;
  padding: 1.5px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(29, 155, 240, 0.4), rgba(255, 255, 255, 0.08));
  background-size: 200% 200%;
  animation: borderBeam 8s linear infinite;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 35px rgba(29, 155, 240, 0.15);
}

@keyframes borderBeam {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.converter-box {
  background: var(--bg-card);
  border-radius: 19px;
  padding: 2.25rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.converter-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.input-wrapper {
  display: flex;
  align-items: center;
  background: rgba(7, 8, 12, 0.9);
  border: 1.5px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.45rem 0.55rem 0.45rem 1rem;
  transition: all 0.25s ease;
}

.input-wrapper:focus-within {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.input-icon {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  margin-right: 0.75rem;
}

.url-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 0.65rem 0;
}

.url-input::placeholder {
  color: var(--text-muted);
}

.btn-paste {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: 8px;
  padding: 0.55rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  margin-right: 0.5rem;
  transition: all 0.15s ease;
}

.btn-paste:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-white);
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #1d9bf0, #157dc2);
  color: #ffffff;
  border: none;
  border-radius: 9px;
  padding: 0.7rem 1.45rem;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(29, 155, 240, 0.4);
}

.btn-submit:hover {
  background: linear-gradient(135deg, #24a4fa, #1d9bf0);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(29, 155, 240, 0.55);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Controls Bar */
.controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.control-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.6rem;
}

.theme-selector {
  display: flex;
  align-items: center;
}

.segmented-control {
  display: inline-flex;
  background: rgba(7, 8, 12, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 3px;
}

.theme-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.theme-btn.active {
  background: rgba(255, 255, 255, 0.14);
  color: var(--text-white);
}

.test-corpus {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.sample-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.sample-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: 20px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sample-pill:hover {
  background: rgba(29, 155, 240, 0.14);
  border-color: rgba(29, 155, 240, 0.45);
  color: var(--accent-blue);
  transform: translateY(-1px);
}

/* Alert Error */
.alert-error {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(244, 33, 46, 0.1);
  border: 1px solid rgba(244, 33, 46, 0.3);
  color: #ff6b76;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
}

.hidden {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Progress State
   -------------------------------------------------------------------------- */
.progress-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 2.75rem 1.5rem;
}

.spinner {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(29, 155, 240, 0.2);
  border-top-color: var(--accent-blue);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.progress-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

#progressTitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-white);
}

#progressDesc {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Result & Preview Stage
   -------------------------------------------------------------------------- */
.result-area {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 186, 124, 0.12);
  border: 1px solid rgba(0, 186, 124, 0.3);
  color: var(--success);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
}

.status-badge.fallback {
  background: rgba(255, 170, 0, 0.12);
  border-color: rgba(255, 170, 0, 0.3);
  color: #ffaa00;
}

.status-badge.fallback .badge-dot {
  background-color: #ffaa00;
  box-shadow: 0 0 8px #ffaa00;
}

.export-specs {
  display: flex;
  gap: 0.4rem;
}

.spec-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 500;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

/* Dual Inspector Stage */
.preview-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 900px) {
  .preview-stage {
    grid-template-columns: 1fr 1fr;
  }
}

.preview-column {
  display: flex;
  flex-direction: column;
}

.column-header {
  margin-bottom: 0.85rem;
  text-align: left;
}

.column-header h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-white);
}

.column-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.card-render-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 1.25rem;
  background: rgba(7, 8, 12, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  margin-bottom: 1.25rem;
  overflow-x: auto;
}

.action-buttons-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-action-primary {
  flex: 1;
  min-width: 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent-blue);
  color: #ffffff;
  border: none;
  border-radius: 9px;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(29, 155, 240, 0.4);
}

.btn-action-primary:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-1px);
}

.btn-action-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  border-radius: 9px;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-action-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-action-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: 9px;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-action-ghost:hover {
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Embed Compare Column */
.embed-wrapper {
  background: rgba(7, 8, 12, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.25rem;
  min-height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.embed-placeholder {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ==========================================================================
   OFFICIAL X TWEET CARD (The exact pixel-perfect target)
   ========================================================================== */

.tweet-card-root {
  width: 100%;
  max-width: 550px;
  border-radius: 16px;
  padding: 18px 20px;
  font-family: var(--font-tweet);
  text-align: left;
  position: relative;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Light Theme (Default) */
.tweet-card-root.theme-light {
  background-color: #ffffff;
  color: #0f1419;
  border: 1px solid #cfd9de;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.tweet-card-root.theme-light .tc-author-name { color: #0f1419; }
.tweet-card-root.theme-light .tc-author-handle { color: #536471; }
.tweet-card-root.theme-light .tc-text { color: #0f1419; }
.tweet-card-root.theme-light .tc-meta { color: #536471; }
.tweet-card-root.theme-light .tc-divider { border-color: #eff3f4; }
.tweet-card-root.theme-light .tc-metric-label { color: #536471; }
.tweet-card-root.theme-light .tc-metric-val { color: #0f1419; }
.tweet-card-root.theme-light .tc-logo { color: #0f1419; }
.tweet-card-root.theme-light .tc-disclosure { color: #8899a6; }
.tweet-card-root.theme-light .tc-link-card { border-color: #cfd9de; background-color: #ffffff; }
.tweet-card-root.theme-light .tc-card-domain { color: #536471; }
.tweet-card-root.theme-light .tc-card-title { color: #0f1419; }
.tweet-card-root.theme-light .tc-card-desc { color: #536471; }

/* Dim Theme */
.tweet-card-root.theme-dim {
  background-color: #15202b;
  color: #f7f9f9;
  border: 1px solid #38444d;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.tweet-card-root.theme-dim .tc-author-name { color: #f7f9f9; }
.tweet-card-root.theme-dim .tc-author-handle { color: #8b98a5; }
.tweet-card-root.theme-dim .tc-text { color: #f7f9f9; }
.tweet-card-root.theme-dim .tc-meta { color: #8b98a5; }
.tweet-card-root.theme-dim .tc-divider { border-color: #38444d; }
.tweet-card-root.theme-dim .tc-metric-label { color: #8b98a5; }
.tweet-card-root.theme-dim .tc-metric-val { color: #f7f9f9; }
.tweet-card-root.theme-dim .tc-logo { color: #f7f9f9; }
.tweet-card-root.theme-dim .tc-disclosure { color: #8b98a5; }
.tweet-card-root.theme-dim .tc-link-card { border-color: #38444d; background-color: #192734; }
.tweet-card-root.theme-dim .tc-card-domain { color: #8b98a5; }
.tweet-card-root.theme-dim .tc-card-title { color: #f7f9f9; }
.tweet-card-root.theme-dim .tc-card-desc { color: #8b98a5; }

/* Dark / Lights Out Theme */
.tweet-card-root.theme-dark {
  background-color: #000000;
  color: #e7e9ea;
  border: 1px solid #2f3336;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.tweet-card-root.theme-dark .tc-author-name { color: #e7e9ea; }
.tweet-card-root.theme-dark .tc-author-handle { color: #71767b; }
.tweet-card-root.theme-dark .tc-text { color: #e7e9ea; }
.tweet-card-root.theme-dark .tc-meta { color: #71767b; }
.tweet-card-root.theme-dark .tc-divider { border-color: #2f3336; }
.tweet-card-root.theme-dark .tc-metric-label { color: #71767b; }
.tweet-card-root.theme-dark .tc-metric-val { color: #e7e9ea; }
.tweet-card-root.theme-dark .tc-logo { color: #e7e9ea; }
.tweet-card-root.theme-dark .tc-disclosure { color: #71767b; }
.tweet-card-root.theme-dark .tc-link-card { border-color: #2f3336; background-color: #16181c; }
.tweet-card-root.theme-dark .tc-card-domain { color: #71767b; }
.tweet-card-root.theme-dark .tc-card-title { color: #e7e9ea; }
.tweet-card-root.theme-dark .tc-card-desc { color: #71767b; }

/* Card Header */
.tc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.tc-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tc-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #1d9bf0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  overflow: hidden;
  flex-shrink: 0;
}

.tc-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tc-author-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

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

.tc-author-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.tc-verified-badge {
  display: inline-flex;
  align-items: center;
}

.tc-author-handle {
  font-size: 14px;
}

.tc-logo {
  display: flex;
  align-items: center;
}

/* Tweet Text */
.tc-text {
  font-size: 16px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
  margin-bottom: 12px;
}

.tc-text.long-text {
  font-size: 15px;
  line-height: 1.5;
}

.tc-link {
  color: #1d9bf0;
  text-decoration: none;
}

.tc-link:hover {
  text-decoration: underline;
}

/* Photos Attachment */
.tc-media-container {
  margin: 12px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.tc-media-photo {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

/* Rich Link Card */
.tc-link-card {
  margin: 12px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid;
  text-decoration: none;
  display: block;
}

.tc-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.tc-card-content {
  padding: 12px 14px;
}

.tc-card-domain {
  font-size: 13px;
  margin-bottom: 2px;
}

.tc-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}

.tc-card-desc {
  font-size: 13px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Timestamp & Meta */
.tc-meta {
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Divider Line */
.tc-divider {
  border: 0;
  border-top: 1px solid;
  margin: 10px 0;
}

/* Engagement Metrics Row */
.tc-metrics-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 4px 4px;
}

.tc-metric-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.tc-metric-icon {
  display: flex;
  align-items: center;
  color: #71767b;
}

.tc-metric-val {
  font-weight: 700;
}

.tc-metric-label {
  font-weight: 400;
}

/* Card Disclosure Footer */
.tc-disclosure {
  font-size: 11px;
  margin-top: 8px;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   Watermelon UI Stats Metric Strip
   -------------------------------------------------------------------------- */
.stats-strip {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .stats-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 0.25s ease;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(29, 155, 240, 0.35);
  transform: translateY(-2px);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Watermelon UI Interactive Before & After Showcase
   -------------------------------------------------------------------------- */
.comparison-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

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

@media (min-width: 860px) {
  .comparison-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.comp-card {
  border-radius: 18px;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.comp-card.bad {
  border-color: rgba(244, 33, 46, 0.25);
}

.comp-card.good {
  border-color: rgba(0, 186, 124, 0.35);
  box-shadow: 0 0 25px rgba(0, 186, 124, 0.08);
}

.comp-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.comp-tag.bad {
  background: rgba(244, 33, 46, 0.12);
  color: #ff6b76;
}

.comp-tag.good {
  background: rgba(0, 186, 124, 0.15);
  color: var(--success);
}

.comp-preview {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.86rem;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.comp-preview.messy {
  border: 1px dashed rgba(244, 33, 46, 0.3);
  color: #8b949e;
  filter: blur(0.3px);
}

.comp-preview.crisp {
  border: 1px solid rgba(29, 155, 240, 0.3);
  background: #000000;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}

.comp-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.88rem;
}

.comp-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.comp-features.bad li { color: #8b949e; }
.comp-features.good li { color: var(--text-primary); font-weight: 500; }

/* --------------------------------------------------------------------------
   Watermelon UI Spotlight Bento Grid Cards
   -------------------------------------------------------------------------- */
.section {
  padding: 5.5rem 0;
}

.dark-section {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.light-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.section-heading {
  margin-bottom: 3.5rem;
}

.text-center {
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: all 0.25s ease;
}

.step-card:hover {
  border-color: rgba(29, 155, 240, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4);
}

.step-badge {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-blue);
  background: rgba(29, 155, 240, 0.12);
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.65rem;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Features Grid with Dynamic Cursor Spotlight */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.spotlight-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 2.25rem;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(29, 155, 240, 0.14), transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.spotlight-card:hover {
  border-color: rgba(29, 155, 240, 0.4);
  transform: translateY(-2px);
}

.spotlight-content {
  position: relative;
  z-index: 1;
}

.feature-icon {
  width: 46px;
  height: 46px;
  background: rgba(29, 155, 240, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  margin-bottom: 1.25rem;
  box-shadow: 0 0 16px rgba(29, 155, 240, 0.2);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.55rem;
}

.feature-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(29, 155, 240, 0.4);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-chevron::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-chevron::after {
  content: "−";
  color: var(--accent-blue);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: auto;
  background-color: #040507;
  border-top: 1px solid var(--border-subtle);
  padding: 2.75rem 0;
  position: relative;
  z-index: 1;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    text-align: left;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.made-with-love {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
}

/* --------------------------------------------------------------------------
   Watermelon UI Dynamic Cursor
   -------------------------------------------------------------------------- */
.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--accent-blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px var(--accent-blue);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.custom-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(29, 155, 240, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 16px rgba(29, 155, 240, 0.2);
  opacity: 0;
  transition: width 0.22s ease, height 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, opacity 0.2s ease;
}

.custom-cursor-ring.active {
  width: 56px;
  height: 56px;
  border-color: rgba(29, 155, 240, 0.9);
  background-color: rgba(29, 155, 240, 0.08);
}

@media (hover: none) or (max-width: 768px) {
  .custom-cursor-dot, .custom-cursor-ring {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Watermelon UI Infinite Marquee Ticker
   -------------------------------------------------------------------------- */
.marquee-section {
  padding: 1.25rem 0;
  background: rgba(13, 15, 21, 0.9);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-section::before, .marquee-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.marquee-section::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary), transparent);
}

.marquee-section::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}

.marquee-track {
  display: inline-flex;
  gap: 3rem;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.marquee-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-blue);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-blue);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Watermelon UI Interactive Dashboard Section
   -------------------------------------------------------------------------- */
.dashboard-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-top: 1px solid var(--border-subtle);
}

.dash-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1rem 1.5rem;
}

.dash-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--success);
}

.dash-meta-pills {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.dash-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 0.3rem 0.85rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 960px) {
  .dash-grid {
    grid-template-columns: 320px 1fr;
  }
}

.dash-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dash-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.dash-card-title {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-preset-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dash-preset-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.dash-preset-btn:hover, .dash-preset-btn.active {
  background: rgba(29, 155, 240, 0.12);
  border-color: rgba(29, 155, 240, 0.4);
  color: var(--text-white);
}

.dash-preset-meta {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.dash-telemetry-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.84rem;
}

.dash-telemetry-item:last-child {
  border-bottom: none;
}

.dash-telemetry-label {
  color: var(--text-secondary);
}

.dash-telemetry-val {
  font-family: monospace;
  color: var(--accent-blue);
  font-weight: 600;
}

/* Interactive Playground Card */
.dash-playground-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.dash-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.dash-toggles {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.toggle-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.15s ease;
}

.toggle-chip.active {
  background: rgba(29, 155, 240, 0.15);
  border-color: rgba(29, 155, 240, 0.5);
  color: var(--accent-blue);
}

.dash-live-render {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 8, 12, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 2rem 1rem;
  min-height: 380px;
  overflow-x: auto;
}

/* --------------------------------------------------------------------------
   Watermelon UI Floating Quick-Action Dock
   -------------------------------------------------------------------------- */
.floating-dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  background: rgba(15, 18, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 40px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(29, 155, 240, 0.2);
  transition: all 0.25s ease;
}

.dock-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  border-radius: 30px;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dock-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  transform: translateY(-2px);
}

.dock-btn.primary {
  background: var(--accent-blue);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(29, 155, 240, 0.4);
}

.dock-btn.primary:hover {
  background: var(--accent-blue-hover);
}

.dock-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.12);
}


/* ==========================================================================
   Watermelon UI Enhanced Design System Extensions
   ========================================================================== */

/* --------------------------------------------------------------------------
   Watermelon UI Technical Crosshairs & Corner Accents
   -------------------------------------------------------------------------- */
.tech-card-wrapper {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(16, 16, 16, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-card-wrapper:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.2);
}

.corner-accent {
  position: absolute;
  width: 8px;
  height: 8px;
  pointer-events: none;
  z-index: 5;
}
.corner-tl { top: 0; left: 0; border-top: 1.5px solid rgba(255, 255, 255, 0.45); border-left: 1.5px solid rgba(255, 255, 255, 0.45); }
.corner-tr { top: 0; right: 0; border-top: 1.5px solid rgba(255, 255, 255, 0.45); border-right: 1.5px solid rgba(255, 255, 255, 0.45); }
.corner-bl { bottom: 0; left: 0; border-bottom: 1.5px solid rgba(255, 255, 255, 0.45); border-left: 1.5px solid rgba(255, 255, 255, 0.45); }
.corner-br { bottom: 0; right: 0; border-bottom: 1.5px solid rgba(255, 255, 255, 0.45); border-right: 1.5px solid rgba(255, 255, 255, 0.45); }

.corner-primary .corner-tl, .corner-primary .corner-tr, .corner-primary .corner-bl, .corner-primary .corner-br {
  border-color: var(--accent-blue);
}

.crosshair-corner {
  position: absolute;
  width: 32px;
  height: 32px;
  pointer-events: none;
  z-index: 10;
}
.crosshair-tl { top: 0; left: 0; }
.crosshair-tr { top: 0; right: 0; }
.crosshair-bl { bottom: 0; left: 0; }
.crosshair-br { bottom: 0; right: 0; }

.crosshair-v {
  position: absolute;
  height: 100%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}
.crosshair-tl .crosshair-v, .crosshair-bl .crosshair-v { left: 16px; }
.crosshair-tr .crosshair-v, .crosshair-br .crosshair-v { right: 16px; }

.crosshair-h {
  position: absolute;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}
.crosshair-tl .crosshair-h, .crosshair-tr .crosshair-h { top: 16px; }
.crosshair-bl .crosshair-h, .crosshair-br .crosshair-h { bottom: 16px; }

.sys-label {
  font-family: monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s ease;
}
.tech-card-wrapper:hover .sys-label {
  color: rgba(255, 255, 255, 0.85);
}

.mono-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-blue);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.mono-slash {
  opacity: 0.6;
}

/* --------------------------------------------------------------------------
   Rotating Words Headline
   -------------------------------------------------------------------------- */
.word-rotate {
  display: inline-block;
  color: var(--accent-blue);
  position: relative;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: underline;
  text-decoration-color: rgba(29, 155, 240, 0.4);
  text-underline-offset: 6px;
}
.word-rotate.fade-out {
  opacity: 0;
  transform: translateY(-12px);
}
.word-rotate.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Watermelon Counting Numbers & Technical Stats Strip
   -------------------------------------------------------------------------- */
.stat-card-tech {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(13, 15, 21, 0.6);
  padding: 1.75rem 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.stat-card-tech:hover {
  transform: translateY(-2px);
  border-color: rgba(29, 155, 240, 0.3);
}
.stat-card-tech .tech-number {
  font-family: monospace;
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}
.stat-card-tech .tech-title {
  font-family: monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-blue);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.stat-card-tech .tech-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Watermelon Animated Bento & Micro-Interactions Grid
   -------------------------------------------------------------------------- */
.animated-bento-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) {
  .animated-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .animated-bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .bento-span-2 {
    grid-column: span 2;
  }
}

.bento-card {
  position: relative;
  min-height: 380px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* Micro-Interaction 1: Interactive DPI Knob / Scale Selector */
.knob-slider-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 1rem 0;
}
.knob-wheel {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle, rgba(29, 155, 240, 0.1) 0%, transparent 70%);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.knob-wheel:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 0 24px rgba(29, 155, 240, 0.25);
}
.knob-indicator {
  position: absolute;
  top: 8px;
  width: 4px;
  height: 16px;
  background: var(--accent-blue);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--accent-blue);
  transform-origin: 50% 62px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.knob-center-val {
  font-family: monospace;
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.knob-center-unit {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--accent-blue);
  margin-top: 4px;
}
.dpi-presets {
  display: flex;
  gap: 0.5rem;
}
.dpi-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-family: monospace;
  cursor: pointer;
  transition: all 0.15s ease;
}
.dpi-btn:hover, .dpi-btn.active {
  background: rgba(29, 155, 240, 0.18);
  border-color: var(--accent-blue);
  color: #ffffff;
}

/* Micro-Interaction 2: Morphing Action Button */
.morph-btn-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 1.25rem;
  padding: 1.5rem 0;
}
.morph-btn {
  background: linear-gradient(135deg, #1d9bf0, #0052cc);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: 12px;
  padding: 0.85rem 1.85rem;
  font-family: monospace;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 20px rgba(29, 155, 240, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 175px;
  justify-content: center;
}
.morph-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(29, 155, 240, 0.5);
}
.morph-btn.loading {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  cursor: wait;
}
.morph-btn.success {
  background: #00ba7c;
  border-color: rgba(0, 186, 124, 0.6);
  box-shadow: 0 4px 20px rgba(0, 186, 124, 0.4);
}

/* Micro-Interaction 3: Preset Tweet Agent Cards */
.agent-selector-grid {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}
.agent-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.agent-pill:hover, .agent-pill.active {
  background: rgba(29, 155, 240, 0.12);
  border-color: rgba(29, 155, 240, 0.4);
  transform: translateX(4px);
}
.agent-pill-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.agent-avatar-small {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: #fff;
}

/* --------------------------------------------------------------------------
   Watermelon Technical Feature Bento with SVG Visuals
   -------------------------------------------------------------------------- */
.feature-card-tech {
  position: relative;
  min-height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(16, 16, 16, 0.7);
  padding: 2.25rem 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 14px;
}
.feature-tech-svg-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 45%;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  opacity: 0.85;
  mask-image: linear-gradient(to right, transparent, black 30%);
  -webkit-mask-image: linear-gradient(to right, transparent, black 30%);
}
@media (max-width: 768px) {
  .feature-tech-svg-wrapper {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Watermelon Testimonial Marquee Scroller
   -------------------------------------------------------------------------- */
.testimonials-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #0d0f15;
}
.marquee-scroller-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 3rem;
  padding: 1rem 0;
}
.marquee-gradient-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 100%;
  background: linear-gradient(to right, #0d0f15, transparent);
  z-index: 20;
  pointer-events: none;
}
.marquee-gradient-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 100%;
  background: linear-gradient(to left, #0d0f15, transparent);
  z-index: 20;
  pointer-events: none;
}
.testimonial-marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: smoothMarquee 45s linear infinite;
}
.testimonial-marquee-track:hover {
  animation-play-state: paused;
}
@keyframes smoothMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.testimonial-card-tech {
  width: 360px;
  flex-shrink: 0;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(16, 16, 16, 0.85);
  padding: 1.5rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
}
.testimonial-card-tech:hover {
  border-color: rgba(29, 155, 240, 0.4);
  transform: translateY(-3px);
  background: rgba(22, 26, 38, 0.9);
}
.testimonial-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.testimonial-author-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  object-fit: cover;
  background: #1e293b;
}
.testimonial-author-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.testimonial-handle {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.testimonial-platform-tag {
  font-family: monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  padding: 3px 7px;
  border-radius: 4px;
  font-weight: 700;
}
.tag-dm {
  background: rgba(29, 155, 240, 0.12);
  color: #1d9bf0;
  border: 1px solid rgba(29, 155, 240, 0.25);
}
.tag-tweet {
  background: rgba(0, 210, 255, 0.12);
  color: #00d2ff;
  border: 1px solid rgba(0, 210, 255, 0.25);
}
.testimonial-quote {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #cbd5e1;
}

/* --------------------------------------------------------------------------
   Watermelon Technical Footer with Akash Yadav Creator Showcase
   -------------------------------------------------------------------------- */
.tech-footer {
  position: relative;
  background: #08090d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5rem 0 2.5rem 0;
  font-family: monospace;
  overflow: hidden;
}
.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
@media (min-width: 992px) {
  .footer-top-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}
.creator-profile-card {
  border: 1px solid rgba(29, 155, 240, 0.3);
  background: rgba(29, 155, 240, 0.04);
  padding: 1.5rem;
  border-radius: 12px;
  position: relative;
  backdrop-filter: blur(10px);
}
.creator-badge {
  font-family: monospace;
  font-size: 0.72rem;
  color: var(--accent-blue);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.creator-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}
.creator-role {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}
.creator-links-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.creator-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.creator-btn:hover {
  background: rgba(29, 155, 240, 0.2);
  border-color: var(--accent-blue);
  color: #ffffff;
  transform: translateY(-2px);
}
.footer-col-title {
  color: var(--accent-blue);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-col-links a {
  color: var(--text-secondary);
  font-size: 0.84rem;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-col-links a:hover {
  color: #ffffff;
}
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.76rem;
  color: var(--text-muted);
}
.sys-status-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #00ba7c;
  font-weight: 600;
}
