/* Main Styles for Understory Landing Page */
:root {
  --primary-color: #00E676;
  --secondary-color: #121212;
  --text-color: #FFFFFF;
  --accent-color: #00E676;
  --section-padding: 80px 0;
  --border-radius: 4px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--secondary-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 20px;
}

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

a:hover {
  opacity: 0.8;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 12px 30px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 230, 118, 0.2);
}

.accent-text {
  color: var(--accent-color);
}

/* Header */
.header {
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(10px);
}

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

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

.logo img {
  height: 50px;
}

.nav-cta .btn {
  padding: 10px 20px;
}

/* Hero Section */
.hero {
  padding: 150px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  flex: 1;
  min-width: 300px;
  padding-right: 30px;
}

.hero-text h1 {
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-cta {
  margin-top: 30px;
}

.hero-video {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
}

.hero-video iframe {
  width: 100%;
  height: 315px;
  border-radius: 10px;
}

.calendar-availability {
  margin-top: 20px;
  padding: 15px;
  background-color: rgba(0, 230, 118, 0.1);
  border-radius: var(--border-radius);
  border-left: 3px solid var(--accent-color);
}

.calendar-availability h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.calendar-availability p {
  margin-bottom: 5px;
  font-size: 0.9rem;
}

/* Process Section */
.process {
  padding: var(--section-padding);
  background-color: rgba(0, 0, 0, 0.3);
}

.process-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.process-step {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 20px;
  transition: var(--transition);
  position: relative;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.process-step-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.process-step-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-right: 15px;
  background-color: rgba(0, 230, 118, 0.1);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.process-step-title {
  margin: 0;
  font-size: 1.2rem;
}

.process-step-content {
  flex: 1;
  padding: 10px;
}

.process-step-image {
  flex: 1;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Email Volume Calculator */
.calculator {
  padding: var(--section-padding);
}

.calculator-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: var(--border-radius);
}

.calculator-intro {
  text-align: center;
  margin-bottom: 40px;
}

.calculator-slider {
  margin-bottom: 40px;
}

.calculator-slider h3 {
  margin-bottom: 20px;
}

.slider-container {
  position: relative;
  height: 50px;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--accent-color);
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--accent-color);
  cursor: pointer;
}

.calculator-results {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.calculator-result {
  text-align: center;
  padding: 20px;
  flex: 1;
  min-width: 200px;
}

.calculator-result h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.calculator-result .result-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
}

/* Funnel Graphic Section */
.funnel {
  padding: var(--section-padding);
  background-color: rgba(0, 0, 0, 0.3);
}

.funnel-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.funnel-text {
  flex: 1;
  min-width: 300px;
  padding-right: 30px;
}

.funnel-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.funnel-image img {
  max-width: 100%;
  border-radius: var(--border-radius);
}

/* What's Included Section */
.included {
  padding: var(--section-padding);
}

.included-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.included-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.included-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
}

.included-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.included-item-icon {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.included-item h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.included-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* CTA Section */
.cta {
  padding: var(--section-padding);
  background-color: rgba(0, 0, 0, 0.3);
  text-align: center;
}

.cta h2 {
  margin-bottom: 20px;
}

.cta p {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.2rem;
}

.cta-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.cta-option {
  flex: 1;
  min-width: 300px;
  max-width: 900px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: left;
}

.cta-option.full-width {
  max-width: 100%;
  margin: 0 auto;
}

.cta-option h3 {
  margin-bottom: 15px;
}

.cta-option p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.cta-option .btn {
  width: 100%;
  text-align: center;
}

/* Contact Form */
.contact-form {
  margin-top: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  color: var(--text-color);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  background-color: rgba(255, 255, 255, 0.15);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Footer */
.footer {
  padding: 40px 0;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
}

.footer p {
  margin-bottom: 0;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Animations */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.6s;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 120px 0 80px;
  }
  
  .hero-text, .hero-video, .funnel-text, .funnel-image {
    flex: 100%;
    padding-right: 0;
    margin-bottom: 30px;
  }
  
  .process-step-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .process-step-number {
    margin-bottom: 10px;
  }
  
  .cta-option {
    flex: 100%;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .included-items {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .calculator-result .result-value {
    font-size: 2rem;
  }
}

.pricing-highlight {
  font-size: 1.3rem;
  font-weight: 600;
  background-color: rgba(0, 230, 118, 0.1);
  padding: 15px;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--accent-color);
  margin: 25px 0;
}

.bold-pricing {
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}
