@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #000;
  background: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.625rem, 5vw, 4.625rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 3rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

p {
  font-size: 1rem;
  line-height: 1.6;
  color: #000;
}

/* Header */
header {
  padding: 1rem 0;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: baseline;
  height: 37px;
  margin-bottom: 17px;
}

.logo img {
  height: 100%;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links li {
  color: #000;
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.nav-links li:hover {
  color: #666;
  transform: translateY(-2px);
}

.nav-links li::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 50%;
  background: #000;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links li:hover::after {
  width: 100%;
}

.nav-get-started {
  padding: 0.75rem 2rem;
  background: #000;
  color: #fff;
  border: none;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-get-started:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hamburger {
  display: none;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #000;
  margin-bottom: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.hamburger span:last-child {
  margin-bottom: 0;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.mobile-menu.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-content {
  position: absolute;
  right: 0;
  top: 0;
  width: 80%;
  max-width: 300px;
  height: 100%;
  background: white;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 30px 20px;
  overflow-y: auto;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active .mobile-menu-content {
  transform: translateX(0);
}


.close-menu {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #333;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 20px;
  right: 20px;
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin-top: 60px;
}

.mobile-nav-links li {
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  display: block;
  transition: color 0.3s ease;
}

.mobile-nav-links a:hover {
  color: #666;
}

.mobile-get-started {
  width: 100%;
  margin-top: 30px;
  padding: 0.75rem 2rem;
  background: #000;
  color: white;
  border: none;
  font-weight: 500;
  cursor: pointer;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  min-height: 600px;
  padding: 4rem 0;
  gap: 4rem;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content p {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  line-height: 2rem;
}

.hero-image {
  flex: 1;
  position: relative;
  min-height: 400px;
  background: url('./images/main-image.png') center/contain no-repeat;
  overflow: hidden;
}

/* Sections */
section {
  padding: 5rem 0;
  background: #fff;
}

/* How it works */
.how-it-works {
  background: #fff;
}

.steps-wrapper {
  position: relative;
}

.how-it-works h2 {
  display: none;
}

.steps-wrapper::before {
  content: "how it works";
  position: absolute;
  top: 0;
  left: 0;
  width: 83px;
  height: 71px;
  background: #A9A9A9;
  color: #fff;
  font-size: 0.875rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}

.steps-container {
  position: relative;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 3rem;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -50vw;
  width: 100vw;
  height: 1px;
  background: #A9A9A9;
  z-index: 1;
}

.steps::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -50vw;
  width: 100vw;
  height: 1px;
  background: #A9A9A9;
  z-index: 1;
}

.step {
  text-align: center;
  padding: 3rem 2rem;
  background: #fff;
  position: relative;
  height: 544px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.step:last-child {
  border-right: none;
}

.step:nth-child(2) {
  border-left: 1px solid #A9A9A9;
  border-right: 1px solid #A9A9A9;
}

.step img {
  width: 220px;
  height: 168px;
  object-fit: contain;
  margin-bottom: 3rem;
}

.step h3 {
  font-size: 1.5rem;
  font-weight: bold;
}

.download-button {
  text-align: center;
}

.download-button button {
  padding: 1rem 3rem;
  background: #000;
  color: white;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-button button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Slider controls (hidden on desktop) */
.slider-dots {
  display: none;
}

/* Features */
.we-offer {
  background: #fff;
}

.we-offer h2 {
  display: none;
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.75rem;
  margin-top: 0;
  margin-left: 83px;
  position: relative;
}

.features::before {
  content: "we offer";
  position: absolute;
  top: -71px;
  left: -83px;
  width: 83px;
  height: 71px;
  background: #A9A9A9;
  color: #fff;
  font-size: 0.875rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}

.feature {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 7.5rem);
  padding: 40px;
  background: #fff;
  width: 100%;
  max-width: 1040px;
  height: 200px;
  position: relative;
}

.feature:nth-child(1) {
  border-radius: 0 44px 44px 44px;
  box-shadow: -58px 16px 54px rgba(0, 0, 0, 0.08);
}

.feature:nth-child(2) {
  border-radius: 44px 0 44px 44px;
  box-shadow: 0 60px 54px rgba(0, 0, 0, 0.08);
}

.feature:nth-child(3) {
  border-radius: 44px 44px 0 44px;
  box-shadow: 58px 16px 54px rgba(0, 0, 0, 0.08);
}

.feature:nth-child(4) {
  border-radius: 44px 44px 44px 0;
  box-shadow: -58px 16px 54px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  object-fit: contain;
}

.feature-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-content p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer */
footer {
  background: #000;
  color: white;
  padding: 5rem 0 3rem;
}

footer h2 {
  color: white;
  text-align: center;
  margin-bottom: 3rem;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #999;
  transition: color 0.3s ease;
}

input,
textarea {
  width: 100%;
  padding: 1rem;
  background: transparent;
  border: 1px solid #333;
  color: white;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input::placeholder,
textarea::placeholder {
  color: #666;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #999;
  box-shadow: 0 0 0 1px #999;
}

input.error,
textarea.error {
  border-color: #ff4444;
}

input.error:focus,
textarea.error:focus {
  border-color: #ff4444;
  box-shadow: 0 0 0 1px #ff4444;
}

input.success,
textarea.success {
  border-color: #44ff44;
}

.error-message {
  display: block;
  color: #ff4444;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  min-height: 1.2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.error-message.show {
  opacity: 1;
}

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

.form-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: #fff;
  color: #000;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 1rem;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Success Message */
.success-message {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.success-message.show {
  opacity: 1;
  visibility: visible;
}

.success-content {
  background: #fff;
  padding: 3rem 2rem;
  max-width: 400px;
  text-align: center;
  border-radius: 8px;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.success-message.show .success-content {
  transform: scale(1);
}

.success-icon {
  width: 60px;
  height: 60px;
  background: #44ff44;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: #000;
  font-weight: bold;
}

.success-content h3 {
  color: #000;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.success-content p {
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.close-success {
  padding: 0.75rem 2rem;
  background: #000;
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.close-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.copyright {
  text-align: center;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #333;
  color: #666;
  font-size: 0.9rem;
}

/* Waitlist Modal */
.waitlist-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.waitlist-modal.show {
  opacity: 1;
  visibility: visible;
}

.waitlist-modal-content {
  background: #fff;
  padding: 3rem 2.5rem;
  max-width: 500px;
  width: 90%;
  border-radius: 8px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.waitlist-modal.show .waitlist-modal-content {
  transform: scale(1);
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: #000;
}

.waitlist-modal-content h2 {
  color: #000;
  margin-bottom: 1rem;
  font-size: 2rem;
  text-align: center;
}

.modal-description {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.5;
}

.waitlist-form .form-group {
  margin-bottom: 1.5rem;
}

.waitlist-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #333;
  font-weight: 500;
}

.waitlist-form input {
  width: 100%;
  padding: 1rem;
  background: #fff;
  border: 1px solid #ddd;
  color: #000;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  border-radius: 4px;
}

.waitlist-form input::placeholder {
  color: #999;
}

.waitlist-form input:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 1px #000;
}

.waitlist-form input.error {
  border-color: #ff4444;
}

.waitlist-form input.error:focus {
  border-color: #ff4444;
  box-shadow: 0 0 0 1px #ff4444;
}

.waitlist-form input.success {
  border-color: #44ff44;
}

.waitlist-form .form-submit {
  width: 100%;
  margin-top: 0.5rem;
  background: #000;
  color: #fff;
}

.waitlist-form .form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Waitlist Thank You Modal */
.waitlist-thank-you {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.waitlist-thank-you.show {
  opacity: 1;
  visibility: visible;
}

.waitlist-thank-you-content {
  background: #fff;
  padding: 3rem 2.5rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  border-radius: 8px;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.waitlist-thank-you.show .waitlist-thank-you-content {
  transform: scale(1);
}

.waitlist-thank-you-content h3 {
  color: #000;
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.waitlist-thank-you-content p {
  color: #666;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.5;
}

.close-thank-you {
  padding: 0.75rem 2.5rem;
  background: #000;
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 0;
}

.close-thank-you:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Button styles */
button {
  font-family: inherit;
  border-radius: 0;
}

/* Tablet / Small Desktop Responsive */
@media (max-width: 1200px) and (min-width: 769px) {
  .step {
    padding: 2rem 1rem;
  }

  .step img {
    width: clamp(150px, 18vw, 220px);
    height: clamp(114px, 13.6vw, 168px);
    margin-bottom: 2rem;
  }

  .feature-icon {
    width: clamp(120px, 15vw, 200px);
    height: clamp(120px, 15vw, 200px);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .logo {
    max-width: 150px;
  }

  .nav-links {
    display: none;
  }

  .nav-get-started {
    display: none;
  }

  .hamburger {
    display: block;
  }

  /* Hero - Image first, then text */
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 3rem 0;
    min-height: auto;
  }

  .hero-image {
    width: 100%;
    order: -1;
    margin-bottom: 2rem;
    min-height: 250px;
  }

  .hero-content {
    order: 1;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  section {
    padding: 3rem 0;
  }

  .steps-wrapper {
    margin-left: -15px;
    margin-right: -15px;
  }

  .steps-wrapper::before {
    top: 2rem;
    left: 15px;
  }

  .steps-container {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .steps {
    display: flex;
    flex-direction: row;
    gap: 0;
    margin-top: 2rem;
    width: 270%;
  }

  .steps::before,
  .steps::after {
    display: none;
  }

  .step {
    width: 33.333%;
    flex-shrink: 0;
    margin: 0;
    border-top: 1px solid #A9A9A9;
    border-bottom: 1px solid #A9A9A9;
  }



  /* Show slider dots on mobile */
  .slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    position: absolute;
    bottom: 61px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    z-index: 3;
  }

  .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .dot.active {
    background: #000;
    width: 24px;
    border-radius: 4px;
  }

  /* Features - Mobile specific layout */
  .we-offer {
    overflow: hidden;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-left: 0;
    margin-top: 3rem;
  }

  .features::before {
    top: -90px;
    left: 0;
  }

  .feature {
    position: relative;
    padding: 1.5rem;
    width: 100%;
    height: auto;
    min-height: 120px;
    flex-direction: row;
    justify-content: space-between;
    overflow: visible;
    box-shadow: none !important;
  }

  .feature-icon {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: 120px;
    opacity: 0.7;
  }

  .feature-content {
    position: relative;
    z-index: 1;
    min-width: 220px;
    max-width: calc(100% - 90px);
  }

  .feature-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
  }

  .feature-content p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
}
