* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #005bbb;
  --primary-dark: #00459a;
  --secondary: #00b8f5;
  --accent-pink: #e6005c;
  --success: #00b875;

  --dark: #142033;
  --text: #334155;
  --muted: #667085;
  --light: #f3f8ff;
  --white: #ffffff;
  --border: #dbe5f0;

  --shadow: 0 20px 60px rgba(0, 91, 187, 0.15);
  --shadow-soft: 0 12px 32px rgba(15, 23, 42, 0.08);

  --gradient-main: linear-gradient(135deg, #00459a 0%, #005bbb 55%, #00b8f5 100%);
  --gradient-card: linear-gradient(135deg, #005bbb, #0096ff);
  --gradient-customer: linear-gradient(135deg, #e6005c, #ff2f6d);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, 92%);
  margin: auto;
}

/* Top Bar */
.top-bar {
  background: var(--gradient-main);
  color: var(--white);
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header.scrolled {
  box-shadow: 0 12px 30px rgba(0, 91, 187, 0.10);
}

.nav-container {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-box,
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-box img,
.footer-logo img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(0, 91, 187, 0.10);
}

.logo-box h3 {
  color: var(--dark);
  font-size: 19px;
  line-height: 1.1;
}

.logo-box span {
  font-size: 12px;
  color: var(--muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu a {
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-btn {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--gradient-main);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(0, 91, 187, 0.20);
}

.menu-btn {
  display: none;
  border: none;
  background: var(--light);
  color: var(--dark);
  font-size: 26px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 95px 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(0, 184, 245, 0.22), transparent 32%),
    radial-gradient(circle at 90% 15%, rgba(0, 91, 187, 0.20), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #eef6ff 55%, #f8fbff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 91, 187, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 91, 187, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  animation: gridMove 18s linear infinite;
  pointer-events: none;
}

@keyframes gridMove {
  from { background-position: 0 0; }
  to { background-position: 120px 120px; }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 70px;
}

.hero-content {
  animation: slideUp 0.9s ease both;
}

.hero-visual,
.phone-showcase {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  animation: slideUp 1.1s ease both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge,
.section-title span {
  display: inline-block;
  color: var(--primary);
  background: rgba(0, 91, 187, 0.10);
  border: 1px solid rgba(0, 91, 187, 0.18);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 18px;
}

.hero-content h1 {
  font-size: clamp(36px, 5vw, 66px);
  color: var(--dark);
  line-height: 1.08;
  letter-spacing: -1.8px;
  margin-bottom: 22px;
}

.hero-content h1 span {
  color: var(--primary);
  display: block;
  margin-top: 8px;
}

.hero-content p {
  font-size: 18px;
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 32px;
}

/* Buttons */
.hero-buttons,
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 900;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.25s ease;
}

.primary-btn {
  background: var(--gradient-main);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(0, 91, 187, 0.25);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0, 91, 187, 0.32);
}

.outline-btn {
  background: var(--white);
  color: var(--primary);
  border-color: rgba(0, 91, 187, 0.25);
}

.outline-btn:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.white-btn {
  background: var(--white);
  color: var(--primary-dark);
}

.glass-btn {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.full-btn {
  width: 100%;
}

/* Hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
  max-width: 620px;
}

.hero-stats div {
  background: rgba(255,255,255,0.88);
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.hero-stats strong {
  display: block;
  color: var(--dark);
  font-size: 22px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
}

/* Phone */
.phone-card,
.phone-frame {
  position: relative;
  width: min(350px, 90%);
  padding: 16px;
  background: linear-gradient(180deg, #ffffff, #edf6ff);
  border: 1px solid var(--border);
  border-radius: 42px;
  box-shadow: var(--shadow);
  animation: phoneFloat 4s ease-in-out infinite;
}

.phone-card::before,
.phone-frame::before {
  content: "LIVE PREVIEW";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-main);
  color: white;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  z-index: 2;
}

.phone-card img,
.phone-frame img {
  border-radius: 30px;
  min-height: 470px;
  object-fit: cover;
  background: #dbeafe;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.floating-card,
.mini-float {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: 16px 18px;
  min-width: 170px;
  animation: miniFloat 3.8s ease-in-out infinite;
}

@keyframes miniFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.floating-card strong,
.mini-float strong {
  display: block;
  color: var(--dark);
  font-size: 18px;
}

.floating-card span,
.mini-float span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.card-one,
.mini-one {
  left: 0;
  top: 120px;
}

.card-two,
.mini-two {
  right: 0;
  bottom: 110px;
}

/* Sections */
.section {
  padding: 90px 0;
}

.light-section {
  background: var(--light);
}

.section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-title h2 {
  color: var(--dark);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-title p {
  color: var(--muted);
  font-size: 17px;
}

/* Cards */
.business-grid,
.feature-grid,
.pricing-grid,
.steps-grid {
  display: grid;
  gap: 22px;
}

.business-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-grid,
.pricing-grid,
.steps-grid {
  grid-template-columns: repeat(3, 1fr);
}

.business-card,
.feature-card,
.step-card,
.price-card,
.security-box,
.lead-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
  transition: 0.28s ease;
  position: relative;
  overflow: hidden;
}

.business-card {
  padding: 22px;
  font-weight: 900;
  color: var(--dark);
}

.business-card:hover,
.feature-card:hover,
.step-card:hover,
.price-card:hover,
.security-box:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 91, 187, 0.35);
  box-shadow: var(--shadow);
}

.premium-card::after,
.feature-card::after,
.business-card::after,
.price-card::after,
.step-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: translateX(-120%);
  transition: 0.8s ease;
  pointer-events: none;
}

.premium-card:hover::after,
.feature-card:hover::after,
.business-card:hover::after,
.price-card:hover::after,
.step-card:hover::after {
  transform: translateX(120%);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(0, 91, 187, 0.10);
  color: var(--primary);
  font-size: 26px;
  margin-bottom: 18px;
}

.feature-card h3,
.step-card h3,
.price-card h3 {
  color: var(--dark);
  font-size: 21px;
  margin-bottom: 10px;
}

.feature-card p,
.step-card p,
.price-card p {
  color: var(--muted);
}

.step-card span {
  display: inline-block;
  color: var(--secondary);
  font-weight: 900;
  font-size: 34px;
  margin-bottom: 16px;
}

/* Preview */
.preview-section {
  background:
    radial-gradient(circle at top right, rgba(0, 91, 187, 0.10), transparent 30%),
    #ffffff;
}

.preview-grid,
.screen-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.preview-grid img,
.screen-card img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: #dbeafe;
  box-shadow: var(--shadow);
}

.screen-card {
  background: var(--white);
  border-radius: 30px;
  padding: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: 0.3s ease;
}

.screen-card:hover {
  transform: translateY(-10px) scale(1.02);
}

.screen-card h3 {
  padding: 14px 8px 4px;
  color: var(--dark);
  font-size: 18px;
}

/* Security / Forms */
.security-grid,
.form-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: 60px;
}

.security-grid h2,
.form-content h2 {
  color: var(--dark);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  margin-bottom: 18px;
}

.security-grid p,
.form-content p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 22px;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  padding-left: 30px;
  position: relative;
  color: var(--text);
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 184, 117, 0.12);
  color: var(--success);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
}

