:root {
  --green: #22c55e;
  --green-dark: #16a34a;
  --black: #000;
  --white: #fff;
  --text-muted: rgba(255, 255, 255, 0.8);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  overflow-x: hidden;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--white);
  transition: color 0.5s ease, background-color 0.5s ease;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* background: #000; */
}

h1, h2, h3, .hero-title {
  font-family: 'Space Grotesk', sans-serif;
}

.loading {
  pointer-events: none;
  opacity: 0.6;
}

/* ========== LAYOUT STRUCTURE ========== */
.content {
  flex: 1;
  width: 100%;
  position: relative;
}

.tab-section {
  display: none;
  width: 100%;
  height: 100%;
}

.active-tab {
  display: block;
}

.hidden-tab {
  display: none;
}

/* Grid and Flex Layouts */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 5vh 6vw;
  min-height: 90vh;
  align-items: center;
}

.hero-bg-overlay {
  grid-column: span 2;
  position: absolute;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.3); */
  z-index: -1;
}

.about-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5vh 6vw;
  min-height: 90vh;
}

.about-left {
  text-align: left;
  align-items: flex-start;
}

.about-center {
  align-items: center;
}

.about-right {
  text-align: left;
  align-items: flex-start;
}

.about-gif {
  width: 100%;
  /* max-width: 280px; */
  height: auto;
  border-radius: 16px;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
  margin-top: 1.5rem;
}

.project-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  padding: 5vh 6vw;
  min-height: 90vh;
  align-items: center;
}

.contact-grid {
  display: grid;
  grid-template-areas:
    "header header"
    "info visual"
    "map map";
  gap: 2rem;
  padding: 5vh 6vw;
  min-height: 90vh;
  align-items: center;
}

.contact-header { grid-area: header; }
.contact-info { grid-area: img; }
.contact-visual { grid-area: visual; }
.contact-map { grid-area: map; }

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  height: 80px;
  width: 100%;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  /* background: rgba(17, 17, 17, 0.8); */
  /* backdrop-filter: blur(10px); */
}

.logo {
  height: 54px;
}

.auth-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.auth-btn {
  background-color: var(--green);
  color: #1a1a2e; /* dark navy */
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.5rem 3rem;
  font-size: 0.85rem;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  border-radius: 3px;
}

.auth-btn:hover {
  background-color: #00ffaa; /* neon mint */
  color: #000;
  box-shadow: 0 0 10px rgba(0, 255, 170, 0.5);
}

/* ========== CONTENT STYLES ========== */
.hero-text, .about-left, .project-header, .qa-left, .contact-header {
  max-width: 600px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-subtext {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 2rem;
  /* filter: drop-shadow(2px 4px 6px black); */
}

.hero-actions, .trust-badge {
  margin-top: 1rem;
}

.cta-button {
  background: linear-gradient(135deg, var(--green), #00ffaa);
  color: #000;
  font-weight: 700;
  padding: 0.5rem 1rem;
  font-size: 1.6rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0,255,255,0.3);
  transition: all 0.3s ease;
  animation: pulse-glow 2.5s infinite ease-in-out;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 rgba(0, 255, 170, 0.7);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 255, 170, 0.7), 0 0 40px rgba(0, 255, 170, 0.5);
  }
  100% {
    box-shadow: 0 0 0 rgba(0, 255, 170, 0.7);
  }
}

.cta-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--green-dark), #00e0e0);
  box-shadow: 0 0 20px rgba(0,255,255,0.5);
}

.hero-img, .project-img, .qa-img, .contact-img {
  max-width: 100%;
  border-radius: 16px;
  /* box-shadow: 0 0 20px rgba(0,255,255,0.1); */
}

.sm-img {
  max-width: 340px;
  width: 100%;
  height: auto;
}

