@import url('variables.css');

/* Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  letter-spacing: 2px;
  height: 100%;
  background-color: #fff;
  color: #333;
  text-align: center;
}

.section-alt {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  margin: 2rem; 
  line-height: 1.8;
}
.section-alt p {
  margin: 2rem;
  max-width: 800px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  letter-spacing: 3px;
  color: var(--color3);
  text-transform: uppercase;
  font-size: 2rem;
  padding: 0;
  margin: 0;
}

.highlight {
  color: var(--color5);
}

main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

/* NAVIGATION */
nav {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 1rem 2rem;
  background: transparent;
  position: sticky;
  top: 0;
  z-index: 999;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;

}

nav a:hover {
  color: var(--color5)
}

/* 🌟 HERO SECTION */
.hero {
  background: url('../images/grid-wrapper/image16.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  color: white;
  text-align: center;
  padding: 2rem;
}

.hero h1 {
  font-size: var(--fontsize-h1);
  padding-bottom: 7rem;
}

.hero p {
  font-size: var(--fontsize-h3);
  margin-bottom: 2rem;
  
}

.hero #typing-effect {
  color: var(--color2);
  font-size: 1.5rem;
}

/* Jumping exclamation mark animation */
.jump {
  display: inline-block;
  transition: transform 0.5s;
}
.jump-animate {
  animation: jump 1.0s;
}
@keyframes jump {
  0%   { transform: translateY(0); }
  20%  { transform: translateY(-20px); }
  40%  { transform: translateY(0); }
  100% { transform: translateY(0); }
}

/* 🚀 CALL TO ACTION BUTTON */
.cta-button1 {
  background: var(--color4);
  padding: 10px 30px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.4s ease;
  margin: 2rem !important; /* Ensure margin is applied */
}

.cta-button1:hover {
  font-weight: bold;
  background-color: var(--color5);
}

.arrow-icon {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 10px solid white;
}

.cta-button1:hover .arrow-icon {
  border-top-color: var(--color1); /* or any color you want on hover */
}

/* 🧭 HOW IT WORKS SECTION */
.how-it-works {
  background: #fff;
  padding: 2rem 0;
}

.steps {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Align step boxes at the top */
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 2rem;
  gap: 2rem;
  max-width: 1000px;
}

.step {
  background: white;
  width: 250px;
  border: 4px double grey;
}

.step:hover {
  background: var(--color5);
  color: white;
  transition: all 0.4s ease;
}

.section-alt ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 4px double grey;
}

/* 🖼️ SCREENSHOTS SECTION */
.screenshots {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  gap: 2rem;
  max-width: 1000px;
}
.screenshots img {
  width: 30dvw;
  height: auto;
  border-radius: 0;
} 
.screenshots img.screenshot-large {
  width: 70dvw; /* Make the first screenshot larger */
}

.screenshot-h2 {
  margin-bottom: 2rem;
}

.screenshots h3 {
  font-size: 1.2rem;
  color: var(--color5);
  width: 100%;
  text-align: center;
  margin-bottom: 0.5rem; /* Add spacing between the heading and the image */
}

/* 💬 FAQ SECTION */
.faq {
  background-color: #fff;
  margin: 2rem auto;
  padding: 2rem 0;
  background-color: #fafafa;
}

blockquote {
  margin: 1.5rem 0 0 0;
  padding-left: 1rem;
  margin-bottom: 2rem;
  color: var(--color5, #e67e22);
  font-style: italic;
}

/* 📧 NEWSLETTER (SUBSCRIBE) SECTION */
.subscribe {
  background-color: #fafafa;
  margin: 2rem auto;
  padding: 2rem 0;
  background-color: #fafafa;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
  padding: 0.7rem 1rem;
  border: 2px solid var(--color3);
  font-size: 1rem;
  min-width: 220px;
  outline: none;
  transition: border-color 0.3s;
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--color5);
}

.newsletter-form button {
  background: var(--color4);
  color: #fff;
  border: none;
  padding: 0.7rem 2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: var(--color5);
  font-weight: bold;
}

/* Hide label for accessibility */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* 🤝 GET INVOLVED SECTION */
.get-involved {
  background-color: #fff;
  margin: 0 auto;
  padding-bottom: 0 auto;
  line-height: 1.6;
  align-items: center; 
  text-align: center;
}

.get-involved ul {
  border: 4px double grey;
  margin-bottom: 2rem;
  padding: 2rem;
}

