/* Differ - Shared Styles */

/* CSS Variables */
:root {
  --bg: #ffffff;
  --fg: #000000;
  --accent: #000000;
  --max-width: 550px;
  --headline-size: clamp(2.2rem, 6vw, 5rem);
  --subhead-size: clamp(1.25rem, 3vw, 2rem);
  --form-height: 54px;
  --radius: 10px;
  --gap: 20px;
  --anim-duration: 2200ms;
}

/* Base Styles */
html, body { 
  height: 100%; 
}

body {
  margin: 0;
  font-family: 'Creato Display', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  position: relative;
}

/* Global Link Styles */
a {
  color: inherit;
  text-decoration: underline;
}

a:hover {
  color: #333;
}

/* Typography */
.hero {
  line-height: 1.05;
  font-weight: 700;
  font-size: var(--headline-size);
  letter-spacing: -0.02em;
  margin: 0 0 28px 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 80px;
  line-height: 1.2;
}

.feature-title, .benefit-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.text-gradient {
  color: #3398DB;
}

/* Header/Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
}

.header-button {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  font-size: 14px;
  padding: 10px 20px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.header-button:hover {
  background: #333;
  color: white;
}

/* Buttons */
.waitlist button, .btn {
  height: var(--form-height);
  padding: 0 18px;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: white;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.waitlist button:hover, .btn:hover {
  background: #333;
  border-color: #333;
  color: white;
}

.waitlist button:disabled, .btn:disabled { 
  opacity: 0.7; 
  cursor: not-allowed; 
}

/* Form Elements */
.waitlist {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 10px;
  width: 100%;
}

.waitlist input[type="email"] {
  height: var(--form-height);
  padding: 0 16px;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius);
  background: #f5f5f5;
  color: var(--fg);
  font-size: 16px;
  outline: none;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.waitlist input[type="email"]:focus {
  border-color: #4A90E2;
  background: #fff;
}

.waitlist input[type="email"]::placeholder {
  color: #999;
}

.form-container {
  display: inline-block;
  padding: 0;
  margin: 0;
}

/* Tags */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fefefe;
  color: black;
  border: 1px solid #ddd;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

/* Utility Classes */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 1px, 1px);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  text-align: left;
}

/* Footer */
.footer {
  padding: 40px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left, .footer-right {
  color: #666;
  font-size: 14px;
}

/* Responsive */
@media (prefers-reduced-motion: reduce) {
  .animate { animation: none; transform: none; opacity: 1; }
}

@media (max-width: 600px) {
  :root {
    --headline-size: clamp(4.4rem, 12vw, 6rem);
  }
  
  .footer {
    flex-direction: column;
    text-align: center;
  }
}