/* ===================== */
/* ClixWallet Pro — Styles */
/* ===================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f9;
  --ink: #0b0b0d;
  --ink-soft: #55565f;
  --line: #ececef;
  --violet: #7c5cff;
  --violet-dark: #5b3df0;
  --violet-soft: #efeaff;
  --pink: #ff6fb0;
  --gradient: linear-gradient(120deg, #7c5cff 0%, #9c6bff 45%, #ff6fb0 100%);
  --shadow-sm: 0 2px 10px rgba(15, 12, 41, 0.06);
  --shadow-md: 0 12px 30px rgba(15, 12, 41, 0.10);
  --shadow-lg: 0 30px 60px -15px rgba(76, 41, 191, 0.25);
  --radius: 22px;
  --container: 1180px;
  --ease: cubic-bezier(.16,.84,.44,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }
.reveal-delay-5 { transition-delay: .4s; }

/* ---------- Eyebrow / badges ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--violet-dark);
  background: var(--violet-soft);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gradient);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  border: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); background: var(--violet-dark); }
.btn-gradient {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 16px 34px -10px rgba(124, 92, 255, .55);
}
.btn-gradient:hover { transform: translateY(-3px) scale(1.015); box-shadow: 0 22px 44px -10px rgba(124, 92, 255, .65); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-sm { padding: 11px 22px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
}
.navbar.scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(15,12,41,.06);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 8px; }
.brand img { height: 26px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color .25s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gradient);
  transition: width .3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
}
.nav-burger span, .nav-burger::before, .nav-burger::after { display:none; }
.nav-burger svg { width: 20px; height: 20px; }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: #fff;
  padding: 100px 28px 40px;
  flex-direction: column;
  gap: 26px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 22px; font-weight: 600; }
.mobile-menu .close-btn {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  padding: 168px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -220px; right: -180px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(124,92,255,.28), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}
.hero-glow-2 {
  position: absolute;
  bottom: -260px; left: -220px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(255,111,176,.22), transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: center;
}
.hero-content h1 {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  font-weight: 700;
}
.hero-content h1 .grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-content p.lead {
  font-size: 18.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 0 34px;
}
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-note { font-size: 13.5px; color: var(--ink-soft); display:flex; align-items:center; gap:8px; }
.hero-note svg { width: 16px; height:16px; color: var(--violet); flex-shrink:0; }

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-stats .stat b {
  display: block;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.hero-stats .stat span {
  font-size: 13px;
  color: var(--ink-soft);
}

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .phones-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
}
.hero-visual img.hero-shot {
  position: relative;
  z-index: 2;
  border-radius: 28px;
  animation: float 6s ease-in-out infinite;
}
.hero-card-float {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  z-index: 3;
  border: 1px solid var(--line);
}
.hero-card-float.c1 { top: 8%; left: -8%; animation: float 5s ease-in-out infinite; }
.hero-card-float.c2 { bottom: 10%; right: -10%; animation: float 5.5s ease-in-out infinite reverse; }
.hero-card-float .ico {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.hero-card-float .ico svg { width: 18px; height: 18px; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- Marquee / clients ---------- */
.clients-section { padding: 50px 0 70px; }
.clients-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 30px;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: scroll-left 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 34px;
  width: auto;
  filter: grayscale(1) opacity(.55);
  transition: filter .3s;
}
.marquee-track img:hover { filter: grayscale(0) opacity(1); }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section heading ---------- */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -.02em;
  margin: 0 0 16px;
  font-weight: 700;
}
.section-head p {
  font-size: 16.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

/* ---------- Solutions cards ---------- */
.solutions { padding: 100px 0; background: var(--bg-soft); }
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.solutions-grid .card:nth-child(4),
.solutions-grid .card:nth-child(5) { grid-column: span 1; }
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 28px 0;
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { font-size: 19px; margin: 0 0 10px; font-weight: 650; }
.card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; margin: 0 0 22px; }
.card .card-img {
  margin-top: auto;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  background: var(--violet-soft);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 170px;
}
.card .card-img img { transform: translateY(6px); }

/* ---------- Features ---------- */
.features { padding: 100px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  padding: 32px 26px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 22px -8px rgba(124,92,255,.55);
}
.feature-icon img { width: 26px; height: 26px; filter: brightness(0) invert(1); }
.feature-card h3 { font-size: 18px; margin: 0 0 10px; font-weight: 650; }
.feature-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; margin: 0; }

/* ---------- Split CTA banner ---------- */
.build-loyalty {
  padding: 90px 0;
}
.build-loyalty .inner {
  background: var(--ink);
  border-radius: 32px;
  padding: 64px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  overflow: hidden;
}
.build-loyalty .inner::before {
  content:"";
  position: absolute; inset: 0;
  background: radial-gradient(600px circle at 85% 30%, rgba(124,92,255,.35), transparent 60%);
}
.build-loyalty h2 {
  color: #fff;
  font-size: clamp(26px, 3vw, 36px);
  margin: 0 0 12px;
  max-width: 480px;
  position: relative;
  z-index: 1;
}
.build-loyalty p {
  color: rgba(255,255,255,.65);
  font-size: 16px;
  margin: 0;
  max-width: 460px;
  position: relative;
  z-index: 1;
}
.build-loyalty .text-wrap { position: relative; z-index: 1; }
.build-loyalty .btn { position: relative; z-index: 1; }

