/* ==========================================================
   Real Estate CRM Lucknow - Nivraj Software Solutions
   Brand tokens: edit here to retheme the whole page.
   NOTE: Hex values are inspired by the Nivraj logo; replace with
   the exact brand values from the logo file if they differ.
   ========================================================== */
:root {
  --brand: #1b5fd9;
  --brand-600: #1450bd;
  --brand-700: #0f3f96;
  --navy: #0a1f4d;
  --navy-900: #061538;
  --ink: #1d2b4a;
  --muted: #5a6784;
  --tint: #eef4ff;
  --tint-2: #e1ecff;
  --line: #dde6f5;
  --white: #fff;
  --grad: linear-gradient(135deg, #2f80ed 0%, #1b5fd9 45%, #0f3f96 100%);
  --grad-dark: linear-gradient(135deg, #0a1f4d 0%, #123a8f 100%);
  --radius: 18px;
  --shadow-sm: 0 4px 14px rgba(15, 63, 150, .08);
  --shadow: 0 14px 40px rgba(15, 63, 150, .14);
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; color: var(--navy); line-height: 1.2; letter-spacing: -.015em; }
a { color: var(--brand); text-decoration: none; }
img { max-width: 100%; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 3000; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(47, 128, 237, .55); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 12px; padding: .65rem 1.25rem; transition: transform .25s, box-shadow .25s, background .25s, color .25s; }
.btn-lg { padding: .85rem 1.6rem; font-size: 1rem; }
.btn-brand { background: var(--grad); color: #fff; border: 0; box-shadow: 0 8px 22px rgba(27, 95, 217, .32); }
.btn-brand:hover, .btn-brand:focus { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(27, 95, 217, .42); }
.btn-outline-brand { color: var(--brand); border: 1.5px solid var(--brand); background: transparent; }
.btn-outline-brand:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.btn-light-brand { background: #fff; color: var(--brand-700); border: 0; box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }
.btn-light-brand:hover { color: var(--brand); transform: translateY(-2px); }
.btn-light-brand .bi { transition: transform .25s; display: inline-block; }
.btn-light-brand:hover .bi { transform: translateX(4px); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--brand-700); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(10, 31, 77, .09); border-color: var(--line); }
.site-header .navbar { min-height: var(--header-h); padding: .35rem 0; }
.brand { display: flex; align-items: center; gap: .75rem; }
.brand-logo { height: 38px; width: auto; }
.brand-wordmark { font: 800 1.35rem 'Plus Jakarta Sans', sans-serif; color: var(--brand); display: inline-flex; gap: .4rem; align-items: center; }
.brand-divider { width: 1px; height: 34px; background: var(--line); }
.brand-product { display: flex; flex-direction: column; line-height: 1.15; color: var(--navy); }
.brand-product strong { font: 700 1.02rem 'Plus Jakarta Sans', sans-serif; }
.brand-product small { font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
.navbar-nav .nav-link { color: var(--navy); font-weight: 600; font-size: .94rem; padding: .55rem .85rem !important; position: relative; }
.navbar-nav .nav-link::after { content: ''; position: absolute; left: .85rem; right: .85rem; bottom: .25rem; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--brand); }
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-toggler { border: 0; padding: .5rem; box-shadow: none !important; }
.toggler-bars { display: grid; gap: 5px; width: 26px; }
.toggler-bars span { height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform .3s, opacity .3s; }
.navbar-toggler[aria-expanded="true"] .toggler-bars span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bars span:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-bars span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
@media (max-width: 1199.98px) {
  .navbar-collapse { background: #fff; margin-top: .5rem; padding: 1rem; border-radius: 16px; box-shadow: var(--shadow); max-height: calc(100vh - 100px); overflow-y: auto; }
  .navbar-nav .nav-link::after { display: none; }
  .brand-divider, .brand-product small { display: none; }
}
@media (max-width: 420px) { .brand-logo { height: 30px; } .brand-product strong { font-size: .88rem; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; background: var(--navy-900); overflow: hidden; color: #fff; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 1.2s; display: flex; align-items: center; }
/* Photo layer (Ken Burns zoom). --slide-img = photo first, SVG illustration as fallback. */
.hero-slide::before { content: ''; position: absolute; inset: 0; z-index: 0; background-image: var(--slide-img); background-size: cover; background-position: center; background-repeat: no-repeat; transform: scale(1) translate3d(0, 0, 0); transform-origin: center; transition: transform 9s linear; will-change: transform; }
/* Dark-blue brand overlay keeps text readable on any photo */
.hero-slide::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(6, 21, 56, .9) 0%, rgba(10, 31, 77, .68) 48%, rgba(10, 31, 77, .22) 100%); }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
/* Odd slides zoom IN, even slides zoom OUT (each with a gentle drift) */
.hero-slide:nth-child(odd).is-active::before { transform: scale(1.18) translate3d(-1.5%, -1%, 0); }
.hero-slide:nth-child(even)::before { transform: scale(1.18) translate3d(1.5%, 1%, 0); }
.hero-slide:nth-child(even).is-active::before { transform: scale(1) translate3d(0, 0, 0); }
.hero-content { position: relative; z-index: 2; padding-top: 4rem; padding-bottom: 8rem; }
.hero h1, .hero .hero-title { color: #fff; font-size: clamp(2.1rem, 5vw, 3.8rem); font-weight: 800; margin-bottom: 1.1rem; }
.hero .lead { color: rgba(255, 255, 255, .86); font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 40rem; margin-bottom: 2rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .95rem; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; font-size: .85rem; font-weight: 600; margin-bottom: 1.2rem; backdrop-filter: blur(6px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.anim { opacity: 0; transform: translateY(26px); }
.hero-slide.is-active .anim { animation: heroIn .8s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: var(--d, 0s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .12); color: #fff; backdrop-filter: blur(6px); transition: background .25s, color .25s, transform .25s; display: grid; place-items: center; font-size: 1.2rem; }
.hero-arrow:hover { background: #fff; color: var(--brand-700); }
.hero-arrow.prev { left: 22px; } .hero-arrow.next { right: 22px; }
.hero-dots { position: absolute; z-index: 5; left: 50%; bottom: 92px; transform: translateX(-50%); display: flex; gap: .55rem; }
.hero-dots button { width: 11px; height: 11px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .45); padding: 0; transition: width .35s, background .35s; }
.hero-dots button.is-active { width: 34px; background: #fff; }
.hero-strip { position: absolute; z-index: 4; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2rem; padding-top: .9rem; padding-bottom: .9rem; border-top: 1px solid rgba(255, 255, 255, .18); background: rgba(6, 21, 56, .45); backdrop-filter: blur(8px); max-width: none; width: 100%; font-size: .9rem; color: rgba(255, 255, 255, .88); }
.hero-strip-item i { color: #8fbbff; margin-right: .4rem; }
@media (max-width: 767.98px) {
  .hero-arrow { display: none; }
  .hero-content { padding-bottom: 9rem; }
  .hero-slide::after { background: linear-gradient(180deg, rgba(6, 21, 56, .88), rgba(10, 31, 77, .72)); }
  .hero-strip { font-size: .8rem; gap: .25rem 1rem; }
  .hero-strip-item:nth-child(3) { display: none; }
  .hero-dots { bottom: 84px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; }
.section-tint { background: linear-gradient(180deg, var(--tint) 0%, #f7faff 100%); }
.section-dark { background: var(--grad-dark); color: #fff; overflow: hidden; }
.section-dark::before { content: ''; position: absolute; width: 560px; height: 560px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(79, 148, 255, .35), transparent 70%); }
.section-head { max-width: 760px; margin: 0 auto 3.2rem; }
.section-tag { display: inline-block; padding: .3rem .9rem; border-radius: 999px; background: var(--tint-2); color: var(--brand-600); font: 700 .78rem 'Plus Jakarta Sans', sans-serif; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.section-tag.on-dark { background: rgba(255, 255, 255, .14); color: #cfe0ff; }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; margin-bottom: 1rem; }
.section-text { color: var(--muted); font-size: 1.06rem; max-width: 46rem; }
.text-white-75 { color: rgba(255, 255, 255, .78) !important; }

.check-list { list-style: none; padding: 0; margin: 1.5rem 0 1.2rem; display: grid; gap: .8rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; color: var(--ink); }
.check-list i { color: var(--brand); font-size: 1.15rem; margin-top: .1rem; }

/* About mockup */
.mock-wrap { position: relative; padding: 1.5rem 1.5rem 2.2rem 0; }
.mock-wrap::before { content: ''; position: absolute; inset: 8% 0 0 12%; background: var(--grad); border-radius: 28px; opacity: .1; transform: rotate(3deg); }
.mock-window { position: relative; background: #fff; border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: .7rem 1rem; background: #f3f7ff; border-bottom: 1px solid var(--line); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #c5d6f5; }
.mock-bar em { margin-left: .6rem; font-size: .75rem; color: var(--muted); font-style: normal; }
.mock-body { display: flex; min-height: 320px; }
.mock-side { width: 56px; background: var(--navy); display: flex; flex-direction: column; align-items: center; gap: 1.1rem; padding-top: 1.1rem; color: #7f96c9; }
.mock-side i.active { color: #fff; }
.mock-main { flex: 1; padding: 1rem; display: grid; gap: .9rem; align-content: start; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.mock-kpis div { background: var(--tint); border-radius: 12px; padding: .6rem .7rem; }
.mock-kpis small { display: block; font-size: .68rem; color: var(--muted); }
.mock-kpis b { font-size: 1.1rem; color: var(--navy); }
.mock-kpis .bar { display: block; height: 5px; border-radius: 4px; background: var(--grad); margin-top: .35rem; }
.mock-kpis .b1 { width: 80%; } .mock-kpis .b2 { width: 55%; } .mock-kpis .b3 { width: 38%; }
.mock-chart { height: 110px; display: flex; align-items: flex-end; gap: 10px; padding: .5rem .3rem 0; border-bottom: 1px solid var(--line); }
.mock-chart span { flex: 1; height: var(--h); background: var(--grad); border-radius: 6px 6px 0 0; opacity: .9; }
.mock-rows { display: grid; gap: .5rem; }
.mock-rows div { display: flex; align-items: center; gap: .6rem; }
.mock-rows i { width: 24px; height: 24px; border-radius: 50%; background: var(--tint-2); }
.mock-rows span { flex: 1; height: 8px; border-radius: 4px; background: var(--tint-2); }
.mock-rows em { font-size: .65rem; font-style: normal; padding: .15rem .55rem; border-radius: 99px; background: #dbe9ff; color: var(--brand-700); font-weight: 600; }
.mock-rows em.warm { background: #e3ecfb; color: #34518f; } .mock-rows em.hot { background: var(--brand); color: #fff; }
.float-card { position: absolute; display: flex; align-items: center; gap: .7rem; background: #fff; padding: .7rem 1rem; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); animation: floaty 5s ease-in-out infinite; }
.float-card i { width: 38px; height: 38px; border-radius: 10px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.float-card b { display: block; font-size: .85rem; color: var(--navy); line-height: 1.2; } .float-card small { color: var(--muted); font-size: .72rem; }
.fc-1 { left: -18px; bottom: 28px; } .fc-2 { right: -4px; top: -4px; animation-delay: -2.4s; }
@keyframes floaty { 50% { transform: translateY(-9px); } }
.illustration-note { text-align: center; font-size: .78rem; color: var(--muted); margin: .4rem 0 0; }
@media (max-width: 575.98px) { .fc-1 { left: 0; } .fc-2 { right: 0; } .mock-wrap { padding-right: 0; } }

/* Features */
.feature-card { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.5rem; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, border-color .3s; position: relative; overflow: hidden; }
.feature-card::after { content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: #bcd3f7; }
.feature-card:hover::after { transform: scaleX(1); }
.ficon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--tint-2); color: var(--brand); font-size: 1.5rem; margin-bottom: 1.1rem; transition: background .3s, color .3s, transform .3s; }
.feature-card:hover .ficon { background: var(--grad); color: #fff; transform: rotate(-6deg) scale(1.06); }
.feature-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: .5rem; }
.feature-card p { color: var(--muted); font-size: .94rem; margin: 0; }
.badge-confirm { display: inline-block; margin-top: .5rem; font-size: .7rem; font-weight: 700; color: #7a5b00; background: #fff3cf; padding: .15rem .55rem; border-radius: 99px; }

/* Benefits */
.benefit-visual { position: relative; aspect-ratio: 1; max-width: 420px; margin: 0 auto; display: grid; place-items: center; }
.bv-ring { position: absolute; border-radius: 50%; border: 2px dashed #b7cff5; }
.bv-ring.r1 { inset: 6%; animation: spin 40s linear infinite; } .bv-ring.r2 { inset: 24%; border-style: solid; border-color: var(--tint-2); background: var(--tint); }
@keyframes spin { to { transform: rotate(360deg); } }
.bv-core { width: 36%; aspect-ratio: 1; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 3rem; box-shadow: 0 16px 40px rgba(27, 95, 217, .4); position: relative; z-index: 2; }
.bv-chip { position: absolute; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: .5rem .9rem; border-radius: 99px; font-weight: 600; font-size: .85rem; color: var(--navy); white-space: nowrap; animation: floaty 6s ease-in-out infinite; z-index: 3; }
.bv-chip i { color: var(--brand); margin-right: .35rem; }
.c1 { top: 8%; left: 8%; } .c2 { top: 22%; right: 0; animation-delay: -1.5s; } .c3 { bottom: 14%; left: 0; animation-delay: -3s; } .c4 { bottom: 4%; right: 10%; animation-delay: -4.5s; }
.benefit { display: flex; gap: .9rem; height: 100%; padding: 1rem 1.1rem; border-radius: 14px; border: 1px solid transparent; transition: background .3s, border-color .3s, transform .3s; }
.benefit:hover { background: var(--tint); border-color: var(--tint-2); transform: translateX(4px); }
.benefit > i { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--tint-2); color: var(--brand); display: grid; place-items: center; font-size: 1.15rem; }
.benefit h3 { font-size: 1rem; font-weight: 700; margin: 0 0 .15rem; } .benefit p { margin: 0; font-size: .88rem; color: var(--muted); }

/* How it works */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.steps::before { content: ''; position: absolute; top: 58px; left: 12.5%; right: 12.5%; border-top: 2px dashed rgba(255, 255, 255, .35); }
.step { position: relative; text-align: center; padding: 0 .5rem; }
.step-icon { width: 116px; height: 116px; margin: 0 auto 1.4rem; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 255, 255, .35); display: grid; place-items: center; font-size: 2.4rem; color: #fff; backdrop-filter: blur(6px); position: relative; transition: transform .35s, background .35s, color .35s; }
.step:hover .step-icon { transform: translateY(-8px) scale(1.05); background: #fff; color: var(--brand); }
.step-no { position: absolute; top: -6px; left: calc(50% + 28px); z-index: 2; background: #fff; color: var(--brand-700); font: 800 .85rem 'Plus Jakarta Sans', sans-serif; padding: .2rem .55rem; border-radius: 99px; box-shadow: 0 6px 14px rgba(0, 0, 0, .2); }
.step h3 { color: #fff; font-size: 1.15rem; margin-bottom: .4rem; } .step p { color: rgba(255, 255, 255, .78); font-size: .94rem; margin: 0; }
@media (max-width: 991.98px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; } .steps::before { display: none; } }
@media (max-width: 575.98px) { .steps { grid-template-columns: 1fr; } }

/* Industries */
.industry { height: 100%; text-align: center; padding: 2rem 1.2rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, background .3s; }
.industry i { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 20px; background: var(--tint-2); color: var(--brand); font-size: 1.9rem; margin-bottom: 1rem; transition: all .3s; }
.industry h3 { font-size: 1.02rem; font-weight: 700; margin: 0; }
.industry:hover { transform: translateY(-8px); box-shadow: var(--shadow); background: var(--grad); }
.industry:hover h3 { color: #fff; } .industry:hover i { background: rgba(255, 255, 255, .2); color: #fff; }

/* Dashboard */
.dash { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(1rem, 3vw, 2rem); box-shadow: var(--shadow); }
.dash-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem; margin-bottom: 1.2rem; }
.dash-title { font: 700 1.1rem 'Plus Jakarta Sans', sans-serif; color: var(--navy); } .dash-title i { color: var(--brand); margin-right: .4rem; }
.sample-pill { font-size: .78rem; padding: .25rem .75rem; border-radius: 99px; background: #fff3cf; color: #7a5b00; font-weight: 600; }
.kpi { height: 100%; background: var(--tint); border-radius: 16px; padding: 1rem; transition: transform .3s, background .3s; }
.kpi:hover { transform: translateY(-4px); background: var(--tint-2); }
.kpi i { color: var(--brand); font-size: 1.3rem; } .kpi small { display: block; color: var(--muted); font-size: .78rem; margin-top: .3rem; }
.kpi b { font: 800 1.8rem 'Plus Jakarta Sans', sans-serif; color: var(--navy); }
.panel { height: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem; }
.panel h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.bars { height: 210px; display: flex; align-items: flex-end; gap: 14px; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.bars div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.bars span { width: 100%; max-width: 54px; height: 0; background: var(--grad); border-radius: 8px 8px 0 0; transition: height 1.1s cubic-bezier(.2, .7, .2, 1); }
.bars.in span { height: var(--h); }
.bars em { position: absolute; bottom: -1.5rem; font-size: .75rem; color: var(--muted); font-style: normal; }
.funnel { display: grid; gap: .6rem; }
.funnel div { display: flex; align-items: center; gap: .8rem; font-size: .85rem; color: var(--muted); }
.funnel span { width: 90px; flex: none; }
.funnel i { display: block; height: 22px; border-radius: 8px; background: var(--grad); width: 0; transition: width 1.1s cubic-bezier(.2, .7, .2, 1); }
.funnel.in i { width: var(--w); }

/* Testimonials */
.testi { max-width: 820px; margin: 0 auto; }
.testi-track { position: relative; min-height: 270px; }
.testi-card { position: absolute; inset: 0; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 2.2rem; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateX(30px); transition: opacity .6s, transform .6s, visibility .6s; text-align: center; }
.testi-card.is-active { opacity: 1; visibility: visible; transform: none; }
.stars { color: #f5b301; margin-bottom: 1rem; letter-spacing: 4px; }
.testi-card blockquote { font: 500 1.2rem/1.6 'Plus Jakarta Sans', sans-serif; color: var(--navy); margin: 0 auto 1.5rem; max-width: 36rem; }
.testi-card figcaption { display: flex; align-items: center; justify-content: center; gap: .8rem; text-align: left; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--tint-2); color: var(--brand); display: grid; place-items: center; font-size: 1.5rem; }
.testi-card figcaption b { display: block; color: var(--navy); } .testi-card figcaption small { color: var(--muted); }
.testi-nav { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 1.5rem; }
.testi-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--brand); transition: all .25s; }
.testi-nav button:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.testi-dots { display: flex; gap: .5rem; } .testi-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 99px; background: #c6d6f2; }
.testi-dots button.is-active { width: 28px; background: var(--brand); }
@media (max-width: 575.98px) { .testi-track { min-height: 330px; } .testi-card { padding: 1.5rem 1.2rem; } .testi-card blockquote { font-size: 1.02rem; } }

/* Pricing */
.price-card { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 2.2rem 1.8rem; box-shadow: var(--shadow-sm); position: relative; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.price-card.popular { background: var(--grad-dark); border: 0; color: #fff; box-shadow: var(--shadow); }
.price-card.popular h3, .price-card.popular .price { color: #fff; }
.price-card .ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font: 700 .75rem 'Plus Jakarta Sans', sans-serif; padding: .35rem 1rem; border-radius: 99px; box-shadow: 0 8px 18px rgba(27, 95, 217, .4); letter-spacing: .05em; text-transform: uppercase; }
.price-card h3 { font-size: 1.3rem; font-weight: 800; }
.price-card .tag { color: var(--muted); font-size: .9rem; } .price-card.popular .tag { color: rgba(255, 255, 255, .72); }
.price { font: 800 1.9rem 'Plus Jakarta Sans', sans-serif; color: var(--navy); margin: 1.3rem 0; }
.price small { font: 500 .85rem 'Inter', sans-serif; color: var(--muted); display: block; } .price-card.popular .price small { color: rgba(255, 255, 255, .7); }
.price-card ul { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .7rem; flex: 1; }
.price-card li { display: flex; gap: .6rem; font-size: .94rem; } .price-card li i { color: var(--brand); margin-top: .2rem; } .price-card.popular li i { color: #8fbbff; }
.price-card .btn { width: 100%; }
.price-card.popular .btn-brand { background: #fff; color: var(--brand-700); box-shadow: none; }

/* FAQ */
.faq .accordion-item { border: 1px solid var(--line); border-radius: 16px !important; margin-bottom: .9rem; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq .accordion-button { font: 700 1.02rem 'Plus Jakarta Sans', sans-serif; color: var(--navy); padding: 1.2rem 1.4rem; background: #fff; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--brand); background: var(--tint); }
.faq .accordion-button:focus { box-shadow: none; }
.faq .accordion-body { color: var(--muted); padding: 0 1.4rem 1.3rem; background: var(--tint); }

/* Contact */
.section-cta { background: var(--grad-dark); overflow: hidden; }
.section-cta::before { content: ''; position: absolute; width: 520px; height: 520px; left: -180px; bottom: -220px; background: radial-gradient(circle, rgba(79, 148, 255, .3), transparent 70%); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; color: rgba(255, 255, 255, .88); }
.contact-list i { flex: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; color: #9cc4ff; }
.contact-list a { color: #fff; } .contact-list a:hover { text-decoration: underline; }
.demo-form { background: #fff; border-radius: 24px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 0 24px 60px rgba(0, 0, 0, .3); position: relative; }
.demo-form .form-label { font-weight: 600; font-size: .88rem; color: var(--navy); margin-bottom: .35rem; }
.demo-form .form-control, .demo-form .form-select { border-radius: 12px; border: 1.5px solid var(--line); padding: .7rem .95rem; background-color: #fbfdff; }
.demo-form .form-control:focus, .demo-form .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(27, 95, 217, .14); }
.form-alert { padding: .9rem 1.1rem; border-radius: 12px; font-weight: 500; font-size: .94rem; }
.form-alert.success { background: #e5f6ea; color: #17623a; border: 1px solid #b8e3c6; }
.form-alert.error { background: #fdeaea; color: #8f2424; border: 1px solid #f3c3c3; }

/* Footer */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .72); padding: 4.5rem 0 1.5rem; }
.footer-logo { height: 46px; width: auto; } .footer-wordmark { font: 800 1.3rem 'Plus Jakarta Sans', sans-serif; color: #fff; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1.2rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer a { color: rgba(255, 255, 255, .72); transition: color .2s, padding .2s; } .site-footer a:hover { color: #fff; }
.site-footer ul:not(.footer-contact) a:hover { padding-left: 4px; }
.footer-contact li { display: flex; gap: .6rem; font-size: .93rem; } .footer-contact i { color: #7fb0ff; margin-top: .25rem; }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.1rem; transition: background .25s, transform .25s; }
.socials a:hover { background: var(--brand); transform: translateY(-3px); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }
.footer-legal { display: flex; gap: 1.4rem; }
.back-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s; z-index: 1000; }
.back-top.show { opacity: 1; visibility: visible; transform: none; } .back-top:hover { color: #fff; transform: translateY(-3px); }

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--rd, 0s); }
[data-reveal].revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .hero-slide::before { transform: none !important; }
  [data-reveal], .anim { opacity: 1 !important; transform: none !important; }
  .bars span { height: var(--h); } .funnel i { width: var(--w); }
}
