/* CSS Reset & Variables */
:root {
  --primary-color: #3CA4A4;
  --primary-dark: #2A7A7A;
  --primary-light: #E0F2F2;
  --accent-color: #FF9F43;
  --text-color: #2D3436;
  --text-light: #636E72;
  --background-color: #F0F8FF;
  /* Slightly cooler tint */
  --white: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.8);
  --shadow: 0 8px 32px rgba(31, 38, 135, 0.07);
  --shadow-hover: 0 12px 48px rgba(31, 38, 135, 0.15);
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background-color);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

/* Glassmorphism Utilities */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

@keyframes blob {
  0% {
    transform: translate(0px, 0px) scale(1);
  }

  33% {
    transform: translate(40px, -60px) scale(1.1);
  }

  66% {
    transform: translate(-30px, 30px) scale(0.9);
  }

  100% {
    transform: translate(0px, 0px) scale(1);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 12px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.5rem;
  color: #2D3436;
}

.logo img {
  height: 42px;
  width: 42px;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-weight: 600;
  color: var(--text-light);
  font-size: 1rem;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
  padding-top: 180px;
  padding-bottom: 140px;
  position: relative;
  overflow: hidden;
  background-color: transparent;
}

/* Animated Blobs Background */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: -1;
  animation: blob 15s infinite alternate;
}

.hero::before {
  background: linear-gradient(to right, #AEE6E6, #74b9ff);
  top: -150px;
  left: -150px;
}

.hero::after {
  background: linear-gradient(to left, #FFEAA7, #fab1a0);
  bottom: -150px;
  right: -150px;
  animation-delay: -5s;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

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

.hero-tag {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--primary-dark);
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-color);
  letter-spacing: -0.03em;
}

.highlight {
  background: linear-gradient(120deg, var(--primary-color), #2980b9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 48px;
  line-height: 1.8;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 50px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #2980b9 100%);
  color: var(--white);
  border-radius: 60px;
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 15px 35px rgba(60, 164, 164, 0.35);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2980b9 0%, var(--primary-color) 100%);
  z-index: -1;
  transition: opacity 0.4s;
  opacity: 0;
}

.cta-button:hover::before {
  opacity: 1;
}

.cta-button:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(60, 164, 164, 0.45);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  animation: float 8s ease-in-out infinite;
}

.hero-circle {
  width: 420px;
  height: 420px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 60px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  transform: rotate(-6deg);
  position: relative;
}

.hero-circle img {
  width: 70%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

/* Sections Common */
section {
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 90px;
}

.section-tag {
  color: var(--primary-color);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 16px;
  display: block;
  opacity: 0.8;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 24px;
  color: var(--text-color);
  font-weight: 800;
  letter-spacing: -1px;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* Features */
.features {
  padding: 120px 0;
  background: transparent;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 50px 36px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-15px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.icon-box {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #F0FCFF 0%, #E0F7FA 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 36px;
  transition: var(--transition);
  box-shadow: inset 0 0 0 1px rgba(60, 164, 164, 0.1);
}

.feature-card:hover .icon-box {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 10px 20px rgba(60, 164, 164, 0.3);
}

.icon-box img {
  width: 48px;
  height: 48px;
  transition: var(--transition);
}

.feature-card:hover .icon-box img {
  filter: brightness(0) invert(1);
  /* Turn white on hover */
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.6rem;
  margin-bottom: 18px;
  font-weight: 700;
  color: var(--text-color);
}

.feature-card p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
}

/* How It Works (New Section) */
.how-it-works {
  background: transparent;
  padding-bottom: 140px;
}

.steps-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  position: relative;
}

/* Connecting line removed as per user request */
/* .steps-container::before { ... } */

.step-card {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  padding: 30px 20px;
  transition: var(--transition);
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.step-number {
  width: 70px;
  height: 70px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  font-size: 1.8rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 10px 20px rgba(60, 164, 164, 0.3);
}

.step-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--text-light);
  padding: 0 10px;
}


/* Download Section */
.download-section {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download-bg-circle {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.download-content h2 {
  font-size: 3rem;
  margin-bottom: 24px;
}

.download-content p {
  font-size: 1.2rem;
  margin-bottom: 50px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.qr-code-box {
  background: var(--white);
  padding: 24px;
  border-radius: 24px;
  display: inline-block;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transform: rotate(0deg);
  transition: var(--transition);
}

.qr-code-box:hover {
  transform: rotate(2deg) scale(1.05);
}

.qr-placeholder {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 12px;
}

.qr-caption {
  color: var(--text-color);
  font-size: 0.95rem;
  margin-top: 16px;
  margin-bottom: 0 !important;
  font-weight: 600;
}

/* Footer */
.footer {
  background: #FFFFFF;
  padding: 90px 0 50px;
  border-top: 1px solid #F0F0F0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 12px;
}

.footer-logo img {
  height: 24px;
  width: 24px;
}

.footer-info p {
  color: var(--text-light);
  margin-top: 10px;
}

.footer-links a {
  color: var(--text-light);
  margin-left: 24px;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary-color);
}

/* Responsive */
@media (max-width: 968px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .hero-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

  .steps-container {
    flex-direction: column;
    align-items: center;
    gap: 60px;
  }

  .steps-container::before {
    display: none;
    /* Hide connecting line on mobile */
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    /* Still hidden for now */
  }

  .section-title {
    font-size: 2.8rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-circle {
    width: 300px;
    height: 300px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .footer-links a {
    margin-left: 0;
  }
}