/* =========================================================
   Arkzari — brand tokens (from the official Brand Kit)
   ========================================================= */
:root {
  --cyan: #3DE0FF;
  --purple: #8B5CF6;
  --pink: #FF5CA8;
  --slate: #14141F;
  --mist: #F5F6FA;

  --bg: var(--slate);
  --bg-2: #1A1A28;
  --surface: rgba(255, 255, 255, .04);
  --border: rgba(255, 255, 255, .09);
  --text: var(--mist);
  --muted: #A6A8BA;           /* 7.6:1 on --bg */

  --gradient: linear-gradient(120deg, var(--cyan), var(--purple) 50%, var(--pink));
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 68px;
}

/* =========================================================
   Base (mobile-first)
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

h1, h2, h3 { font-weight: 600; letter-spacing: -.03em; line-height: 1.08; }
h1 { font-size: clamp(2.6rem, 9vw, 5.6rem); }
h2 { font-size: clamp(2rem, 6vw, 3.4rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; line-height: 1.3; }

.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1rem; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gradient-text--animated { background-size: 200% 100%; animation: gradient-shift 8s ease-in-out infinite alternate; }
@keyframes gradient-shift { to { background-position: 100% 0; } }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--mist); color: var(--slate); padding: .6rem 1rem; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.glass { background: rgba(255,255,255,.04); border: 1px solid var(--border); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.5rem; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: .98rem; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 40px; padding: .5rem 1.1rem; font-size: .9rem; }
.btn--light { background: var(--mist); color: var(--slate); }
.btn--light:hover { box-shadow: 0 0 0 4px rgba(245,246,250,.15); }
.btn--gradient { position: relative; color: var(--slate); background: var(--gradient); background-size: 160% 100%; background-position: 0 0; }
.btn--gradient:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 12px 40px -8px rgba(139,92,246,.7); }
.btn--glass { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: var(--text); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255,255,255,.11); transform: translateY(-2px); }
.btn--product { background: var(--p-accent); color: #062012; }
.btn--product:hover { transform: translateY(-2px); box-shadow: 0 12px 36px -10px var(--p-accent); }
.link { color: var(--p-accent-2, var(--cyan)); font-weight: 500; text-underline-offset: 4px; }
.link:hover { text-decoration: underline; }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(20,20,31,.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-color: var(--border); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: 1.3rem; letter-spacing: -.02em; }

.menu-btn { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; background: none; border: 0; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100dvh - var(--header-h)); overflow-y: auto;
  display: flex; flex-direction: column; gap: .25rem;
  padding: 16px 20px 32px; background: var(--bg); border-top: 1px solid var(--border);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.nav.is-open { opacity: 1; visibility: visible; transform: none; }
.nav a:not(.btn) { padding: .8rem .25rem; font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--border); transition: color .2s; }
.nav a:not(.btn):hover, .nav a.is-current { color: var(--text); }
.nav .btn { margin-top: 1rem; }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 48px) 0 72px; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__grid {
  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: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; will-change: transform; }
.orb--cyan { width: 420px; height: 420px; background: var(--cyan); top: 10%; left: -140px; opacity: .22; }
.orb--purple { width: 560px; height: 560px; background: var(--purple); top: -18%; right: -160px; }
.orb--pink { width: 380px; height: 380px; background: var(--pink); bottom: -120px; right: 18%; opacity: .2; }

.hero__inner { display: grid; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 500; color: var(--muted); background: rgba(255,255,255,.05); border: 1px solid var(--border); margin-bottom: 1.6rem; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gradient); box-shadow: 0 0 12px var(--purple); }
.hero h1 { max-width: 12ch; margin-bottom: 1.5rem; }
.hero__sub { font-size: clamp(1.05rem, 2.6vw, 1.25rem); color: var(--muted); max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.4rem; }

.hero__visual { position: relative; width: min(100%, 420px); aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; }
.hero__mark { position: relative; width: 52%; filter: drop-shadow(0 30px 50px rgba(139,92,246,.45)); animation: float 7s ease-in-out infinite; }
.hero__mark-glow { position: absolute; width: 60%; height: 60%; border-radius: 50%; background: var(--gradient); filter: blur(70px); opacity: .45; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); }
.ring--1 { inset: 18%; }
.ring--2 { inset: 6%; animation: spin 40s linear infinite; }
.ring--3 { inset: -4%; border-style: dashed; border-color: rgba(255,255,255,.06); animation: spin 70s linear infinite reverse; }
.node { position: absolute; width: 10px; height: 10px; border-radius: 50%; }
.node--c { top: 50%; left: -5px; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
.node--k { top: 12%; right: 12%; background: var(--pink); box-shadow: 0 0 16px var(--pink); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-14px); } }

/* =========================================================
   Sections
   ========================================================= */
