/* Ibnox Technologies LLP — site styles */
:root {
  --navy: #0a1a4a;
  --navy-2: #0f2466;
  --night: #050d2b;
  --blue: #1257e0;
  --blue-2: #1e90ff;
  --cyan: #22d3ee;
  --sky: #e8f1ff;
  --ink: #0f172a;
  --muted: #5b6785;
  --line: #e3e8f3;
  --bg: #ffffff;
  --tint: #f5f8fe;
  --radius: 20px;
  --shadow: 0 30px 60px -25px rgba(10, 26, 74, .35);
  --shadow-sm: 0 10px 30px -14px rgba(10, 26, 74, .3);
  --grad: linear-gradient(120deg, #0b3bbf 0%, #1e90ff 60%, #22d3ee 100%);
  --grad-soft: linear-gradient(120deg, #0b3bbf 0%, #1e90ff 100%);
}

* { box-sizing: border-box; }
html { scroll-padding-top: 84px; }
body {
  margin: 0; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; color: var(--navy); }
h3 { font-size: 1.16rem; font-weight: 700; color: var(--navy); }
p { margin: 0 0 1em; color: var(--muted); }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
kbd { font-family: inherit; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: 110px 0; position: relative; }
.section-tint { background: var(--tint); }
.section-dark { background: radial-gradient(900px 500px at 85% -10%, rgba(30, 144, 255, .35), transparent 60%), radial-gradient(700px 400px at 0% 110%, rgba(34, 211, 238, .18), transparent 60%), var(--night); color: #fff; overflow: hidden; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.kicker::before { content: ''; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.kicker.light { color: #7cc4ff; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.section-head .kicker::after { content: ''; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-head p { font-size: 1.1rem; }
.section-head.left { text-align: left; margin: 0; }
.section-head.left .kicker::after { display: none; }
h2.light, .section-head.light h2 { color: #fff; }
.light-p, .section-head.light p { color: #b8c5ea; font-size: 1.08rem; }

/* Progress bar */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; }
.progress span { display: block; height: 100%; width: 0; background: var(--grad); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 12px; font-weight: 700; font-size: .97rem; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, color .2s, border-color .2s; font-family: inherit; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--grad-soft); color: #fff; box-shadow: 0 12px 26px -12px rgba(18, 87, 224, .8); position: relative; overflow: hidden; }
.btn-primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(18, 87, 224, .9); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .4); }
.btn-outline-white { color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-outline-white:hover { background: rgba(255, 255, 255, .12); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-lg { padding: 16px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* Announcement */
.announce { background: var(--night); color: #cfdaf8; font-size: .88rem; }
.announce-inner { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 9px 0; flex-wrap: wrap; text-align: center; }
.announce strong { color: #fff; }
.announce a { color: #7cc4ff; font-weight: 700; }
.pill-new { background: var(--grad); color: #fff; font-weight: 800; font-size: .7rem; padding: 3px 8px; border-radius: 999px; letter-spacing: .08em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -14px rgba(10, 26, 74, .25); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--ink); font-weight: 600; font-size: .95rem; position: relative; }
.nav-links a:not(.btn)::after { content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--grad); transition: width .2s; }
.nav-links a:not(.btn):hover::after, .nav-links a.current::after { width: 100%; }
.nav-links a.current { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* Hero */
.hero { position: relative; padding: 90px 0 120px; overflow: hidden; background: var(--night); color: #fff; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .6; animation: drift 16s ease-in-out infinite; }
.o1 { width: 520px; height: 520px; background: #1257e0; top: -160px; right: -80px; }
.o2 { width: 420px; height: 420px; background: #22d3ee; bottom: -220px; left: -120px; opacity: .35; animation-delay: -5s; }
.o3 { width: 300px; height: 300px; background: #7c3aed; top: 40%; left: 40%; opacity: .25; animation-delay: -10s; }
@keyframes drift { 50% { transform: translate(40px, 30px) scale(1.08); } }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.12fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #dbe6ff; font-weight: 600; font-size: .85rem; margin-bottom: 24px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.7rem); font-weight: 800; color: #fff; letter-spacing: -.035em; }
.rotator { display: inline-block; background: linear-gradient(120deg, #60a5fa, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
#rotate-word { display: inline-block; transition: opacity .35s, transform .35s; }
#rotate-word.out { opacity: 0; transform: translateY(12px); }
.lead { font-size: 1.14rem; max-width: 560px; color: #b8c5ea; }
.lead strong { color: #fff; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 30px; }
.trust { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 28px; }
.trust li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #dbe6ff; font-size: .93rem; }
.trust svg { width: 18px; height: 18px; color: #7cc4ff; }

.hero-visual { position: relative; padding: 30px 46px 40px 0; }
.window { position: relative; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow), 0 0 0 1px rgba(10, 26, 74, .06); }
.window-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #eef2f9; border-bottom: 1px solid var(--line); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; flex: none; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }
.window-bar span { margin-left: 10px; font-size: .78rem; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero .window { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .1); }
.tilt { transform: perspective(1600px) rotateY(-8deg) rotateX(3deg); transition: transform .4s; }
.hero-visual .tilt { transform: perspective(1600px) rotateY(var(--ry, -8deg)) rotateX(var(--rx, 3deg)); }

.phone { position: relative; border-radius: 34px; padding: 9px; background: #0d1530; box-shadow: var(--shadow), inset 0 0 0 2px #2a3558; }
.phone img { border-radius: 26px; width: 100%; aspect-ratio: 1080 / 2526; object-fit: cover; object-position: top; background: #f3f6fb; }
.phone-hero { position: absolute; width: 27%; right: 0; bottom: 0; box-shadow: 0 40px 70px -25px rgba(0, 0, 0, .8), inset 0 0 0 2px #2a3558; }

.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: rgba(255, 255, 255, .96); border-radius: 14px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .5); animation: float 6s ease-in-out infinite; color: var(--ink); }
.float-card small { display: block; color: var(--muted); font-size: .74rem; font-weight: 600; }
.float-card strong { font-size: .93rem; color: var(--navy); white-space: nowrap; }
.fc-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; }
.fc-icon svg { width: 20px; height: 20px; stroke-width: 2.5; }
.fc-icon.green { background: linear-gradient(135deg, #10b981, #059669); }
.fc-icon.amber { background: linear-gradient(135deg, #f59e0b, #d97706); }
.fc-icon.blue { background: var(--grad-soft); }
.fc-1 { left: -34px; bottom: 60px; }
.fc-2 { right: 18%; top: -8px; animation-delay: -2s; }
.fc-3 { left: 30%; bottom: -6px; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Marquee */
.marquee { background: var(--grad-soft); color: #fff; overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; width: max-content; animation: scroll 50s linear infinite; }
.marquee span { font-weight: 700; font-size: .98rem; padding: 0 26px; white-space: nowrap; display: inline-flex; align-items: center; gap: 26px; }
.marquee span::after { content: '✦'; opacity: .6; font-size: .8rem; margin-right: -26px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Stats */
.stats { padding: 70px 0 10px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 28px 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.stat strong { display: block; font-size: 2.6rem; font-weight: 800; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { color: var(--muted); font-size: .93rem; font-weight: 500; }

/* Problems */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.problem { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; overflow: hidden; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.problem:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pr-top { padding: 26px 26px 18px; background: linear-gradient(180deg, #fff6f6, #fff); }
.pr-top h3 { margin: 10px 0 0; }
.pr-sol { margin: 0; padding: 18px 26px 26px; border-top: 1px dashed var(--line); font-size: .96rem; flex: 1; }
.pr-tag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.pr-tag.bad { background: #fee2e2; color: #b91c1c; }
.pr-tag.good { display: block; width: max-content; background: #dcfce7; color: #15803d; margin-bottom: 10px; }

/* Platforms */
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.platform { position: relative; background: #fff; border-radius: var(--radius); padding: 34px 30px; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.platform:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.platform.featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; }
.badge-top { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .06em; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.p-icon { width: 60px; height: 60px; margin-bottom: 18px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-soft); color: #fff; box-shadow: 0 12px 24px -12px rgba(18, 87, 224, .8); }
.p-icon svg { width: 28px; height: 28px; }
.platform p { font-size: .96rem; }
.mini { list-style: none; padding: 16px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.mini li { font-size: .9rem; font-weight: 600; color: var(--navy-2); padding-left: 22px; position: relative; }
.mini li::before { content: ''; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); }

/* Deep dives */
.dive { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; margin-bottom: 110px; }
.dive:last-child { margin-bottom: 0; }
.dive.reverse .dive-text { order: 2; }
.dive-num { display: inline-block; font-size: 3rem; font-weight: 800; line-height: 1; margin-bottom: 8px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dive h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; }
.dive-text > p { font-size: 1.05rem; }
.dive-media { position: relative; z-index: 0; }
.dive-media::before { content: ''; position: absolute; inset: 8% -4% -6% 8%; background: var(--grad); opacity: .12; border-radius: 28px; z-index: -1; transform: rotate(2deg); }
.dive.reverse .dive-media::before { inset: 8% 8% -6% -4%; transform: rotate(-2deg); }
.dive-media img { cursor: zoom-in; }
.phones-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 520px; margin-left: auto; padding-bottom: 40px; }
.phones-pair .phone:nth-child(2) { transform: translateY(40px); }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink); font-size: .96rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #dcfce7; }
.ticks li::after { content: ''; position: absolute; left: 7px; top: 6px; width: 5px; height: 9px; border: solid #16a34a; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Feature list */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -20px 0 36px; }
.chip { font: inherit; font-weight: 700; font-size: .93rem; padding: 11px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.active { background: var(--grad-soft); color: #fff; border-color: transparent; box-shadow: 0 10px 22px -12px rgba(18, 87, 224, .8); }
.feat-list ul { display: none; list-style: none; padding: 0; margin: 0; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feat-list ul.active { display: grid; animation: fade .35s ease; }
.feat-list li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 16px 46px; position: relative; font-weight: 600; font-size: .93rem; color: var(--navy); transition: transform .2s, box-shadow .2s; }
.feat-list li:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.feat-list li::before { content: ''; position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; border-radius: 6px; background: var(--grad-soft); }
.feat-list li::after { content: ''; position: absolute; left: 23px; top: 21px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Screenshots */
.tabs { display: flex; justify-content: center; gap: 8px; margin: -24px auto 40px; padding: 6px; background: var(--tint); border: 1px solid var(--line); border-radius: 14px; width: max-content; max-width: 100%; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border: 0; border-radius: 10px; background: none; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; }
.tab svg { width: 18px; height: 18px; }
.tab.active { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.desk-showcase .window.big img { cursor: zoom-in; transition: opacity .2s; }
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(10, 26, 74, .75); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 4px; opacity: 0; transition: opacity .2s, background .2s; }
.window.big:hover .gal-nav { opacity: 1; }
.gal-nav:hover { background: var(--blue); }
.gal-nav.prev { left: 16px; }
.gal-nav.next { right: 16px; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 18px; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 12px; background: #fff; overflow: hidden; cursor: pointer; box-shadow: 0 0 0 1px var(--line); transition: border-color .2s, transform .2s; font: inherit; }
.thumb img { aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; }
.thumb span { display: block; padding: 7px 4px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.thumb:hover { transform: translateY(-3px); }
.thumb.active { border-color: var(--blue); }
.thumb.active span { color: var(--blue); }
.desk-caption { text-align: center; margin: 18px auto 0; font-weight: 500; max-width: 720px; }
.phones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 40px; max-width: 1000px; margin: 0 auto; }
.phone-fig { margin: 0; text-align: center; }
.phone-fig .phone { border-radius: 28px; padding: 7px; transition: transform .25s; }
.phone-fig:hover .phone { transform: translateY(-6px) rotate(-1deg); }
.phone-fig .phone img { border-radius: 22px; cursor: zoom-in; }
.phone-fig figcaption { margin-top: 14px; font-weight: 700; color: var(--navy); font-size: .95rem; }

/* Compare */
.compare { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); max-width: 980px; margin: 0 auto; }
.compare table { width: 100%; border-collapse: collapse; min-width: 560px; background: #fff; }
.compare th, .compare td { padding: 17px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: .96rem; }
.compare thead th { background: var(--tint); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.compare td:first-child { font-weight: 700; color: var(--navy); }
.compare td:nth-child(2) { color: var(--muted); }
.compare .hl { background: #f0f6ff; color: var(--navy-2); font-weight: 700; }
.compare thead .hl { background: var(--grad-soft); color: #fff; }
.compare tr:last-child td { border-bottom: 0; }

/* Who */
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.who { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; text-align: center; transition: transform .25s, box-shadow .25s; }
.who:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.who-icon { width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 20px; display: grid; place-items: center; font-size: 2rem; background: var(--sky); }
.who p { margin: 0; font-size: .94rem; }

/* Pricing */
.trial { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 32px; border-radius: var(--radius); background: linear-gradient(120deg, #ecfdf5, #eff6ff); border: 1px solid #cdeee0; margin-bottom: 34px; }
.trial h3 { margin: 0 0 4px; }
.trial p { margin: 0; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; padding: 34px 30px; border-radius: 24px; background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.price:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price.popular { background: linear-gradient(170deg, var(--navy) 0%, #12307f 100%); border: 0; color: #fff; box-shadow: var(--shadow); }
.price.popular h3, .price.popular .p-amt span { color: #fff; }
.price.popular .p-sub, .price.popular .p-amt small { color: #b8c5ea; }
.price.popular .ticks li { color: #e5ecff; }
.price.popular .ticks li::before { background: rgba(255, 255, 255, .15); }
.price.popular .ticks li::after { border-color: #7cf0b5; }
.p-sub { font-size: .93rem; }
.p-amt { padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.price.popular .p-amt { border-color: rgba(255, 255, 255, .15); }
.p-amt span { display: block; font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.p-amt small { color: var(--muted); font-weight: 600; }
.price .ticks { flex: 1; margin-bottom: 26px; }
.price-note { text-align: center; max-width: 760px; margin: 30px auto 0; font-size: .92rem; }

/* Security */
.sec-grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: 60px; align-items: start; }
.sec-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sec { display: flex; gap: 16px; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.sec h4 { margin: 0 0 4px; color: var(--navy); }
.sec p { margin: 0; font-size: .92rem; }
.v-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--sky); color: var(--blue); }
.link-arrow { font-weight: 700; color: #7cc4ff; }
.link-arrow.dark { color: var(--blue); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.step { padding: 30px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: transform .25s, background .25s; }
.step:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .08); }
.step h3 { color: #fff; }
.step p { color: #b8c5ea; margin: 0; font-size: .95rem; }
.step-no { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; font-weight: 800; font-size: 1.1rem; margin-bottom: 16px; background: var(--grad); color: #fff; }
.support-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 26px; margin-top: 44px; padding: 20px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #dbe6ff; font-weight: 600; font-size: .95rem; }
.support-row strong { color: #fff; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: start; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.mv-card { padding: 22px; border-radius: 16px; background: var(--tint); border: 1px solid var(--line); }
.mv-card h4 { color: var(--navy); margin-bottom: 6px; }
.mv-card p { margin: 0; font-size: .93rem; }
.about-card { position: relative; overflow: hidden; padding: 38px; border-radius: 26px; background: linear-gradient(160deg, var(--navy) 0%, #12307f 100%); color: #fff; box-shadow: var(--shadow); }
.about-card h3 { color: #fff; font-size: 1.35rem; margin-bottom: 18px; }
.about-mark { position: absolute; right: -50px; top: -40px; width: 220px; opacity: .12; }
.facts-dl { margin: 0; display: grid; position: relative; }
.facts-dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.facts-dl dt { color: #9fb0dd; font-size: .9rem; }
.facts-dl dd { margin: 0; font-weight: 700; text-align: right; }
.facts-dl a { color: #7cc4ff; }
.values-inline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.values-inline span { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: .82rem; font-weight: 700; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service { position: relative; padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; overflow: hidden; transition: box-shadow .25s, transform .25s; }
.service::before { content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service:hover::before { transform: scaleX(1); }
.s-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--sky); color: var(--blue); margin-bottom: 18px; transition: background .25s, color .25s; }
.service:hover .s-icon { background: var(--grad-soft); color: #fff; }
.service p { margin: 0; font-size: .95rem; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.7fr; gap: 60px; align-items: start; }
.faq-wrap .section-head { position: sticky; top: 110px; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { border-color: #c9d8f6; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 17px 34px 17px 0; font-weight: 700; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 0; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background: linear-gradient(var(--blue), var(--blue)) center / 12px 2px no-repeat, linear-gradient(var(--blue), var(--blue)) center / 2px 12px no-repeat, var(--sky);
  transition: transform .3s ease, background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: linear-gradient(#fff, #fff) center / 12px 2px no-repeat, linear-gradient(#fff, #fff) center / 2px 12px no-repeat, var(--blue); }
.faq details > p { animation: faqIn .35s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
.faq details p { margin: 0 0 18px; }

/* CTA band */
.cta-band { padding: 0 0 110px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 54px 56px; border-radius: 28px; background: radial-gradient(500px 300px at 90% 0%, rgba(34, 211, 238, .45), transparent 60%), var(--grad-soft); color: #fff; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.cta-inner::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .15) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000); pointer-events: none; }
.cta-inner h2 { color: #fff; margin-bottom: 8px; }
.cta-inner p { color: #dbe6ff; margin: 0; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; position: relative; z-index: 1; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list small { display: block; color: var(--muted); font-weight: 600; font-size: .8rem; }
.contact-list a, .contact-list span { font-weight: 700; color: var(--navy); }
.c-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--sky); color: var(--blue); flex: none; }
.reply-card { margin-top: 28px; padding: 16px 20px; border-radius: 14px; background: #ecfdf5; border: 1px solid #c7eedc; display: grid; gap: 2px; }
.reply-card strong { color: #166534; }
.reply-card span { color: #3f6f55; font-size: .92rem; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .88rem; color: var(--navy); min-width: 0; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-weight: 500; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fbfcff; color: var(--ink); transition: border-color .2s, box-shadow .2s; width: 100%; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(18, 87, 224, .12); }
.contact-form .invalid { border-color: #dc2626; }
.form-note { margin: 0; font-size: .9rem; min-height: 1.2em; }
.form-note.ok { color: #15803d; }
.form-note.err { color: #dc2626; }

/* Footer */
.site-footer { background: var(--night); color: #b8c5ea; padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 46px; width: auto; margin-bottom: 16px; }
.site-footer p { color: #8d9cc7; max-width: 320px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer a { display: block; color: #b8c5ea; margin-bottom: 9px; font-size: .95rem; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer .foot-mail { color: #7cc4ff; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .86rem; }
.footer-bottom a { display: inline; margin: 0; }

/* Back to top */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 52px; height: 52px; border-radius: 50%; background: var(--grad-soft); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; box-shadow: var(--shadow-sm); opacity: 0; pointer-events: none; transform: translateY(10px) scale(.9); transition: opacity .25s, transform .25s; z-index: 60; }
.to-top:hover { transform: translateY(-3px) scale(1.05); }
.to-top span { position: relative; }
.to-top .ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top .ring circle { fill: none; stroke-width: 3; }
.to-top .ring circle:first-child { stroke: rgba(255, 255, 255, .25); }
.to-top .ring #ring-bar { stroke: #fff; stroke-linecap: round; stroke-dasharray: 144.5; stroke-dashoffset: 144.5; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 84px 28px 28px; background: rgba(4, 10, 30, .94); backdrop-filter: blur(8px); cursor: zoom-out; animation: lbFade .25s ease; }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; flex: 0 1 auto; }
.lightbox img { max-width: min(1500px, 100%); max-height: calc(100vh - 170px); width: auto; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 80px rgba(0, 0, 0, .6); cursor: default; animation: lbZoom .3s cubic-bezier(.2, .8, .2, 1); }
.lb-caption { color: #dbe6ff; font-weight: 600; font-size: .95rem; text-align: center; max-width: 720px; }
.lb-hint { margin: 0; color: #8d9cc7; font-size: .8rem; }
.lb-close { position: absolute; top: 18px; right: 20px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  color: #fff; background: #0f1d4d; border: 2px solid rgba(255, 255, 255, .55); box-shadow: 0 8px 24px rgba(0, 0, 0, .55); transition: background .2s, transform .2s, border-color .2s; }
.lb-close svg { width: 22px; height: 22px; stroke-width: 2.6; }
.lb-close:hover, .lb-close:focus-visible { background: var(--blue); border-color: #fff; transform: rotate(90deg); outline: none; }
@keyframes lbFade { from { opacity: 0; } }
@keyframes lbZoom { from { opacity: 0; transform: scale(.94); } }
@media (max-width: 640px) {
  .lightbox { padding: 76px 12px 20px; }
  .lb-close { top: 14px; right: 14px; }
  .lightbox img { max-height: calc(100vh - 150px); }
}

/* Legal pages */
.legal-hero { background: var(--night); color: #fff; padding: 70px 0 60px; position: relative; overflow: hidden; }
.legal-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.legal-hero p { color: #b8c5ea; margin: 0; }
.legal { max-width: 820px; padding: 60px 0 100px; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal p, .legal li { color: #374151; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .5em; }

/* Reveal */
.js .reveal { opacity: 0; }
.reveal.done { opacity: 1 !important; translate: none !important; scale: none !important; }
.reveal.in { animation: rvUp .85s cubic-bezier(.2, .8, .2, 1) var(--stagger, 0s) both; }
.reveal.from-left.in { animation-name: rvLeft; }
.reveal.from-right.in { animation-name: rvRight; }
.reveal.zoom.in { animation-name: rvZoom; }
@keyframes rvUp { from { opacity: 0; translate: 0 30px; } to { opacity: 1; translate: 0 0; } }
@keyframes rvLeft { from { opacity: 0; translate: -60px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes rvRight { from { opacity: 0; translate: 60px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes rvZoom { from { opacity: 0; scale: .9; translate: 0 24px; } to { opacity: 1; scale: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; }
  .reveal.in { animation: none; }
  .float-card, .orb, .marquee-track, .eyebrow .dot { animation: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .nav-links { gap: 20px; }
  .hero-grid, .about-grid, .contact-grid, .faq-wrap, .sec-grid { grid-template-columns: 1fr; gap: 50px; }
  .faq-wrap .section-head { position: static; }
  .hero-visual { max-width: 720px; margin: 0 auto; width: 100%; }
  .problem-grid, .service-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-list ul { grid-template-columns: repeat(3, 1fr); }
  .dive { grid-template-columns: 1fr; gap: 40px; margin-bottom: 90px; }
  .dive.reverse .dive-text { order: 0; }
  .phones-pair { margin: 0 auto; }
  .thumbs { grid-template-columns: repeat(4, 1fr); }
  .phones { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(10, 26, 74, .3); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 14px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .platforms { grid-template-columns: 1fr; gap: 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; gap: 28px; }
  .sec-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 76px 0; }
  .hero { padding: 56px 0 80px; }
  .brand img { height: 34px; }
  .announce-inner { font-size: .8rem; gap: 8px; }
  .trust { grid-template-columns: 1fr 1fr; gap: 10px 14px; }
  .trust li { font-size: .85rem; }
  .hero-visual { padding: 10px 30px 30px 0; }
  .tilt, .hero-visual:hover .tilt { transform: none; }
  .fc-1 { left: -6px; bottom: 10px; }
  .fc-2, .fc-3 { display: none; }
  .problem-grid, .service-grid, .steps, .who-grid, .mv { grid-template-columns: 1fr; }
  .feat-list ul { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .thumb span { font-size: .72rem; }
  .phones { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .trial { flex-direction: column; align-items: flex-start; padding: 24px; }
  .contact-form { padding: 24px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 36px 24px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .stat strong { font-size: 2rem; }
  .dive { margin-bottom: 70px; }
  .dive-num { font-size: 2.4rem; }
  .tab { padding: 10px 14px; }
  .gal-nav { opacity: 1; width: 38px; height: 38px; font-size: 1.4rem; }
}


/* ================================================================
   Keyboard band (compact)
   ================================================================ */
.kb-band { padding: 0 0 110px; }
.kb-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 40px 48px; border-radius: 28px;
  background: radial-gradient(500px 260px at 100% 0%, rgba(30, 144, 255, .45), transparent 60%), var(--night); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.kb-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 6px; }
.kb-copy p { margin: 0; }
.kb-keys { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.kb-key { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 78px; }
.kb-key span { color: #b8c5ea; font-size: .82rem; font-weight: 600; }
.kb-key kbd + kbd { margin-left: 4px; }
.kb-key:has(kbd + kbd) { flex-direction: row; flex-wrap: wrap; justify-content: center; max-width: 120px; }
.kb-key:has(kbd + kbd) span { width: 100%; text-align: center; }
kbd { display: inline-block; min-width: 50px; padding: 10px 12px; border-radius: 10px; background: linear-gradient(180deg, #fff, #dfe7f7); color: var(--navy); font-weight: 800; font-size: .95rem; text-align: center;
  box-shadow: 0 4px 0 #8fa3d1, 0 8px 16px -6px rgba(0, 0, 0, .6); transition: transform .12s, box-shadow .12s; }
.kb-key.press kbd { transform: translateY(4px); box-shadow: 0 0 0 #8fa3d1, 0 4px 10px -6px rgba(0, 0, 0, .6); background: linear-gradient(180deg, #e6f0ff, #c9dafc); }

/* ================================================================
   Gallery extras
   ================================================================ */
.shot-frame { position: relative; overflow: hidden; transition: height .5s cubic-bezier(.2, .8, .2, 1); background: #f3f6fb; }
.shot-frame img { width: 100%; }
.autoplay { height: 3px; background: var(--line); }
.autoplay span { display: block; height: 100%; width: 0; background: var(--grad); }
.fc-icon.violet { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }

/* ================================================================
   Animations
   ================================================================ */
/* Hero entrance */
.intro { opacity: 0; transform: translateY(24px); animation: introUp .9s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: var(--d, 0s); }
@keyframes introUp { to { opacity: 1; transform: none; } }
.hero-visual .window { animation: winIn 1.2s cubic-bezier(.2, .8, .2, 1) .25s backwards; }
@keyframes winIn { from { opacity: 0; transform: perspective(1600px) rotateY(-22deg) rotateX(8deg) translateY(60px) scale(.92); } }
.hero-visual .phone-hero { animation: phoneIn 1.1s cubic-bezier(.2, .8, .2, 1) .6s backwards; }
@keyframes phoneIn { from { opacity: 0; transform: translate(60px, 40px) rotate(6deg); } }
.hero-visual .float-card { animation: popIn .7s cubic-bezier(.3, 1.4, .5, 1) backwards, float 6s ease-in-out infinite; }
.hero-visual .fc-1 { animation-delay: 1s, 1.7s; }
.hero-visual .fc-2 { animation-delay: 1.2s, 1.9s; }
.hero-visual .fc-3 { animation-delay: 1.4s, 2.1s; }
@keyframes popIn { from { opacity: 0; transform: scale(.6) translateY(20px); } }
.depth { translate: var(--px, 0px) var(--py, 0px); transition: translate .25s ease-out; }
.hero-visual .tilt { transition: transform .25s ease-out; }

/* Shimmering gradient on the rotating word */
.rotator { background-size: 200% auto; background-image: linear-gradient(110deg, #60a5fa 0%, #22d3ee 35%, #a5f3fc 50%, #22d3ee 65%, #60a5fa 100%); animation: shimmer 4s linear infinite; }
@keyframes shimmer { to { background-position: -200% center; } }

/* Floating capsules in the hero */
.pill { position: absolute; width: 64px; height: 26px; border-radius: 999px; opacity: .55; background: linear-gradient(90deg, rgba(96, 165, 250, .9) 50%, rgba(255, 255, 255, .85) 50%); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); animation: pillFloat 14s ease-in-out infinite; }
.pill.p1 { top: 14%; left: 46%; transform: rotate(-25deg); animation-duration: 13s; }
.pill.p2 { top: 72%; left: 6%; width: 46px; height: 18px; background: linear-gradient(90deg, rgba(34, 211, 238, .9) 50%, rgba(255, 255, 255, .8) 50%); animation-duration: 16s; animation-delay: -4s; }
.pill.p3 { top: 8%; left: 88%; width: 40px; height: 16px; animation-duration: 12s; animation-delay: -7s; }
.pill.p4 { top: 86%; left: 58%; width: 54px; height: 22px; background: linear-gradient(90deg, rgba(167, 139, 250, .9) 50%, rgba(255, 255, 255, .8) 50%); animation-duration: 18s; animation-delay: -2s; }
.pill.p5 { top: 94%; left: 34%; width: 32px; height: 13px; opacity: .4; animation-duration: 11s; animation-delay: -9s; }
@keyframes pillFloat { 0%, 100% { transform: translate(0, 0) rotate(-25deg); } 33% { transform: translate(30px, -40px) rotate(20deg); } 66% { transform: translate(-20px, 25px) rotate(-60deg); } }
.cursor-glow { position: absolute; width: 520px; height: 520px; left: 0; top: 0; border-radius: 50%; background: radial-gradient(circle, rgba(56, 189, 248, .18), transparent 65%); transform: translate(-50%, -50%); opacity: 0; transition: opacity .4s; }
.hero:hover .cursor-glow { opacity: 1; }

/* Live notification ticker */
.fc-1 { min-width: 230px; }
.ticker { position: relative; height: 40px; width: 100%; overflow: hidden; }
.tick { position: absolute; inset: 0; display: flex; align-items: center; gap: 12px; opacity: 0; transform: translateY(100%); transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .5s; }
.tick.show { opacity: 1; transform: none; }
.tick.leave { opacity: 0; transform: translateY(-100%); }

/* Two-way marquee */
.marquee { display: grid; gap: 10px; }
.marquee-track.reverse { animation-direction: reverse; animation-duration: 60s; opacity: .85; }
.marquee:hover .marquee-track { animation-play-state: paused; }


/* Section heading accent grows in */
.section-head .kicker::before, .section-head .kicker::after { transition: width .8s cubic-bezier(.2, .8, .2, 1) .2s; }
.section-head.reveal:not(.in) .kicker::before, .section-head.reveal:not(.in) .kicker::after { width: 0; }

/* Card spotlight + tilt */
.spot { position: relative; isolation: isolate; }
.spot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(30, 144, 255, .10), transparent 45%); opacity: 0; transition: opacity .3s; }
.spot:hover::after { opacity: 1; }
.tilt-card { transform-style: preserve-3d; will-change: transform; }

/* Screenshot shine sweep when a feature image scrolls in */
.dive-media .window::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-110%); }
.dive.in .dive-media .window::after { animation: sweep 1.3s ease .5s; }
@keyframes sweep { to { transform: translateX(110%); } }
.dive-media { transition: transform .2s linear; }
.dive.in .dive-num { animation: numPop .8s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes numPop { from { transform: scale(.4); opacity: 0; } }
.dive.in .ticks li { animation: tickIn .5s ease both; }
.dive.in .ticks li:nth-child(1) { animation-delay: .25s; } .dive.in .ticks li:nth-child(2) { animation-delay: .32s; }
.dive.in .ticks li:nth-child(3) { animation-delay: .39s; } .dive.in .ticks li:nth-child(4) { animation-delay: .46s; }
.dive.in .ticks li:nth-child(5) { animation-delay: .53s; } .dive.in .ticks li:nth-child(6) { animation-delay: .6s; }
@keyframes tickIn { from { opacity: 0; transform: translateX(-14px); } }

/* Feature list items cascade in when a category is picked */
.feat-list ul.active li { animation: cascade .45s ease both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes cascade { from { opacity: 0; translate: 0 14px; scale: .97; } }

/* Phones: idle float in the gallery and the scan section */
.tab-panel.active .phone-fig { animation: cascade .6s ease both; animation-delay: calc(var(--i, 0) * 70ms); }
.phone-fig .phone { animation: idle 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -0.7s); }
@keyframes idle { 50% { translate: 0 -8px; } }
.phone-fig:hover .phone { animation-play-state: paused; }
.phones-pair .phone:nth-child(1) { animation: idle 7s ease-in-out infinite; }
.phones-pair .phone:nth-child(2) { animation: idle2 7s ease-in-out infinite -3s; }
@keyframes idle2 { 50% { translate: 0 -12px; } }

/* Stats: shine across the number */
.stat { position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stat::before { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1) .3s; }
.stat.in::before { transform: scaleX(1); }

/* Steps: connecting line draws in */
.steps-line { position: absolute; top: 56px; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg, #1257e0, #22d3ee); transform: scaleX(0); transform-origin: left; transition: transform 1.6s cubic-bezier(.2, .8, .2, 1) .3s; z-index: 0; list-style: none; }
.steps.in .steps-line { transform: scaleX(1); }
.step { position: relative; z-index: 1; backdrop-filter: blur(6px); }
.step-no { box-shadow: 0 0 0 0 rgba(34, 211, 238, .5); }
.step:hover .step-no { animation: ping 1.2s ease-out infinite; }
@keyframes ping { to { box-shadow: 0 0 0 14px rgba(34, 211, 238, 0); } }

/* Recommended plan: rotating glow border */
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.price.popular { border: 2px solid transparent; background: linear-gradient(170deg, var(--navy) 0%, #12307f 100%) padding-box, conic-gradient(from var(--ang), #1257e0, #22d3ee, #a78bfa, #1257e0) border-box; animation: spin 5s linear infinite; }
@keyframes spin { to { --ang: 360deg; } }

/* CTA band: moving gradient */
.cta-inner { background-size: 200% 200%; background-image: radial-gradient(500px 300px at 90% 0%, rgba(34, 211, 238, .45), transparent 60%), linear-gradient(120deg, #0b3bbf, #1e90ff, #0b3bbf); animation: bgMove 10s ease infinite; }
@keyframes bgMove { 50% { background-position: 100% 50%; } }

/* Button ripple */
.btn { position: relative; overflow: hidden; }
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255, 255, 255, .45); animation: ripple .6s ease-out; pointer-events: none; }
.btn-ghost .ripple { background: rgba(18, 87, 224, .2); }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* Icons wiggle on card hover */
.platform:hover .p-icon, .who:hover .who-icon, .sec:hover .v-icon { animation: wiggle .6s ease; }
@keyframes wiggle { 25% { transform: rotate(-8deg) scale(1.08); } 60% { transform: rotate(6deg) scale(1.08); } }
.sec { transition: transform .25s, box-shadow .25s; }
.sec:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }

/* Header slides away while scrolling down, back on scroll up */
.site-header { transition: transform .35s ease, border-color .2s, box-shadow .2s; }
.site-header.hide { transform: translateY(-100%); }

@media (prefers-reduced-motion: reduce) {
  .intro, .hero-visual .window, .hero-visual .phone-hero, .hero-visual .float-card, .pill, .rotator, .cta-inner, .price.popular,
  .phone-fig .phone, .phones-pair .phone, .feat-list ul.active li, .tab-panel.active .phone-fig { animation: none !important; opacity: 1; }
  .phones-pair .phone:nth-child(2) { transform: translateY(40px); }
}

@media (max-width: 1100px) {
  .kb-inner { flex-direction: column; align-items: flex-start; }
  .kb-keys { justify-content: flex-start; }
  .steps-line { display: none; }
}
@media (max-width: 640px) {
  .kb-band { padding-bottom: 76px; }
  .kb-inner { padding: 30px 22px; }
  .kb-keys { gap: 10px; }
  .kb-key { min-width: 60px; }
  kbd { min-width: 44px; padding: 8px 10px; font-size: .85rem; }
  .pill.p1, .pill.p4 { display: none; }
  .fc-1 { min-width: 200px; }
  .reveal.from-left.in, .reveal.from-right.in { animation-name: rvUp; }
}

/* Elements that both reveal on scroll and have their own looping animation */
.price.popular.in { animation: rvZoom .85s cubic-bezier(.2, .8, .2, 1) var(--stagger, 0s) both, spin 5s linear infinite; }
.cta-inner.in { animation: rvUp .85s cubic-bezier(.2, .8, .2, 1) both, bgMove 10s ease infinite; }

/* Form error shake */
.contact-form.shake { animation: shake .45s ease; }
@keyframes shake { 20%, 60% { translate: -8px 0; } 40%, 80% { translate: 8px 0; } }

@media (prefers-reduced-motion: reduce) {
  .price.popular.in, .cta-inner.in, .contact-form.shake { animation: none; }
}

/* Keep slide-in animations from widening the page */
main, .site-footer { overflow-x: clip; }
/* Buttons never shrink (their text must not be cut) */
.btn { flex-shrink: 0; }

/* Rotating hero word sits on its own line so the headline never re-wraps */
.hero h1 .rotator { white-space: nowrap; vertical-align: bottom; }
/* Plan feature lists stay packed at the top of each card */
.price .ticks { align-content: start; }

/* ---------- Phone refinements ---------- */
@media (max-width: 640px) {
  /* comparison: stacked cards instead of a sideways-scrolling table */
  .compare { border: 0; box-shadow: none; overflow: visible; }
  .compare table { min-width: 0; background: none; }
  .compare thead { display: none; }
  .compare tbody { display: grid; gap: 12px; }
  .compare tr { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
  .compare td { border: 0; padding: 12px 14px; font-size: .9rem; }
  .compare td:first-child { grid-column: 1 / -1; background: var(--tint); padding: 12px 14px; }
  .compare td[data-label]::before { content: attr(data-label); display: block; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
  .compare td.hl[data-label]::before { color: var(--blue); }
  /* thumbnails: one swipeable strip */
  .thumbs { display: flex; overflow-x: auto; gap: 10px; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
  .thumb { flex: 0 0 38%; scroll-snap-align: start; }
  /* feature list: two compact columns */
  .feat-list ul { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feat-list li { padding: 12px 10px 12px 38px; font-size: .84rem; line-height: 1.4; }
  .feat-list li::before { left: 11px; top: 13px; width: 18px; height: 18px; }
  .feat-list li::after { left: 17px; top: 16px; }
}

/* Rotating word: the gradient lives on the word itself (Chrome skips gradient text on a parent while a child animates) */
.hero h1 .rotator { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: inherit; animation: none; }
#rotate-word { background-image: linear-gradient(110deg, #60a5fa 0%, #22d3ee 35%, #a5f3fc 50%, #22d3ee 65%, #60a5fa 100%); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: shimmer 4s linear infinite; padding-bottom: .06em; }
/* Hero entrance only affects the element while it runs */
.intro { opacity: 1; transform: none; animation: introUp .9s cubic-bezier(.2, .8, .2, 1) var(--d, 0s) backwards; }
@keyframes introUp { from { opacity: 0; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) { #rotate-word { animation: none; } }

/* Sections focused after an in-page jump get no focus ring */
[tabindex="-1"]:focus { outline: none; }

/* Contact form spam trap: off-screen (not display:none, which many bots skip) */
.hp-field { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contact-form { position: relative; }
.form-safe { display: flex; align-items: center; justify-content: center; gap: 6px; margin: -4px 0 0; font-size: .8rem; color: var(--muted); }
.form-safe svg { width: 14px; height: 14px; color: #16a34a; }
.contact-form button[disabled] { opacity: .65; cursor: wait; }
