/* ============================================
   Modern Landing Page - Bot The Builder
   StreamSlide-Inspired Design
   ============================================ */

:root {
  /* Color Palette */
  --primary-lighter: #A0C48A;
  --primary-light: #6C9652;
  --primary: #528333;
  --primary-dark: #466F2B;
  --primary-darker: #395C24;
  
  --secondary-lighter: #505340;
  --secondary: #333333;
  --secondary-dark: #25271C;
  
  --bg: #FFFFFF;
  --bg-alt: #FAFBFC;
  --text: #1a1a1a;
  --text-light: #4a5568;
  --muted: #6b7280;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  
  /* Hero Gradient */
  --hero-gradient-start: #528333;
  --hero-gradient-end: #65E0BE;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Animations */
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ============================================
   Base Styles
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary-dark);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.5rem;
  letter-spacing: -0.015em;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s var(--ease-out);
}

p {
  margin: 0;
}

/* ============================================
   Layout
   ============================================ */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.content-block {
  padding: 0;
}

.content-block h3 {
  margin-bottom: 1rem;
  color: var(--secondary-dark);
}

.content-block p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.content-block p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Header
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s var(--ease-out);
}

.site-header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  flex-shrink: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--secondary-dark);
  font-weight: 600;
  font-size: 1.25rem;
  transition: transform 0.2s var(--ease-out);
}

.brand-link:hover {
  transform: translateY(-1px);
  color: var(--secondary-dark);
}

.brand-logo {
  display: block;
  height: 150px;
  width: auto;
}

.brand-text {
  font-weight: 600;
}

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

.nav a:not(.btn) {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.9375rem;
  position: relative;
  padding: 0.25rem 0;
}

.nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s var(--ease-out);
}

.nav a:not(.btn):hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--secondary);
  transition: all 0.2s var(--ease-out);
}

.nav-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}

.btn-header {
  background: var(--primary-dark);
  color: #fff;
}

.btn-header:hover {
  background: var(--primary-darker);
  transform: translateY(-1px);
  color: #fff;
}

.btn-hero {
  background: rgba(255, 255, 255, 0.95);
  color: var(--secondary-dark);
  padding: 0.875rem 2rem;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-hero:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: var(--secondary-dark);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

.btn-invert {
  background: #fff;
  color: var(--primary);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-invert:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
}

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

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom right, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 100%);
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 6rem 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  color: #fff;
  max-width: 650px;
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.lead {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.hero-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.hero-pricing {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.hero-trial-note {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-trial-note::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

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

.pricing-circle {
  position: relative;
  width: clamp(350px, 40vw, 450px);
  height: clamp(350px, 40vw, 450px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 4s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.02);
    opacity: 1;
  }
}

.pricing-circle-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.pricing-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.pricing-amount {
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.pricing-unit {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-transform: lowercase;
}

.pricing-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  margin: 0 0 1rem 0;
  max-width: 260px;
  line-height: 1.5;
}

.pricing-trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(0.8125rem, 1vw, 0.875rem);
  font-weight: 500;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-trial-badge::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================
   Main Content Section
   ============================================ */

.main-content {
  padding: 5rem 0;
  background: var(--bg);
}

.main-content h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.content-description {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-light);
  font-size: 1.125rem;
  line-height: 1.75;
}

/* ============================================
   Sections
   ============================================ */

.section {
  padding: 5rem 0;
  position: relative;
}

.section.alt {
  background: var(--bg-alt);
}

.section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

/* ============================================
   Cards
   ============================================ */

.card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.3s var(--ease-out);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--primary-lighter);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.card h3 {
  margin-bottom: 0.75rem;
  color: var(--secondary-dark);
  font-size: 1.375rem;
}

.card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================
   Steps
   ============================================ */

.steps {
  gap: 3rem;
}

.step {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(82, 131, 51, 0.3);
}

.step h4 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  color: var(--secondary-dark);
}

.step p {
  color: var(--text-light);
  max-width: 320px;
  margin: 0 auto;
}

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

.cta {
  background: linear-gradient(to bottom right, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}

.cta h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

/* ============================================
   FAQ
   ============================================ */

.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq h2 {
  margin-bottom: 3rem;
}

.faq details {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.faq details + details {
  margin-top: 1rem;
}

.faq details:hover {
  border-color: var(--primary-lighter);
  box-shadow: var(--shadow);
}

.faq details[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq details[open] summary {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--secondary);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s var(--ease-out);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.3s var(--ease-out);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq p {
  color: var(--text-light);
  line-height: 1.75;
}

/* ============================================
   SEO Content Section
   ============================================ */

.bullets {
  list-style: none;
  margin: 2rem 0 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.bullets li {
  padding: 0.75rem 0 0.75rem 2.5rem;
  position: relative;
  color: var(--text-light);
  font-size: 1.0625rem;
}

.bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 28px;
  height: 28px;
  background: var(--primary-lighter);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

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

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.foot-brand {
  color: var(--muted);
  font-size: 0.9375rem;
}

.foot-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.foot-links a {
  color: var(--text-light);
  font-size: 0.9375rem;
  transition: color 0.2s var(--ease-out);
}

.foot-links a:hover {
  color: var(--primary-dark);
}

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

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Accessibility
   ============================================ */

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  top: 0;
}

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

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-cta {
    justify-content: center;
    align-items: center;
  }
  
  .hero-info {
    align-items: center;
    text-align: center;
  }
  
  .hero-pricing-display {
    margin-top: 2rem;
  }
  
  .pricing-circle {
    width: clamp(280px, 70vw, 350px);
    height: clamp(280px, 70vw, 350px);
  }
  
  .pricing-circle-inner {
    padding: 1.5rem;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 4rem 0;
  }
  
  .section {
    padding: 3.5rem 0;
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .nav {
    position: absolute;
    right: 2rem;
    top: 80px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1rem;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
  }
  
  .nav.open {
    display: flex;
  }
  
  .nav a {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: background 0.2s var(--ease-out);
  }
  
  .nav a:hover {
    background: var(--bg-alt);
  }
  
  .nav a::after {
    display: none;
  }
  
  .nav-toggle {
    display: inline-block;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.25rem;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .foot-links {
    justify-content: center;
  }
  
  .pricing-trial-badge {
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
  }
  
  .pricing-trial-badge::before {
    width: 16px;
    height: 16px;
    font-size: 0.6875rem;
  }
  
  .pricing-circle {
    width: clamp(260px, 80vw, 320px);
    height: clamp(260px, 80vw, 320px);
  }
  
  .pricing-circle-inner {
    padding: 1.25rem;
  }
  
  .pricing-amount {
    font-size: clamp(3rem, 12vw, 4.5rem);
  }
}

/* ============================================
   Performance & Accessibility
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   Legal Pages Styles
   ============================================ */

.legal-section {
  margin-bottom: 3rem;
}

.legal-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.legal-section:first-child h2 {
  border-top: none;
  padding-top: 0;
}

.legal-section p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.legal-section ul.bullets {
  margin-bottom: 1.5rem;
}

.legal-section ul.bullets li {
  margin-bottom: 0.75rem;
}

.legal-section a {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.legal-section a:hover {
  color: var(--accent);
}

.legal-section strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
  .site-header,
  .nav-toggle,
  .hero-cta,
  .cta,
  .site-footer {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}