/* 💼 FOR INVESTORS SECTION */
.investors {
  margin: 0 auto;
  padding: 0 auto;
  line-height: 1.6;
  background-color: #fafafa;
}

.investors p {
  text-align: left;       /* Keeps text readable */
}

.section-alt .container {
  padding: 0;
  margin: 0;
  align-items: center; 
  text-align: center;
}

/* 📧 BLOG (SUBSCRIBE) SECTION */
.blog {
  background-color: #fff;
  margin: 2rem auto;
  padding: 2rem 0;
  background-color: #fafafa;
}
 
/* ⚓ FOOTER */
footer {
  background: var(--color3);
  color: #ccc;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

/* Underscore effect for selected words */
.underscore {
  display: inline-block; /* Ensure the element is treated as inline */
  position: relative;    /* Position relative for the ::after pseudo-element */
}

.underscore::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px; /* Adjust to position the line just below the text */
  width: 100%;  /* Match the width of the text */
  height: 2.2px;
  background-color: var(--color5); /* Adjust color as needed */
  transition: width 0.3s ease;
}

/* Style for #content-typing */
#content-typing {
  color: var(--color5);
  font-weight: bold; /* Optional: Make it bold for emphasis */
}


/* Conversation Scenarios Slider - Harmonized with 'why use it' section */
.scenarios-slider {
  position: relative;
  width: 100%;
  max-width: 800px; /* Match .section-alt p max-width */
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;  /* Remove any padding that might affect positioning */
}

.scenario-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s;
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.scenario-slide.active {
  display: flex;
  opacity: 1;
  position: relative;
}

.scenario-box {
  background: #fff;
  border: 4px double var(--color3, #888); /* Match .section-alt ul border */
  border-radius: 0;
  padding: 1.5rem 2rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .scenario-box {
    padding: 0.75rem 1rem;  /* Reduced padding for mobile */
  }
}

.scenario-box blockquote {
  margin: 1.5rem 0 0 0;
  padding-left: 1rem;
  border-left: 3px solid var(--color5, #e67e22);
  color: var(--color5, #e67e22);
  font-style: italic;
  background: #fafafa;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin-top: 0;  /* Remove any margin that might affect positioning */
  background: var(--color4, #333);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  opacity: 0.85;
  transition: background 0.2s, opacity 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider-btn.prev {
  left: 0.5rem;
}

.slider-btn.next {
  right: 0.5rem;
}

.slider-btn:hover {
  background: var(--color5, #e67e22);
  opacity: 1;
}

.slider-btn .arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding-bottom: 7px;
}

.slider-btn.prev .arrow::before {
  content: "←";
}

.slider-btn.next .arrow::before {
  content: "→";
}

.conversation-scenarios {
  background: #fafafa;
  margin: 0 auto;
}

.camille {
  font-family: var(--font-secondary), monospace;
  color: var(--color5);
  font-size: 1.5rem;
  letter-spacing: 2px;
  font-weight: bold;
  text-transform: none;
}

@media (max-width: 900px) {
  .scenarios-slider, .scenario-box {
    max-width: 98vw;
    padding: 1rem 0.5rem;
    font-size: 1rem;
  }
}

/* Responsive styles for smaller screens */
@media (max-width: 768px) {
  .section-alt {
    padding: 1rem;
    margin: 1rem;
  }

  .section-alt p {
    margin: 1rem;
    font-size: 0.9rem;
  }

  h1, h2, h3 {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }

  .cta-button1 {
    padding: 8px 20px;
    font-size: 0.9rem;
    margin: 1rem;
  }

  .steps {
    flex-direction: column;
    gap: 1rem;
  }

  .step {
    width: 100%;
    padding: 1rem;
  }

  .screenshots img {
    width: 90%;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  footer {
    font-size: 0.8rem;
    padding: 1rem;
  }
}

@media (max-width: 932px) and (orientation: landscape) {
  .hero {
    padding: 3rem 1rem 2rem 1rem;
    min-height: 60vh;
  }
  .hero h1 {
    font-size: 3.5rem;
    padding-bottom: 1rem !important;
  }
  .hero p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .cta-button, .cta-button1 {
    padding: 6px 16px;
    font-size: 0.95rem;
    margin: 0.5rem !important;
  }

  /* Make screenshots 2 and 3 larger in landscape */
  .screenshots img.screenshot-2,
  .screenshots img.screenshot-3 {
    width: 60vw !important;
    max-width: 90vw;
    min-width: 300px;
  }
}



