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

:root {
  --bg: #FAFAF8;
  --bg: #FAFAF8;
  --bg-soft: transparent;
  --card: rgba(255, 255, 255, 0.6);
  --card-2: transparent;
  --text: #1A1A1A;
  --muted: #6B6B6B;
  --line: rgba(26, 26, 26, 0.1);
  --accent: #EB473D;
  --accent-soft: rgba(235, 71, 61, 0.05);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.02);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  opacity: 0;
  animation: fadeReveal 1.2s ease-out forwards;
}

body > header, body > main, body > footer {
  position: relative;
  z-index: 1;
}

@keyframes fadeReveal {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

a { color: inherit; text-decoration: none; }

/* Typography */
h1, h2, h3, p { margin: 0; }
h1 { 
  font-size: clamp(48px, 8vw, 96px); 
  line-height: 1; 
  letter-spacing: -0.04em; 
  font-weight: 800; 
  max-width: 900px; 
}
h2 { 
  font-size: clamp(32px, 5vw, 64px); 
  line-height: 1.05; 
  letter-spacing: -0.03em; 
  font-weight: 700; 
  max-width: 800px; 
}
h3 { 
  font-size: 24px; 
  letter-spacing: -0.02em; 
  font-weight: 600; 
}
p {
  line-height: 1.6;
  max-width: 70ch;
}

/* Navigation */
.site-header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 5vw;
  background: transparent;
  border-bottom: none;
}
.brand, .header-actions, .nav { display: flex; align-items: center; gap: 40px; }
.brand { font-weight: 700; letter-spacing: -0.02em; gap: 16px; }
.brand-logo {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text);
  text-transform: uppercase;
  white-space: nowrap;
}
.nav a, .text-link { color: var(--text); font-size: 15px; font-weight: 600; transition: color 0.2s; }
.nav a:hover, .text-link:hover { color: var(--accent); }
.mobile-only-signin { display: none; }
.pill-button, button {
  border: 1px solid var(--line);
  border-radius: 999px; 
  padding: 12px 24px; 
  background: var(--text); 
  color: var(--card);
  font-size: 14px;
  font-weight: 600; 
  cursor: pointer;
  transition: all 0.2s ease;
}
.pill-button:hover, button:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.menu-button { display: none; background: transparent; color: var(--text); }

/* Layout & Sections */
section { padding: 120px 5vw; }
.section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.eyebrow, .section-label { 
  color: var(--accent); 
  text-transform: uppercase; 
  letter-spacing: 0.1em; 
  font-size: 12px; 
  font-weight: 700; 
  margin-bottom: 24px;
  display: block;
}
.section-lead { 
  color: var(--muted); 
  font-size: clamp(18px, 2vw, 22px); 
  line-height: 1.5; 
  margin-top: 24px; 
}

