/* Base Typography */
body {
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  color: #2a2a2a;
}

h1,
h2,
h3,
.tagline {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
}

.hero {
  background-color: #1a1a1a;
  background-image: url("/assets/img/hero_wineyard.jpg");
  background-size: cover;
  background-position: left center;
  color: white;
  padding: 120px 40px;
  min-height: 400px;
  position: relative;
  display: flex;
  justify-content: flex-end;
}

/*.hero::before {*/
/*  content: "";*/
/*  position: absolute;*/
/*  top: 0;*/
/*  right: 0;*/
/*  bottom: 0;*/
/*  width: 50%;*/
/*  background: linear-gradient(*/
/*    to left,*/
/*    rgba(26, 26, 26, 0.95),*/
/*    rgba(26, 26, 26, 0.8) 60%,*/
/*    transparent*/
/*  );*/
/*}*/
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 70%;
  background: linear-gradient(
    to left,
    rgba(26, 26, 26, 0.95),
    rgba(26, 26, 26, 0.9) 30%,
    rgba(26, 26, 26, 0.85) 60%,
    rgba(26, 26, 26, 0.6) 80%,
    transparent
  );
}

.hero-content {
  position: relative; /* For z-index to work */
  z-index: 2;
  max-width: 600px;
  padding-left: 60px; /* Push content slightly away from gradient */
}

.hero h1 {
  font-size: 3.4rem;
  margin-bottom: 12px;
  line-height: 1.1;
  font-weight: 700;
}

.hero .tagline {
  font-size: 1.6rem;
  margin: 16px 0;
  color: #ffd700;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero .subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-top: 20px;
  line-height: 1.5;
  font-weight: 400;
}
.hero-cta {
  margin-top: 40px;
  display: flex;
  gap: 20px;
}

.cta-primary {
  background: #22a559;
  color: white;
  padding: 16px 32px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cta-primary:hover {
  background: #1b8347;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 165, 89, 0.3);
}

.cta-secondary {
  background: transparent;
  color: white;
  padding: 16px 32px;
  border: 2px solid white;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero .tagline {
    font-size: 1.4rem;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-primary,
  .cta-secondary {
    padding: 14px 24px;
  }
}

/*.section {*/
/*  padding: 60px 20px;*/
/*}*/
/*.section h2 {*/
/*  text-align: center;*/
/*  margin-bottom: 40px;*/
/*  font-size: 2rem;*/
/*}*/
/*.process {*/
/*  display: flex;*/
/*  gap: 30px;*/
/*  margin: 40px 0;*/
/*}*/
/*.step {*/
/*  flex: 1;*/
/*  padding: 30px;*/
/*  background: #f5f5f5;*/
/*  border-radius: 8px;*/
/*  text-align: center;*/
/*}*/
/*.step h3 {*/
/*  color: #1a1a1a;*/
/*  margin-bottom: 15px;*/
/*}*/

.section {
  padding: 80px 0;
}

.section h2 {
  font-size: 2.2rem;
  margin-bottom: 60px;
  text-align: center;
}

.process {
  display: flex;
  gap: 40px;
  position: relative;
}

/* Line connecting steps */
.process::before {
  content: "";
  position: absolute;
  top: 45px; /* Adjust based on your circle size */
  left: 40px;
  right: 40px;
  height: 2px;
  background: #e0e0e0;
  z-index: 1;
}

.step {
  flex: 1;
  position: relative;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  z-index: 2;
}

.step h3 {
  position: relative;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  margin-bottom: 20px;
  padding-top: 50px; /* Space for the number circle */
}

/* Number circles */
.step h3::before {
  content: attr(data-step);
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: #22a559;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(34, 165, 89, 0.2);
}

.step p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0;
}

/* Hover effect */
.step:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .process {
    flex-direction: column;
    gap: 30px;
  }

  /* Adjust connecting line for mobile */
  .process::before {
    top: 0;
    bottom: 0;
    left: 40px;
    width: 2px;
    height: auto;
  }

  .step {
    padding: 25px;
    margin-left: 60px; /* Space for vertical line */
  }

  .step h3::before {
    left: -75px;
    top: 50%;
    transform: translateY(-50%);
  }

  .step h3 {
    padding-top: 0;
  }
}

