/* ITCOM Braslet landing: dark, logo colours, the band animated. */
html:has(body.landing), body.landing { overflow-x: clip; }
.landing section { border-top: 0; padding: 88px 0; position: relative; }
.landing h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -1px; margin-bottom: 12px; }
.landing .lead { font-size: 17px; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--brand); font-weight: 700; margin-bottom: 14px; padding: 6px 12px; border-radius: 99px; background: rgba(10, 182, 228, .1); border: 1px solid rgba(10, 182, 228, .25); }
.btn.big { padding: 16px 24px; font-size: 16px; border-radius: 14px; }
.btn:not(.ghost) { background: linear-gradient(90deg, #0ab6e4, #2f86e8 55%, #7d4deb); color: #fff; box-shadow: 0 10px 30px -10px rgba(10, 182, 228, .6); }
.btn:not(.ghost):hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn { transition: transform .2s, filter .2s, background .2s; }
.btn.ghost:hover { background: rgba(255, 255, 255, .05); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: rgba(5, 6, 10, .72); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.nav-row { display: flex; align-items: center; gap: 20px; padding: 14px 0; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }

/* hero */
.landing .hero { display: block; padding: 60px 0 40px !important; overflow: hidden; }
.hero-row { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.02; letter-spacing: -2px; margin-bottom: 20px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #0ab6e4, #2f86e8, #7d4deb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-text p { color: var(--muted); font-size: 18px; max-width: 560px; margin-bottom: 28px; }
.chips { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.chips li { padding: 8px 14px; border-radius: 99px; background: var(--raise); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none; }
.glow.g1 { width: 520px; height: 520px; background: #0ab6e4; right: -120px; top: -80px; opacity: .22; animation: drift 14s ease-in-out infinite alternate; }
.glow.g2 { width: 460px; height: 460px; background: #7d4deb; right: 220px; bottom: -200px; opacity: .25; animation: drift 18s ease-in-out infinite alternate-reverse; }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); pointer-events: none; }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.1); } }

.hero-visual { position: relative; height: 560px; display: grid; place-items: center; }
.hero-band { width: 380px; height: 380px; filter: drop-shadow(0 30px 60px rgba(10, 182, 228, .35)); animation: float 6s ease-in-out infinite; position: relative; z-index: 2; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-16px) rotate(3deg); } }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(10, 182, 228, .25); animation: ripple 3.6s ease-out infinite; }
.ring.r1 { width: 300px; height: 300px; }
.ring.r2 { width: 300px; height: 300px; animation-delay: 1.2s; border-color: rgba(123, 63, 228, .3); }
.ring.r3 { width: 300px; height: 300px; animation-delay: 2.4s; }
@keyframes ripple { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }

/* the heartbeat drawn along the module */
.ecg { stroke-dasharray: 34 66; animation: ecg 1.6s linear infinite; filter: drop-shadow(0 0 6px rgba(47, 211, 160, .9)); }
@keyframes ecg { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.led { animation: led 1.6s ease-in-out infinite; }
@keyframes led { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

.float { position: absolute; z-index: 3; display: flex; align-items: baseline; gap: 6px; padding: 12px 16px; border-radius: 16px; background: rgba(13, 17, 24, .82); border: 1px solid rgba(255, 255, 255, .09); backdrop-filter: blur(10px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); animation: bob 5s ease-in-out infinite; }
.float b { font-size: 22px; }
.float small { color: var(--muted); }
.float .k { font-size: 18px; }
.float.f1 { left: 0; top: 16%; } .float.f2 { right: -2%; top: 24%; animation-delay: -1.2s; }
.float.f3 { left: 0; bottom: 18%; animation-delay: -2.4s; } .float.f4 { right: 0; bottom: 8%; animation-delay: -3.6s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #080b12; }
.marquee .track { display: flex; gap: 48px; width: max-content; padding: 18px 0; animation: marquee 38s linear infinite; }
.marquee span { font-weight: 700; color: var(--muted); white-space: nowrap; font-size: 15px; }
.marquee span::before { content: '◆'; color: var(--brand); margin-right: 12px; font-size: 10px; vertical-align: 2px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* phones */
.phones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 40px; perspective: 1200px; }
.phone-frame { margin: 0; padding: 10px; border-radius: 38px; background: linear-gradient(160deg, #222a38, #0b0e15); border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(10, 182, 228, .08); transform: rotate(var(--tilt)) translateY(0); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.phone-frame:hover { transform: rotate(0) translateY(-12px) scale(1.03); }
.phone-frame img { width: 100%; height: auto; display: block; border-radius: 28px; }
.phone-frame figcaption { text-align: center; color: var(--muted); font-weight: 700; padding-top: 12px; font-size: 14px; }
.note { color: var(--muted); font-size: 12px; text-align: center; margin-top: 22px; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.feature { position: relative; padding: 24px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: transform .3s, border-color .3s; }
.feature::after { content: ''; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: var(--c, #0ab6e4); filter: blur(70px); opacity: .0; transition: opacity .4s; }
.feature:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .15); }
.feature:hover::after { opacity: .22; }
.feature i { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-style: normal; font-size: 22px; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); margin-bottom: 14px; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15px; position: relative; z-index: 1; }

/* team */
.team { background: radial-gradient(800px 400px at 50% 0%, rgba(10, 182, 228, .08), transparent 70%); }
.band-row { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 36px; }
.member { display: grid; justify-items: center; gap: 6px; }
.member .mini { width: 120px; height: 120px; animation: beat var(--beat) ease-in-out infinite; filter: drop-shadow(0 14px 24px rgba(10, 182, 228, .25)); }
.member .mini .ecg, .member .mini .led { animation-duration: calc(var(--beat) * 2); }
.member b { font-size: 26px; }
.member b::after { content: ' bpm'; font-size: 13px; color: var(--muted); font-weight: 600; }
.member span { color: var(--muted); font-size: 13px; font-weight: 600; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.07); } 30% { transform: scale(.98); } 45% { transform: scale(1.04); } }
.team-line { margin: 30px auto 0; max-width: 900px; height: 80px; }
.team-line svg { width: 100%; height: 100%; }
.team-ecg { fill: none; stroke: url(#g-pulse); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 4s ease-in-out infinite; filter: drop-shadow(0 0 6px rgba(47, 211, 160, .6)); }
@keyframes draw { 0% { stroke-dashoffset: 1400; } 60%, 100% { stroke-dashoffset: 0; } }
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.step { padding: 24px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); }
.step span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-weight: 800; color: #fff; background: linear-gradient(135deg, #0ab6e4, #7d4deb); margin-bottom: 12px; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* community */
.community-row { display: grid; grid-template-columns: .7fr 1.3fr; gap: 50px; align-items: center; }
.community-logo { width: 100%; max-width: 300px; height: auto; display: block; margin: 0 auto; filter: drop-shadow(0 30px 50px rgba(10, 182, 228, .3)); animation: float 7s ease-in-out infinite; }
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.counters div { padding: 18px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.counters b { display: block; font-size: 30px; font-weight: 800; background: linear-gradient(90deg, #0ab6e4, #7d4deb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.counters span { color: var(--muted); font-size: 13px; }
.programs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.programs li { padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink); font-size: 14px; background: rgba(255, 255, 255, .02); }

/* privacy + cta */
.privacy-card { padding: 32px; border-radius: 26px; background: linear-gradient(135deg, rgba(10, 182, 228, .08), rgba(123, 63, 228, .08)); border: 1px solid var(--line); }
.privacy-card p { color: var(--muted); font-size: 16px; max-width: 900px; }
.cta-row { display: flex; align-items: center; gap: 30px; padding: 34px; border-radius: 30px; background: var(--panel); border: 1px solid var(--line); }
.cta-band { width: 150px; height: 150px; flex: none; animation: float 6s ease-in-out infinite; }
.cta h2 { margin-bottom: 18px; }

/* reveal on scroll */
/* Only with the script running: without it (or for crawlers) everything is visible. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.shown { opacity: 1; transform: none; }
.js .phone-frame.reveal.shown { transform: rotate(var(--tilt)); }
.js .phone-frame.reveal.shown:hover { transform: rotate(0) translateY(-12px) scale(1.03); }

@media (max-width: 960px) {
  .hero-row, .community-row { grid-template-columns: 1fr; }
  .hero-visual { height: 420px; }
  .hero-band { width: 280px; height: 280px; }
  .phones { grid-template-columns: repeat(2, 1fr); }
  .features, .steps-row { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 620px) {
  .landing section { padding: 64px 0; }
  .features, .steps-row, .counters { grid-template-columns: 1fr; }
  .phones { gap: 14px; }
  .float b { font-size: 17px; }
  .float { padding: 9px 12px; }
  .cta-row { flex-direction: column; text-align: center; }
  .cta-row .actions { justify-content: center; }
  .nav .btn.ghost { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.apk-note { color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 16px; max-width: 560px; }
.apk-note a { color: var(--brand); }
.apk-updated { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 12px; border-radius: 999px; font-size: 13px; color: var(--muted); background: rgba(47, 211, 160, 0.08); border: 1px solid rgba(47, 211, 160, 0.25); }
.apk-updated[hidden] { display: none; }
.apk-updated::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #2FD3A0; box-shadow: 0 0 8px #2FD3A0; }
.apk-updated b { color: var(--ink, #fff); font-weight: 700; }

/* The IT Community logo in the hero: a little smaller than the old band so the floating cards stay clear. */
.hero-logo { width: 320px; height: 320px; }
@media (max-width: 760px) { .hero-logo { width: 240px; height: 240px; } }