.security-box h3 {
  color: var(--dark);
  font-size: 26px;
  margin-bottom: 20px;
}

.trust-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.trust-item:last-child {
  border-bottom: none;
}

.trust-item strong {
  display: block;
  color: var(--dark);
}

.trust-item span {
  color: var(--muted);
  font-size: 14px;
}

.contact-mini {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.contact-mini p {
  margin: 6px 0;
}

.lead-form {
  display: grid;
  gap: 16px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  outline: none;
  font-size: 15px;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
}

.lead-form textarea {
  min-height: 115px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 91, 187, 0.10);
}

/* Pricing */
.price-card h2 {
  color: var(--primary);
  font-size: 44px;
  margin: 10px 0;
}

.price-card ul {
  margin: 22px 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.price-card li {
  color: var(--text);
  padding-left: 24px;
  position: relative;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 900;
}

.price-card.popular {
  border: 2px solid var(--primary);
  transform: translateY(-10px);
}

.popular-tag {
  display: inline-block;
  background: var(--gradient-main);
  color: var(--white);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 14px;
}

/* FAQ */
.faq-box {
  max-width: 850px;
  margin: auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 22px;
  background: var(--white);
  border: none;
  color: var(--dark);
  font-size: 17px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 22px 20px;
  color: var(--muted);
}

.faq-item.active .faq-answer {
  display: block;
}

/* Highlight / Trust Strip */
.app-trust,
.trust-strip {
  margin-top: -42px;
  position: relative;
  z-index: 5;
}

.app-trust-box,
.trust-strip-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.app-trust-item,
.trust-strip-item {
  padding: 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.app-trust-item:last-child,
.trust-strip-item:last-child {
  border-right: none;
}

.app-trust-item strong,
.trust-strip-item strong {
  display: block;
  color: var(--primary);
  font-size: 22px;
}

.app-trust-item span,
.trust-strip-item span {
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.blue-showcase,
.highlight-section {
  background: var(--gradient-main);
  color: white;
  position: relative;
  overflow: hidden;
}

.blue-showcase .section-title h2,
.blue-showcase .section-title p,
.highlight-section .section-title h2,
.highlight-section .section-title p {
  color: white;
}

.blue-grid,
.highlight-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.blue-card,
.highlight-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 26px;
  padding: 28px;
  backdrop-filter: blur(12px);
}

.blue-card h3,
.highlight-card h3 {
  color: white;
  margin-bottom: 10px;
}

.blue-card p,
.highlight-card p {
  color: rgba(255,255,255,.78);
}

/* CTA */
.cta {
  padding: 80px 0;
  background: var(--gradient-main);
}

.cta-box {
  text-align: center;
  color: var(--white);
}

.cta-box h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 14px;
}

.cta-box p {
  opacity: 0.92;
  font-size: 17px;
  margin-bottom: 28px;
}

.cta-buttons {
  justify-content: center;
}

/* Footer */
.footer {
  background: #071827;
  color: rgba(255, 255, 255, 0.82);
  padding-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr;
  gap: 36px;
  padding-bottom: 45px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo span {
  color: var(--white);
  font-size: 20px;
  font-weight: 900;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 16px;
}

.footer a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.72);
}