/*.comparison {*/
/*  display: grid;*/
/*  grid-template-columns: 1fr 1fr;*/
/*  gap: 30px;*/
/*  margin: 40px 0;*/
/*}*/
/*.card {*/
/*  padding: 30px;*/
/*  border-radius: 8px;*/
/*}*/
/*.card h3 {*/
/*  margin-bottom: 20px;*/
/*}*/
/*.card ul {*/
/*  padding-left: 20px;*/
/*}*/
/*.card li {*/
/*  margin-bottom: 10px;*/
/*}*/
/*.them {*/
/*  background: #ffebee;*/
/*}*/
/*.us {*/
/*  background: #e8f5e9;*/
/*}*/

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 40px 0;
}

.card {
  padding: 40px;
  border-radius: 12px;
  position: relative;
}

.card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card li {
  padding: 12px 0 12px 35px;
  position: relative;
  font-size: 1.1rem;
  line-height: 1.4;
}

/* Traditional Solutions styling */
.them {
  background: #fff1f1;
  border: 1px solid #ffe4e4;
}

.them h3 {
  color: #cc3333;
}

.them li:before {
  content: "×";
  position: absolute;
  left: 0;
  color: #cc3333;
  font-size: 24px;
  font-weight: bold;
}

/* ZezQR Approach styling */
.us {
  background: #f0fff4;
  border: 1px solid #dcf5e3;
}

.us h3 {
  color: #22a559;
}

.us li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22a559;
  font-size: 20px;
  font-weight: bold;
}

/* Hover effects */
.card li {
  transition: transform 0.2s ease;
}

.card li:hover {
  transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .comparison {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    padding: 30px;
  }

  .card li {
    font-size: 1rem;
  }
}

/*.contact {*/
/*  max-width: 600px;*/
/*  margin: 0 auto;*/
/*}*/
/*form {*/
/*  display: grid;*/
/*  gap: 20px;*/
/*}*/
/*input,*/
/*textarea {*/
/*  width: 100%;*/
/*  padding: 12px;*/
/*  border: 1px solid #ddd;*/
/*  border-radius: 4px;*/
/*  font-size: 1rem;*/
/*}*/
/*button {*/
/*  background: #2a2a2a;*/
/*  color: white;*/
/*  padding: 15px 30px;*/
/*  border: none;*/
/*  border-radius: 4px;*/
/*  cursor: pointer;*/
/*  font-size: 1.1rem;*/
/*  font-weight: 500;*/
/*}*/
/*button:hover {*/
/*  background: #404040;*/
/*}*/

.contact {
  padding: 80px 0;
  max-width: 600px;
  margin: 0 auto;
}

.contact h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.contact p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.5;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 16px;
  border: 2px solid #eaeaea;
  border-radius: 8px;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  transition: all 0.2s ease;
  background: #f8f9fa;
}

.contact input:focus,
.contact textarea:focus {
  outline: none;
  border-color: #22a559;
  background: white;
  box-shadow: 0 2px 8px rgba(34, 165, 89, 0.1);
}

.contact textarea {
  min-height: 120px;
  resize: vertical;
}

.contact input::placeholder,
.contact textarea::placeholder {
  color: #999;
}

/* Style for the altcha widget container */
#altcha {
  margin: 10px 0;
}

.contact button {
  background: #22a559;
  color: white;
  padding: 18px 32px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: "Space Grotesk", sans-serif;
  margin-top: 10px;
}

.contact button:hover {
  background: #1b8347;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 165, 89, 0.2);
}

.contact button:active {
  transform: translateY(0);
}

/* Add subtle animation for form elements */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact input,
.contact textarea {
  animation: fadeIn 0.5s ease forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact {
    padding: 60px 20px;
  }

  .contact h2 {
    font-size: 1.8rem;
  }

  .contact button {
    padding: 16px 24px;
  }
}

/* Only show invalid state after user interaction */
.contact input:invalid,
.contact textarea:invalid {
  border-color: #eaeaea; /* Default border color */
}

/* Show red border only when field has been touched and is invalid */
.contact input:not(:placeholder-shown):invalid,
.contact textarea:not(:placeholder-shown):invalid {
  border-color: #ff6b6b;
}

/* Or alternatively, you can use focus state to trigger validation visibility */
.contact input:focus:invalid,
.contact textarea:focus:invalid {
  border-color: #ff6b6b;
}

/* Remove the required indicator */
.contact input:required::after {
  content: none;
}

