/*
  TweetVid.in - Minimalist Dark SaaS Design System
  Inspired by Linear, Vercel, and Raycast.
  Brutally clean, high contrast, typography-focused.
*/

:root {
  /* Colors - Minimal Palette */
  --bg: #0a0a0a;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --accent: #f0f0f0;
  --border: #1a1a1a;

  /* Typography - Vercel-style */
  --font-heading: 'Cal Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --transition: 0.15s ease;
  --max-width: 1200px;
}

/* --- Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400; /* Serif usually looks better at 400 when massive */
  color: var(--text-primary);
  text-transform: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 4rem;
}

section {
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
}

.hr {
  height: 1px;
  background: var(--border);
  width: 100%;
}

/* --- Navbar --- */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 2rem 0;
  background: var(--bg);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.nav-center {
  display: flex;
  gap: 3rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-transform: lowercase;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.1s ease;
  border: none;
}

.btn:hover {
  transform: scale(1.02);
}

.btn-primary {
  background: #ffffff;
  color: #000000;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: #ffffff;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
}

.hero-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: clamp(64px, 12vw, 120px); /* Even more massive */
  letter-spacing: -0.06em;
  line-height: 0.85; /* Tighter */
  margin-bottom: 4rem;
  font-weight: 800; /* Heavier */
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 4rem;
  max-width: 500px;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
}

/* --- Phone Mockup (Editorial) --- */
.mockup-container {
  display: flex;
  justify-content: flex-end;
}

.phone-mockup {
  width: 320px;
  height: 640px;
  background: #0a0a12;
  border-radius: 40px;
  padding: 8px;
  border: 1px solid #1f1f1f;
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #0d1b2a;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 60px 24px;
}

.mockup-content {
  margin-top: 15%;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.mockup-avatar {
  width: 44px;
  height: 44px;
  background: #E6B17E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  font-weight: 700;
  color: #2D1B0D;
}

.mockup-user .name {
  font-family: sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  display: block;
}

.mockup-user .handle {
  font-family: sans-serif;
  font-size: 0.9rem;
  color: #8899a6;
}

.mockup-text {
  font-family: sans-serif;
  font-size: 28px;
  line-height: 1.7;
  color: #8899a6;
}

/* --- Marquee --- */
.marquee {
  position: relative;
  overflow: hidden;
  --offset: 20vw;
  --move-initial: calc(-25% + var(--offset));
  --move-final: calc(-50% + var(--offset));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}

.marquee__inner {
  width: fit-content;
  display: flex;
  position: relative;
  transform: translate3d(var(--move-initial), 0, 0);
  animation: marquee 15s linear infinite;
}

.marquee span {
  font-size: 5vw;
  font-family: var(--font-heading);
  text-transform: lowercase;
  padding: 0 4vw;
  white-space: nowrap;
  color: var(--text-secondary);
  opacity: 0.5;
}

@keyframes marquee {
  0% { transform: translate3d(var(--move-initial), 0, 0); }
  100% { transform: translate3d(var(--move-final), 0, 0); }
}

/* --- Features List --- */
.feature-list-simple {
  border-left: 1px solid var(--border);
  padding-left: 4rem;
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.feature-simple-item h3 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-simple-item p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
}

/* --- How it Works --- */
.steps-list {
  list-style: none;
}

.step-item {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

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

.step-number {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.step-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* --- Pricing --- */
.pricing-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.price-col {
  background: var(--bg);
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
}

.price-col h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.price-tag {
  font-size: 3rem;
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}

.price-tag span {
  font-size: 1rem;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-weight: 400;
}

.price-credits {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.price-features {
  list-style: none;
  margin-bottom: 3rem;
  flex: 1;
}

.price-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  display: flex;
  gap: 10px;
}

.price-features li::before {
  content: "→";
}

.price-features li.disabled {
  opacity: 0.4;
  text-decoration: line-through;
}

.price-features li.disabled::before {
  content: "✕";
  color: var(--text-secondary);
}

/* Featured column (Creator plan) */
.price-col.featured {
  position: relative;
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* --- Waitlist --- */
.waitlist-container {
  max-width: 600px;
  text-align: left;
}

.waitlist-form {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input[type="email"] {
  background: transparent;
  border: 1px solid var(--border);
  padding: 1rem;
  color: white;
  font-family: var(--font-mono);
  outline: none;
  border-radius: 6px;
}

input[type="email"]:focus {
  border-color: var(--text-primary);
}

#form-status {
  height: 20px;
  font-size: 0.8rem;
  margin-top: 1rem;
}

/* --- Footer --- */
footer {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  text-decoration: underline;
}

/* --- Responsive --- */
@media (max-width: 968px) {
  .container { padding: 0 2rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .mockup-container { justify-content: flex-start; margin-top: 4rem; }
  .feature-item { grid-template-columns: 1fr; gap: 1rem; }
  .pricing-table { grid-template-columns: 1fr; }
  .price-col.featured {
    transform: none;
    padding: 2rem;
  }
  .steps-list {
    gap: 3rem;
  }
  .footer-inner {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav-center { display: none; }
}

@media (max-width: 600px) {
  section { padding: 80px 0; }
  .hero-content h1 { font-size: 42px; }
}
