/* ===== GLOBAL COLORS ===== */
:root {
    --primary: #38bdf8;
    --secondary: #6366f1;
    --bg-dark: #0f172a;
    --bg-light: #1e293b;
    --text-light: #fff;
    --text-muted: #cbd5e1;
    --card-bg: #162033;
    --card-hover: #22304a;
}

/* ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif
}

body {
    background: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden
}

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(56, 189, 248, .2)0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 5
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background: rgba(15, 23, 42, .75);
    backdrop-filter: blur(8px);
    position: fixed;
    width: 100%;
    z-index: 1000
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 32px;
    object-fit: contain;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    position: relative;
    font-weight: 500
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    left: 0;
    bottom: -5px;
    transition: .3s
}

.nav-links a:hover::after {
    width: 100%
}

/* HERO (nav ke neeche wala ab light) */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* 🔁 new light gradient background */
    background: radial-gradient(circle at top, #f9fafb 0%, #e5f3ff 45%, #dbeafe 100%);
}

.hero-tag {
    margin-bottom: 12px;
    padding: 6px 14px;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 999px;
    display: inline-block;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.65);
    color: var(--text-muted);
}

/* Premium Explore Notes Button */
.hero-btn-container {
    margin-top: 32px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 38px;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 12px;
    font-size: 20px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(56, 189, 248, 0.45);
    transition: 0.25s ease;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.4);
}

/* Moving gradient highlight */
.hero-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(56, 189, 248, 0.35),
            transparent);
    transition: 0.6s;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.8);
    border-color: rgba(56, 189, 248, 0.75);
}

.btn-arrow {
    font-size: 22px;
    color: var(--primary);
    font-weight: 700;
}

/* 🔥 Yellow Gradient Headline */
.gradient-yellow {
    font-size: 54px;
    font-weight: 800;
    background: linear-gradient(90deg, #FFD84D, #FFB300, #FFD84D);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 4s linear infinite;
}

/* Gradient Headline */
.gradient-text {
    font-size: 54px;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 4s linear infinite
}

@keyframes gradientMove {
    0% {
        background-position: 0% center
    }

    100% {
        background-position: 200% center
    }
}

/* Access organised notes... line ko dark text feel */
.subtext {
    margin-top: 20px;
    color: #111827;
    font-size: 18px
}

/* Background Blobs (same blue glow) */
.background-blobs::before,
.background-blobs::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary), transparent 70%);
    filter: blur(120px);
    z-index: -1;
    animation: blobMove 10s infinite alternate ease-in-out
}

.background-blobs::before {
    top: -150px;
    left: -150px
}

.background-blobs::after {
    bottom: -150px;
    right: -150px
}

@keyframes blobMove {
    0% {
        transform: scale(1)
    }

    100% {
        transform: scale(1.3) translate(80px, 80px)
    }
}

/* Floating Formulas – ab light bg hai, isliye blue tint */
.floating-formulas span {
    position: absolute;
    font-size: 26px;
    color: rgba(37, 99, 235, 0.20); /* light blue */
    animation: float 12s ease-in-out infinite
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-40px)
    }
}

/* ================= QUICK STATS ================= */
/* 🔁 Ab ye section dark / blue hai */
.stats {
  background: radial-gradient(
      circle at top,
      rgba(56, 189, 248, 0.18),
      #020617
  );
  padding: 70px 8% 60px;
  color: var(--text-light);
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.stats-heading h2 {
  font-size: 26px;
  margin-bottom: 6px;
}

.stats-heading p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.stat-card {
  background: var(--card-bg);
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  text-align: left;
}

.stat-card h3 {
  font-size: 26px;
  margin-bottom: 4px;
}

.stat-card p {
  color: var(--text-muted);
  font-size: 14px;
}

/* ================= HOW IT HELPS ================= */
.flow {
  padding: 70px 8% 90px;
  background: var(--bg-dark);
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.flow h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 36px;
}

.flow-steps {
  max-width: 1050px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.flow-step {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 24px 22px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  transition: 0.25s ease;
}

.flow-step:hover {
  background: var(--card-hover);
  border-color: var(--primary);
  transform: translateY(-6px);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.16);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 14px;
}

.flow-step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.flow-step p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ================= INTRO (same as pehle – light) */
.intro {
    padding: 120px 8% 100px;
    background: #f8fafc;
    text-align: center;
    color: #0f172a;
}

.intro h2 {
    margin-bottom: 60px;
    font-size: 32px;
    color: #0f172a;
}

.cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap
}

.card {
    background: #ffffff;
    padding: 30px;
    width: 280px;
    border-radius: 12px;
    transition: .3s;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    color: #0f172a;
}

.card p {
    color: #4b5563;
}

.card:hover {
    background: #e5f3ff;
    border: 1px solid var(--primary);
    transform: translateY(-8px);
}

/* ================= TESTIMONIALS ================= */
.testimonials {
  padding: 70px 8% 90px;
  background: var(--bg-light);
  text-align: center;
}

.testimonials h2 {
  font-size: 28px;
  margin-bottom: 34px;
}

.testimonial-grid {
  max-width: 1050px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 22px 20px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  text-align: left;
}

.testimonial-card .quote {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.testimonial-card .name {
  font-size: 13px;
  color: var(--text-muted);
}

/* FOOTER */
.footer {
    background: var(--bg-dark);
    padding: 40px 8%;
    text-align: center
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.footer-links a {
    display: inline;
    color: var(--text-muted);
    text-decoration: none;
    transition: .25s ease;
}

.footer-links a:hover {
    color: var(--primary);
    text-decoration: none;
}

.copyright {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-muted)
}

/* =========================
   📱 Tablet & Mobile (<= 768px)
   ========================= */
@media (max-width: 768px) {

    .navbar {
        padding: 10px 6%;
    }

    .logo-img {
        height: 26px;
    }

    .nav-links {
        gap: 18px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .gradient-text {
        font-size: 34px;
        line-height: 1.25;
    }

    .subtext {
        font-size: 14px;
        max-width: 90%;
        margin: 12px auto 0;
    }

    .hero {
        padding-top: 90px;
    }

    .stats {
      padding: 60px 6% 50px;
    }

    .stats-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .flow {
      padding: 60px 6% 70px;
    }

    .flow-steps {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonials {
      padding: 60px 6% 70px;
    }

    .testimonial-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================
   📱 Small Phones (<= 480px)
   ========================= */
@media (max-width: 480px) {

    .gradient-text {
        font-size: 30px;
    }

    .subtext {
        font-size: 13px;
    }

    .nav-links {
        gap: 14px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .hero-btn {
        padding: 14px 30px;
        font-size: 17px;
        border-radius: 10px;
    }

    .btn-arrow {
        font-size: 20px;
    }

    .hero-btn-container {
        margin-top: 25px;
    }

    .hero {
        padding-top: 110px;
    }

    .hero-tagline {
        font-size: 9px;
        padding: 4px 12px;
    }

    .gradient-text {
        font-size: 34px;
    }

    .primary-btn {
        font-size: 14px;
        padding: 10px 22px;
    }

    .gradient-yellow {
      font-size: 32px;
      line-height: 1.2;
    }

    .stats-grid {
      grid-template-columns: 1fr 1fr;
    }

    .flow-steps {
      grid-template-columns: 1fr;
    }

    .testimonials h2 {
      font-size: 24px;
    }

    .testimonial-grid {
      grid-template-columns: 1fr;
    }
}