/*.pricing {*/
/*  text-align: center;*/
/*  padding: 60px 20px;*/
/*  background: #f8f9fa;*/
/*}*/
/*.price-card {*/
/*  max-width: 400px;*/
/*  margin: 0 auto;*/
/*  padding: 40px;*/
/*  background: white;*/
/*  border-radius: 8px;*/
/*  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);*/
/*}*/
/*.price-highlight {*/
/*  font-size: 3.5rem;*/
/*  font-weight: bold;*/
/*  margin: 20px 0;*/
/*  color: #2a2a2a;*/
/*}*/
/*.price-detail {*/
/*  font-size: 1.2rem;*/
/*  color: #666;*/
/*  margin-bottom: 20px;*/
/*}*/
/*.price-card ul {*/
/*  text-align: left;*/
/*  display: inline-block;*/
/*  margin: 20px 0;*/
/*}*/
/*.price-card li {*/
/*  margin-bottom: 10px;*/
/*}*/
.pricing {
  padding: 80px 0;
  background: #f8f9fa;
  /*text-align: center;*/
}

.pricing h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2rem;
  margin: 0 auto;
}

.price-card {
  background: white;
  border-radius: 16px;
  padding: 50px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.trial-offer {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid #eaeaea;
}

.trial-offer p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 15px;
}

.trial-button {
  background: transparent;
  color: #22a559;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: underline;
  font-family: inherit;
}

.trial-button:hover {
  color: #1b8347;
}

/* Optional decorative element */
.price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #22a559, #2a2a2a);
}

.price-highlight {
  font-family: "Space Grotesk", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: #2a2a2a;
  margin-bottom: 10px;
  line-height: 1;
}

.price-detail {
  font-size: 1.2rem;
  color: #22a559;
  margin-bottom: 30px;
  font-weight: 500;
}

.price-card p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 20px;
  font-weight: 500;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.price-card li {
  padding: 12px 0 12px 35px;
  position: relative;
  font-size: 1.1rem;
  color: #2a2a2a;
}

.price-card li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22a559;
  font-size: 18px;
  font-weight: bold;
}

/* Optional hover effect */
.price-card:hover {
  transform: translateY(-2px);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .pricing {
    padding: 60px 20px;
  }

  .price-card {
    padding: 40px 30px;
  }

  .price-highlight {
    font-size: 3.2rem;
  }
}

@media (max-width: 1024px) {
  .hero {
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
  }

  .hero::before {
    width: 100%;
    background: rgba(26, 26, 26, 0.8);
  }

  .hero-content {
    padding-left: 0;
  }
  .process {
    flex-direction: column;
  }
}

/* Language Selector Styles */
.top-bar {
  display: flex;
  justify-content: flex-end;
  padding: 5px 10px;
}

.language-selector {
  position: relative;
  display: inline-block;
  align-self: flex-end; /* Aligns the language selector to the right  */
}

.language-selector label,
.language-selector .trigger {
  /* Remove fixed and minimum widths */
  width: auto;
  min-width: 0;

  /* Adjust padding to be minimal */
  padding: 4px 6px; /* Reduced padding */

  /* Optional: Adjust font size if needed */
  font-size: 14px;

  /* Ensure the label shrinks to fit its content */
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* Optional: Remove or adjust borders and background */
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;

  /* Cursor pointer for better UX */
  cursor: pointer;
}

/* Hide the checkbox */
.language-selector input[type="checkbox"] {
  display: none;
}

/* Style the label as a button */
.language-selector label {
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

/* Add an arrow indicator */
.language-selector label::after {
  content: "▼";
  margin-left: 10px;
  font-size: 0.8em;
}

/* Dropdown Menu Styles */
.language-selector ul {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  min-width: 140px; /* Ensures sufficient width */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 1000;
}

.language-selector ul li a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #333;
}

.language-selector ul li a:hover,
.language-selector ul li a:focus {
  background-color: #f1f1f1;
}

/* Show dropdown when checkbox is checked */
.language-selector input[type="checkbox"]:checked ~ ul {
  display: block;
}

/* Close dropdown when clicking a link */
.language-selector ul li a {
  pointer-events: auto;
}

/* Optional: Prevent the dropdown from closing when clicking inside */
.language-selector ul {
  cursor: default;
}
footer {
  margin-top: 80px;
  border-top: 1px solid #eaeaea;
  background: #f8f9fa;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 40px;
}

.footer-content {
  text-align: center;
}

.footer-text {
  font-family: "Space Mono", monospace; /* or your preferred monospace font */
  font-size: 14px;
  color: #666;
}

@media (max-width: 768px) {
  footer {
    margin-top: 60px;
  }

  .footer-container {
    padding: 20px;
  }
}
