/* Base Styles */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --accent: #ec4899;
  --accent-dark: #db2777;
  --background-light: #fdf2f8;
  --text-dark: #1e293b;
  --text-medium: #475569;
  --text-light: #94a3b8;
  --background: #ffffff;
  --background-alt: #f8fafc;
  --border: #e2e8f0;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --radius: 0.5rem;
  --radius-sm: 0.25rem;
  --radius-lg: 1rem;
  --transition: all 0.3s ease;
  --heading-font: "Playfair Display", serif;
  --body-font: "Poppins", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--background);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-medium);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: white;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  color: white;
  border-color: var(--primary-light);
}

.btn-accent {
  background-color: var(--accent);
  color: white;
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  color: white;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  position: relative;
  width: 90px;
  height: 90px;
  overflow: hidden;
  border-radius: 50%;
  background-color: var(--background-light);
  box-shadow: var(--shadow-sm);
}

.logo-img {
  height: auto;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  padding: 5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
}

/* Hero Section */
.hero {
  padding: 6rem 0;
  overflow: hidden;
  position: relative;
  background-color: var(--background-light);
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image {
  flex: 1;
  position: relative;
}

.image-container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 600px;
}

.iphone-mockup {
  position: relative;
  z-index: 2;
  height: 580px;
  border-radius: 40px;
  box-shadow: var(--shadow);
}

.blob-shape {
  position: absolute;
  width: 500px;
  height: 500px;
  background: linear-gradient(
    to right bottom,
    var(--primary-light),
    var(--accent-dark)
  );
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
  animation: blob-movement 15s infinite alternate ease-in-out;
}

@keyframes blob-movement {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  25% {
    border-radius: 50% 50% 30% 70% / 60% 40% 60% 40%;
  }
  50% {
    border-radius: 70% 30% 50% 50% / 40% 60% 40% 60%;
  }
  75% {
    border-radius: 30% 70% 70% 30% / 50% 50% 30% 70%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 70% 30% 70% 30%;
  }
}

/* Features Section */
.features {
  padding: 6rem 0;
  background-color: var(--background-alt);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--background);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.icon-container {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.icon-container svg {
  color: var(--primary);
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* How It Works Section */
.how-it-works {
  padding: 6rem 0;
}

.tabs {
  max-width: 1000px;
  margin: 0 auto;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.tab-btn {
  background: none;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-medium);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.tab-btn:after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  transform: scaleX(0);
  transition: var(--transition);
}

.tab-btn.active {
  color: var(--primary);
}

.tab-btn.active:after {
  transform: scaleX(1);
}

.tab-content {
  position: relative;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.step {
  text-align: center;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(
    to right bottom,
    var(--primary),
    var(--primary-dark)
  );
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0 auto 1.5rem;
}

.step h3 {
  margin-bottom: 0.75rem;
}

.step p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.screenshot {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.browser-mockup {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mobile-mockup {
  height: 500px;
  box-shadow: var(--shadow);
  border-radius: 20px;
}

/* Demo Section */
.demo {
  padding: 6rem 0;
  background-color: var(--background-alt);
}

.video-container {
  max-width: 800px;
  margin: 0 auto;
}

/* Inspiration Section */
.inspiration {
  padding: 6rem 0;
  background-color: var(--background-alt);
}

.inspiration-container {
  display: flex;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

.inspiration-content {
  flex: 1;
}

.inspiration-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1.1rem;
}

.inspiration-image {
  flex: 1;
  position: relative;
}

.mauritius-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-caption {
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
  color: var(--text-medium);
}

/* Testimonials Section */
.testimonials {
  padding: 6rem 0;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto 2rem;
  position: relative;
}

.testimonial {
  padding: 2rem;
  background-color: var(--background);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: none;
}

.testimonial:first-child {
  display: block;
}

.quote {
  position: relative;
  padding: 1rem 0 1rem 2rem;
  border-left: 3px solid var(--primary-light);
  margin-bottom: 1.5rem;
}

.quote p {
  font-style: italic;
  margin-bottom: 0;
  font-size: 1.1rem;
}

.author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.author-info p {
  margin-bottom: 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.prev-btn,
.next-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-medium);
  transition: var(--transition);
}

.prev-btn:hover,
.next-btn:hover {
  color: var(--primary);
}

.dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--text-light);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active,
.dot:hover {
  background-color: var(--primary);
  transform: scale(1.2);
}

/* Waitlist Section */
.waitlist {
  padding: 6rem 0;
  background: linear-gradient(135deg, #fdf2f8 0%, #eff6ff 100%);
}

.waitlist .container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.waitlist-content {
  flex: 1;
}

.waitlist h2 {
  margin-bottom: 1rem;
}

.waitlist p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.waitlist-form {
  max-width: 500px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--body-font);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Success Message Styles */
.success-message {
  max-width: 500px;
  padding: 2rem;
  background-color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  animation: fadeIn 0.5s ease forwards;
}

.success-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: white;
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-message h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}

.success-message p {
  margin-bottom: 0;
}

.waitlist-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.waitlist-image img {
  max-width: 450px;
}

/* Footer */
footer {
  padding: 5rem 0 2rem;
  background-color: #f1f5f9;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  margin-bottom: 1rem;
  position: relative;
  width: 90px;
  height: 90px;
  overflow: hidden;
  border-radius: 50%;
  background-color: var(--background-light);
  box-shadow: var(--shadow-sm);
}

.footer-logo-img {
  height: auto;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  padding: 5px;
}

.footer-links {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.link-group h4 {
  margin-bottom: 1.25rem;
  font-family: var(--body-font);
  font-size: 1.1rem;
}

.link-group a {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--text-medium);
  font-size: 0.95rem;
}

.link-group a:hover {
  color: var(--primary);
}

.footer-social h4 {
  margin-bottom: 1.25rem;
  font-family: var(--body-font);
  font-size: 1.1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  color: var(--text-medium);
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero .container {
    flex-direction: column;
  }

  .hero-content,
  .hero-image {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
  }

  .cta-buttons {
    justify-content: center;
  }

  .waitlist .container {
    flex-direction: column;
  }

  .waitlist-content,
  .waitlist-image {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
  }

  .waitlist-form {
    margin: 0 auto;
  }

  .inspiration-container {
    flex-direction: column-reverse;
  }

  .inspiration-image {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow);
    transform: translateY(-150%);
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .mobile-menu-btn {
    display: block;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .step-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
  }

  .footer-links {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .slider-controls {
    gap: 1.5rem;
  }
}
