/* Global */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  color: #111827;
  background: #f9fafb;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-outline {
  border: 1px solid #2563eb;
  color: #2563eb;
  background: #ffffff;
}

.btn-outline:hover {
  background: #2563eb;
  color: #ffffff;
}

.btn-ghost {
  border: 1px solid transparent;
  background: rgba(37, 99, 235, 0.08);
  color: #1f2933;
}

.btn-ghost:hover {
  background: rgba(37, 99, 235, 0.16);
}

.btn.small {
  padding: 6px 14px;
  font-size: 14px;
}

.full-width {
  width: 100%;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: cover;
  margin-right: 8px;
}

.brand-name {
  font-weight: 600;
  color: #1f2933;
}

.nav-links {
  display: flex;
  gap: 18px;
}

.nav-links a {
  text-decoration: none;
  color: #4b5563;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover {
  color: #111827;
}

.nav-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 24px;
}

/* Mobile nav */
.nav-links-mobile {
  display: none;
  flex-direction: column;
  background: #ffffff;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.12);
}

.nav-links-mobile a {
  padding: 10px 16px;
  border-bottom: 1px solid #e5e7eb;
  text-decoration: none;
  color: #374151;
}

.nav-links-mobile.open {
  display: flex;
}

/* Hero */
.hero {
  padding: 64px 0 48px;
  background: radial-gradient(circle at top left, #e0f2fe 0, #f9fafb 45%);
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 320px;
}

.hero-text h1 {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.hero-text h1 span {
  color: #2563eb;
}

.hero-text p {
  color: #4b5563;
  margin-bottom: 22px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-media {
  flex: 1 1 320px;
  display: flex;
  justify-content: center;
}

.hero-image {
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
}

/* Top feature strip */
.feature-strip {
  background: #111827;
  padding: 32px 0;
}

.feature-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  background: #1f2937;
  border-radius: 16px;
  padding: 18px 16px;
  color: #f9fafb;
  text-align: left;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.3);
}

.feature-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.feature-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 13px;
  color: #d1d5db;
}

/* Stats */
.stats {
  background: #ffffff;
  padding: 32px 0;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  text-align: center;
}

.stat-item {
  background: #f3f4f6;
  padding: 16px;
  border-radius: 12px;
}

.stat-number {
  font-size: 22px;
  font-weight: 700;
  color: #2563eb;
}

.stat-label {
  font-size: 13px;
  color: #6b7280;
  margin-top: 4px;
}

/* ✨ Magic Badge + Shine Effect */
.stat-badge {
  background: linear-gradient(90deg, #2563eb, #0ea5e9);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  width: max-content;
  margin: 0 auto 6px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
  animation: pulseGlow 2.2s infinite ease-in-out;
}

.stat-badge::after {
  content: "";
  position: absolute;
  left: -120%;
  top: 0;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.7) 50%,
    transparent 100%
  );
  animation: sheen 2.8s infinite;
}

@keyframes sheen {
  0% {
    transform: translateX(-120%);
  }
  50% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 6px rgba(37, 99, 235, 0.55);
  }
  50% {
    box-shadow: 0 0 16px rgba(14, 165, 233, 0.9);
  }
  100% {
    box-shadow: 0 0 6px rgba(37, 99, 235, 0.55);
  }
}

/* Sections */
.section-title {
  text-align: center;
  font-size: 26px;
  margin-bottom: 12px;
}

.screenshots,
.about,
.training,
.contact {
  padding: 40px 0;
}

/* Screenshots grid */
.screenshot-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.screenshot-grid img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.25);
}

/* About */
.about-subtitle {
  text-align: center;
  color: #6b7280;
  margin-bottom: 20px;
}

.about-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.about-card p {
  margin-bottom: 16px;
  color: #4b5563;
}

.about-list {
  list-style: none;
  margin-bottom: 20px;
}

.about-list li {
  margin-bottom: 8px;
  font-size: 14px;
  color: #374151;
}

.about-list strong {
  font-weight: 600;
}

.about-download {
  margin-top: 4px;
}

/* Training / Accordion */
.training-subtitle {
  text-align: center;
  color: #6b7280;
  margin-bottom: 18px;
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
  margin-bottom: 10px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  background: #f9fafb;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-body {
  display: none;
  padding: 12px 16px;
  font-size: 14px;
  color: #4b5563;
}

.accordion-item.open .accordion-body {
  display: block;
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-icon {
  transition: transform 0.2s ease;
}

/* Contact */
.contact-form {
  background: #111827;
  padding: 22px 20px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.5);
  margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 8px;
  padding: 10px 12px;
  border: 1px solid #374151;
  background: #111827;
  color: #e5e7eb;
  font-size: 14px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #6b7280;
}

.contact-form .form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 10px;
}

.contact-extra {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

.contact-extra h4 {
  margin-bottom: 4px;
}

/* Footer */
.footer {
  background: #020617;
  color: #e5e7eb;
  padding-top: 20px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 0 16px 16px;
  flex-wrap: wrap;
}

.footer-col h4 {
  margin-bottom: 8px;
  font-size: 15px;
}

.footer-col p,
.footer-col ul {
  font-size: 13px;
  color: #9ca3af;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 4px;
}

.footer-col a {
  color: #9ca3af;
  text-decoration: none;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #111827;
  text-align: center;
  font-size: 12px;
  padding: 10px 0;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 22px;
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.5);
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-inner {
    flex-direction: column;
  }

  .feature-strip-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .feature-strip-inner,
  .stats-inner,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .contact-form .form-row {
    flex-direction: column;
  }

  .hero {
    padding-top: 80px;
  }
}