.section { position: relative; padding: 96px 0; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--border); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 1.1rem; }
.section-head__sub { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }

/* =========================================================
   Product component (reusable)
   ========================================================= */
.product {
  --p-accent: var(--purple); --p-accent-2: var(--cyan); --p-bg: var(--bg-2);
  position: relative; overflow: hidden; overflow: clip; isolation: isolate;
  display: grid; gap: 48px; padding: 32px 22px;
  border-radius: 28px; border: 1px solid var(--border);
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--p-accent) 14%, transparent), transparent 60%), var(--p-bg);
}
.product + .product { margin-top: 28px; }
.product__glow { position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -20%; bottom: -30%; border-radius: 50%; background: var(--p-accent); filter: blur(140px); opacity: .18; }
.product__category { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--p-accent-2); margin: 1.2rem 0 .9rem; }
.product__title { font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: .9rem; }
.product__desc { color: var(--muted); font-size: 1.05rem; max-width: 56ch; }
.product__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 2rem; }

.gc-logo { line-height: 0; }
.gc-logo img { width: clamp(220px, 60vw, 320px); height: auto; }
.gc-leaf { width: 1.3em; height: 1.3em; object-fit: contain; }

.features { list-style: none; display: grid; gap: 18px; margin-top: 2rem; }
.features li { display: flex; gap: 14px; align-items: flex-start; }
.features__icon {
  width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; color: var(--p-accent);
  background: color-mix(in srgb, var(--p-accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--p-accent) 30%, transparent);
}
.features strong { display: block; font-weight: 600; }
.features span { color: var(--muted); font-size: .95rem; }

