/* CSS Custom Properties */
:root {
  /* Colors */
  --primary-color: #62a52c;
  --primary-color-hover: #4a821c;
  --primary-color-light: #e3efe3;
  --text-primary: #1f2937;
  --text-secondary: #444a44;
  --background-primary: #ffffff;
  --background-secondary: #f3f5f6;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Typography */
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;
  
  /* Spacing */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;
  
  /* Layout */
  --container-max-width: 1200px;
  --border-radius-sm: 0.375rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 0.75rem;
  --transition-base: all 0.2s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--text-primary);
  background-color: var(--background-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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


/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
}

.logo span {
  color: var(--text-primary);
}

.logo-icon {
  width: 30px;
  height: 30px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: .2em;
}

.logo-lettering {
  width: 36px;
  height: 36px;
  margin-top: .25rem;
  fill: var(--text-primary);
  stroke: var(--text-primary);
  stroke-width: .2em;
}

.logo-lettering-accent {
  fill: var(--primary-color);
  stroke: var(--primary-color);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  border: none;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: var(--transition-base);
  white-space: nowrap;
}

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

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

.btn--secondary {
  background-color: var(--background-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn--secondary:hover {
  background-color: var(--background-secondary);
  border-color: var(--primary-color);
}

.btn--large {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-size-base);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 50px 0 0 0;
  background-color: var(--primary-color-light);
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.hero__title {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  margin-bottom: var(--spacing-lg);
  color: var(--text-primary);
}

.hero__subtitle {
  font-size: var(--font-size-xl);
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--spacing-2xl);
}

.hero__actions {
  display: flex;
  gap: var(--spacing-md);
}

.editor-preview {
  position: relative;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 16 / 9;
}

.preview-image {
  display: block;
  width: 100%;
}

/* Section Styles */
section {
  padding: var(--spacing-4xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section-title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

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

/* Features Section */
.features {
  background-color: var(--background-secondary);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-2xl);
}

.feature-card {
  background: var(--background-primary);
  padding: var(--spacing-2xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  text-align: center;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--spacing-lg);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-hover) 100%);
}

.feature-card__icon svg {
  width: 24px;
  fill: currentColor;
}

.feature-card__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.feature-card__description {
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
}

/* How It Works Section */
.how-it-works {
  background-color: var(--primary-color-light);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-2xl);
}

.step {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-lg);
}

.step__number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
}

.step__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.step__description {
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
}

/* Use Cases Section */
.use-cases {
  background-color: var(--background-secondary);
}

.use-cases__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
}

.use-case {
  padding: var(--spacing-xl);
  background: var(--background-primary);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.use-case__title {
  display: flex;
  align-items: center;
  gap: .5em;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.use-case__title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  background-color: var(--primary-color);
}

.use-case__title svg {
  width: 24px;
  fill: currentColor;
}

.use-case__description {
  color: var(--text-secondary);
}

/* Waitlist Section */
.waitlist {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-hover) 100%);
  color: white;
}

.waitlist__content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.waitlist__title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-md);
}

.waitlist__subtitle {
  font-size: var(--font-size-xl);
  opacity: 0.9;
  margin-bottom: var(--spacing-2xl);
}

.role__form {
  margin-top: var(--spacing-xl);
}

.form-group {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.form-input {
  flex: 1;
  padding: var(--spacing-md);
  font-size: var(--font-size-base);
  border: none;
  border-radius: var(--border-radius-md);
  background: white;
  color: var(--text-primary);
}

.form-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.form-select {
  position: relative;
  width: 100%;
  border-radius: var(--border-radius-md);
  background-color: #fff;
  overflow: hidden;
}

.form-select:focus-within {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.form-select:after {
  content: '';
  position: absolute;
  top: 50%;
  right: var(--spacing-md);
  transform: translateY(-50%);
  border-top: 6px solid #000;
  border-top-color: #666;
  border-left: 6px solid #fff;
  border-right: 6px solid #fff;
  pointer-events: none;
  box-shadow: 10px 0 10px 20px #fff;
}

.form-select select {
  width: 120%;
  padding: var(--spacing-md);
  border: 0;
  border-radius: 0;
  background: 0 0;
  font-family: inherit;
  font-size: var(--font-size-base);
  -webkit-appearance: none
}

.form-select select:focus {
  outline: none;
}

.form-disclaimer {
  font-size: var(--font-size-sm);
  opacity: 0.8;
}

.waitlist__success {
  background: rgba(255, 255, 255, 0.1);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(10px);
}

.waitlist__success h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--spacing-sm);
}

/* Footer */
.footer {
  padding: var(--spacing-2xl) 0;
  background-color: var(--text-primary);
  color: white;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer__copyright p {
  opacity: 0.6;
  font-size: var(--font-size-sm);
  text-align: center;
}

.footer__links {
  display: flex;
  gap: var(--spacing-lg);
}

.footer__link {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition-base);
}

.footer__link:hover {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  section {
    padding: var(--spacing-2xl) 0;
  }

  .section-header {
    margin-bottom: var(--spacing-2xl);
  }

  .hero {
    padding: calc(70px + var(--spacing-2xl)) 0 var(--spacing-2xl);
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    text-align: center;
  }
  
  .hero__title {
    font-size: var(--font-size-3xl);
  }
  
  .hero__subtitle {
    font-size: var(--font-size-lg);
  }
  
  .hero__actions {
    justify-content: center;
  }
  
  .btn--large {
    width: 100%;
    max-width: 300px;
  }
  
  .form-group {
    flex-direction: column;
  }
  
  .footer__content {
    flex-direction: column;
    gap: var(--spacing-lg);
    align-items: center;
  }
  
  .footer__links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-lg);
  }
  
  
  .hero__title {
    font-size: var(--font-size-2xl);
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }
  
  .section-title {
    font-size: var(--font-size-2xl);
  }
  
  .waitlist__title {
    font-size: var(--font-size-2xl);
  }
} 