/* ============================================================
   UNIFY AGENCY — Apple-glass style
   ============================================================ */

:root {
  --bg-0: #05060a;
  --bg-1: #0c0e16;
  --accent: #7dd3ff;
  --accent-2: #b98bff;
  --text-hi: rgba(255, 255, 255, 0.96);
  --text-mid: rgba(255, 255, 255, 0.68);
  --text-low: rgba(255, 255, 255, 0.42);
  --glass-fill: rgba(255, 255, 255, 0.06);
  --glass-fill-strong: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-border-hi: rgba(255, 255, 255, 0.28);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
  color: var(--text-hi);
  background: var(--bg-0);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------------- background scene ---------------- */

.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, #10131f 0%, var(--bg-0) 55%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}

.orb-1 {
  width: 46vw;
  height: 46vw;
  top: -12vw;
  left: -8vw;
  background: radial-gradient(circle at 30% 30%, #4fa9ff, transparent 70%);
  animation: float1 22s ease-in-out infinite;
}

.orb-2 {
  width: 38vw;
  height: 38vw;
  bottom: -10vw;
  right: -6vw;
  background: radial-gradient(circle at 60% 40%, #b98bff, transparent 70%);
  animation: float2 26s ease-in-out infinite;
}

.orb-3 {
  width: 30vw;
  height: 30vw;
  top: 40%;
  left: 55%;
  background: radial-gradient(circle at 50% 50%, #6be3d0, transparent 70%);
  opacity: 0.35;
  animation: float3 30s ease-in-out infinite;
}

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4vw, 6vw) scale(1.08); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-5vw, -4vw) scale(1.1); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-3vw, 5vw) scale(0.9); }
}

/* ---------------- nav ---------------- */

.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border-radius: 999px;
  background: var(--glass-fill);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  max-width: calc(100vw - 24px);
  overflow-x: auto;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }

.nav-brand {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  color: var(--text-hi);
  white-space: nowrap;
}

.nav-link {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-mid);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover { color: var(--text-hi); }

.nav-link.active {
  color: var(--bg-0);
  background: var(--text-hi);
}

.lang-switch-fixed {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 100;
  display: flex;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
  background: var(--glass-fill);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.lang-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-low);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 7px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease;
}

.lang-btn:hover { color: var(--text-hi); }

.lang-btn.active {
  color: var(--bg-0);
  background: var(--accent);
}

/* ---------------- layout ---------------- */

.wrap {
  position: relative;
  z-index: 1;
}

section { position: relative; }

/* ---------------- hero ---------------- */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-size: 12.5px;
  color: var(--text-mid);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
}

.hero h1 {
  font-size: clamp(48px, 11vw, 118px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.55) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .sub {
  margin: 22px 0 0;
  max-width: 640px;
  font-size: clamp(15px, 2vw, 19px);
  color: var(--text-mid);
  font-weight: 400;
  line-height: 1.55;
}

.hero-cta {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  appearance: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--text-hi);
  color: #05060a;
}
.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.18);
}

.btn-ghost {
  background: var(--glass-fill);
  color: var(--text-hi);
  border-color: var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.btn-ghost:hover { background: var(--glass-fill-strong); }

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-low);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-hint .line {
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, var(--text-low), transparent);
  animation: pulseDown 1.8s ease-in-out infinite;
}

@keyframes pulseDown {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

/* ---------------- hero / categories divider ---------------- */
/* A deliberate visual break so the brand statement (hero) never
   reads as part of the detailed info below it. */

.hero-divider {
  position: relative;
  height: 140px;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.hero-divider::before {
  content: "";
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border) 20%, var(--glass-border) 80%, transparent);
}

/* ---------------- category section ---------------- */

.categories {
  padding: 0 20px 140px;
  max-width: 1080px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 42px;
}

.section-head .eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 10px 0 0;
}

/* tab pills */

.tab-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.tab-pill {
  appearance: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-pill .num {
  font-size: 11px;
  opacity: 0.6;
}

.tab-pill:hover {
  color: var(--text-hi);
  border-color: var(--glass-border-hi);
}

.tab-pill.active {
  color: #05060a;
  background: linear-gradient(135deg, #ffffff, #dfe9ff);
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(125, 211, 255, 0.25);
}

/* glass panel */

.panel {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 3px;
  background: linear-gradient(160deg, rgba(255,255,255,0.22), rgba(255,255,255,0.03) 40%, rgba(255,255,255,0.08));
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}

.panel-inner {
  border-radius: calc(var(--radius-lg) - 3px);
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  backdrop-filter: blur(30px) saturate(160%);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  border: 1px solid var(--glass-border);
  padding: clamp(24px, 5vw, 56px);
  overflow: hidden;
}

.pane { display: none; animation: fadeUp 0.5s ease; }
.pane.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.pane-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--glass-border);
}

.pane-head h3 {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.pane-head p {
  margin: 0;
  color: var(--text-mid);
  font-size: 15px;
  max-width: 560px;
  line-height: 1.6;
}

.pane-tag {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(125, 211, 255, 0.1);
  border: 1px solid rgba(125, 211, 255, 0.28);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* feature grid */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.feature-card {
  border-radius: var(--radius-md);
  padding: 22px;
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hi);
  background: var(--glass-fill-strong);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(125,211,255,0.25), rgba(185,139,255,0.2));
  border: 1px solid var(--glass-border);
}

.feature-card h4 {
  margin: 0 0 8px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-hi);
}

.feature-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-mid);
}

.feature-card .big {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

/* founder strip */

.founder-strip {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(185,139,255,0.12), rgba(125,211,255,0.08));
  border: 1px solid var(--glass-border);
}

.founder-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #05060a;
  font-size: 15px;
}

.founder-strip .who b { color: var(--text-hi); }
.founder-strip .who { font-size: 13.5px; color: var(--text-mid); line-height: 1.5; }

/* platform chips */

.platform-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.platform-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-hi);
}

.placeholder-note {
  margin-top: 26px;
  font-size: 12.5px;
  color: var(--text-low);
  border-top: 1px dashed var(--glass-border);
  padding-top: 16px;
  line-height: 1.6;
}

/* trophy program preview (public marketing pane) */

.trophy-block {
  margin-top: 22px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255,209,102,0.1), rgba(185,139,255,0.08));
  border: 1px solid var(--glass-border);
}

.trophy-block h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-hi);
}

.trophy-block p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.6;
  max-width: 560px;
}

.trophy-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.trophy-tier {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-hi);
}

.trophy-icon { font-size: 18px; }

/* footer */

.footer {
  padding: 40px 20px 60px;
  text-align: center;
  color: var(--text-low);
  font-size: 12.5px;
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .panel-inner { padding: 22px; }
  .nav-brand { display: none; }
  .nav { max-width: calc(100vw - 24px); right: auto; }
  .lang-switch-fixed { top: 70px; right: 12px; }
}