/* Hero */
.hero { 
  min-height: 100vh; 
  padding: 160px 5vw 80px; 
  display: grid; 
  grid-template-columns: 1fr 1.3fr; 
  gap: 40px; 
  align-items: center; 
}
.hero-content {
  text-align: left;
}
.hero-content h1 {
  font-size: clamp(48px, 6vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: none;
}
.text-accent { color: var(--accent); }
.hero-subtitle {
  color: var(--muted); 
  font-size: clamp(16px, 1.5vw, 20px); 
  line-height: 1.5; 
  max-width: 440px; 
  margin: 32px 0 0;
}
.hero-ctas {
  display: flex; gap: 24px; margin-top: 40px; align-items: center; justify-content: flex-start;
}
.hero-poetry {
  margin-top: 80px;
  font-family: monospace, ui-monospace, SFMono-Regular;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.hero-poetry .red-line {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 24px;
}
.hero-poetry .light { color: #A0A0A0; }
.hero-poetry .red-text { color: var(--accent); font-weight: 600; }
.hero-poetry p { margin: 0; }

.hero-visual {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate(-30px, -118px) scale(1.2);
  margin-bottom: -118px; /* Compensate for translateY space */
}
.hero-visual img {
  width: 110%;
  max-width: 900px;
  object-fit: contain;
}

/* Particle Animation Background (Behind Image) */
.home-image-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 24px 0 16px;
  width: 100%;
  perspective: 100vmin;
}
.scroll-zoom-container {
  position: relative;
  z-index: 10;
}
.particle-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  pointer-events: none;
  transform-style: preserve-3d;
  /* Scroll parallax movement */
  transform: translateY(calc((var(--scroll, 0.5) - 0.5) * -150px)) scale(calc(1 + (var(--scroll, 0) * 0.1)));
}
.particle {
  position: absolute;
  width: 40vmin;
  height: 1px;
  will-change: transform, opacity;
  transform-style: preserve-3d;
  transform-origin: 0 center;
  /* Plays continuously */
  animation: particleMove var(--duration) linear infinite;
  animation-delay: var(--delay);
  background: linear-gradient(to left, var(--color), transparent var(--transparentStop));
}
@keyframes particleMove {
  0% { transform: translateX(50%) rotateX(var(--rX)) rotateY(var(--rY)) rotateZ(var(--rZ)) scale(2); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateX(50%) rotateX(var(--rX)) rotateY(var(--rY)) rotateZ(var(--rZ)) scale(0); opacity: 1; }
}
.scroll-zoom-image {
  max-width: 90vw;
  width: 1200px;
  border-radius: 12px;
  /* Starts at scale 0.85 when scroll is 0, hits scale 1.0 when scroll is around 0.5 (center screen) */
  transform: scale(calc(0.85 + (var(--scroll, 0) * 0.3)));
  /* Starts at opacity 0.2, hits opacity 1.0 quickly as it enters screen */
  opacity: calc(0.2 + (var(--scroll, 0) * 1.5));
  will-change: transform, opacity;
}

/* Grids & Cards */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.three-pillars { display: grid; gap: 24px; margin-top: 48px; }
.three-pillars div { padding: 32px 0; border-top: 1px solid var(--line); }
.three-pillars strong { display: block; font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.three-pillars span { color: var(--muted); }

.feature-grid, .problem-grid, .trust-grid, .spec-grid, .workspace-steps { 
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; margin-top: 64px; 
}
.feature-card, .problem-card, .trust-card, article { 
  padding: 40px; 
  border: 1px solid var(--line); 
  border-radius: 24px; 
  background: var(--card); 
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover, .problem-card:hover, article:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.problem-card span { color: var(--muted); font-weight: 700; display: block; margin-bottom: 32px; }
.feature-card p, .problem-card p, article p { color: var(--muted); margin-top: 16px; }

/* Timeline / Roadmap */
.timeline { margin-top: 64px; display: grid; gap: 24px; }
.timeline div { display: grid; grid-template-columns: 140px 280px 1fr; gap: 32px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.timeline span { color: var(--muted); font-weight: 600; font-size: 14px; }
.timeline strong { font-size: 18px; font-weight: 700; }
.timeline p { color: var(--muted); }

/* Waitlist */
.waitlist {
  position: relative;
  overflow: hidden;
  background-color: var(--accent);
  color: #FFFFFF;
  padding: 262px 5vw 80px;
}
.waitlist h2 {
  color: #FFFFFF;
}
.waitlist .hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
}
.waitlist .eyebrow {
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.3);
}
.waitlist input {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}
.waitlist input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.waitlist button {
  background: #FFFFFF;
  color: var(--accent);
}
.waitlist button:hover {
  background: #F0F0F0;
}

/* Forms */
.waitlist-form { display: flex; gap: 12px; margin: 40px auto 0; max-width: 600px; }
input {
  flex: 1; border-radius: 999px; padding: 18px 24px; border: 1px solid var(--line);
  background: var(--card); color: var(--text); outline: none; font-size: 16px;
  transition: border-color 0.2s;
}
input:focus { border-color: var(--text); }
input::placeholder { color: #A0A0A0; }

/* Footer - Dark Exact Layout */
.footer-dark {
  background-color: #0A0A0A;
  color: #E0E0E0;
  padding: 80px 5vw 40px;
  position: relative;
  z-index: 2; /* Sits above the white waves */
  overflow: hidden;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 64px;
}
@media (max-width: 1024px) {
  .footer-top { flex-direction: column; gap: 48px; }
  .footer-divider-vert { display: none; }
}
.footer-divider-vert { width: 1px; background-color: rgba(255, 255, 255, 0.1); align-self: stretch; }
.footer-logo-row { display: flex; align-items: center; gap: 12px; }
.footer-logo-img { height: 40px; width: auto; }
.footer-logo-text { font-size: 24px; font-weight: 700; letter-spacing: 0.2em; color: #FFF; }
.desc-col { max-width: 280px; font-size: 14px; line-height: 1.6; color: #A0A0A0; }
.links-col { display: flex; gap: 64px; flex-wrap: wrap; }
.link-group { display: flex; flex-direction: column; gap: 16px; }
.link-group a { font-size: 14px; color: #E0E0E0; text-decoration: none; transition: color 0.2s; }
.link-group a:hover { color: var(--accent); }
.social-col { display: flex; flex-direction: column; gap: 24px; }
.follow-link { color: var(--accent); font-weight: 600; font-size: 14px; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.social-icons { display: flex; gap: 12px; }
.social-icon { 
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.1); 
  display: flex; justify-content: center; align-items: center; font-size: 14px; color: #FFF; transition: border-color 0.2s; text-decoration: none;
}
.social-icon:hover { border-color: var(--accent); color: var(--accent); }
.footer-divider-horz { height: 1px; background-color: rgba(255, 255, 255, 0.1); width: 100%; margin-bottom: 32px; }
.footer-mid { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.1em; color: #888; text-transform: uppercase; margin-bottom: 80px; font-weight: 600; }
@media (max-width: 768px) { .footer-mid { flex-direction: column; gap: 16px; } }
.built-for .text-accent { color: var(--accent); }
.footer-giant-section { position: relative; text-align: center; margin-top: 40px; display: flex; justify-content: center; align-items: flex-end; }
.footer-giant-text-solid {
  font-size: clamp(100px, 25vw, 420px);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 0.75;
  background: linear-gradient(180deg, #FFFFFF 0%, #A0A0A0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.footer-giant-text-solid .text-accent {
  background: var(--accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-slogan { position: absolute; bottom: 24px; left: 0; font-size: 14px; font-weight: 700; letter-spacing: 0.25em; color: #FFF; }
.footer-slogan .text-accent { color: var(--accent); }

/* Blueprint & Architecture (Diagram styling) */
.architecture-board {
  height: 400px; position: relative; margin-top: 64px; border: 1px solid var(--line); 
  border-radius: 24px; background: var(--bg-soft); overflow: hidden;
}
.arch-node {
  position: absolute; width: 160px; text-align: center; padding: 16px; 
  border: 1px solid var(--line); border-radius: 12px; background: var(--card); z-index: 2;
  font-size: 14px; font-weight: 600; box-shadow: var(--shadow);
}
.arch-lines path { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 4 6; }
.caption-row { display: flex; justify-content: space-between; color: var(--muted); margin-top: 24px; font-size: 14px; }
pre { background: var(--bg-soft); padding: 24px; border-radius: 16px; color: var(--text); font-size: 14px; overflow-x: auto; border: 1px solid var(--line); }

/* Team Page Styles */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 64px;
  perspective: 1000px;
}
.team-card {
  padding: 24px;
  border-radius: 24px;
  background: var(--accent);
  color: #FFFFFF;
  position: relative;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 12px 32px rgba(235, 71, 61, 0.2);
  cursor: pointer;
  z-index: 1;
}
.team-card:hover {
  transform: translateY(-16px) scale(1.05) rotateX(4deg) rotateY(-4deg);
  box-shadow: 0 32px 64px rgba(235, 71, 61, 0.5);
  z-index: 10;
}
.team-photo-container {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
  border: 4px solid #FFFFFF;
  margin-bottom: 20px;
}
.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.team-card:hover .team-photo {
  transform: scale(1.1);
}
.team-name { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: #FFFFFF; }
.team-role { color: rgba(255, 255, 255, 0.9); font-size: 14px; font-weight: 500; margin-top: 4px; }
.team-bio { color: rgba(255, 255, 255, 0.8); font-size: 15px; margin-top: 12px; }

/* Pricing Page Styles */
.pricing-hero { padding: 120px 5vw 60px; text-align: center; }
.pricing-hero h1 { margin: 16px auto 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 64px;
}
.price-card {
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
}
.price-card.pro-card {
  border: 2px solid var(--text);
}
.price-badge {
  position: absolute;
  top: -12px;
  right: 32px;
  background: var(--text);
  color: var(--card);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.price-amount { margin: 24px 0 8px; display: flex; align-items: baseline; gap: 8px; }
.price-amount strong { font-size: 56px; font-weight: 800; letter-spacing: -0.04em; }
.price-amount span { color: var(--muted); }
.price-label { font-weight: 600; color: var(--accent); margin-bottom: 12px; }
.price-desc { color: var(--muted); margin-bottom: 32px; }
.price-cta {
  display: block; width: 100%; text-align: center; padding: 14px;
  border-radius: 999px; border: 1px solid var(--line); font-weight: 600;
  margin-bottom: 40px; transition: all 0.2s;
}
.price-cta:hover { background: var(--bg-soft); }
.pro-card .price-cta { background: var(--text); color: var(--card); border: none; }
.pro-card .price-cta:hover { background: var(--accent); }
.price-features-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 24px; }
.price-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.price-features li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); }
.price-features li.include { color: var(--text); }
.price-features li.exclude { text-decoration: line-through; opacity: 0.5; }
.price-features li::before { content: "—"; color: var(--line); font-weight: bold; }
.price-features li.include::before { content: "✓"; color: var(--text); }

.enterprise-row {
  margin-top: 32px; border: 1px solid var(--line); border-radius: 24px;
  padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 40px;
  background: var(--card); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.comparison-table-wrapper { margin-top: 64px; overflow-x: auto; border: 1px solid var(--line); border-radius: 24px; background: var(--card); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: 0 32px; }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 800px; }
.comparison-table th, .comparison-table td { padding: 24px 16px; border-bottom: 1px solid var(--line); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table th { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.comparison-table td:first-child { font-weight: 500; color: var(--text); }

.philosophy-number { color: var(--muted); font-size: 12px; font-weight: 700; margin-bottom: 16px; display: block; }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { padding: 32px 0; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--muted); font-size: 24px; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-content { padding-bottom: 32px; color: var(--muted); line-height: 1.6; }

.waitlist-card {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Forms & Careers App Ultra-Premium Redesign */
.careers-layout {
  max-width: 840px;
  margin: 0 auto;
  padding: 80px 24px 120px;
  position: relative;
  z-index: 2;
}
@media (max-width: 600px) {
  .careers-layout { padding-left: 20px; padding-right: 20px; }
}

.careers-hero {
  text-align: center;
  margin-bottom: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.careers-heading {
  font-size: 56px;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 16px;
}
@media (max-width: 600px) { .careers-heading { font-size: 42px; } }
.careers-subheading {
  font-size: 18px;
  color: var(--muted);
}

/* Authentication Container */
.careers-auth {
  max-width: 480px;
  margin: 0 auto 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.google-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}
.auth-divider {
  width: 100%;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--line);
}
.auth-divider span {
  padding: 0 16px;
}
.auth-btn-email {
  width: 100%;
  height: 56px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-btn-email:hover {
  background: rgba(0, 0, 0, 0.02);
  border-color: #BDBDBD;
}

/* Form Container */
.careers-form-container {
  width: 100%;
}

/* Form Sections */
.form-section {
  margin-bottom: 140px;
  animation: fadeIn 0.8s ease-out forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.section-label {
  display: flex;
  gap: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 16px;
}
.section-label .num { color: var(--text); }
.section-divider {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin-bottom: 48px;
}
.section-header {
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: 56px;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 16px;
}
@media (max-width: 600px) { .section-header h2 { font-size: 40px; } }
.section-header p {
  font-size: 18px;
  color: var(--muted);
}

/* Form Inputs */
.input-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.premium-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.premium-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
input.premium-input, select.premium-input, textarea.premium-textarea {
  width: 100%;
  height: 64px;
  padding: 0 24px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  transition: all 0.2s;
  outline: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
  appearance: none;
  -webkit-appearance: none;
}
textarea.premium-textarea {
  height: 180px;
  padding: 20px;
  resize: vertical;
}
.premium-input:hover, .premium-textarea:hover {
  border-color: #BDBDBD;
}
.premium-input:focus, .premium-textarea:focus {
  border-color: #000;
  box-shadow: 0 0 0 1px #000, 0 4px 12px rgba(0, 0, 0, 0.05);
}
.textarea-wrapper {
  position: relative;
}
.char-counter {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 13px;
  color: var(--muted);
  pointer-events: none;
}

/* Interests Chips */
.chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.premium-chip {
  padding: 14px 24px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.premium-chip:hover {
  background: #F9F9F9;
  border-color: #BDBDBD;
  color: var(--text);
}
.premium-chip.active {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

/* Experience Cards */
.exp-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.exp-card {
  padding: 24px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.exp-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.exp-sub {
  font-size: 14px;
  color: var(--muted);
}
.exp-card:hover {
  border-color: #BDBDBD;
}
.exp-card.active {
  border-color: var(--text);
  box-shadow: 0 0 0 1px var(--text), 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Portfolio Links */
.portfolio-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.portfolio-input-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}
.portfolio-icon {
  position: absolute;
  left: 20px;
  font-size: 16px;
  color: var(--muted);
  width: 24px;
  display: flex;
  justify-content: center;
}
.portfolio-label {
  position: absolute;
  left: 56px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  width: 80px;
}
input.premium-input.portfolio-input {
  padding-left: 140px !important; /* Make space for icon + label */
}

/* Upload Zone */
.premium-upload {
  height: 180px;
  border-radius: 20px;
  border: 2px dashed var(--line);
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.premium-upload:hover, .premium-upload.dragover {
  border-color: #BDBDBD;
  background: #F9F9F9;
}
.premium-upload input[type="file"] { display: none; }
.upload-icon { font-size: 24px; color: var(--text); }
.upload-primary { font-size: 16px; font-weight: 600; color: var(--text); }
.upload-secondary { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* Submit Button */
.submit-wrapper {
  margin-top: 140px;
}
.premium-submit {
  width: 100%;
  height: 64px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 18px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.premium-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Unified Google Authentication Header styles */
.auth-profile-widget {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  cursor: pointer;
}
.auth-profile-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: #222;
  object-fit: cover;
}
.auth-profile-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.auth-profile-name {
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.auth-profile-email {
  font-size: 11px;
  color: var(--muted);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.auth-dropdown {
  display: none;
  position: absolute;
  top: 50px;
  right: 0;
  background: #0E0F12;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 8px;
  width: 190px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.6);
  z-index: 1000;
}
.auth-profile-widget:hover .auth-dropdown,
.auth-profile-widget:focus-within .auth-dropdown {
  display: block;
}
.auth-dropdown-item {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  color: #CCC;
  font-size: 13px;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}
.auth-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFF;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-signin-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.header-signin-link:hover {
  opacity: 0.8;
}

.login-btn {
  width: 100%;
  height: 56px;
  background: #FFF;
  color: #000;
  border: none;
  border-radius: 28px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.2s;
  box-sizing: border-box;
}
.login-btn:hover {
  background: #EAEAEA;
  transform: translateY(-1px);
}

/* Mobile Nav Toggle Button */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  z-index: 100;
  outline: none;
}

/* Mobile Responsiveness Rules (< 768px) */
@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }
  
  .site-header {
    padding: 16px 20px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    position: fixed;
    height: 72px;
    box-sizing: border-box;
  }

  .site-header .brand-name,
  .site-header .mobile-nav-toggle,
  .site-header .header-actions > a {
    color: #FFFFFF !important;
  }

  .site-header .nav a {
    color: var(--accent) !important;
    font-size: 18px;
    font-weight: 700;
    transition: opacity 0.2s;
  }

  .site-header .nav a:hover {
    opacity: 0.8;
  }

  .site-header .brand {
    gap: 12px;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
  }

  .brand-name {
    font-size: 16px;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }

  /* Hide header actions from the top bar on mobile */
  .header-actions {
    display: none !important;
  }

  /* Responsive Nav Drawer overlay */
  .site-header .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 24px 20px;
    gap: 20px;
    align-items: flex-start;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  }

  .site-header.nav-open .nav {
    display: flex;
  }

  .mobile-only-signin {
    display: flex !important;
    margin-top: 12px;
    border-top: 1px solid var(--line);
    padding-top: 20px;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    box-sizing: border-box;
  }

  .mobile-only-signin .header-signin-link {
    color: #FFFFFF !important;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-only-signin .pill-button {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    background: #FFFFFF !important;
    color: #000000 !important;
    border-radius: 999px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: block;
  }

  .mobile-only-signin .auth-profile-widget {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .mobile-only-signin .auth-profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }

  .mobile-only-signin .auth-profile-info {
    display: flex;
    flex-direction: column;
  }

  .mobile-only-signin .auth-profile-name {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
  }

  .mobile-only-signin .auth-profile-email {
    font-size: 13px;
    color: #A0A0A0;
  }

  .mobile-only-signin .auth-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    box-sizing: border-box;
  }

  .mobile-only-signin .auth-dropdown-item {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    background: none;
    border: none;
    padding: 0;
    text-align: left;
    cursor: pointer;
  }

  /* Hero Section: Put image above text copy on mobile */
  .hero {
    min-height: auto;
    padding: 110px 20px 60px;
    display: flex;
    flex-direction: column-reverse; /* Reverses DOM visual and content */
    gap: 32px;
    box-sizing: border-box;
  }

  .hero-visual {
    transform: none !important;
    margin-bottom: 0 !important;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .hero-visual img {
    width: 100% !important;
    max-width: 480px !important;
  }

  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-content h1 {
    font-size: clamp(34px, 8vw, 48px) !important;
    line-height: 1.05 !important;
    text-align: center;
  }

  .hero-subtitle {
    margin: 20px auto 0 !important;
    text-align: center;
    font-size: 15px !important;
  }

  .hero-ctas {
    justify-content: center;
    width: 100%;
    margin-top: 24px !important;
    gap: 16px;
  }

  .hero-poetry {
    margin-top: 40px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-poetry .red-line {
    margin-bottom: 16px !important;
  }

  /* Home Scroll Zoom Section */
  .scroll-zoom-container {
    height: 240px !important;
  }

  .scroll-zoom-image {
    width: 160% !important;
  }

  /* How It Works & Architecture Section */
  .how-it-works {
    padding: 80px 20px !important;
  }

  .how-it-works h2 {
    font-size: clamp(28px, 6vw, 36px) !important;
  }

  .how-it-works .split {
    flex-direction: column;
    gap: 32px;
    margin-top: 32px !important;
  }

  .architecture-board {
    padding: 24px 16px !important;
    gap: 20px !important;
  }

  .board-row {
    flex-direction: column !important;
    gap: 16px !important;
  }

  .board-arrow-vert {
    transform: rotate(90deg) !important;
    margin: 8px 0 !important;
  }

  /* Waitlist Section */
  .waitlist {
    padding: 80px 20px !important;
  }

  .waitlist h2 {
    font-size: 32px !important;
  }

  .waitlist-container {
    padding: 32px 20px !important;
    margin-top: 32px !important;
  }

  .waitlist-form {
    flex-direction: column;
    gap: 12px;
  }

  .waitlist-form .premium-input {
    width: 100% !important;
    max-width: none !important;
  }

  .waitlist-form button {
    width: 100% !important;
  }

  /* Team Page */
  .team-section {
    padding: 110px 20px 60px !important;
  }

  .team-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Careers Page */
  .careers-layout {
    padding: 110px 16px 60px !important;
  }

  .careers-hero h1 {
    font-size: 40px !important;
  }

  .form-section {
    padding: 20px 12px !important;
  }

  .textarea-wrapper textarea.premium-textarea {
    height: 140px !important;
  }

  .premium-upload {
    height: 140px !important;
  }

  /* Pricing Page */
  .pricing-hero {
    padding: 110px 20px 60px !important;
  }

  .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}