.footer a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

/* WhatsApp */
.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  background: #25d366;
  color: white;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.35);
  animation: whatsappPulse 1.8s infinite;
}

@keyframes whatsappPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Form Error */
.input-error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.10) !important;
}

.error-message {
  display: block;
  color: #dc2626;
  font-size: 12px;
  font-weight: 700;
  margin-top: -8px;
  margin-bottom: 4px;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: 0.7s ease;
}

.show-reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Table */
.pricing-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.pricing-table th {
  color: var(--dark);
  background: var(--light);
  font-weight: 900;
}

.pricing-table td {
  color: var(--text);
  font-weight: 600;
}



/* =========================================================
   SAKHI LEDGER AI — PREMIUM MOTION SYSTEM
   Added as a non-destructive enhancement layer.
   ========================================================= */

:root {
  --motion-fast: 180ms;
  --motion-normal: 320ms;
  --motion-slow: 700ms;
  --ease-premium: cubic-bezier(.2,.8,.2,1);
  --glow-blue: rgba(0, 91, 187, .20);
  --glow-cyan: rgba(0, 184, 245, .18);
  --glow-green: rgba(0, 184, 117, .15);
}

/* ---------- Global polish ---------- */

body {
  position: relative;
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 184, 245, .08), transparent 26%),
    radial-gradient(circle at 88% 22%, rgba(0, 91, 187, .08), transparent 30%),
    radial-gradient(circle at 52% 88%, rgba(0, 184, 117, .06), transparent 28%);
  animation: sakhiAurora 16s ease-in-out infinite alternate;
  transform-origin: center;
}

