/* Background grid and radial gradient */
body {
  background: radial-gradient(circle at center 20vw, #222346 0%, #16182A 100%);
  color: #eceef3;
  font-family: 'Poppins', 'Orbitron', Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
}
/* =========================================
   HERO CAROUSEL
========================================= */

.hero-carousel {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 1px;
  position: relative;
  z-index: 2;
}

.carousel-container {
  position: relative;
  width: 90%;
  max-width: 1100px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.carousel-slide {
  display: none;
  position: relative;
}

.carousel-slide.active {
  display: block;
  animation: fadeSlide 1s ease-in-out;
}

@keyframes fadeSlide {
  from {opacity: 0;}
  to {opacity: 1;}
}

.carousel-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
}

.carousel-caption {
  position: absolute;
  bottom: 35px;
  left: 40px;
  color: #ffffff;
  max-width: 60%;
  text-shadow: 0 4px 12px rgba(0,0,0,0.55);
}

.carousel-caption h2 {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.carousel-caption p {
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.carousel-cta {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(90deg,#47caff,#7b263a);
  color: #fff;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: 0.3s;
}

.carousel-cta:hover {
  background: linear-gradient(90deg,#7b263a,#47caff);
}

/* Dots Navigation */
.carousel-dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.55);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.carousel-dots .dot.active {
  background: #47caff;
  transform: scale(1.25);
}

@media (max-width: 700px) {
  .carousel-slide img {
    height: 260px;
  }
  .carousel-caption {
    bottom: 20px;
    left: 20px;
    max-width: 85%;
  }
  .carousel-caption h2 { font-size: 1.5rem; }
  .carousel-caption p { font-size: 1rem; }
}

.grid-bg {
  position: fixed;
  width: 100vw; height: 100vh;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 0;
  background-image: 
    linear-gradient(0deg, rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Hero area */
.hero {
  background: #ffffff;
  padding: 120px 24px 96px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.logo {
  font-family: 'Orbitron', 'Poppins', Arial, sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -2px;
}
.hero .logo {
  font-size: clamp(48px, 6vw, 64px);
  font-weight: 800;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(90deg,#47caff,#7b263a 73%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: inherit;
}
.subtitle {
  color: #334155;
  font-size: 18px;
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.em-blue { color: #2563eb; font-weight: 600; }
.em-purple { color: #7b263a; font-weight: 600; }
.cta-btns {
  margin-bottom: 35px;
  display: flex;
  justify-content: center;
  gap: 16px;
}
.primary-btn, .secondary-btn {
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 9px;
  padding: 13px 35px;
  margin: 0 12px;
  text-decoration: none;
  transition: box-shadow 0.25s, background 0.2s;
}
.primary-btn {
  border: none;
  background: linear-gradient(90deg, #60a5fa, #7b263a);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.25);
}
.primary-btn:hover { background: linear-gradient(90deg,#7b263a 10%, #47caff 87%);}
.secondary-btn {
  box-shadow: 0 2px 8px rgba(68,106,243,0.06);
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 500;
}
.secondary-btn:hover { border-color: #7b263a; }

.hero-icons {
  display: flex;
  justify-content: center;
  margin-top: 33px;
  gap: 80px;
}
.hero-icon {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px;
}
.hero-icon svg { display: block; margin-bottom: 9px;}
.hero-icon span { font-weight: 600; color: #eceef3; margin-top: 3px; }

.feature-icons {
  display: flex;
  justify-content: center;
  margin: 40px auto 10px auto;
  gap: 28px;
  flex-wrap: wrap;
}
.feat-block {
  text-align: center;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #475569;
  font-size: 14px;
}
.feat-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 6px;
}
.feat-label {
  color: #475569;
  font-size: 0.96rem;
  font-weight: 500;
}

.features-section {
  margin: 70px auto 50px auto;
  text-align: center;
  background: #f8fafc; /* soft white-grey */
  padding: 96px 24px;
}
.sec-title {
  font-size: 2.0rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #0f172a; /* dark navy text */
}
.sec-desc {
  color: #a7aed6;
  font-size: 1.15rem;
  margin-bottom: 37px;
  color: #64748b; /* muted grey */
}
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 32px;
  max-width: 1050px;
  margin: 0 auto;
}
.feature-card {
  background: rgb(247, 245, 245);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  padding: 32px 28px;
  color: #eceef3;
  text-align: center;
  border: 1px solid #e5e7eb;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}


.card {
  background: var(--bg-main);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.card-icon {
  font-size: 2.1rem;
  margin-bottom: 10px;
  color: #47caff;
}
.feature-card h3 { margin-bottom: 10px; font-weight: 600; color: #0f172a;}
.feature-card p { font-size: 1rem; color: #475569;}

.pricing-section {
  padding: 70px 0 30px 0;
  text-align: center;
  background: #ffffff;
}
.pricing-section h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: #0f172a;
}

.trial-badge {
  display: inline-block;
  margin: 22px 0 28px 0;
  background: rgba(99, 102, 241, 0.08);
  color: #4f46e5;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 500;
}

.pricing-section p {
  color: #64748b;
}

.pricing-card {
  text-align: left;
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12);
  border: 1px solid #e5e7eb;
  max-width: 350px;
  margin: 40px auto 0;
}
.pop-badge {
  position: absolute;
  top: -15px; left: 15px;
  background: linear-gradient(90deg, #60a5fa, #7b263a);
  color: #ffffff;
  font-weight: 600;
  display: inline-block;
  font-size: 0.95rem;
  border-radius: 999px; 
  padding: 8px 16px;
  box-shadow: 0 1px 10px rgba(47,95,203,0.12);
}
.price {
  font-size: 2.1rem; font-weight: 700; color: #0f172a;
  margin-bottom: 9px;
}
.price strong {
  color: #7b263a; /* purple emphasis */
}
.price span { font-size: 1.1rem; margin-right: 8px;}
.pricing-desc {
  color: #a7aed6; font-size: 1.05rem;
  margin-bottom: 11px;
}
.pricing-feats {
  padding-left: 14px; color: #eceef3;
}
.pricing-feats li {
  margin-bottom: 8px;
  font-size: 1rem;
  list-style-type: "✔️ ";
  color: #334155;
}

.footer {
  padding: 32px 0;
  text-align: center;
  color: #b8bce4;
  font-size: 1rem;
  background: rgba(22,23,42,0.93);
  border-top: 1px solid #3f4261;
}
@media (max-width: 1000px) {
  .feature-cards {grid-template-columns: 1fr 1fr;}
  .hero-icons, .feature-icons { gap:32px;}
}
@media (max-width: 690px) {
  .feature-cards {grid-template-columns: 1fr;}
  .hero-icons, .feature-icons { flex-direction: column; gap:12px;}
  .logo { font-size: 2.2rem;}
  .pricing-card { max-width: 95vw;}
}


.auth-wrapper {
  max-width: 410px;
  margin: 60px auto;
  background: rgba(34,36,70,0.93);
  border-radius: 16px;
  box-shadow: 0 2px 22px rgba(173,76,251,0.16);
  padding: 38px 28px;
  position: relative;
  z-index: 2;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.auth-title {
  font-size: 2rem;
  font-weight: 700;
  color: #47caff;
  text-align: center;
  margin-bottom: 12px;
  font-family: 'Orbitron', 'Poppins', Arial, sans-serif;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.input-field {
  padding: 13px;
  font-size: 1.08em;
  border: 1.5px solid #393b67;
  border-radius: 7px;
  background: rgba(70,82,139,0.19);
  color: #eceef3;
  font-family: inherit;
  transition: border 0.22s;
}
.input-field:focus {
  border: 2.5px solid #47caff;
  outline: none;
}

.btn {
  border: none;
  font-size: 1.07em;
  cursor: pointer;
  transition: background 0.18s, transform 0.2s;
}

.btn-primary {
  box-shadow: 0 3px 12px rgba(173,76,251,0.13);
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(90deg,#7b263a 10%, #47caff 87%);
  transform: translateY(-3px) scale(1.04);
}

.btn,
.btn-primary {
  background: var(--brand-secondary);
  color: var(--text-invert);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-weight: 600;
  transition: var(--transition-base);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-muted);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--brand-secondary);
  color: var(--brand-secondary);
}

.muted {
  color: var(--text-muted);
}


.auth-link {
  text-align: center;
  margin-top: 3px;
  font-size: 1em;
  color: #7b263a;
}
.auth-link a {
  color: #47caff;
  font-weight: 600;
  text-decoration: none;
  transition: text-decoration 0.2s;
}
.auth-link a:hover {
  text-decoration: underline;
}

/* HERO SLIDER */
.hero-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: auto;
  margin: 0px auto 50px auto;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,0.32);
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 520px;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-content {
    position: absolute;
  bottom: 40px;
  left: 40px;
  max-width: 450px;

  color: var(--text-invert);
  background: var(--bg-overlay);

  padding: 20px 22px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.slide-title {
  font-size: 2.1rem;
  color: var(--text-invert);
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0px 3px 12px rgba(0,0,0,0.45);
  max-width: 650px;
}

.slide-sub {
  font-size: 1.1rem;
  margin-bottom: 14px;
  color: var(--text-soft);
  text-shadow: 0px 2px 10px rgba(0,0,0,0.35);
}

.slide-cta {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 10px;
  background: linear-gradient(90deg,#47caff,#7b263a 73%);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.25s;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.slide-cta:hover {
  transform: translateY(-3px);
}

/* Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(0,0,0,0.35);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  padding: 6px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.hero-arrow:hover {
  background: rgba(0,0,0,0.55);
}

.hero-arrow-left { left: 20px; }
.hero-arrow-right { right: 20px; }

/* Text Animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-text {
  animation: fadeUp 1s ease forwards;
}

/* ===== IMPROVED FOOTER ===== */
.improved-footer {
    background: linear-gradient(135deg, #0b1023, #141b33);
    padding: 50px 20px 25px;
    color: #d6ddff;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 40px;
}

.footer-wrapper {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

/* Brand Section */
.footer-logo {
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 10px;
    letter-spacing: 0.5px;
}
.footer-logo span {
    background: linear-gradient(90deg, #4cc3ff, #a668ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-desc {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.5;
    max-width: 250px;
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social a {
    display: inline-flex;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    transition: 0.3s ease;
    color: #cdd7ff;
}

.footer-social a:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-3px);
}

/* Links */
.footer-section h4 {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
}

.footer-section a {
    display: block;
    margin-bottom: 8px;
    color: #cdd5ff;
    font-size: 14px;
    opacity: 0.85;
    text-decoration: none;
    transition: 0.25s ease;
}

.footer-section a:hover {
    color: white;
    opacity: 1;
    transform: translateX(4px);
}

/* Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 13px;
    opacity: 0.7;
    letter-spacing: 0.3px;
}

/* Responsive */
@media (max-width: 700px) {
    .footer-wrapper {
        text-align: center;
    }
    .footer-social {
        justify-content: center;
    }
}
/* Register Page */
.auth-errors {
  background: rgba(255, 99, 99, 0.15);
  border: 1px solid rgba(255, 99, 99, 0.4);
  color: #ffb3b3;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

/* ===== Password Strength Meter ===== */
.password-meter {
  margin-top: 6px;
}

.strength-bar {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.2);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 4px;
}

#strengthFill {
  height: 6px;
  width: 0%;
  transition: width 0.3s ease, background 0.3s ease;
  border-radius: 6px;
}

.level-0 { background: transparent; }
.level-1 { background: #e63946; }   /* red */
.level-2 { background: #f77f00; }   /* orange */
.level-3 { background: #fcbf49; }   /* yellow */
.level-4 { background: #2ec4b6; }   /* green */

.password-meter small {
  font-size: 0.75rem;
  opacity: 0.8;
}

button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Home Navbar */
.home-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 26px;
  background: rgba(22,23,42,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Logo */
.nav-logo {
  font-family: 'Orbitron', 'Poppins', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;      /* good navbar size */
  width: auto;
  display: block;
}
.logo-img-footer {
  height: 48px;      /* good navbar size */
  width: auto;
  display: block;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: #d6dbff;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

/* Donate CTA */
.donate-cta {
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg,#47caff,#7b263a);
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 3px 12px rgba(173,76,251,0.25);
  transition: transform .2s ease, box-shadow .2s ease;
}

.donate-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(173,76,251,0.45);
}

/* Mobile */
@media (max-width: 768px) {
  .home-nav {
      padding: 12px 18px;
  }
  .nav-links {
      gap: 16px;
  }
}

/* ===============================
   HOME NAVBAR — TRANSPARENT
   =============================== */

.home-nav {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

/* Solid state after scroll */
.home-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

/* Logo */
.home-nav .nav-logo {
  font-weight: 700;
  font-size: 1.4rem;
  color: #0f172a;
}

/* Links */
.home-nav .nav-links a {
  color: #334155;
  margin-left: 28px;
  font-weight: 500;
  text-decoration: none;
}

.home-nav .nav-links a:hover {
  color: #7b263a;
}

/* Donate CTA */
.home-nav .donate-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: #7b263a;
  color: #ffffff !important;
  font-weight: 600;
}

.home-nav .donate-cta:hover {
  background: #584ee0;
}


.hero-carousel {
  background: #e5e7eb; /* subtle neutral, not dominant */
  padding: 15px 0px 0px 0px;
}

.section-glow {
  position: relative;
}

.section-glow::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 120px;
  background: radial-gradient(
    ellipse at center,
    rgba(108, 99, 255, 0.08),
    transparent 70%
  );
  pointer-events: none;
}

/*section {
  padding-top: 20px;
  padding-bottom: 20px;
}*/


/* MOBILE NAVIGATION */
.mobile-menu-btn {
    display: none;
    background: #0b5f3c;
    color: white;
    border: none;
    border-radius: 7px;
    width: 36px;
    height: 36px;
    font-size: 22px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {

    .home-nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 10px 16px;
        min-height: 65px;
        background: #ffffff;
        position: relative;
    }

    .home-nav .nav-logo {
        margin: 0;
    }

    .home-nav .logo-img {
        width: auto;
        height: 30px;
        max-width: 105px;
        object-fit: contain;
    }

    .mobile-menu-btn {
        display: flex;
        flex-shrink: 0;
        margin-left: auto;
    }

    .home-nav .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        width: 220px;
        padding: 15px;
        background: #ffffff;
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        border-radius: 0 0 0 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        z-index: 9999;
    }

    .home-nav .nav-links.open {
        display: flex;
    }

    .home-nav .nav-links a {
        display: block;
        margin: 0;
        padding: 13px 10px;
        color: #0b5f3c;
        border-bottom: 1px solid #eeeeee;
        font-size: 14px;
    }
}
