/* ArdhSolutions website, second pass: smaller hero text that types itself, stat boxes, hero carousel dots,
   personal / organization pricing, the scroll-to-top button, section motion, privacy page, phone layouts. */

/* ------------------------------------------------------------------ hero text */
.gk-hero h1 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.16; letter-spacing: -.02em; margin: 16px 0 14px; }
.gk-hero h1 .rot { display: block; min-height: 1.25em; font-style: normal; background: linear-gradient(90deg, var(--gk-cyan), var(--gk-green2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gk-hero h1 .rot .caret { display: inline-block; width: 3px; height: .95em; margin-inline-start: 4px; vertical-align: -.1em; border-radius: 2px; background: var(--gk-cyan); animation: caretBlink 1s steps(2) infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }
.hero-seq { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.hero-seq li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--gk-muted); opacity: 0; transform: translateX(-14px); animation: seqIn .6s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(.5s + var(--i) * .55s); }
[dir="rtl"] .hero-seq li { transform: translateX(14px); }
.hero-seq b { color: #fff; font-weight: 700; }
.hero-seq i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent), 0 0 14px var(--c); }
@keyframes seqIn { to { opacity: 1; transform: none; } }
.gk-hero .lead { font-size: 15px; line-height: 1.6; max-width: 56ch; opacity: 0; animation: seqIn .7s ease forwards; animation-delay: 2.3s; }
.gk-hero .gk-badge, .gk-hero .gk-cta, .gk-hero .gk-note { animation: seqIn .7s ease both; }
@media (prefers-reduced-motion: reduce) { .hero-seq li, .gk-hero .lead { opacity: 1; transform: none; animation: none; } }

/* ------------------------------------------------------------------ stat boxes */
.gk-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.gk-stats div { position: relative; overflow: hidden; padding: 14px 16px 13px; border-radius: 16px; border: 1px solid var(--gk-line); background: linear-gradient(160deg, rgba(224, 200, 138, .07), rgba(255, 255, 255, .015)); transition: transform .25s, border-color .25s; }
.gk-stats div::after { content: ""; position: absolute; inset-inline-end: -18px; top: -18px; width: 62px; height: 62px; border-radius: 50%; background: radial-gradient(circle, rgba(224, 200, 138, .22), transparent 70%); }
.gk-stats div:hover { transform: translateY(-3px); border-color: rgba(224, 200, 138, .5); }
.gk-stats b { font-size: 26px; letter-spacing: -.02em; background: linear-gradient(90deg, #fff, var(--gk-cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gk-stats span { display: block; margin-top: 2px; font-size: 12px; line-height: 1.3; }
@media (max-width: 960px) { .gk-stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gk-stats { grid-template-columns: repeat(2, 1fr); } .gk-stats b { font-size: 22px; } }

/* ------------------------------------------------------------------ hero monitor carousel */
.mon-chips { display: none; }
.mon-chips.on { display: contents; }
.mon-chips.on .chip { animation: chipIn .6s ease both, chipFloat 6s ease-in-out .6s infinite; }
@keyframes chipIn { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes chipFloat { 50% { transform: translateY(-5px); } }
.hero-dots { display: flex; justify-content: center; gap: 8px; padding: 10px 0 2px; }
.hero-dots button { position: relative; width: 30px; height: 8px; padding: 0; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .16); cursor: pointer; overflow: hidden; transition: background .2s, width .3s; }
.hero-dots button::after { content: ""; position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--gk-cyan2), var(--gk-green2)); }
[dir="rtl"] .hero-dots button::after { transform-origin: right; }
.hero-dots button.on { width: 46px; }
.hero-dots button.on::after { animation: dotFill 10s linear forwards; }
.hero-dots button:hover { background: rgba(255, 255, 255, .28); }
.hero-dots button:focus-visible { outline: 2px solid var(--gk-cyan); outline-offset: 2px; }
@keyframes dotFill { to { transform: scaleX(1); } }
.hero-dots button { min-height: 8px; }
@media (hover: none) { .hero-dots button { height: 10px; } }

/* ------------------------------------------------------------------ LardhGIS "in action" circles */
.gk-show .mode-card.gp { --mc: #0e9f84; --mc-soft: rgba(14, 159, 132, .2); }
.gk-show .mode-card.ai { --mc: #d97706; --mc-soft: rgba(245, 158, 11, .2); }
.gk-show .mode-card.rain { --mc: #2563eb; --mc-soft: rgba(37, 99, 235, .2); }
.gk-show .home-sec.tech.t-gis b::before { background: linear-gradient(90deg, #0e9f84, #bda062); }
.mode-card.gp .mode-scene { --scene-bg: linear-gradient(#ecfdf5, #d1fae5); }
.mode-card.ai .mode-scene { --scene-bg: linear-gradient(#fffbeb, #fde68a); }
.mode-card.rain .mode-scene { --scene-bg: linear-gradient(#dbeafe, #bfdbfe); }

/* ------------------------------------------------------------------ pricing: personal / organizations */
.price-groups { display: grid; grid-template-columns: 2fr 1fr; gap: 26px; max-width: 1120px; margin: 34px auto 0; align-items: stretch; }
.price-group > h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 13px; letter-spacing: .09em; text-transform: uppercase; color: var(--gk-cyan); }
.price-group > h3::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--gk-line2), transparent); }
[dir="rtl"] .price-group > h3 { letter-spacing: 0; }
.price-group { display: flex; flex-direction: column; }
.price-group .gk-prices { margin: 0; max-width: none; grid-template-columns: 1fr 1fr; flex: 1; }
.price-group.org .gk-prices { grid-template-columns: 1fr; }
.gk-price .lim { color: #fda4af; }
.gk-price li.no .ic { color: #fb7185; }
.gk-price .amount.quote b { font-size: 28px; letter-spacing: -.01em; }
.gk-price .appline { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.gk-price .appline span { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--gk-line2); font: 600 11.5px var(--gk-font); color: #e8dcc0; background: rgba(255, 255, 255, .03); }
.gk-price .appline span.on { border-color: rgba(224, 200, 138, .5); background: rgba(224, 200, 138, .12); }
.gk-price .appline span.off { opacity: .45; text-decoration: line-through; }
.gk-price.org-card { border-color: rgba(167, 139, 250, .4); background: linear-gradient(160deg, rgba(76, 29, 149, .28), rgba(28, 22, 12, .6)); }
.gk-price .gk-btn + .gk-btn { margin-top: 10px; }
@media (max-width: 1000px) { .price-groups { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .price-group .gk-prices { grid-template-columns: 1fr; } .gk-price { padding: 22px; } }

/* ------------------------------------------------------------------ footer */
.gk-foot .gk-wrap { align-items: flex-start; }
.gk-foot .foot-mail { display: grid; gap: 4px; }
.gk-foot .foot-mail a { color: var(--gk-cyan); }
.gk-foot .foot-mail small { color: var(--gk-dim); margin-inline-end: 6px; }
.gk-foot .foot-end { display: flex; flex-wrap: wrap; gap: 8px 18px; width: 100%; padding-top: 18px; margin-top: 4px; border-top: 1px solid var(--gk-line); justify-content: space-between; }
.gk-enterprise .mails { display: block; margin-top: 6px; }
.gk-enterprise .mails a + a { margin-inline-start: 14px; }

/* ------------------------------------------------------------------ scroll to top */
.to-top { position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 60; width: 54px; height: 54px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #1c1608;
  background: radial-gradient(circle at 30% 25%, #f1e3b8, #bda062); box-shadow: 0 14px 30px -10px rgba(189, 160, 98, .75), 0 0 0 1px rgba(255, 255, 255, .25) inset;
  opacity: 0; transform: translateY(20px) scale(.7); pointer-events: none; transition: opacity .3s, transform .35s cubic-bezier(.2, .9, .3, 1.3); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px) scale(1.06); }
.to-top:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.to-top .ring { position: absolute; inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px); transform: rotate(-90deg); pointer-events: none; }
.to-top .ring circle { fill: none; stroke-width: 3; }
.to-top .trk { stroke: rgba(224, 200, 138, .18); }
.to-top .bar { stroke: #e0c88a; stroke-linecap: round; transition: stroke-dashoffset .12s linear; filter: drop-shadow(0 0 4px rgba(224, 200, 138, .7)); }
.to-top .pin { display: grid; place-items: center; transition: transform .25s; }
.to-top .pin svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.to-top:hover .pin { animation: pinHop .8s ease-in-out infinite; }
@keyframes pinHop { 50% { transform: translateY(-4px); } }
.to-top.go .pin { animation: pinLaunch .9s cubic-bezier(.5, 0, .9, .4) forwards; }
@keyframes pinLaunch { 0% { transform: none; opacity: 1; } 45% { transform: translateY(-46px); opacity: 0; } 46% { transform: translateY(40px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.to-top .dust { position: absolute; left: 50%; bottom: 8px; width: 4px; height: 4px; border-radius: 50%; opacity: 0; background: #fff; box-shadow: -14px 6px 0 #fff, 14px 6px 0 #fff, -8px 10px 0 #fff, 8px 10px 0 #fff; }
.to-top.go .dust { animation: dust .9s ease-out; }
@keyframes dust { 0% { opacity: .9; transform: translate(-50%, 0) scale(.5); } 100% { opacity: 0; transform: translate(-50%, 12px) scale(1.4); } }
@media (max-width: 560px) { .to-top { width: 48px; height: 48px; inset-inline-end: 14px; bottom: 14px; } }

/* ------------------------------------------------------------------ section motion */
.gk-kicker { position: relative; display: inline-block; }
.reveal .gk-kicker::after, .gk-head.reveal .gk-kicker::after { content: ""; display: block; height: 2px; width: 0; margin-top: 6px; background: linear-gradient(90deg, var(--gk-cyan2), transparent); transition: width .9s .25s ease; }
.gk-head.center .gk-kicker::after { margin-inline: auto; }
.gk-head.reveal.in .gk-kicker::after { width: 100%; }
.reveal { transition-duration: .7s; }
.gk-cards > .reveal:nth-child(3n + 2), .gk-tech > .reveal:nth-child(3n + 2), .gk-steps > .reveal:nth-child(3n + 2), .gk-acc > .reveal:nth-child(3n + 2) { transition-delay: .12s; }
.gk-cards > .reveal:nth-child(3n), .gk-tech > .reveal:nth-child(3n), .gk-steps > .reveal:nth-child(3n), .gk-acc > .reveal:nth-child(3n) { transition-delay: .24s; }
.gk-feats > .gk-feat { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.gk-prod.in .gk-feats > .gk-feat { opacity: 1; transform: none; }
.gk-prod.in .gk-feats > .gk-feat:nth-child(2) { transition-delay: .06s; } .gk-prod.in .gk-feats > .gk-feat:nth-child(3) { transition-delay: .12s; } .gk-prod.in .gk-feats > .gk-feat:nth-child(4) { transition-delay: .18s; }
.gk-prod.in .gk-feats > .gk-feat:nth-child(5) { transition-delay: .24s; } .gk-prod.in .gk-feats > .gk-feat:nth-child(6) { transition-delay: .3s; } .gk-prod.in .gk-feats > .gk-feat:nth-child(7) { transition-delay: .36s; }
.gk-prod.in .gk-feats > .gk-feat:nth-child(8) { transition-delay: .42s; } .gk-prod.in .gk-feats > .gk-feat:nth-child(9) { transition-delay: .48s; } .gk-prod.in .gk-feats > .gk-feat:nth-child(10) { transition-delay: .54s; }
.gk-card, .gk-tcard, .gk-acard, .gk-step, .gk-feat { transition-property: opacity, transform, border-color, box-shadow; }
.gk-card:hover, .gk-acard:hover, .gk-step:hover { transform: translateY(-4px); }
.gk-faq details { transition: background .2s, border-color .2s; }
.gk-faq details[open] { background: rgba(224, 200, 138, .05); }
@media (prefers-reduced-motion: reduce) { .gk-feats > .gk-feat { opacity: 1; transform: none; } .to-top, .reveal .gk-kicker::after { transition: none; } }

/* ------------------------------------------------------------------ privacy page */
.legal { max-width: 860px; margin: 0 auto; padding: 120px 20px 70px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.02em; margin: 0 0 6px; }
.legal .upd { color: var(--gk-dim); font-size: 13px; margin: 0 0 28px; }
.legal h2 { font-size: 19px; margin: 32px 0 8px; color: var(--gk-cyan); }
.legal p, .legal li { color: #cfc4a8; line-height: 1.7; font-size: 15px; }
.legal ul { padding-inline-start: 20px; display: grid; gap: 6px; }
.legal a { color: var(--gk-cyan); }
.legal .note { margin-top: 30px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--gk-line2); background: rgba(255, 255, 255, .03); font-size: 13.5px; }

/* ------------------------------------------------------------------ phones and small screens */
@media (max-width: 960px) {
  .gk-hero { padding-top: 96px; }
  .gk-hero .gk-wrap { gap: 34px; }
  .gk-monitor { max-width: 640px; margin: 0 auto; width: 100%; }
}
@media (max-width: 640px) {
  .gk-wrap { padding-inline: 16px; }
  .gk-sec { padding-block: 56px; }
  .gk-h2 { font-size: clamp(24px, 7vw, 30px); }
  .gk-cta { flex-direction: column; align-items: stretch; }
  .gk-cta .gk-btn { width: 100%; }
  .gk-btn { min-height: 44px; }
  .gk-nav .gk-btn.small { padding: 0 12px; }
  .gk-foot nav { gap: 12px 16px; }
  .gk-prod { padding: 20px; }
  .gk-faq summary { padding-block: 14px; }
  .mode-card .orb { width: 220px; height: 220px; }
}
@media (max-width: 380px) { .gk-nav .gk-logo small { display: none; } .gk-stats b { font-size: 20px; } }

/* hero paragraph size (site.css gives p.lead 18px with a higher specificity) */
.gk-hero p.lead { font-size: 14.5px; line-height: 1.6; margin: 4px 0 22px; max-width: 54ch; }
.gk-price ul { align-content: start; }

/* the header fits a phone: no tagline and no second button next to the menu */
@media (max-width: 640px) {
  .gk-nav .gk-wrap { gap: 10px; padding-inline: 14px; }
  .gk-nav .gk-logo small { display: none; }
  .gk-nav #navTrial { display: none; }
  .gk-nav .gk-lang { padding-inline: 10px; }
  .gk-nav .sp { flex: 1; }
  .gk-links { top: 64px; }
  .gk-links a { padding: 12px 14px; font-size: 15px; }
}
