/* =============================================================================
   Vere Marketing Site
   Clean, minimal design inspired by Linear
   ============================================================================= */

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

:root {
  /* Backgrounds */
  --bg-primary: #ffffff;
  --bg-secondary: #fafafa;
  --bg-tertiary: #f5f5f5;
  --bg-elevated: #ffffff;

  /* Borders */
  --border: #e5e5e5;
  --border-hover: #d4d4d4;

  /* Text */
  --text-primary: #0a0a0a;
  --text-secondary: #525252;
  --text-muted: #737373; /* Darkened for accessibility (was #a3a3a3) */

  /* Accent - Darker blue */
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --accent-subtle: rgba(37, 99, 235, 0.08);
  --accent-glow: rgba(37, 99, 235, 0.15);

  /* Status */
  --success: #16a34a;
  --success-subtle: rgba(22, 163, 74, 0.08);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =============================================================================
   Navigation
   ============================================================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo-mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

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

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

.nav-cta {
  padding: 0.5rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
}

.nav-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text-secondary);
}

.mobile-menu-btn:hover {
  color: var(--text-primary);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 999;
  flex-direction: column;
  padding: 1rem 1.5rem;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-close {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text-secondary);
}

.mobile-menu-close:hover {
  color: var(--text-primary);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 1rem 0;
}

.mobile-menu-link {
  display: block;
  padding: 1rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
  color: var(--accent);
}

.mobile-menu-cta {
  margin-top: auto;
  padding: 1rem 0;
}

.mobile-menu-cta .btn {
  width: 100%;
  justify-content: center;
}

/* =============================================================================
   Hero
   ============================================================================= */

.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10rem 2rem 4rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-content {
  width: 100%;
}

/* Hero Badge */
.hero-badge {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

/* Hero Signup Section */
.hero-signup {
  max-width: 400px;
  margin: 2.5rem auto 0;
}

/* Google Button */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: var(--shadow-sm);
}

.btn-google:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-google:active {
  transform: translateY(0);
}

/* Signup Divider */
.signup-divider {
  display: flex;
  align-items: center;
  margin: 1.25rem 0;
}

.signup-divider::before,
.signup-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.signup-divider span {
  padding: 0 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Form */
.hero-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-email-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--text-primary);
  transition: all 0.15s ease;
}

.hero-email-input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.hero-form .btn-primary {
  width: 100%;
  padding: 0.875rem 1.5rem;
  border-radius: 10px;
  font-size: 0.9375rem;
}

/* Hero Trust & Terms */
.hero-trust {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.hero-terms {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-terms a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-terms a:hover {
  color: var(--text-primary);
}

.hero-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 2rem;
}

.hero-logo-mark {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.hero-logo-text {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-turn {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 2rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.highlight {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

/* Carousel */
.hero-carousel {
  position: relative;
  height: 60px;
  overflow: hidden;
  margin: 0 0 2.5rem;
}

.carousel-track {
  position: relative;
  height: 100%;
}

.carousel-message {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease-out;
}

.carousel-message.active {
  opacity: 1;
  transform: translateY(0);
}

.carousel-message.exit {
  opacity: 0;
  transform: translateY(-20px);
}

.carousel-message.pricing {
  font-size: 1.0625rem;
}

.pricing-sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.highlight-text {
  color: var(--accent);
  font-weight: 500;
}

/* Hero CTA */
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  margin-top: 2rem;
}

.hero-note {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* =============================================================================
   Buttons
   ============================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--accent-light);
  box-shadow: var(--shadow-md), 0 0 0 3px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

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

/* =============================================================================
   Personas (Who it's for)
   ============================================================================= */

.personas {
  padding: 4rem 2rem 6rem;
  background: var(--bg-primary);
}

.personas::before {
  content: '';
  display: block;
  width: 65%;
  max-width: 400px;
  height: 1px;
  background: var(--border);
  margin: 0 auto 4rem;
}

.personas-header {
  text-align: center;
  margin-bottom: 3rem;
}

.personas-header h2 {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.personas-header p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.personas-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.persona-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.2s ease;
}

.persona-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

.persona-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.persona-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* =============================================================================
   Features
   ============================================================================= */

.features {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.features-header h2 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.features-header p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
}

.features-list {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}

.feature-line {
  font-size: 1.1875rem;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.feature-closing {
  font-size: 1.1875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 2.5rem;
  font-style: italic;
}

/* =============================================================================
   Social Proof
   ============================================================================= */

.proof {
  padding: 6rem 2rem;
  display: flex;
  justify-content: center;
}

.proof-quote {
  max-width: 700px;
  text-align: center;
  position: relative;
}

.proof-quote::before {
  content: '"';
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
  font-weight: 700;
  color: var(--accent-subtle);
  line-height: 1;
  pointer-events: none;
}

.proof-quote p {
  font-size: 1.375rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
  font-weight: 400;
}

/* =============================================================================
   CTA Section
   ============================================================================= */

.cta {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.cta-content {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.cta h2 {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.cta > .cta-content > p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.signup-form {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.signup-input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-family: inherit;
  transition: all 0.15s ease;
}

.signup-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.cta-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.success-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.5rem;
  background: var(--success-subtle);
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: 8px;
  color: var(--success);
  font-weight: 500;
  animation: fadeIn 0.3s ease;
}

.success-icon {
  flex-shrink: 0;
}

/* =============================================================================
   Footer
   ============================================================================= */

.footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer .logo-text {
  font-size: 1.125rem;
}

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

/* Expanded footer with columns */
.footer-expanded {
  flex-direction: column;
  align-items: flex-start;
  gap: 2.5rem;
}

.footer-expanded .footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: 100%;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-column h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-column a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-column a:hover {
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .footer-columns {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   Animations
   ============================================================================= */

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

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

/* =============================================================================
   Responsive
   ============================================================================= */

@media (max-width: 900px) {
  .personas-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .nav-actions {
    gap: 0.75rem;
  }

  .nav-link-secondary {
    display: none;
  }

  .nav-link-signin {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }
}

@media (max-width: 600px) {
  .nav {
    padding: 0.875rem 1.25rem;
  }

  .hero {
    padding: 8rem 1.5rem 3rem;
  }

  .hero-badge {
    font-size: 0.8125rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1.0625rem;
  }

  .hero-signup {
    margin-top: 2rem;
  }

  .btn-google {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }

  .hero-email-input {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .hero-form .btn-primary {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }

  .hero-turn {
    font-size: 1rem;
  }

  .feature-line,
  .feature-closing {
    font-size: 1rem;
  }

  .features, .cta {
    padding: 4rem 1.5rem;
  }

  .features-header h2 {
    font-size: 1.5rem;
  }

  .proof {
    padding: 4rem 1.5rem;
  }

  .proof-quote p {
    font-size: 1.125rem;
  }

  .signup-form {
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