@keyframes sakhiAurora {
  0% {
    transform: translate3d(-1%, -1%, 0) scale(1);
    filter: hue-rotate(0deg);
  }
  50% {
    transform: translate3d(1%, 1%, 0) scale(1.03);
    filter: hue-rotate(4deg);
  }
  100% {
    transform: translate3d(-1%, 1%, 0) scale(1.015);
    filter: hue-rotate(-4deg);
  }
}

/* ---------- Premium top bar shimmer ---------- */

.top-bar {
  position: relative;
  overflow: hidden;
}

.top-bar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28%;
  left: -36%;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255,255,255,.08) 25%,
    rgba(255,255,255,.32) 50%,
    rgba(255,255,255,.08) 75%,
    transparent 100%
  );
  transform: skewX(-16deg);
  animation: sakhiTopSweep 5.8s linear infinite;
}

@keyframes sakhiTopSweep {
  0% { left: -36%; }
  100% { left: 118%; }
}

/* ---------- Header animation ---------- */

.header {
  transition:
    background-color var(--motion-normal) ease,
    box-shadow var(--motion-normal) ease,
    transform var(--motion-normal) var(--ease-premium),
    border-color var(--motion-normal) ease;
}

.header.scrolled {
  animation: sakhiHeaderDrop .38s var(--ease-premium) both;
}

@keyframes sakhiHeaderDrop {
  from {
    opacity: .88;
    transform: translateY(-7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Logo glow ---------- */

.logo-box img,
.footer-logo img {
  transition:
    transform .35s var(--ease-premium),
    box-shadow .35s ease,
    filter .35s ease;
}

.logo-box:hover img,
.footer-logo:hover img {
  transform: translateY(-2px) rotate(-2deg) scale(1.04);
  box-shadow:
    0 12px 28px rgba(0,91,187,.16),
    0 0 0 5px rgba(0,184,245,.07);
  filter: saturate(1.08);
}

/* ---------- Navigation premium underline ---------- */

.nav-menu a {
  position: relative;
  transition:
    color var(--motion-fast) ease,
    transform var(--motion-fast) ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -7px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .26s var(--ease-premium);
}

.nav-menu a:hover,
.nav-menu a.active {
  transform: translateY(-1px);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  transform: scaleX(1);
}

/* ---------- Button shine + magnetic feel ---------- */

.btn,
.nav-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform .28s var(--ease-premium),
    box-shadow .28s ease,
    border-color .28s ease,
    background-color .28s ease;
}

.btn::before,
.nav-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    110deg,
    transparent 18%,
    rgba(255,255,255,.24) 44%,
    transparent 70%
  );
  transform: translateX(-135%);
  transition: transform .65s var(--ease-premium);
}

.btn:hover::before,
.nav-btn:hover::before {
  transform: translateX(135%);
}

.btn:hover,
.nav-btn:hover {
  transform: translateY(-3px);
}

.btn:active,
.nav-btn:active {
  transform: translateY(-1px) scale(.985);
}

/* ---------- Hero moving mesh ---------- */

.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  right: -180px;
  bottom: -220px;
  pointer-events: none;
  background:
    radial-gradient(circle at center, rgba(0,184,245,.16), rgba(0,91,187,.06) 46%, transparent 70%);
  filter: blur(4px);
  animation: sakhiHeroOrb 9s ease-in-out infinite;
}

@keyframes sakhiHeroOrb {
  0%, 100% {
    transform: translate3d(0,0,0) scale(1);
    opacity: .72;
  }
  50% {
    transform: translate3d(-42px,-30px,0) scale(1.12);
    opacity: 1;
  }
}

