/* Reset and base styles */
:root {
  --text-color: #000000;
  --bg-color: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  --blur-amount: 80px;
}

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

body {
  font-family: 'Alata', sans-serif;
  line-height: 1.5;
  color: var(--text-color);
  background-color: var(--bg-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
}

.logo-gif {
  height: 40px;
  transform: scale(5.5) translateY(5px); /* Adjust this value */
  transform-origin: center;
  pointer-events: none;
}


/* Animated Background */
.animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

/* Blob Base */
.blob {
  position: absolute;
  filter: blur(120px);
  opacity: 0.95;
  mix-blend-mode: screen;
  animation: morph 40s ease-in-out infinite;
}

/* Morph Shape Animation */
@keyframes morph {
  0%   { border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%; }
  25%  { border-radius: 60% 40% 50% 50% / 40% 60% 50% 50%; }
  50%  { border-radius: 40% 60% 60% 40% / 50% 50% 40% 60%; }
  75%  { border-radius: 60% 40% 50% 50% / 60% 50% 40% 50%; }
  100% { border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%; }
}

/* Movement Animations */
@keyframes floatyMove1 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(200px, -100px) scale(1.2); }
  50%  { transform: translate(-150px, 160px) scale(0.85); }
  75%  { transform: translate(120px, -80px) scale(1.1); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes floatyMove2 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(-180px, 140px) scale(0.9); }
  50%  { transform: translate(150px, -180px) scale(1.2); }
  75%  { transform: translate(-100px, 100px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes floatyMove3 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(160px, 200px) scale(1.1); }
  50%  { transform: translate(-130px, -160px) scale(0.9); }
  75%  { transform: translate(180px, 100px) scale(1.05); }
  100% { transform: translate(0, 0) scale(1); }
}

/* Individual Blob Styles with Improved Movement */
.blob-2 {
  background: radial-gradient(circle, rgb(30, 218, 212), rgba(76, 196, 108, 0.878));
  width: 700px;
  height: 700px;
  top: 40%;
  left: 60%;
  animation: morph 40s ease-in-out infinite, floatyMove1 35s ease-in-out infinite;
}

.blob-3 {
  background: radial-gradient(circle, rgb(255, 210, 32), rgb(255, 251, 29));
  width: 650px;
  height: 650px;
  top: 60%;
  left: 10%;
  animation: morph 50s ease-in-out infinite, floatyMove2 40s ease-in-out infinite;
}

.blob-4 {
  background: radial-gradient(circle, rgba(224, 61, 199, 0.8), rgba(187, 59, 207, 0));
  width: 750px;
  height: 750px;
  top: -20%;
  left: 70%;
  animation: morph 60s ease-in-out infinite, floatyMove3 45s ease-in-out infinite;
}

.blob-5 {
  background: rgba(244, 164, 15, 0.93);
  width: 580px;
  height: 580px;
  top: 70%;
  left: 80%;
  animation: morph 60s ease-in-out infinite, floatyMove1 50s ease-in-out infinite;
}

.blob-6 {
  background: rgba(169, 3, 235, 0.876);
  width: 620px;
  height: 620px;
  top: 30%;
  left: 30%;
  animation: morph 20s ease-in-out infinite, floatyMove3 35s ease-in-out infinite;
}

.blob-7 {
  background: rgba(126, 230, 180, 0.8);
  width: 680px;
  height: 680px;
  top: 50%;
  left: -10%;
  animation: morph 40s ease-in-out infinite, floatyMove2 30s ease-in-out infinite;
}

.blob-8 {
  background: rgba(255, 255, 255, 0.8);
  width: 640px;
  height: 640px;
  top: 80%;
  left: 50%;
  animation: morph 30s ease-in-out infinite, floatyMove1 32s ease-in-out infinite;
}

/* Glassmorphic Effect */
.glassmorphic {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px var(--glass-shadow);
}

.hero.glassmorphic {
  background: rgba(255, 255, 255, 0.08); /* subtle white tint */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5rem;
  padding: 4rem 2rem;
  margin: 2rem auto;
  max-width: 80%;
  width: 80%;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}


/* Navigation */
.navbar {
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 2rem;
  color: var(--text-color);
  font-weight: bold;
  text-decoration: none;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: opacity 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 0.8;
}

/* Main content */
.container {
  max-width: 100%;
  width: 100%;
  margin: 6rem auto 0;
  padding: 0 4vw; /* consistent padding on the sides */
  flex: 1;
  position: relative;
  z-index: 1;
}

.three-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px; /* spacing between images */
}

.three-icons img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
  animation: floaty 3.5s ease-in-out infinite;
}

/* Float animation */
@keyframes floaty {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}



/* Hero section */
.hero h1 {
  font-size: 2.8rem;
  line-height: 1.3;
  font-weight: 600;
  color: #000000;
  margin-bottom: 1rem;
  text-align: center;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
}

.boxed-word {
  background-color: #000;
  color: #fff;
  padding: 0.01em 0.25em; /* smaller vertical, nice horizontal */
  border-radius: 0.3em;
  display: inline-block;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}