/* ---------- Table tent showcase ---------- */
.tabletent { padding: 100px 0; background: var(--bg-soft); overflow: hidden; }
.tabletent-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.tabletent-inner img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.tabletent-text .check-list { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.tabletent-text .check-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-soft); }
.tabletent-text .check-list svg { width: 20px; height: 20px; color: #fff; background: var(--gradient); border-radius: 50%; padding: 4px; flex-shrink: 0; }

/* ---------- Push notifications ---------- */
.push { padding: 100px 0; }
.push-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.push-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 460px; }
.push-visual .base-phone { position: relative; z-index: 1; width: 260px; border-radius: 30px; box-shadow: var(--shadow-lg); }
.push-bubble {
  position: absolute;
  width: 150px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}
.push-bubble.p1 { top: 4%; left: 2%; animation-delay: .2s; }
.push-bubble.p2 { top: 30%; right: -2%; width: 130px; animation-delay: 1s; }
.push-bubble.p3 { bottom: 16%; left: -4%; width: 140px; animation-delay: .6s; }
.push-bubble.p4 { bottom: -2%; right: 8%; width: 120px; animation-delay: 1.4s; }

/* ---------- Contact ---------- */
.contact { padding: 100px 0; background: var(--bg-soft); }
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 50px;
  align-items: stretch;
}
.contact-info {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 46px 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content:"";
  position: absolute; inset: 0;
  background: radial-gradient(500px circle at 10% 100%, rgba(124,92,255,.35), transparent 60%);
}
.contact-info > * { position: relative; z-index: 1; }
.contact-info h2 { font-size: 28px; margin: 0 0 14px; }
.contact-info p { color: rgba(255,255,255,.65); line-height: 1.6; margin: 0 0 30px; }
.contact-info .brand-mini { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.contact-info .brand-mini img { height: 20px; filter: brightness(0) invert(1); }
.contact-channels { display: flex; flex-direction: column; gap: 16px; margin-bottom: 10px; }
.contact-channels a { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 500; }
.contact-channels .ico {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
}
.contact-channels svg { width: 18px; height: 18px; }

.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 46px 40px;
  border: 1px solid var(--line);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.field input, .field textarea {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
  resize: none;
  background: #fcfcfd;
}
.field input:focus, .field textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(124,92,255,.14);
  background: #fff;
}
.contact-form .btn { width: 100%; margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--ink-soft); text-align: center; margin-top: 14px; }

/* ---------- Final CTA ---------- */
.final-cta { padding: 40px 0 110px; }
.final-cta .inner {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: var(--gradient);
  padding: 90px 40px;
  text-align: center;
}
.final-cta .inner::after {
  content:"";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.25), transparent 55%);
}
.final-cta h2 {
  position: relative; z-index: 1;
  color: #fff;
  font-size: clamp(28px, 4vw, 48px);
  margin: 0 0 26px;
  letter-spacing: -.02em;
}
.final-cta .btn { position: relative; z-index: 1; background: #fff; color: var(--ink); box-shadow: 0 20px 40px rgba(0,0,0,.2); }
.final-cta .btn:hover { transform: translateY(-3px) scale(1.02); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 64px 0 30px; }
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 26px;
}
.footer-brand img { height: 24px; filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer-brand p { max-width: 280px; font-size: 14px; line-height: 1.6; }
.footer-cols { display: flex; gap: 70px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: 14px; margin: 0 0 16px; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 12px; color: rgba(255,255,255,.6); transition: color .25s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, transform .25s;
}
.footer-social a:hover { background: var(--gradient); transform: translateY(-3px); }
.footer-social svg { width: 16px; height: 16px; }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,.6);
  z-index: 900;
  animation: pulse-wa 2.6s ease-in-out infinite;
}
.wa-float svg { width: 28px; height: 28px; color: #fff; }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 14px 30px -8px rgba(37,211,102,.6); }
  50% { box-shadow: 0 14px 40px -4px rgba(37,211,102,.85); }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content p.lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 30px; }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .tabletent-inner, .push-inner, .contact-grid { grid-template-columns: 1fr; }
  .push-visual { min-height: 380px; margin-top: 20px; }
  .build-loyalty .inner { flex-direction: column; text-align: center; }
  .build-loyalty p { margin-left: auto; margin-right: auto; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-burger { display: flex; }
  .solutions-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .build-loyalty .inner { padding: 44px 28px; }
  .final-cta .inner { padding: 60px 24px; }
  .footer-top { flex-direction: column; }
  .footer-cols { gap: 40px; }
  .hero { padding-top: 130px; }
  .hero-card-float { display: none; }
}