/* ---------- Hero badge live pulse ---------- */

.hero-badge {
  position: relative;
  overflow: hidden;
  animation: sakhiBadgeFloat 4.4s ease-in-out infinite;
}

.hero-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255,255,255,.65) 48%,
    transparent 78%
  );
  transform: translateX(-130%);
  animation: sakhiBadgeShine 5.6s ease-in-out infinite;
}

@keyframes sakhiBadgeFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes sakhiBadgeShine {
  0%, 72% { transform: translateX(-130%); }
  100% { transform: translateX(130%); }
}

/* ---------- Hero headline entrance ---------- */

.hero-content h1 {
  animation: sakhiHeadlineIn .95s var(--ease-premium) both;
}

.hero-content p {
  animation: sakhiCopyIn 1.08s var(--ease-premium) .10s both;
}

.hero-buttons {
  animation: sakhiCopyIn 1.14s var(--ease-premium) .18s both;
}

.hero-stats {
  animation: sakhiCopyIn 1.18s var(--ease-premium) .25s both;
}

@keyframes sakhiHeadlineIn {
  from {
    opacity: 0;
    transform: translateY(26px) scale(.985);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

@keyframes sakhiCopyIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Hero stats ---------- */

.hero-stats div {
  transition:
    transform .3s var(--ease-premium),
    box-shadow .3s ease,
    border-color .3s ease;
}

.hero-stats div:hover {
  transform: translateY(-6px);
  border-color: rgba(0,91,187,.24);
  box-shadow:
    0 18px 42px rgba(0,91,187,.10),
    0 0 0 5px rgba(0,184,245,.04);
}

/* ---------- Phone premium aura ---------- */

.phone-card,
.phone-frame {
  isolation: isolate;
}

.phone-card::after,
.phone-frame::after {
  content: "";
  position: absolute;
  inset: -22px;
  z-index: -1;
  border-radius: 50px;
  background:
    radial-gradient(circle at 50% 35%, rgba(0,184,245,.20), transparent 55%),
    radial-gradient(circle at 50% 85%, rgba(0,91,187,.16), transparent 60%);
  filter: blur(22px);
  animation: sakhiPhoneGlow 4.6s ease-in-out infinite;
}

@keyframes sakhiPhoneGlow {
  0%,100% { opacity: .6; transform: scale(.96); }
  50% { opacity: 1; transform: scale(1.04); }
}

.phone-card img,
.phone-frame img {
  transition:
    transform .45s var(--ease-premium),
    filter .45s ease;
}

.phone-card:hover img,
.phone-frame:hover img {
  transform: scale(1.018);
  filter: saturate(1.04) contrast(1.01);
}

/* ---------- Floating cards deeper motion ---------- */

.floating-card,
.mini-float {
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  animation:
    miniFloat 3.8s ease-in-out infinite,
    sakhiFloatGlow 4.4s ease-in-out infinite alternate;
}

@keyframes sakhiFloatGlow {
  from {
    box-shadow: 0 18px 44px rgba(0,91,187,.12);
  }
  to {
    box-shadow:
      0 24px 60px rgba(0,91,187,.18),
      0 0 0 5px rgba(0,184,245,.035);
  }
}

/* ---------- Trust strip premium ---------- */

.app-trust-box,
.trust-strip-box {
  position: relative;
  overflow: hidden;
}

.app-trust-box::before,
.trust-strip-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -20%;
  width: 20%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--secondary), var(--primary), transparent);
  animation: sakhiTrustLine 5.2s linear infinite;
}

@keyframes sakhiTrustLine {
  from { left: -20%; }
  to { left: 110%; }
}

.app-trust-item,
.trust-strip-item {
  transition:
    background-color .3s ease,
    transform .3s var(--ease-premium);
}

