/* iProg Lanka – public site (red / grey / black) */
:root {
  --red: #e10600;
  --red-2: #ff2a1f;
  --red-dark: #9e0400;
  --red-soft: rgba(225, 6, 0, .12);
  --bg: #0a0a0c;
  --bg-2: #111115;
  --card: #16161b;
  --card-2: #1c1c22;
  --line: #26262e;
  --grey: #9a9aa5;
  --grey-2: #6c6c77;
  --text: #ececf1;
  --radius: 14px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
  --head: 'Rajdhani', 'Inter', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.65 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0 0 .5em; letter-spacing: .3px; }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; color: var(--grey); }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.text-red { color: var(--red); background: linear-gradient(90deg, var(--red), var(--red-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lead { font-size: 18px; }
.eyebrow { display: inline-block; font: 600 13px/1 'Inter', sans-serif; letter-spacing: 2.5px; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.eyebrow::before { content: ''; display: inline-block; width: 26px; height: 2px; background: var(--red); vertical-align: middle; margin-right: 10px; }
.note { font-size: 14px; color: var(--grey-2); margin-top: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 10px;
  font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn svg { font-size: 18px; }
.btn--red { background: linear-gradient(135deg, var(--red-2), var(--red) 55%, var(--red-dark)); color: #fff; box-shadow: 0 10px 30px -10px rgba(225, 6, 0, .7); }
.btn--red:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(225, 6, 0, .85); }
.btn--ghost { border-color: #3a3a44; color: var(--text); background: rgba(255,255,255,.03); }
.btn--ghost:hover { border-color: var(--red); background: var(--red-soft); }
.btn--sm { padding: 9px 16px; font-size: 14px; border-radius: 8px; }
.btn:focus-visible, .chip:focus-visible, a:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; }

/* Top bar */
.topbar { background: #060607; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--grey); }
.topbar__in { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topbar__left, .topbar__right { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar svg { color: var(--red); font-size: 14px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(10, 10, 12, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.header.is-scrolled { border-color: var(--line); background: rgba(10, 10, 12, .95); }
.header__in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-size: 26px; font-weight: 700; }
.logo img { max-height: 46px; width: auto; }
.logo__mark { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--red-2), var(--red-dark)); color: #fff; font-size: 24px; box-shadow: 0 6px 20px -6px var(--red); }
.logo__text b { color: var(--red); font-weight: 700; }
.nav { display: flex; gap: 30px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--grey); position: relative; padding: 6px 0; transition: color .2s; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--red); transition: width .25s; }
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }
.header__cta { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: 90px 0 100px; background-size: cover; background-position: center; isolation: isolate; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(ellipse 60% 70% at 80% 40%, rgba(225, 6, 0, .22), transparent 70%),
  linear-gradient(90deg, rgba(10,10,12,.97) 0%, rgba(10,10,12,.85) 50%, rgba(10,10,12,.6) 100%); }
.hero__grid-bg { position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%); }
.hero__in { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 60px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 700; margin-bottom: 20px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border: 1px solid rgba(225, 6, 0, .4); background: var(--red-soft); border-radius: 99px; font-size: 13px; font-weight: 600; color: #ffb3ae; margin-bottom: 24px; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--red-2); box-shadow: 0 0 0 0 var(--red-2); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,42,31,.7); } 70% { box-shadow: 0 0 0 10px rgba(255,42,31,0); } 100% { box-shadow: 0 0 0 0 rgba(255,42,31,0); } }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 44px; }
.stats { display: flex; gap: 40px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); }
.stat strong { display: block; font: 700 34px/1 var(--head); color: #fff; }
.stat span { font-size: 14px; color: var(--grey); }
.hero__frame { position: relative; border-radius: 24px; padding: 14px; background: linear-gradient(160deg, #24242b, #101014); border: 1px solid #2c2c34; box-shadow: var(--shadow), 0 0 80px -30px var(--red); }
.hero__frame::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, var(--red), transparent 40%, transparent 60%, rgba(225,6,0,.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.hero__frame img { width: 100%; border-radius: 14px; aspect-ratio: 13/11; object-fit: cover; background: #0d0d10; }

/* Trust strip */
.strip { background: linear-gradient(90deg, var(--red-dark), var(--red) 50%, var(--red-dark)); }
.strip__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 20px 0; }
.strip__in div { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; color: #fff; font-size: 15px; }
.strip__in svg { font-size: 22px; }

/* Sections */
.section { padding: 100px 0; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section__head .eyebrow::after { content: ''; display: inline-block; width: 26px; height: 2px; background: var(--red); vertical-align: middle; margin-left: 10px; }

/* Offer */
.offer { background: var(--bg-2); }
.offer__card { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; border-radius: 22px; overflow: hidden; background: linear-gradient(135deg, #1a1a20, #121216); border: 1px solid var(--line); box-shadow: var(--shadow); }
.offer__media { position: relative; background: radial-gradient(circle at 50% 50%, rgba(225, 6, 0, .25), transparent 70%), #0d0d10; display: grid; place-items: center; padding: 30px; }
.offer__media img { max-height: 380px; object-fit: contain; }
.offer__ribbon { position: absolute; top: 22px; left: -36px; transform: rotate(-45deg); background: var(--red); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: 2px; padding: 6px 44px; }
.offer__body { padding: 50px; }
.price { display: flex; align-items: baseline; gap: 14px; margin: 18px 0 26px; flex-wrap: wrap; }
.price del { color: var(--grey-2); font-size: 20px; }
.price strong { font: 700 40px/1 var(--head); color: var(--red-2); }
.price small { display: block; width: 100%; font-size: 13px; color: var(--grey); text-transform: uppercase; letter-spacing: 1.5px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px; max-width: 440px; }
.countdown div { background: #0b0b0e; border: 1px solid var(--line); border-radius: 12px; padding: 14px 6px; text-align: center; position: relative; overflow: hidden; }
.countdown div::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--red); }
.countdown b { display: block; font: 700 36px/1 var(--head); color: #fff; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 11px; color: var(--grey); text-transform: uppercase; letter-spacing: 1.5px; }
.countdown__ended { color: #ffb3ae; font-weight: 600; }

/* Tool */
.tool__in { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.tool__media { border-radius: 22px; background: radial-gradient(circle at 50% 40%, rgba(225, 6, 0, .2), transparent 65%), var(--card); border: 1px solid var(--line); padding: 30px; }
.tool__media img { width: 100%; aspect-ratio: 13/11; object-fit: contain; }
.checks { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 12px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; }
.checks svg { color: #fff; background: var(--red); border-radius: 50%; padding: 4px; font-size: 22px; margin-top: 1px; }
.tool__buy { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; padding: 22px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.tool__buy .price { margin: 0; }

/* Scripts */
.scripts { background: var(--bg-2); }
.filters { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { padding: 9px 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--grey); font: 500 14px 'Inter', sans-serif; cursor: pointer; transition: all .2s; }
.chip:hover { color: #fff; border-color: #44444e; }
.chip.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.search { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); min-width: 260px; color: var(--grey); }
.search:focus-within { border-color: var(--red); }
.search input { background: none; border: 0; outline: 0; color: var(--text); font: inherit; padding: 11px 0; width: 100%; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, border-color .25s, box-shadow .25s; }
.card:hover { transform: translateY(-6px); border-color: rgba(225, 6, 0, .55); box-shadow: 0 20px 40px -20px rgba(225, 6, 0, .45); }
.card__img { position: relative; aspect-ratio: 4/3; background: #0e0e12; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__img img { transform: scale(1.06); }
.card__badge { position: absolute; top: 12px; right: 12px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; letter-spacing: 1px; }
.card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card__cat { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--red-2); font-weight: 600; margin-bottom: 6px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 14px; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.card__foot strong { font: 700 24px/1 var(--head); }
.card.is-hidden { display: none; }
.empty { text-align: center; padding: 40px 0 0; }
.empty a { color: var(--red-2); font-weight: 600; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step { padding: 30px 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); position: relative; }
.step b { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; font: 700 22px var(--head); color: #fff; background: linear-gradient(135deg, var(--red-2), var(--red-dark)); margin-bottom: 18px; box-shadow: 0 10px 24px -10px var(--red); }
.step p { margin: 0; font-size: 15px; }

/* Contact */
.contact { background: var(--bg-2); }
.contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.contact__item { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
a.contact__item:hover { border-color: var(--red); transform: translateY(-3px); }
.contact__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--card-2); color: var(--red-2); font-size: 22px; border: 1px solid var(--line); }
.contact__icon--wa { background: #1fae5b; color: #fff; border-color: transparent; }
.contact__icon--fb { background: #1877f2; color: #fff; border-color: transparent; }
.contact__item small { display: block; font-size: 12px; color: var(--grey); text-transform: uppercase; letter-spacing: 1px; }
.contact__item strong { font-weight: 600; word-break: break-word; }

/* Footer */
.footer { background: #060607; border-top: 1px solid var(--line); padding: 60px 0 0; }
.footer__in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; align-items: start; }
.footer__in p { margin-top: 14px; max-width: 380px; }
.footer__nav { display: grid; gap: 10px; }
.footer__nav a { color: var(--grey); }
.footer__nav a:hover { color: #fff; }
.footer__social { display: flex; gap: 12px; justify-content: flex-end; }
.footer__social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-size: 20px; transition: all .2s; }
.footer__social a:hover { background: var(--red); border-color: var(--red); }
.footer__bottom { border-top: 1px solid var(--line); padding: 20px 0; font-size: 14px; color: var(--grey-2); text-align: center; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #1fae5b; color: #fff; font-size: 30px; box-shadow: 0 12px 30px -8px rgba(31, 174, 91, .7); transition: transform .2s; }
.wa-float::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1fae5b; animation: ring 2s infinite; }
.wa-float:hover { transform: scale(1.08); }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.5); opacity: 0; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.hero__text, .hero__media { animation: rise .8s ease both; }
.hero__media { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .badge i, .wa-float::after, .hero__text, .hero__media { animation: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__in, .tool__in { grid-template-columns: 1fr; gap: 50px; }
  .hero__media { max-width: 560px; }
  .offer__card { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .topbar { display: none; }
  .burger { display: flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 20px 20px; background: #0e0e11; border-bottom: 2px solid var(--red); box-shadow: 0 30px 50px -20px #000; opacity: 0; transform: translateY(-10px); visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a::after { display: none; }
  .header__cta .btn span { display: none; }
  .strip__in { grid-template-columns: repeat(2, 1fr); }
  .footer__in { grid-template-columns: 1fr; }
  .footer__social { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .section { padding: 70px 0; }
  .hero { padding: 60px 0 70px; }
  .stats { gap: 24px; }
  .stat strong { font-size: 28px; }
  .offer__body { padding: 30px 22px; }
  .countdown b { font-size: 28px; }
  .steps { grid-template-columns: 1fr; }
  .search { min-width: 0; width: 100%; }
  .strip__in div { font-size: 13px; justify-content: flex-start; }
  .topbar__right a:not([aria-label]) { font-size: 12px; }
}