/* =============== MAGIC ANIMATION PACK v2 =============== */

/* 1) HERO – animated gradient background (smooth, GPU friendly) */
.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(circle at top left, rgba(56,189,248,0.22), transparent 55%),
    linear-gradient(120deg,#020617,#0b1120,#1d4ed8,#0ea5e9,#22d3ee,#a855f7,#0f172a);
  background-size: 160% 160%;
  animation: heroBg 24s ease-in-out infinite;
}

@keyframes heroBg {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 0%; }
}

/* 2) HERO TITLE – rainbow gradient text */
.hero-text h1 span {
  background: linear-gradient(
    120deg,
    #f97316,
    #eab308,
    #22c55e,
    #22d3ee,
    #a855f7,
    #f97316
  );
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rainbowText 10s ease-in-out infinite;
}

@keyframes rainbowText {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 3) HERO IMAGE – soft float (no lag) */
.hero-image {
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
  animation: floatHero 9s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes floatHero {
  0%   { transform: translateY(0px) rotate(0deg); }
  50%  { transform: translateY(-10px) rotate(-0.4deg); }
  100% { transform: translateY(6px) rotate(0.4deg); }
}

/* 4) NAVBAR – smooth drop on first load */
.nav-animate {
  transform: translateY(-32px);
  opacity: 0;
  animation: navDrop 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes navDrop {
  0%   { transform: translateY(-32px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* 5) STAT BADGE – shine stripe + static glow (no pulse box-shadow) */
.stat-badge {
  background: linear-gradient(90deg, #2563eb, #0ea5e9);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  width: max-content;
  margin: 0 auto 6px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.55);
}

.stat-badge::after {
  content: "";
  position: absolute;
  left: -130%;
  top: 0;
  width: 130%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.85) 50%,
    transparent 100%
  );
  transform: skewX(-18deg);
  animation: sheen 2.8s infinite;
}

@keyframes sheen {
  0%   { transform: translateX(-130%) skewX(-18deg); opacity: 0; }
  30%  { opacity: 1; }
  60%  { transform: translateX(130%) skewX(-18deg); opacity: 0; }
  100% { opacity: 0; }
}

/* 6) SCROLL REVEAL ENGINE – super smooth transforms only */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.8s ease-out;
  will-change: transform, opacity;
}

/* direction variants (initial state) */
.fade-left  { transform: translateX(-32px); }
.fade-right { transform: translateX(32px); }
.float-up   { transform: translateY(36px); }
.scale-up   { transform: scale(0.92); }
.zoom-in    { transform: scale(0.9) translateY(18px); }

.reveal.visible {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1);
}

/* 7) BUTTONS – micro pop + glow on hover */
.btn-animate {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.btn-animate:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.08);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.48);
}

/* 8) FEATURE CARDS – rainbow glow on hover */
.feature-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(
    from 180deg,
    #22d3ee,
    #a855f7,
    #f97316,
    #eab308,
    #22c55e,
    #22d3ee
  );
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 0;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.6);
}

.feature-card:hover::before {
  opacity: 1;
  transform: scale(1.02);
}

/* 9) STATS – hover lift */
.stat-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.28);
}

/* 10) SCREENSHOTS – parallax tilt + glow */
.screenshot-grid img {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    filter 0.35s ease;
  will-change: transform;
}

.screenshot-grid img:hover {
  transform: translateY(-10px) scale(1.03) rotate(-0.6deg);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.7);
  filter: brightness(1.06);
}

/* 11) ABOUT CARD – soft lift */
.about-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.38);
}

/* 12) CONTACT FORM – deep glow on hover */
.contact-form {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-form:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.85);
}

/* 13) WHATSAPP FLOAT – bounce hover */
.whatsapp-float {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.85);
}

/* 14) DOWNLOAD BUTTON WRAPPER (about section) */
.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

/* ====================================================== */

/* === HERO TEXT CLARITY FIX – OVERRIDE === */

/* Hero ko relative karte hain taaki dark overlay laga saken */
.hero {
  position: relative;
}

/* Left side pe dark glass overlay, right side pe gradient visible rahe */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at left center,
      rgba(15, 23, 42, 0.92) 0%,
      rgba(15, 23, 42, 0.88) 40%,
      rgba(15, 23, 42, 0.55) 60%,
      transparent 78%
    );
  pointer-events: none;
  z-index: 0;
}

/* Inner content ko overlay se upar le aao */
.hero-inner {
  position: relative;
  z-index: 1;
}

/* Heading + paragraph ko pure white + shadow */
.hero-text h1,
.hero-text p {
  color: #f9fafb;
  text-shadow: 0 2px 10px rgba(15, 23, 42, 0.9);
}

/* Gradient span bhi shadow ke saath – zyada readable */
.hero-text h1 span {
  text-shadow: 0 3px 14px rgba(15, 23, 42, 0.95);
}

/* Thoda spacing tweak for desktop */
@media (min-width: 900px) {
  .hero-text h1 {
    font-size: 38px;
  }
  .hero-text p {
    font-size: 15px;
  }
}