.app-trust-item:hover,
.trust-strip-item:hover {
  background: linear-gradient(180deg, #fff, #f4f9ff);
  transform: translateY(-2px);
}

/* ---------- Section titles ---------- */

.section-title span {
  animation: sakhiSectionChip 5s ease-in-out infinite;
}

@keyframes sakhiSectionChip {
  0%,100% {
    box-shadow: 0 0 0 0 rgba(0,91,187,0);
  }
  50% {
    box-shadow: 0 10px 28px rgba(0,91,187,.10);
  }
}

/* ---------- Premium cards ---------- */

.business-card,
.feature-card,
.step-card,
.price-card,
.security-box,
.lead-form,
.screen-card {
  transform-style: preserve-3d;
}

.business-card::before,
.feature-card::before,
.step-card::before,
.price-card::before,
.security-box::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--secondary),
    var(--success)
  );
  opacity: 0;
  transition: opacity .28s ease;
}

.business-card:hover::before,
.feature-card:hover::before,
.step-card:hover::before,
.price-card:hover::before,
.security-box:hover::before {
  opacity: 1;
}

.business-card:hover,
.feature-card:hover,
.step-card:hover,
.price-card:hover,
.security-box:hover {
  transform: translateY(-8px) scale(1.012);
}

/* ---------- Feature icon motion ---------- */

.feature-icon {
  position: relative;
  transition:
    transform .35s var(--ease-premium),
    background-color .35s ease,
    box-shadow .35s ease;
}

.feature-card:hover .feature-icon {
  transform: translateY(-4px) rotate(-4deg) scale(1.07);
  box-shadow: 0 14px 32px rgba(0,91,187,.12);
  background: linear-gradient(135deg, rgba(0,91,187,.12), rgba(0,184,245,.14));
}

/* ---------- Preview gallery ---------- */

.preview-grid img,
.screen-card img {
  transition:
    transform .4s var(--ease-premium),
    box-shadow .4s ease,
    filter .4s ease;
}

.preview-grid img:hover,
.screen-card:hover img {
  transform: translateY(-7px) scale(1.018);
  box-shadow: 0 30px 75px rgba(0,91,187,.18);
  filter: saturate(1.06);
}

/* ---------- Security list animation ---------- */

.check-list li {
  transition:
    transform .28s var(--ease-premium),
    color .28s ease;
}

.check-list li:hover {
  transform: translateX(5px);
  color: var(--primary-dark);
}

.check-list li::before {
  transition:
    transform .28s var(--ease-premium),
    box-shadow .28s ease;
}

.check-list li:hover::before {
  transform: scale(1.12) rotate(-6deg);
  box-shadow: 0 8px 22px rgba(0,184,117,.16);
}

/* ---------- Pricing popular card ---------- */

.price-card.popular {
  animation: sakhiPopularGlow 4.2s ease-in-out infinite;
}

@keyframes sakhiPopularGlow {
  0%,100% {
    box-shadow: var(--shadow-soft);
  }
  50% {
    box-shadow:
      0 28px 70px rgba(0,91,187,.18),
      0 0 0 6px rgba(0,184,245,.035);
  }
}

.popular-tag {
  position: relative;
  overflow: hidden;
}

.popular-tag::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 45%;
  left: -55%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.48), transparent);
  animation: sakhiTagShine 3.4s ease-in-out infinite;
}

@keyframes sakhiTagShine {
  0%,65% { left:-55%; }
  100% { left:115%; }
}

/* ---------- FAQ premium open state ---------- */

.faq-item {
  transition:
    transform .28s var(--ease-premium),
    box-shadow .28s ease,
    border-color .28s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(15,23,42,.08);
}

.faq-item.active {
  border-color: rgba(0,91,187,.22);
  box-shadow: 0 16px 44px rgba(0,91,187,.09);
}

.faq-answer {
  animation: sakhiFaqOpen .35s var(--ease-premium);
}

