:root {
  --primary-color: #3e6054;
  --text-color: #333;
  --background-color: #f5f5f5;
  --footer-color: #1a1a1a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

a {
  text-decoration: none;
}

.hero {
  background: linear-gradient(rgba(44, 85, 69, 0.8), rgba(44, 85, 69, 0.8)), url("hero.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 1.5rem 2rem 2rem;
  text-align: center;
}

.hero-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
}

.hero-bar > a:first-child {
  display: flex;
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.site-nav a {
  color: white;
  font-weight: 500;
  opacity: 0.9;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.hero-logo {
  height: 3rem;
  width: auto;
  flex-shrink: 0;
}

.hero-bar .cta-button {
  margin-top: 0;
  font-size: 1.1rem;
  font-weight: bold;
}

.hero h1 {
  font-size: 2.25rem;
  line-height: 1.3;
  max-width: 1200px;
  margin: 1rem auto 0;
  text-wrap: balance;
}

.hero-subhead {
  max-width: 940px;
  margin: 0.75rem auto 0;
  text-wrap: balance;
  font-size: 1.15rem;
  opacity: 0.92;
}

.trial-note {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.trial-note a {
  color: white;
  text-decoration: underline;
}

.learn-more-section {
  padding: 4rem 2rem;
}

.learn-more-box {
  max-width: 640px;
  margin: 0 auto;
  background: var(--primary-color);
  color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 3rem 2rem;
  text-align: center;
}

.learn-more-box h2 {
  margin-bottom: 0.5rem;
}

.learn-more-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

.learn-more-form input[type="email"] {
  width: 350px;
  max-width: 100%;
  height: 45px;
  padding: 0.75rem;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
}

.learn-more-form .cta-button {
  width: 250px;
  max-width: 100%;
  height: 60px;
  margin-top: 0;
  font-size: 1.1rem;
  font-weight: bold;
}

.intro-section {
  background-color: white;
  padding: 4rem 2rem;
}

.intro-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.intro-content {
  flex: 1;
  font-size: 1.2rem;
  color: var(--text-color);
  text-align: left;
}

.intro-badge {
  flex-shrink: 0;
  width: 200px;
  height: auto;
}

.features {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  color: #333;
  flex-shrink: 0;
}

.feature-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 1.5rem;
}

.screenshot-section {
  background-color: white;
  padding: 2rem 1rem 4rem;
  text-align: center;
}

.screenshot-container {
  max-width: 1000px;
  margin: 1rem auto 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  background: white;
  padding: 1rem;
}

.screenshot-wrapper {
  position: relative;
  width: 100%;
  max-height: 600px;
  padding-top: 45.09%;
  overflow: hidden;
}

.screenshot-wrapper video.screenshot {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.quotation-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.quotation-table th,
.quotation-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.quotation-table th {
  background-color: #f8f9fa;
  font-weight: 600;
}

.quotation-table tr:last-child td {
  border-bottom: none;
}

.testimonial-section {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.testimonial {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.testimonial-text {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 600;
}

.about-section {
  padding: 3rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.about-section h2 {
  margin-bottom: 1rem;
}

.about-section p {
  margin-bottom: 1rem;
}

.founder {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.founder-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.founder-name {
  margin-bottom: 0;
}

.founder-title {
  color: #666;
  margin-bottom: 0.75rem;
}

.founder a {
  color: var(--primary-color);
  font-weight: 600;
}

.footer {
  background-color: var(--footer-color);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}

.copyright {
  text-align: center;
  color: #888;
}

.cta-button {
  display: inline-block;
  /*background-color: white;
  color: var(--primary-color);*/
  background-color: #cc6341;
  color: white;
  padding: 1rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 2rem;
  transition: transform 0.2s;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-2px);
  background-color: #bf5b3d;
}

.cta-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.legal-links {
  font-size: 0.875rem;
  color: #888;
}

.legal-links a {
  color: inherit;
  text-decoration: none;
}

.legal-links a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hero {
    padding: 1rem 1rem 2rem;
  }

  .hero-logo {
    height: 2.25rem;
  }

  .hero-bar {
    flex-wrap: wrap;
  }

  .hero-bar .cta-button {
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
  }

  .site-nav {
    order: 3;
    flex-basis: 100%;
    gap: 1.25rem;
    font-size: 0.95rem;
  }

  .hero h1 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
  }

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

  .learn-more-section {
    padding: 3rem 1rem;
  }

  .learn-more-box {
    padding: 2rem 1.25rem;
  }

  .intro-section {
    padding: 3rem 1.5rem;
  }

  .intro-container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .intro-content {
    font-size: 1.1rem;
    text-align: center;
  }

  .intro-badge {
    width: 160px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 0;
  }

  .screenshot-section {
    padding: 2rem 0.5rem 3rem;
  }

  .screenshot-container {
    margin: 1.5rem 0.5rem;
    padding: 0.5rem;
  }

  .screenshot-wrapper {
    max-height: 450px;
  }

  .testimonial {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .about-section {
    padding-top: 3rem;
    padding-bottom: 4rem;
  }

  .founder {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
}

/* Use cases */
.use-cases {
  background-color: white;
  padding: 4rem 2rem;
}

.use-cases h2,
.faq-section h2 {
  text-align: center;
}

.use-case-grid {
  max-width: 1200px;
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.use-case-card {
  background: var(--background-color);
  border-top: 4px solid var(--primary-color);
  border-radius: 8px;
  padding: 2rem;
}

.use-case-label {
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.use-case-card h3 {
  margin: 0.5rem 0;
  line-height: 1.3;
}

/* FAQ */
.faq-section {
  background-color: white;
  padding: 4rem 2rem;
}

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

.faq-list details {
  border-bottom: 1px solid #e5e5e5;
  padding: 1rem 0;
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  color: var(--primary-color);
  font-size: 1.4rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "\2212";
}

.faq-list details p {
  margin-top: 0.75rem;
}

.faq-list a,
.about-section a,
.pricing-more a {
  color: var(--primary-color);
  font-weight: 600;
}

/* Inner pages */
.hero--page h1 {
  margin-top: 1.5rem;
}

.pricing-section {
  padding: 4rem 2rem;
}

.price-card {
  max-width: 460px;
  margin: 0 auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 2.5rem 2rem;
  text-align: center;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary-color);
}

.price-unit {
  color: #666;
}

.price-features {
  list-style: none;
  text-align: left;
  margin: 1.5rem auto;
  max-width: 300px;
}

.price-features li {
  padding: 0.35rem 0 0.35rem 1.75rem;
  position: relative;
}

.price-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
}

.price-card .cta-button {
  margin-top: 0.5rem;
}

.price-card .trial-note {
  font-weight: 400;
  color: #666;
}

.pricing-more {
  max-width: 640px;
  margin: 2.5rem auto 0;
  text-align: center;
}

.pricing-more h2 {
  margin-bottom: 0.5rem;
}

.founder-heading {
  margin-top: 2.5rem;
}

@media (max-width: 768px) {
  .use-case-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .use-cases,
  .faq-section,
  .pricing-section {
    padding: 3rem 1.25rem;
  }
}

/* Pricing quote form */
.quote-form {
  max-width: 640px;
  margin: 1.5rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  font: inherit;
  font-weight: 400;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: white;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form .optional {
  color: #888;
  font-weight: 400;
}

.quote-form-wide,
.quote-form #recaptcha-container {
  grid-column: 1 / -1;
}

.quote-form .cta-button {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  font-weight: bold;
}

@media (max-width: 768px) {
  .quote-form {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.25rem;
  }
}
