/* Saaho Hub — responsive portfolio-style landing page */
:root {
  color-scheme: dark;
  --bg: #11131a;
  --surface: rgba(25, 24, 43, .78);
  --surface-strong: #171625;
  --text: #f4f1ed;
  --muted: #a7a5b1;
  --muted-2: #777887;
  --line: rgba(235, 235, 255, .14);
  --accent: #c7ff3d;
  --accent-ink: #15190c;
  --purple: #6e4ba8;
  --shadow: 0 22px 70px rgba(0,0,0,.22);
  --header-bg: rgba(18, 17, 31, .86);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f2ed;
  --surface: rgba(255,255,255,.76);
  --surface-strong: #fff;
  --text: #1c1c25;
  --muted: #656573;
  --muted-2: #81818d;
  --line: rgba(32, 32, 48, .15);
  --accent: #a4dc24;
  --accent-ink: #17200a;
  --purple: #c8b6e9;
  --shadow: 0 22px 70px rgba(48,38,72,.12);
  --header-bg: rgba(250,249,246,.88);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0; min-width: 320px; background: var(--bg); color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif; overflow-x: hidden;
  transition: background .35s ease, color .35s ease;
}
body::before {
  content:""; position:fixed; inset:0; z-index:-3; pointer-events:none;
  background:
    radial-gradient(ellipse at 12% 8%, rgba(105,75,157,.38), transparent 38%),
    radial-gradient(ellipse at 90% 72%, rgba(0,139,111,.25), transparent 36%),
    linear-gradient(145deg, rgba(53,43,84,.16), transparent 48%);
}
:root[data-theme="light"] body::before {
  background: radial-gradient(ellipse at 10% 5%, rgba(178,151,221,.28), transparent 42%),
              radial-gradient(ellipse at 90% 72%, rgba(116,203,169,.22), transparent 38%);
}
.ambient { position:fixed; z-index:-2; width:34rem; height:34rem; border-radius:50%; filter:blur(95px); opacity:.12; pointer-events:none; }
.ambient-one { top:15%; left:-24rem; background:#9c66ef; }
.ambient-two { right:-24rem; bottom:2%; background:#00b58b; }
.scroll-progress { position:fixed; top:0; left:0; right:0; height:3px; z-index:1000; background:transparent; }
.scroll-progress span { display:block; width:0; height:100%; background:var(--accent); box-shadow:0 0 12px var(--accent); }
.site-header {
  position:sticky; top:14px; z-index:100; width:min(1120px, calc(100% - 48px));
  min-height:82px; margin:14px auto 0; padding:12px 22px 12px 16px;
  display:flex; align-items:center; justify-content:space-between;
  border:1px solid var(--line); border-radius:999px;
  background:var(--header-bg); backdrop-filter:blur(22px); -webkit-backdrop-filter:blur(22px);
  box-shadow:0 12px 45px rgba(0,0,0,.12);
}
.brand { display:flex; align-items:center; gap:15px; color:var(--text); text-decoration:none; font-size:clamp(17px,2.4vw,25px); font-weight:700; letter-spacing:-.7px; }
.brand-mark { width:54px; height:54px; display:grid; place-items:center; border-radius:16px; background:var(--accent); color:var(--accent-ink); font-weight:700; font-size:19px; letter-spacing:-1px; }
.header-actions { display:flex; align-items:center; gap:22px; }
.icon-button { border:0; background:transparent; color:var(--muted); width:42px; height:42px; display:grid; place-items:center; cursor:pointer; border-radius:50%; transition:background .2s,color .2s; }
.icon-button:hover { background:var(--line); color:var(--text); }
.icon-button svg { width:27px; height:27px; fill:currentColor; }
.icon-button svg .moon-line { fill:none; stroke:currentColor; stroke-width:1.6; }
.menu-button { gap:5px; align-content:center; }
.menu-button span { width:24px; height:2.5px; background:currentColor; border-radius:4px; transition:transform .25s,opacity .25s; }
.menu-button.active span:first-child { transform:translateY(7.5px) rotate(45deg); }
.menu-button.active span:nth-child(2) { opacity:0; }
.menu-button.active span:last-child { transform:translateY(-7.5px) rotate(-45deg); }
.menu-panel { position:absolute; top:calc(100% + 10px); right:10px; width:min(260px, calc(100vw - 60px)); padding:10px; border:1px solid var(--line); border-radius:22px; background:var(--surface-strong); box-shadow:var(--shadow); display:grid; gap:3px; opacity:0; visibility:hidden; transform:translateY(-8px); transition:.22s; }
.menu-panel.open { opacity:1; visibility:visible; transform:translateY(0); }
.menu-panel a { color:var(--muted); text-decoration:none; padding:13px 14px; border-radius:13px; font-size:14px; }
.menu-panel a:hover { background:var(--line); color:var(--text); }
main { width:min(1120px, calc(100% - 48px)); margin:0 auto; }
.hero { padding:clamp(78px,10vw,125px) 0 70px; }
.availability { width:max-content; max-width:100%; display:flex; align-items:center; gap:13px; border:1px solid var(--line); border-radius:999px; padding:13px 20px; color:var(--muted); font:500 13px "DM Mono",monospace; letter-spacing:.04em; }
.pulse-dot,.tiny-dot { width:10px; height:10px; flex:0 0 10px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 5px color-mix(in srgb,var(--accent) 18%,transparent); }
/* Expanding lime halo around the live availability indicator. */
.availability .pulse-dot { position:relative; isolation:isolate; box-shadow:0 0 6px color-mix(in srgb,var(--accent) 48%,transparent), 0 0 0 3px color-mix(in srgb,var(--accent) 12%,transparent); }
.availability .pulse-dot::after { content:""; position:absolute; inset:-2px; border:1.5px solid var(--accent); border-radius:50%; opacity:.65; animation:availability-wave 2.2s ease-out infinite; z-index:-1; }
@keyframes availability-wave {
  0% { transform:scale(.9); opacity:.65; }
  75%,100% { transform:scale(1.85); opacity:0; }
}
.hero-title { margin:42px 0 24px; font:500 clamp(64px,11.5vw,124px)/.98 "Playfair Display",Georgia,serif; letter-spacing:-.065em; }
.hero-title em,.section-title em { color:var(--accent); font-weight:500; }
.terminal-line { min-height:38px; display:flex; align-items:center; gap:10px; margin:30px 0 44px; font:500 clamp(18px,3vw,28px) "DM Mono",monospace; letter-spacing:-.04em; }
.terminal-prefix { color:var(--accent); }
.cursor { display:inline-block; width:13px; height:30px; background:var(--accent); animation:blink .9s steps(2,start) infinite; }
@keyframes blink { to { visibility:hidden; } }
.intro { max-width:820px; margin:0; color:var(--muted); font-size:clamp(18px,2.8vw,27px); line-height:1.65; letter-spacing:-.035em; }
.intro strong { color:var(--text); font-weight:600; }
.hero-buttons { display:flex; flex-wrap:wrap; gap:14px; margin-top:54px; }
.secondary-buttons { display:flex; flex-wrap:wrap; gap:14px; }
.button { min-height:62px; padding:0 28px; display:inline-flex; align-items:center; justify-content:center; gap:18px; border-radius:999px; text-decoration:none; font-size:17px; font-weight:600; transition:transform .2s,background .2s,border-color .2s; }
.button:hover { transform:translateY(-3px); }
.button-primary { background:var(--accent); color:var(--accent-ink); border:1px solid transparent; }
.button-primary:hover { filter:brightness(1.04); box-shadow:0 10px 28px color-mix(in srgb,var(--accent) 22%,transparent); }
.button-outline { color:var(--text); border:1px solid var(--line); background:transparent; }
.button-outline:hover { background:var(--line); }
.arrow { font-size:24px; line-height:1; }
.telegram-icon { font-size:19px; color:var(--accent); }
.hero-divider { height:1px; background:var(--line); margin:88px 0 42px; }
.quick-facts { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.quick-facts > div { display:grid; gap:8px; }
.fact-number { font:500 clamp(42px,6vw,66px) "Playfair Display",Georgia,serif; }
.fact-label { color:var(--muted-2); font:12px "DM Mono",monospace; letter-spacing:.16em; }
.bots-section { padding:65px 0 100px; border-top:1px solid var(--line); }
.section-kicker { display:flex; align-items:center; gap:17px; color:var(--accent); font:500 14px "DM Mono",monospace; letter-spacing:.2em; }
.kicker-stroke { width:70px; height:5px; border-radius:99px; background:var(--accent); transform:rotate(-3deg); }
.section-title { margin:28px 0 20px; font:500 clamp(44px,7vw,76px)/1.08 "Playfair Display",Georgia,serif; letter-spacing:-.055em; }
.section-description { max-width:700px; margin:0; color:var(--muted); font-size:clamp(17px,2.3vw,23px); line-height:1.65; }
.bot-card { margin-top:55px; padding:clamp(25px,4vw,48px); border:1px solid var(--line); border-radius:34px; background:linear-gradient(135deg,var(--surface),rgba(40,45,42,.35)); box-shadow:var(--shadow); transition:transform .25s,border-color .25s; }
.bot-card:hover { transform:translateY(-5px); border-color:color-mix(in srgb,var(--accent) 45%,var(--line)); }
.bot-card-top,.bot-card-bottom { display:flex; align-items:center; justify-content:space-between; gap:15px; }
.bot-label,.bot-status,.bot-handle { font:12px "DM Mono",monospace; letter-spacing:.12em; color:var(--muted); }
.bot-status { display:flex; align-items:center; gap:10px; color:var(--accent); }
.tiny-dot { width:7px; height:7px; flex-basis:7px; box-shadow:none; }
.bot-card h3 { margin:36px 0 8px; font:500 clamp(39px,6vw,58px) "Playfair Display",Georgia,serif; letter-spacing:-.045em; }
.bot-card > p { color:var(--muted); font-size:clamp(17px,2.2vw,22px); margin:0 0 48px; }
.bot-card-bottom { padding-top:22px; border-top:1px solid var(--line); }
.text-link { color:var(--text); text-decoration:none; font-size:17px; }
.text-link span { color:var(--accent); font-size:21px; margin-left:5px; }
.bot-open-button { min-height:48px; padding:0 22px; gap:13px; font-size:14px; white-space:nowrap; }
.bot-open-button .arrow { font-size:21px; }
.channel-cta { padding:60px 0 100px; border-top:1px solid var(--line); display:flex; align-items:end; justify-content:space-between; gap:30px; }
.channel-cta .section-title { margin-bottom:14px; }
.channel-cta .button { flex-shrink:0; }
.site-footer { width:min(1120px,calc(100% - 48px)); margin:0 auto; padding:28px 0 38px; border-top:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; gap:20px; color:var(--muted-2); font:11px "DM Mono",monospace; letter-spacing:.12em; }
.footer-brand { color:var(--text); text-decoration:none; font:600 17px "DM Sans",sans-serif; letter-spacing:-.04em; }
.site-footer > a:last-child { color:var(--accent); text-decoration:none; }
/* Laptop and wide desktop: use a deliberate, balanced content width instead of stretching. */
@media (min-width: 1024px) {
  .site-header { width:min(1120px, calc(100% - 96px)); min-height:86px; }
  main,.site-footer { width:min(1080px, calc(100% - 120px)); }
  .hero { padding-top:clamp(100px, 9vw, 132px); padding-bottom:82px; }
  .availability { font-size:13px; padding:14px 22px; }
  .hero-title { font-size:clamp(112px, 9vw, 136px); margin-top:48px; }
  .terminal-line { margin-top:32px; margin-bottom:48px; }
  .intro { max-width:790px; font-size:25px; }
  .hero-buttons { margin-top:48px; align-items:center; gap:16px; }
  .secondary-buttons { gap:12px; }
  .hero-buttons .button { min-width:205px; }
  .button { min-height:64px; padding-inline:31px; }
  .hero-divider { margin-top:96px; }
  .quick-facts { max-width:720px; }
  .bots-section { padding-top:78px; padding-bottom:112px; }
  .bot-card { max-width:900px; padding:48px 52px; }
  .bot-card h3 { font-size:62px; }
  .channel-cta { align-items:center; }
  .channel-cta > div { max-width:720px; }
  .site-footer { padding-top:32px; padding-bottom:42px; }
}
@media (min-width: 651px) and (max-width: 1023px) {
  .site-header { width:calc(100% - 56px); }
  main,.site-footer { width:calc(100% - 72px); }
  .hero { padding-top:88px; }
  .hero-title { font-size:clamp(78px,10vw,112px); }
  .intro { max-width:760px; }
  .bot-card { padding:34px; }
  .channel-cta { align-items:flex-start; }
}
@media (max-width:650px) {
  .site-header { top:8px; width:calc(100% - 28px); min-height:66px; margin-top:8px; padding:8px 12px; }
  .brand { gap:10px; font-size:18px; }
  .brand-mark { width:43px; height:43px; border-radius:13px; font-size:16px; }
  .header-actions { gap:8px; }
  .icon-button { width:38px; height:38px; }
  .icon-button svg { width:23px; height:23px; }
  .menu-button span { width:21px; }
  main,.site-footer { width:calc(100% - 40px); }
  .hero { padding-top:76px; }
  .availability { padding:11px 14px; gap:10px; font-size:10px; letter-spacing:.025em; }
  .hero-title { margin-top:36px; font-size:clamp(58px,15vw,86px); }
  .terminal-line { margin:25px 0 32px; font-size:clamp(16px,4.3vw,22px); }
  .cursor { width:10px; height:24px; }
  .intro { font-size:18px; line-height:1.65; }
  .hero-buttons { margin-top:36px; flex-direction:column; align-items:stretch; }
  .button { min-height:56px; padding:0 20px; font-size:15px; }
  .secondary-buttons { display:flex; flex-direction:column; width:100%; }
  .secondary-buttons .button { width:100%; }
  .hero-divider { margin:65px 0 32px; }
  .fact-number { font-size:43px; }
  .fact-label { font-size:10px; letter-spacing:.11em; }
  .bots-section { padding:52px 0 72px; }
  .section-title { font-size:clamp(42px,11vw,60px); }
  .section-description { font-size:17px; }
  .bot-card { margin-top:38px; border-radius:26px; padding:24px 21px; }
  .bot-card-top { align-items:flex-start; }
  .bot-label,.bot-status,.bot-handle { font-size:10px; }
  .bot-card h3 { margin-top:32px; font-size:43px; }
  .bot-card > p { margin-bottom:36px; font-size:17px; }
  .bot-card-bottom { align-items:flex-start; flex-direction:column; }
  .bot-open-button { width:100%; justify-content:center; }
  .channel-cta { padding:52px 0 70px; align-items:stretch; flex-direction:column; }
  .channel-cta .button { align-self:flex-start; }
  .site-footer { flex-wrap:wrap; padding-bottom:28px; font-size:9px; }
  .site-footer span { order:3; width:100%; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}