.highlighted {
  background: linear-gradient(120deg, var(--green), #fff);
  color: #000;
  padding: 0 0.4rem;
  border-radius: 0.25rem;
  font-weight: 700;
}

.highlighted2 {
  background: linear-gradient(120deg, #000000, #fff);
  color: #000;
  padding: 0 0.4rem;
  border-radius: 0.25rem;
  font-weight: 700;
}

/* ========== NAVIGATION ========== */
.bottom-nav {
  position: fixed;
  bottom: 2rem;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1000;
}

.nav-icon-btn {
  background: var(--green);
  color: var(--black);
  border: none;
  border-radius: 3px;
  padding: 0.75rem;
  margin: 0 0.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.nav-icon-btn:hover {
  transform: scale(1.1);
}

.tab-menu {
  position: relative;
  display: flex;
  /* background: rgba(17, 17, 17, 0.6); */
  backdrop-filter: blur(10px);
  border: 2px solid var(--green);
  border-radius: 3px;
  padding: 0.5rem 1rem;
  gap: 1rem;
  max-width: 500px;
  width: 90%;
  overflow-x: auto;
  transition: all 0.3s ease;
  background: url(https://i.pinimg.com/originals/d7/02/ce/d702ce6a0940a5bf272540d73c6ce8f3.gif) center/cover no-repeat;
}

.tab-highlight {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 20%;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  transition: left 0.3s ease-in-out, width 0.3s ease-in-out;
}

.tab-dot {
  height: 8px;
  background: var(--green);
  border-radius: 0 0 3px 3px;
}

.nav-btn {
  background: none;
  border: none;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  flex: 1;
  text-align: center;
  cursor: pointer;
  position: relative;
  z-index: 1;
  min-width: 80px;
  white-space: nowrap;
}

/* Hamburger button */
.hamburger-btn {
  display: none; 
  background: var(--green);
  color: var(--black);
  border: none;
  border-radius: 50%;
  padding: 0.8rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.hamburger-btn:hover {
  transform: scale(1.1);
}


.desktop-only {
  display: block;
}

/* ========== FEATURES, PARTNERS, FAQ ========== */
.feature-list {
  list-style: none;
  padding-left: 0;
}

.feature-list li {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  position: relative;
  padding-left: 1.5rem;
}

.feature-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 1.2rem;
}

.partner-stack {
  text-align: center;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.partner-logos img {
  height: 28px;
  object-fit: contain;
  filter: brightness(90%);
  transition: transform 0.3s ease;
}

.partner-logos img:hover {
  transform: scale(1.05);
}

.faq-container {
  max-width: 720px;
  width: 100%;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  cursor: pointer;
}

.faq-question {
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0.2;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-top: 0.5rem;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  opacity: 1;
}

.green-link {
  color: var(--green);
  text-decoration: underline;
}

.tab-content {
  opacity: 1;
  transform: translateY(0);
  transition: none;
}

@keyframes fall-down {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(100px); }
}

@keyframes fade-out {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes slide-left {
  0% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(-100px); }
}

@keyframes fade-in-up {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes zoom-in {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes slide-right {
  0% { opacity: 0; transform: translateX(100px); }
  100% { opacity: 1; transform: translateX(0); }
}

.animate-fall-down { animation: fall-down 0.6s ease forwards; }
.animate-fade-out { animation: fade-out 0.5s ease forwards; }
.animate-slide-left { animation: slide-left 0.5s ease forwards; }
.animate-fade-in-up { animation: fade-in-up 0.5s ease forwards; }
.animate-zoom-in { animation: zoom-in 0.5s ease forwards; }
.animate-slide-right { animation: slide-right 0.5s ease forwards; }

/* ========== THEMES ========== */
.theme-default {
  --green: #22c55e;
  --green-dark: #16a34a;
  --text-muted: rgba(255, 255, 255, 0.8);
  color: var(--white);
}

.theme-blue {
  --green: #3b82f6;
  --green-dark: #2563eb;
  --text-muted: rgba(200, 230, 255, 0.8);
  color: #dbeafe;
}

.theme-bw {
  --green: #ffffff;
  --green-dark: #aaaaaa;
  --text-muted: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

.theme-neon {
  --green: #00ffff;
  --green-dark: #0ff;
  --text-muted: rgba(0, 255, 255, 0.8);
  color: #00f7ff;
}

#background-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(13px);
  transform: scale(1.015);
  opacity: 1;
  will-change: transform, opacity;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease;
}

.about-left {
  grid-column: 1;
  max-width: 700px;
  background-color: #00000040;
  border-radius: 20px;
  padding: 20px;
}

.about-center {
  grid-column: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-gif {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.about-right {
  grid-column: 3;
  text-align: center;
}

.qa-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 5vh 6vw;
  min-height: 90vh;
  align-items: center;
  max-height: 100vh;
  justify-items: center;
}

.qa-left {
  max-width: 600px;
}

.qa-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5vh 6vw;
  min-height: 90vh;
  max-height: 100vh;
  overflow: hidden;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  width: 100%;
  align-items: start;
  justify-content: center;
}

.contact-details {
  max-width: 600px;
}

.contact-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-img {
  max-width: 300px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
}

.hero-layout {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 5vh 6vw;
  min-height: 90vh;
  gap: 3rem;
}

.hero-left {
  flex: 1;
  max-width: 550px;
  z-index: 2;
}

.hero-right {
  flex: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-video {
  width: 100%;
  max-height: 80vh;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,255,255,0.1);
  object-fit: cover;
}

.hero-right img.hero-gif {
  max-width: 100%;
  width: 90%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,255,255,0.3);
}

@keyframes border-radius-animation {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  25% {
    border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
  }
  50% {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; 
  }
  75% {
    border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
  }
}

.project-video {
  max-height: 80vh;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
  object-fit: cover;
  animation: border-radius-animation 15s infinite ease-in-out;
}

/* ==== RESPONSIVE DESIGN ==== */

/* For mid-sized desktops (1025px–1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
  .hero-layout,
  .about-layout,
  .project-grid,
  .qa-layout,
  .contact-grid {
    padding: 4vh 5vw;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtext {
    font-size: 1.15rem;
  }

    .hero-gif,
    .project-video,
    .qa-img,
    .contact-img {
      max-width: 115%;
    }
  }


/* For small desktops and tablets (769px–1024px) */
@media (max-width: 1024px) {
  .hero-layout {
    gap: 1.5rem;
    padding: 4vh 4vw;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .hero-subtext {
    font-size: 1.1rem;
  }

  .hero-gif,
  .project-video {
    max-width: 85%;
  }

  .project-grid,
  .qa-layout {
    /* grid-template-columns: 1fr; */
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .tab-menu {
    /* max-width: 400px; */
    padding: 0.4rem 0.8rem;
  }

  .nav-btn {
    font-size: 0.85rem;
    min-width: 70px;
  }
}

/* For tablets and phones (768px and below) */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  .hero-layout {
    flex-direction: column;
    align-items: center;
    padding: 3vh 3vw;
    min-height: auto;
  }

  .hero-left,
  .hero-right {
    flex: none;
    max-width: 100%;
    /* text-align: center; */
  }

  .hero-title {
    font-size: 2.4rem; 
    margin-bottom: 1rem;
  }

  .hero-subtext {
    font-size: 1.1rem; 
    margin-bottom: 1rem;
  }

  .hero-gif,
  .project-video,
  .qa-img,
  .contact-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 12px;
  }

  .about-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3vh 3vw;
    min-height: auto;
  }

  .about-left,
  .about-center,
  .about-right {
    grid-column: auto;
    max-width: 100%;
    /* text-align: justify; */
  }

  .about-gif {
    max-width: 220px; 
    margin: 1rem 0;
  }

  .partner-logos {
    gap: 1rem;
    justify-content: center;
  }

  .partner-logos img {
    height: 24px; 
  }

  .project-grid,
  .qa-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    padding: 3vh 3vw;
    min-height: auto;
    gap: 1.5rem;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    align-items: center;
    display: block;
  }

  .header {
    position: relative;
    padding: 1rem 2rem;
    height: auto;
  }

  .logo {
    height: 50px; 
  }

  .auth-buttons {
    gap: 0.6rem;
  }

  .auth-btn {
    font-size: 0.85rem; 
    padding: 0.5rem 0.8rem; 
    border-radius: 8px;
  }

  .cta-button {
    padding: 0.9rem 1.5rem; 
    font-size: 1.1rem; 
  }

  .faq-question {
    font-size: 1.15rem; 
  }

  .faq-answer {
    font-size: 1rem; 
  }

  .trust-badge {
    font-size: 1rem; 
  }

  /* Navigation: Hamburger menu */
  .bottom-nav {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hamburger-btn {
    display: block;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1001;
  }

  .tab-menu {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.103);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 1000;
    /* border: none; */
    border-radius: 0;
  }

  .tab-menu.active {
    display: flex;
  }

  .nav-btn {
    font-size: 1.5rem; 
    color: var(--white);
    background: none;
    padding: 1rem;
    min-width: 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.527);
    filter: drop-shadow(2px 4px 6px black);
  }

  .nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .tab-highlight {
    display: none !important; 
  }

  .desktop-only {
    display: none; 
  }
}

/* For medium phones (376px–480px) */
@media (max-width: 480px) {
  .hero-layout,
  .about-layout,
  .project-grid,
  .qa-layout,
  .contact-grid {
    padding: 3vh 6vw;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-subtext {
    font-size: 1.1rem;
  }

  .about-gif {
    max-width: 220px;
  }

  .partner-logos img {
    height: 24px;
  }

  .header {
    padding: 1rem 2rem;
  }

  .logo {
    height: 50px;
  }

  .auth-btn {
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
    letter-spacing: 0px;
  }

  .cta-button {
    padding: 0.9rem 1.5rem;
    font-size: 1.1rem;
  }

  .faq-question {
    font-size: 1.15rem;
  }

  .faq-answer {
    font-size: 1rem;
  }

  .trust-badge {
    font-size: 1rem;
  }

  .hamburger-btn {
    padding: 0.7rem;
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .tab-menu {
    padding: 1.5rem;
  }

  .nav-btn {
    font-size: 1.4rem;
    padding: 0.9rem;
    border-radius: 20px;
  }
}

/* For small phones (320px–375px) */
@media (max-width: 375px) {
  .hero-layout,
  .about-layout,
  .project-grid,
  .qa-layout,
  .contact-grid {
    padding: 3vh 5vw;
  }

  .hero-title {
    font-size: 2.2rem; 
    line-height: 1.3;
  }

  .hero-subtext {
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-gif,
  .project-video,
  .qa-img,
  .contact-img {
    max-width: 100%;
    border-radius: 10px;
  }

  .about-gif {
    max-width: 200px;
  }

  .partner-logos {
    gap: 1rem;
  }

  .partner-logos img {
    height: 22px;
  }

  .header {
    padding: 0.9rem 1.8rem;
  }

  .logo {
    height: 46px;
  }

  .auth-buttons {
    gap: 0.5rem;
  }

  .auth-btn {
    font-size: 0.8rem;
    padding: 0.45rem 0.7rem;
    border-radius: 7px;
  }

  .cta-button {
    padding: 0.8rem 1.3rem;
    font-size: 1rem;
  }

  .faq-question {
    font-size: 1.1rem;
  }

  .faq-answer {
    font-size: 0.95rem;
  }

  .trust-badge {
    font-size: 0.95rem;
  }

  .hamburger-btn {
    padding: 0.6rem;
    bottom: 1.2rem;
    right: 1.2rem;
  }

  .tab-menu {
    padding: 1rem;
  }

  .nav-btn {
    font-size: 1.3rem;
  }
}

.auth-btn:active,
.cta-button:active,
.nav-icon-btn:active,
.hamburger-btn:active {
  transform: scale(0.97);
  box-shadow: 0 0 6px rgba(0, 255, 170, 0.3);
}

.fade-stagger {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeStagger 0.6s ease forwards;
}

.hero-title.fade-stagger { animation-delay: 0.1s; }
.hero-subtext.fade-stagger { animation-delay: 0.3s; }
.cta-button.fade-stagger { animation-delay: 0.5s; }

@keyframes fadeStagger {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-question span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question span {
  transform: rotate(45deg); /* + becomes × */
}

.logo {
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: rotate(-2deg) scale(1.05);
}