@keyframes sakhiFaqOpen {
  from {
    opacity: 0;
    transform: translateY(-7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Highlight / blue showcase particles ---------- */

.blue-showcase::before,
.highlight-section::before,
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.16) 1.4px, transparent 1.5px);
  background-size: 34px 34px;
  opacity: .35;
  animation: sakhiParticleDrift 20s linear infinite;
}

@keyframes sakhiParticleDrift {
  from { background-position: 0 0; }
  to { background-position: 90px 130px; }
}

.blue-card,
.highlight-card {
  transition:
    transform .34s var(--ease-premium),
    background-color .34s ease,
    border-color .34s ease,
    box-shadow .34s ease;
}

.blue-card:hover,
.highlight-card:hover {
  transform: translateY(-7px);
  background: rgba(255,255,255,.17);
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 20px 50px rgba(0,0,0,.16);
}

/* ---------- Form premium ---------- */

.lead-form {
  transition:
    transform .35s var(--ease-premium),
    box-shadow .35s ease;
}

.lead-form:focus-within {
  transform: translateY(-4px);
  box-shadow:
    0 26px 70px rgba(0,91,187,.13),
    0 0 0 5px rgba(0,184,245,.035);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  transition:
    border-color .22s ease,
    box-shadow .22s ease,
    transform .22s ease,
    background-color .22s ease;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  transform: translateY(-1px);
  background: #fbfdff;
}

/* ---------- CTA moving light ---------- */

.cta {
  position: relative;
  overflow: hidden;
}

.cta::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  right: -140px;
  top: -180px;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 68%);
  animation: sakhiCtaOrb 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sakhiCtaOrb {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-60px,70px) scale(1.12); }
}

/* ---------- Footer ---------- */

.footer {
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  top: -160px;
  height: 260px;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(0,184,245,.12), transparent 66%);
}

.footer a {
  transition:
    color .22s ease,
    transform .22s var(--ease-premium);
}

.footer a:hover {
  transform: translateX(3px);
}

/* ---------- WhatsApp richer pulse ---------- */

.floating-whatsapp {
  transition:
    transform .3s var(--ease-premium),
    filter .3s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-5px) scale(1.035);
  filter: brightness(1.04);
}

/* ---------- Better reveal states ---------- */

.reveal {
  will-change: opacity, transform;
  transition:
    opacity .75s ease,
    transform .75s var(--ease-premium),
    filter .75s ease;
  filter: blur(3px);
}

.show-reveal,
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ---------- Premium table hover ---------- */

.pricing-table tbody tr {
  transition:
    background-color .2s ease,
    transform .2s ease;
}

.pricing-table tbody tr:hover {
  background: #f8fbff;
}

/* ---------- Accessibility: reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Tablet tuning ---------- */

@media (max-width: 1024px) {
  .hero::after {
    width: 400px;
    height: 400px;
  }

  .floating-card,
  .mini-float {
    animation-duration: 4.8s;
  }
}

/* ---------- Mobile tuning ---------- */

@media (max-width: 768px) {
  body::before {
    animation-duration: 20s;
  }

  .hero::after {
    width: 300px;
    height: 300px;
    right: -150px;
    bottom: -130px;
    opacity: .65;
  }

  .phone-card::after,
  .phone-frame::after {
    inset: -12px;
    filter: blur(16px);
  }

  .business-card:hover,
  .feature-card:hover,
  .step-card:hover,
  .price-card:hover,
  .security-box:hover,
  .preview-grid img:hover,
  .screen-card:hover img {
    transform: none;
  }

  .btn:hover,
  .nav-btn:hover,
  .floating-whatsapp:hover {
    transform: none;
  }
}

/* ---------- Very small phones ---------- */

@media (max-width: 420px) {
  .top-bar::after,
  .hero-badge::after,
  .popular-tag::after {
    animation-duration: 7s;
  }

  .hero-content h1,
  .hero-content p,
  .hero-buttons,
  .hero-stats {
    animation-duration: .7s;
  }
}

