/* ============================================================
   Hoti.biz — shared site styles
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue: #1A8FE3;
  --green: #7ED321;
  --teal: #00B4D8;
  --teal2: #00C9A7;
  --bg: #000;
  --bg-alt: #0a0e16;
  --text: #e0e0e0;
  --muted: #8896a6;
  --muted2: #a0aec0;
  --border: rgba(255, 255, 255, 0.08);
  --grad: linear-gradient(135deg, var(--blue), var(--green));
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Figtree', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header / Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.nav-logo img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav-logo span { color: var(--text); }

nav.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}

nav.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted2);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

nav.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

nav.nav-links a.current {
  color: #fff;
  background: rgba(0, 180, 216, 0.1);
  box-shadow: inset 0 0 0 1px rgba(0, 180, 216, 0.35);
}

nav.nav-links a.ext::after {
  content: "↗";
  margin-left: 4px;
  font-size: 0.75em;
  opacity: 0.7;
}

/* ── Hero (home) ── */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100svh - 63px);
  width: 100%;
  padding: 60px 24px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(26, 143, 227, 0.30) 0%,
    rgba(0, 212, 200, 0.20) 30%,
    rgba(126, 211, 33, 0.10) 55%,
    transparent 70%
  );
  filter: blur(35px);
  pointer-events: none;
}

.logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  animation: fadeUp 1s ease-out both;
}

.logo {
  position: relative;
  width: min(40vw, 260px);
  height: auto;
}

.tagline {
  position: relative;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--muted2);
  max-width: 640px;
  animation: fadeUp 1s ease-out 0.15s both;
}

.tagline strong {
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.divider {
  width: 60px;
  height: 3px;
  border: none;
  border-radius: 2px;
  background: var(--grad);
  margin: 24px auto;
  animation: fadeUp 1s ease-out 0.3s both;
}

.intro {
  position: relative;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.85;
  color: var(--muted);
  max-width: 820px;
  animation: fadeUp 1s ease-out 0.4s both;
}

.hero-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 36px;
  animation: fadeUp 1s ease-out 0.5s both;
}

/* ── Generic sections ── */
.section {
  width: 100%;
  padding: 90px 24px;
}

.section-alt { background: var(--bg-alt); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.eyebrow {
  display: inline-block;
  font-size: clamp(0.72rem, 1.6vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

/* ── Feature / value grid ── */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
  .grid, .grid.cols-2 { grid-template-columns: 1fr; }
}

.card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 26px;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}

.card:hover {
  border-color: rgba(0, 180, 216, 0.4);
  background: rgba(0, 180, 216, 0.03);
  transform: translateY(-3px);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: rgba(0, 180, 216, 0.08);
  box-shadow: inset 0 0 0 1px rgba(0, 180, 216, 0.3);
}

.card-icon svg { width: 22px; height: 22px; }

.card h3 {
  font-size: 1.08rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--grad);
  color: #04121f;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 180, 216, 0.35);
}

.btn-ghost {
  border-color: var(--teal);
  color: var(--text);
  background: rgba(0, 180, 216, 0.04);
}

.btn-ghost:hover {
  border-color: var(--green);
  background: rgba(126, 211, 33, 0.06);
  color: #fff;
  box-shadow: 0 0 12px rgba(0, 180, 216, 0.25);
  transform: translateY(-2px);
}

.btn-small {
  padding: 9px 20px;
  font-size: 0.85rem;
}

/* ── Brand cards (home) ── */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .brand-grid { grid-template-columns: 1fr; }
}

.brand-card {
  padding: 28px 22px;
  border-radius: 14px;
  border: 2px solid #00B4D8;
  background: rgba(0, 180, 216, 0.04);
  color: var(--muted2);
  transition: border-color 0.3s, background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.brand-card.linkable:hover {
  transform: translateY(-4px);
}

.brand-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.brand-card .brand-logo {
  display: block;
  height: 36px;
  width: auto;
  margin: 0 auto 14px;
}

.brand-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
  min-height: 58px;
}

.brand-card .brand-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

.brand-card .brand-links a {
  font-weight: 600;
  color: var(--teal2);
}

.brand-card .brand-links a:hover { color: #fff; }

.brand-card:hover {
  border-color: #7ED321;
  background: rgba(126, 211, 33, 0.06);
  box-shadow: 0 0 12px rgba(0, 180, 216, 0.25);
}

/* ── Product hero (Hotilink / Hotiview pages) ── */
.product-hero {
  position: relative;
  padding: 80px 24px 70px;
  text-align: center;
  overflow: hidden;
}

.product-hero::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 620px;
  height: 620px;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.product-hero .product-logo {
  position: relative;
  display: block;
  height: 114px;
  width: auto;
  margin: 0 auto 24px;
}

.product-hero .badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  border: 1px solid var(--border);
  color: var(--muted2);
}

.product-hero h1 {
  position: relative;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.15;
}

.product-hero .lede {
  position: relative;
  max-width: 720px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.8;
}

.product-hero .hero-actions { margin-top: 0; }

/* ── Split (text + list) ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
}

.split h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}

.split p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 16px;
}

.check-list { list-style: none; }

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.6;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--grad);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/70% no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/70% no-repeat;
  background-color: var(--teal2);
}

.panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
}

/* ── CTA band ── */
.cta-band {
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(0, 180, 216, 0.12), transparent 60%);
  pointer-events: none;
}

.cta-band h2 {
  position: relative;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.cta-band p {
  position: relative;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.cta-band .hero-actions { position: relative; margin-top: 0; }

/* ── Values grid ── */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .value-grid { grid-template-columns: 1fr; }
}

/* ── Footer ── */
.site-footer {
  width: 100%;
  padding: 44px 24px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--muted2);
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-nav a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-nav a:hover { color: #fff; }

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: #3a4556;
}

/* ── Animation ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Mobile compact ── */
@media (max-width: 640px) {
  .nav-inner { padding: 12px 16px; }
  nav.nav-links a { padding: 7px 10px; font-size: 0.84rem; }
  .hero { padding: 40px 20px; }
  .logo-wrap { margin-bottom: 24px; }
  .logo { width: 44vw; }
  .divider { margin: 28px auto; }
  .intro { line-height: 1.7; }
  .section { padding: 60px 20px; }
  .section-head { margin-bottom: 36px; }
}