/* Devices mockup — sized with container query units so it scales on any screen */
.product__visual { min-width: 0; }
.devices { container-type: inline-size; position: relative; padding-bottom: 6cqw; }
.laptop { width: 88%; }
.laptop__screen { background: #0c0c12; border: 1.2cqw solid #2a2b33; border-bottom-width: 1.6cqw; border-radius: 2.2cqw 2.2cqw 0 0; overflow: hidden; box-shadow: 0 4cqw 8cqw -2cqw rgba(0,0,0,.6); }
.laptop__base { height: 2.2cqw; margin: 0 -6%; background: linear-gradient(#3a3b44, #1d1e24); border-radius: 0 0 2.4cqw 2.4cqw; }

.app { display: grid; grid-template-columns: 22% 1fr; aspect-ratio: 16 / 10; font-size: 1.15cqw; color: #1b2a20; }
.app__side { background: #0E3A22; color: #d6efdc; padding: 1.6em 1em; display: flex; flex-direction: column; gap: .35em; }
.app__brand { display: flex; align-items: center; gap: .4em; font-weight: 700; font-size: 1.2em; color: #fff; margin-bottom: 1.4em; }
.app__side span { padding: .55em .8em; border-radius: .6em; }
.app__side .is-active { background: #1E6B3A; color: #fff; font-weight: 600; }
.app__main { background: #F3F5F3; padding: 1.6em; display: grid; gap: 1.1em; align-content: start; }
.app__top { display: flex; justify-content: space-between; align-items: start; }
.app__top b { display: block; font-size: 1.7em; letter-spacing: -.02em; }
.app__top small { color: #5f6b63; }
.app__avatar { font-style: normal; width: 2.4em; height: 2.4em; border-radius: 50%; display: grid; place-items: center; background: #1E8A45; color: #fff; font-weight: 700; }
.app__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; }
.app__stats > div, .app__card { background: #fff; border-radius: .9em; padding: 1em 1.1em; box-shadow: 0 .2em .8em rgba(0,0,0,.05); }
.app__stats b { display: block; font-size: 2em; letter-spacing: -.03em; }
.app__stats small { color: #3b4a40; }
.app__stats em { display: block; font-style: normal; font-size: .85em; color: #1E8A45; }
.app__row { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1em; }
.app__label { display: block; font-weight: 600; margin-bottom: .8em; }
.app__card:first-child { display: grid; grid-template-columns: auto 1fr; column-gap: 1.2em; align-items: center; }
.app__card:first-child .app__label { grid-column: 1 / -1; }
.donut { position: relative; width: 6.5em; aspect-ratio: 1; display: grid; place-items: center; }
.donut::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(#1E8A45 0 94%, #8BE38A 94% 98%, #e3e7e4 98%); -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%); mask: radial-gradient(circle, transparent 54%, #000 55%); }
.donut span { font-weight: 700; font-size: 1.4em; }
.legend { list-style: none; display: grid; gap: .5em; font-size: .95em; }
.legend i { display: inline-block; width: .7em; height: .7em; border-radius: 50%; margin-right: .5em; background: #1E8A45; }
.legend li:nth-child(2) i { background: #8BE38A; }
.legend li:nth-child(3) i { background: #d5dbd7; }
.bars { height: 6.5em; display: grid; grid-template-columns: repeat(7, 1fr); gap: .8em; align-items: end; }
.bars i { height: var(--h); border-radius: .3em .3em 0 0; background: linear-gradient(#4CC94A, #1E8A45); transform-origin: bottom; }
.bars__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: .8em; text-align: center; font-size: .85em; color: #5f6b63; margin-top: .4em; }
.task { display: flex; align-items: center; gap: .7em; }
.task i { width: 1.1em; height: 1.1em; border: .12em solid #b9c2bc; border-radius: .25em; }
.task em { margin-left: auto; font-style: normal; font-weight: 600; font-size: .9em; color: #1E6B3A; background: #DDF5DF; padding: .25em .9em; border-radius: 999px; }

.phone { position: absolute; right: 0; bottom: 0; width: 27%; aspect-ratio: 9 / 19; padding: 1cqw; background: #1b1c22; border-radius: 4.4cqw; box-shadow: 0 3cqw 6cqw -1cqw rgba(0,0,0,.7), inset 0 0 0 .3cqw #3a3b44; }
.phone__screen { height: 100%; border-radius: 3.5cqw; overflow: hidden; background: #F3F5F3; display: flex; flex-direction: column; font-size: 1.3cqw; color: #1b2a20; }
.phone__head { display: flex; align-items: center; gap: .4em; padding: 3.2em 1.2em 1.2em; background: #0E3A22; color: #fff; font-weight: 700; font-size: 1.05em; }
.phone__body { flex: 1; padding: 1.2em; display: grid; gap: .8em; align-content: start; }
.phone__body > b { font-size: 1.15em; margin-bottom: .2em; }
.ptask { display: flex; align-items: center; gap: .6em; background: #fff; border-radius: .7em; padding: .9em .8em; font-size: .85em; font-weight: 500; }
.ptask i { width: 1.2em; height: 1.2em; flex-shrink: 0; border: .12em solid #b9c2bc; border-radius: .3em; }
.ptask.is-done i { background: #1E8A45; border-color: #1E8A45; }
.phone__tabs { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; font-size: .75em; color: #6b776f; padding: 1em .4em 1.6em; background: #fff; }
.phone__tabs .is-active { color: #1E8A45; font-weight: 700; }

/* MaidTempo */
.product__lead { font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; margin-bottom: .9rem; }
.product__note { margin-top: 14px; text-align: right; font-size: .8rem; color: var(--muted); }
.mt-logo { display: inline-flex; align-items: center; gap: .6rem; font-size: clamp(2rem, 6vw, 2.8rem); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.mt-logo__icon { display: inline-grid; place-items: center; width: 1.05em; height: 1.05em; border-radius: 26%; background: linear-gradient(135deg, #9F6BFF, #6D28D9); flex-shrink: 0; }
.mt-logo__icon::after { content: ""; width: 50%; height: 50%; border-radius: 50%; border: .09em solid #fff; }
.btn--product { color: var(--btn-ink, #062012); }

.browser { background: #fff; border-radius: 1.6cqw; overflow: hidden; box-shadow: 0 4cqw 8cqw -2cqw rgba(0,0,0,.6); }
.browser__bar { display: flex; gap: .7cqw; padding: 1.2cqw 1.4cqw; background: #F1F1F4; border-bottom: 1px solid #e4e4ea; }
.browser__bar i { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: #d4d4dc; }
.mt-app { display: grid; grid-template-columns: 17% 1fr; aspect-ratio: 16 / 10.4; font-size: 1.05cqw; color: #1d1b2b; background: #fff; }
.mt-app__side { border-right: 1px solid #ececf2; padding: 1.4em .9em; display: flex; flex-direction: column; gap: .3em; color: #3b3950; }
.mt-app__brand { display: flex; align-items: center; gap: .45em; font-weight: 700; font-size: 1.15em; color: #1d1b2b; margin-bottom: 1.2em; }
.mt-app__side > span { padding: .5em .7em; border-radius: .5em; }
.mt-app__side .is-active { background: #EFE9FF; color: #5B21B6; font-weight: 600; }
.mt-app__main { padding: 1.3em 1.4em; display: grid; gap: .9em; align-content: start; background: #FAFAFC; }
.mt-app__top b { display: block; font-size: 1.5em; letter-spacing: -.02em; }
.mt-app__top small { color: #6b6880; font-size: .85em; }
.mt-app__top em { font-style: normal; color: #16a34a; }
.mt-app__top u { text-decoration: none; background: #EFE9FF; color: #6D28D9; padding: .1em .5em; border-radius: 999px; }
.mt-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6em; }
.mt-stats > div, .mt-card { background: #fff; border: 1px solid #ececf2; border-radius: .7em; padding: .7em .8em; }
.mt-stats small { display: block; color: #6b6880; font-size: .8em; }
.mt-stats b { font-size: 1.5em; letter-spacing: -.02em; }
.mt-stats .is-late { color: #dc2626; }
.mt-row { display: grid; grid-template-columns: 1.25fr 1fr; gap: .7em; }
.mt-label { display: block; font-weight: 600; margin-bottom: .7em; }
.tl { display: grid; grid-template-columns: 3.6em 1fr; align-items: center; gap: .5em; margin-bottom: .55em; font-size: .85em; color: #6b6880; }
.tl > div { position: relative; height: 1.7em; background: #F3F3F7; border-radius: .4em; }
.tl i { position: absolute; top: 0; bottom: 0; border-radius: .4em; font-style: normal; font-size: .85em; color: #fff; padding: .35em .5em; white-space: nowrap; overflow: hidden; transform-origin: left; }
.tl--g { background: #16803c; } .tl--p { background: #7C3AED; } .tl--r { background: #dc2626; } .tl--b { background: #2563EB; } .tl--x { background: #a1a1aa; }
.alert { border-left: .25em solid; border-radius: .4em; padding: .45em .6em; margin-bottom: .45em; font-size: .78em; color: #4b4860; line-height: 1.35; }
.alert b { display: block; color: #1d1b2b; }
.alert--r { border-color: #dc2626; background: #FEF1F1; }
.alert--y { border-color: #d97706; background: #FFF8EB; }
.mt-tr { display: grid; grid-template-columns: 1fr 1.5fr 1.3fr auto; gap: .6em; align-items: center; padding: .45em 0; border-top: 1px solid #f0f0f4; font-size: .88em; }
.st { font-style: normal; font-size: .8em; font-weight: 600; padding: .2em .7em; border-radius: 999px; background: #F1F1F4; color: #52505f; white-space: nowrap; }
.st--done { background: #DCFCE7; color: #15803d; }
.st--prog { background: #EFE9FF; color: #6D28D9; }
.st--late { background: #FEE2E2; color: #b91c1c; }
.st--route { background: #DBEAFE; color: #1d4ed8; }

.mt-phone { background: #fff; color: #1d1b2b; }
.mt-phone__head { display: flex; align-items: center; gap: .45em; padding: 3.2em 1.1em 1em; font-weight: 700; font-size: 1.05em; }
.mt-phone__alert { margin: 0 1em; padding: .7em .8em; border-radius: .6em; background: #FEF1F1; border-left: .25em solid #dc2626; font-size: .78em; font-weight: 600; }
.mt-phone__body { padding: 1em; display: grid; gap: .55em; }
.mt-phone__body small { font-size: .7em; font-weight: 700; color: #6b6880; letter-spacing: .05em; margin-top: .3em; }
.mjob { display: flex; align-items: center; gap: .6em; border: 1px solid #ececf2; border-radius: .6em; padding: .7em; font-size: .8em; color: #6b6880; }
.mjob b { display: block; color: #1d1b2b; }
.mjob .st { font-size: .75em; }

.product.reveal .tl i { transform: scaleX(0); transition: transform .9s var(--ease) .7s; }
.product.is-visible .tl i { transform: none; }

/* Product entrance animation */
.product.reveal .laptop { transform: translateY(30px) scale(.97); opacity: 0; transition: transform 1s var(--ease) .15s, opacity 1s var(--ease) .15s; }
.product.reveal .phone { transform: translate(20px, 40px); opacity: 0; transition: transform 1s var(--ease) .4s, opacity 1s var(--ease) .4s; }
.product.reveal .bars i { transform: scaleY(0); transition: transform .8s var(--ease); }
.product.is-visible .laptop, .product.is-visible .phone { transform: none; opacity: 1; }
.product.is-visible .bars i { transform: scaleY(1); }
.product.is-visible .bars i:nth-child(n) { transition-delay: calc(.6s + var(--i, 0) * 60ms); }

/* =========================================================
   Technology cards
   ========================================================= */
.tech-grid { display: grid; gap: 16px; }
.tech-card {
  position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, background-color .35s;
}
.tech-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--gradient); opacity: 0; transition: opacity .35s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.tech-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.06); }
.tech-card:hover::before { opacity: .8; }
.tech-card__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; margin-bottom: 1.4rem; background: rgba(139,92,246,.14); border: 1px solid rgba(139,92,246,.3); color: var(--cyan); font-size: 1.2rem; }
.tech-card h3 { margin-bottom: .5rem; }
.tech-card p { color: var(--muted); font-size: .97rem; }

/* =========================================================
   About
   ========================================================= */
.about { display: grid; gap: 48px; align-items: center; }
.about__visual { position: relative; display: grid; place-items: center; width: min(100%, 320px); aspect-ratio: 1; margin-inline: auto; border-radius: 32px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.about__visual img { position: relative; width: 50%; }
.about__glow { position: absolute; inset: 20%; border-radius: 50%; background: var(--gradient); filter: blur(60px); opacity: .35; }
.about h2 { margin-bottom: 1.4rem; }
.about__text { font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.pillars { list-style: none; display: grid; gap: 14px; margin-top: 2.4rem; }
.pillars li { padding: 18px 20px; border-left: 2px solid; border-image: var(--gradient) 1; background: var(--surface); }
.pillars b { display: block; font-weight: 600; }
.pillars span { color: var(--muted); font-size: .95rem; }

/* =========================================================
   Contact
   ========================================================= */
.contact { display: grid; gap: 40px; align-items: start; }
.form { padding: 28px 22px; border-radius: 24px; display: grid; gap: 18px; }
.form__row { display: grid; gap: 8px; }
.form label { font-size: .9rem; font-weight: 500; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; min-height: 48px; padding: .8rem 1rem; border-radius: 12px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(20,20,31,.6); transition: border-color .2s, box-shadow .2s; font-size: 1rem;
}
.form select option { background: var(--slate); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(139,92,246,.25); }
.form [aria-invalid="true"] { border-color: var(--pink); }
.form__error { color: #FF9CC9; font-size: .92rem; }
.form .btn { justify-self: start; }

/* =========================================================
   Footer
   ========================================================= */
.footer { padding: 64px 0 32px; border-top: 1px solid var(--border); }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; }
.footer__brand { grid-column: 1 / -1; }
.footer__brand p { color: var(--muted); margin-top: .7rem; }
.footer nav { display: grid; gap: .55rem; align-content: start; }
.footer h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--text); margin-bottom: .4rem; }
.footer nav a { color: var(--muted); font-size: .95rem; transition: color .2s; width: fit-content; }
.footer nav a:hover { color: var(--text); }
.footer__copy { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: .88rem; }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.product.reveal { transform: translateY(32px); }

/* Hero animates on load (not on scroll) so the headline appears immediately */
.hero .reveal { opacity: 1; transform: none; transition: none; animation: rise .9s var(--ease) both; }
.hero .reveal:nth-child(2) { animation-delay: .08s; }
.hero .reveal:nth-child(3) { animation-delay: .16s; }
.hero .reveal:nth-child(4) { animation-delay: .24s; }
.hero__visual.reveal { animation: rise-scale 1.2s var(--ease) .2s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes rise-scale { from { opacity: 0; transform: scale(.92); } }

/* =========================================================
   Breakpoints
   ========================================================= */
@media (min-width: 640px) {
  .container { width: min(1200px, 100% - 64px); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .product { padding: 48px 40px; }
  .form { padding: 36px; }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
}

@media (min-width: 960px) {
  .menu-btn { display: none; }
  .nav { position: static; height: auto; overflow: visible; flex-direction: row; align-items: center; gap: 2rem; padding: 0; background: none; border: 0; opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 0; border: 0; font-size: .95rem; }
  .nav .btn { margin: 0 0 0 .5rem; }

  .hero__inner { grid-template-columns: 1.15fr .85fr; }
  .hero__visual { width: 100%; max-width: 480px; }

  .section { padding: 140px 0; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }

  .product { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 56px; padding: 64px 56px; }
  .product--reverse { grid-template-columns: 1.1fr .9fr; }
  .product--reverse .product__info { order: 2; }

  .about { grid-template-columns: .8fr 1.2fr; gap: 80px; }
  .about__visual { max-width: none; }
  .pillars { grid-template-columns: repeat(3, 1fr); }

  .contact { grid-template-columns: 1fr 1fr; gap: 80px; }
}

@media (min-width: 1600px) {
  .container { width: min(1360px, 100% - 128px); }
  html { font-size: 17px; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal, .product.reveal .laptop, .product.reveal .phone, .product.reveal .bars i, .product.reveal .tl i { opacity: 1; transform: none; }
}

/* Solid header while the mobile menu is open */
.header:has(.nav.is-open) { background: var(--bg); border-color: var(--border); }

/* =========================================================
   Legal pages (Privacy Policy, Terms of Service)
   ========================================================= */
.legal { padding: calc(var(--header-h) + 64px) 0 96px; }
.legal__inner { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin-bottom: .6rem; }
.legal__date { color: var(--muted); font-size: .95rem; margin-bottom: 2.4rem; }
.legal h2 { font-size: clamp(1.25rem, 3vw, 1.5rem); margin: 2.6rem 0 .9rem; letter-spacing: -.02em; }
.legal h3 { font-size: 1.05rem; margin: 1.6rem 0 .5rem; }
.legal p, .legal li { color: #C9CBD8; font-size: 1.02rem; line-height: 1.75; }
.legal p + p { margin-top: 1rem; }
.legal ul { margin: .9rem 0 0 1.2rem; display: grid; gap: .55rem; }
.legal li::marker { color: var(--purple); }
.legal strong { color: var(--text); font-weight: 600; }
.legal a:not(.btn) { color: var(--cyan); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal a:not(.btn):hover { text-decoration-thickness: 2px; }

.footer--simple { padding: 32px 0; }
.footer__inner-simple { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; color: var(--muted); font-size: .9rem; }
.footer__inner-simple nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__inner-simple a { color: var(--muted); }
.footer__inner-simple a:hover, .footer__inner-simple a[aria-current] { color: var(--text); }

/* Contact form: honeypot, note, sending state, success */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form__note { font-size: .85rem; color: var(--muted); }
.form__note a, .form__error a { color: var(--cyan); text-underline-offset: 3px; text-decoration: underline; }
.form .btn[disabled] { opacity: .7; cursor: progress; transform: none; box-shadow: none; }
.form__success { text-align: left; align-content: start; }
.form__success:focus { outline: none; }
.form__success-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; font-weight: 700; color: var(--slate); background: var(--gradient); }
.form__success h3 { font-size: 1.5rem; }
.form__success p { color: var(--muted); }
.form__success .btn { justify-self: start; }

/* Keep square marks square (width set in %, height from aspect ratio) */
.hero__mark, .about__visual img { height: auto; aspect-ratio: 1; }