.hero-subtitle {
  font-size: 1.2rem;
  color: #000000;
  margin-bottom: 2rem;
  text-align: center;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.button {
  padding: 1rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s, opacity 0.3s;
}

.button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.button.primary {
  color: var(--text-color);
}

.button.secondary {
  color: var(--text-color);
  border: 1px solid var(--glass-border);
}

/* Features section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

.feature-card {
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-icon img {
  width: 204px;
  height: 204px;
  object-fit: contain; /* preserves image aspect ratio */
  margin: 0 auto;
  display: block;
  animation: floaty 3.5s ease-in-out infinite;
}

.feature-card h2 {
  color: var(--text-color);
  margin-bottom: 1rem;
}

/* How it works section */
.how-it-works {
  padding: 4rem 0;
  text-align: center;
}

.how-it-works h2 {
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--text-color);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.step {
  padding: 2rem;
  border-radius: 1rem;
}

.step-number {
  width: 3rem;
  height: 3rem;
  background: var(--glass-bg);
  color: var(--text-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  border: 1px solid var(--glass-border);
}

/* Download section */
.download-section {
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 2rem;
  margin: 4rem 0;
}

.download-section h2 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.app-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.app-button img {
  height: 40px;
  transition: transform 0.3s;
}

.app-button:hover img {
  transform: translateY(-2px);
}

/* Footer */
.footer {
  padding: 4rem 2rem 2rem;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--text-color);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: var(--text-color);
  text-decoration: none;
  transition: opacity 0.3s;
}

.social-links a:hover {
  opacity: 0.8;
}

.copyright {
  text-align: center;
  color: var(--text-color);
  opacity: 0.8;
}

/* Responsive design */
@media (max-width: 768px) {
  .nav-content {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .app-buttons {
    flex-direction: column;
    align-items: center;
  }
}







.about-section {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: 2rem;
  padding: 4rem 3rem;
  box-shadow: 0 10px 40px var(--glass-shadow);
  color: var(--text-color);
  max-width: 1200px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.about-section h1 {
  font-size: 3rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
}

.boxed-highlight {
  display: inline-block;
  background-color: #000;
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.story-intro-box {
  max-width: 80%;
  margin: 8rem auto 4rem;
  border-radius: 2rem;
  padding: 4rem 3rem;
  text-align: center;
  color: var(--text-color);
  position: relative;
  z-index: 2;
}

.story-intro-box h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.story-intro-box .lead {
  font-size: 1.4rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.story-intro-box .follow {
  font-size: 1.1rem;
  line-height: 1.85;
  color: #444;
  max-width: 700px;
  margin: 0 auto;
  text-align: justify;
  padding: 0 1rem;
}

/* Optional subtle glow behind heading */
.story-intro-box h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: rgba(0, 0, 0, 0.2);
  margin: 1rem auto 0;
  border-radius: 999px;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-content h2 {
  font-size: 1.75rem;
  margin-top: 2rem;
  color: #111;
}

.about-content p {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

/* Stats Card */
.stats-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--glass-border);
  text-align: center;
  box-shadow: 0 4px 24px var(--glass-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

.stat-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #000;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: bold;
  color: #000;
}

/* Responsive Enhancements */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-content h2 {
    margin-top: 1.5rem;
  }

  .stats-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .stat-card {
    flex: 1 1 40%;
    margin: 0.5rem;
  }

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






/* Contact Page Layout */
.contact-section {
  max-width: 1200px;
  margin: 7rem auto 4rem;
  padding: 4rem 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 2rem;
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px var(--glass-shadow);
  color: var(--text-color);
}

.contact-section h1 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.contact-intro {
  text-align: center;
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

/* Contact Info Styles */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-method h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #111;
}

.contact-method p {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.contact-method a {
  color: #000;
  text-decoration: underline;
  font-weight: 500;
}

.contact-method a:hover {
  opacity: 0.8;
}

.contact-method .social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.contact-method .social-links a {
  font-weight: bold;
}

/* Form Styles */
.contact-form {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

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

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #111;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.4);
  color: #000;
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

.contact-form button {
  display: block;
  width: 100%;
  padding: 1rem;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.3s;
}

.contact-form button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    margin-top: 2rem;
  }
}


.legal-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.legal-button {
  background-color: black;
  border: 2px solid #000;
  padding: 0.75rem 1.5rem;
  border-radius: 1.5rem;
  font-family: 'Alata', sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
}

.legal-button:hover {
  background-color: #ffffff;
  color: #000000;
}

/* Legal Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
  padding: 20px;
}

.modal-content {
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: 16px;
  max-width: 750px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  font-family: 'Alata', sans-serif;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.modal-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #000;
}

.modal-content p {
  font-size: 16px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.modal-content ul {
  margin: 0.5rem 0 1.5rem 1.5rem;
  padding-left: 1rem;
  list-style-type: disc;
  color: #444;
}

.modal-content li {
  margin-bottom: 0.5rem;
  font-size: 15px;
}

.modal-content strong {
  color: #000;
  font-weight: 600;
}

.modal-content em {
  display: block;
  margin-top: 1.5rem;
  font-style: italic;
  font-size: 14px;
  color: #555;
}

.modal-content .close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.modal-content .close:hover {
  opacity: 0.6;
}
