/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:        #0a0e1a;
  --bg-2:      #0d1224;
  --bg-card:   #111827;
  --bg-card-h: #1a2236;
  --border:    #1e293b;
  --text:      #e2e8f0;
  --text-dim:  #8892a8;
  --accent:    #1a9e96;
  --accent-2:  #c49a3c;
  --green:     #34d399;
  --glow:      rgba(26, 158, 150, 0.12);
  --radius:    12px;
  --font:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-y: scroll; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.page-content {
  opacity: 1;
  transition: opacity 0.25s ease;
  min-height: 100vh;
}
.page-content.page-transition {
  opacity: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ── Navigation ──────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: flex-end;
  padding: 14px 24px;
  pointer-events: none;
}

.nav-pill {
  display: flex; align-items: center; gap: 0;
  height: 48px;
  padding: 0 6px 0 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  pointer-events: auto;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-pill.scrolled {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(32px) saturate(1.6);
  -webkit-backdrop-filter: blur(32px) saturate(1.6);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-logo {
  position: fixed;
  top: 14px;
  left: 24px;
  z-index: 101;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.nav-logo > img {
  height: 52px; width: 52px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3)) brightness(1.1);
}
.nav-logo:hover > img {
  transform: rotate(360deg);
}
.nav-logo .nav-brand-name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease 0.1s,
              margin 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 0;
}
.nav-logo:hover .nav-brand-name {
  max-width: 500px;
  opacity: 1;
  margin-left: 10px;
}
.nav-brand-title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: #1a6e6a;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-brand-name-img {
  height: 1.2em; object-fit: contain; display: inline-block; filter: brightness(1.1);
}
.nav-brand-systems-img {
  height: 0.55em; object-fit: contain; display: inline-block; margin-left: -4px; filter: brightness(1.1);
  white-space: nowrap;
}
.nav-brand-divider {
  display: none;
}
.nav-brand-tagline {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-dim);
  line-height: 1.2;
  white-space: nowrap;
  padding-left: 4px;
}

.nav-links {
  display: flex; align-items: center; gap: 2px;
  padding: 0 4px;
}
.nav-cta-mobile { display: none; }
.nav-links a {
  font-size: 0.82rem; color: var(--text-dim); font-weight: 500;
  padding: 7px 12px;
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-actions { display: flex; align-items: center; margin-left: 6px; }
.nav-cta {
  font-size: 0.82rem; font-weight: 600;
  padding: 7px 18px;
  border-radius: 100px;
  background: var(--text);
  color: var(--bg);
  transition: opacity 0.2s, transform 0.15s;
}
.nav-cta:hover { opacity: 0.9; transform: scale(1.02); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 4px; padding: 8px; margin-left: 4px; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: auto;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  text-align: center;
  overflow: hidden;
  padding: 100px 0 0;
}

/* Mouse-follow glow */
.hero-glow {
  position: absolute;
  width: 650px; height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, rgba(56, 189, 248, 0.04) 40%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: left 0.12s ease-out, top 0.12s ease-out;
  left: 50%; top: 50%;
  z-index: 1;
}

/* Subtle dot grid */
.hero-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 0;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 800px; padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 24px;
  padding: 6px 16px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 100px;
}

.hero-title-row {
  position: relative;
  margin-bottom: 20px;
}

.hero-title-shimi {
  position: absolute;
  left: -125px;
  top: 6%;
  height: 100%;
  width: auto;
  object-fit: contain;
  animation: shimiBob 4s ease-in-out infinite, shimiGlow 3s ease-in-out infinite alternate, shimiFlicker 6s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0;
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 40px;
  background: linear-gradient(transparent, var(--bg));
  z-index: 3;
}

/* ── Hero Visuals (screens + icons) ───────────────────── */
.hero-visuals {
  position: relative; z-index: 2;
  width: 100%; max-width: 900px;
  height: 340px;
  margin: 36px auto 0;
}

.screen-body-img {
  padding: 0 !important;
}
.screen-body-img img {
  width: 100%;
  display: block;
}

/* ── Mock Screens ────────────────────────────────────── */
.screen {
  position: absolute;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 60px rgba(56, 189, 248, 0.06);
}

.screen-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid var(--border);
  font-size: 0;
}
.screen-bar .dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.red { background: #f87171; }
.dot.yellow { background: #fbbf24; }
.dot.green { background: #34d399; }
.screen-title { font-size: 0.68rem; color: var(--text-dim); margin-left: 8px; }
.screen-body { padding: 12px; }

.screen-main {
  width: 560px; left: 50%; top: 0;
  transform: translateX(-50%);
  animation: floatMain 6s ease-in-out infinite;
}
@keyframes floatMain {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

.mock-sidebar {
  position: absolute; left: 0; top: 32px; bottom: 0;
  width: 48px; background: rgba(15, 23, 42, 0.7);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center;
  padding-top: 10px; gap: 8px;
}
.mock-logo-sm {
  width: 28px; height: 28px; border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #000; font-size: 0.7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.mock-nav-item { width: 24px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.08); }
.mock-nav-item.active { background: var(--accent); opacity: 0.6; }
.mock-content { margin-left: 48px; padding: 8px; }
.mock-header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.mock-title { width: 120px; height: 12px; border-radius: 3px; background: rgba(255,255,255,0.12); }
.mock-btn { width: 60px; height: 18px; border-radius: 4px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); opacity: 0.5; }
.mock-stats-row { display: flex; gap: 8px; margin-bottom: 10px; }
.mock-stat-card { flex: 1; padding: 8px; border-radius: 6px; border: 1px solid var(--border); background: rgba(255,255,255,0.02); }
.mock-stat-num { width: 40px; height: 10px; border-radius: 2px; margin-bottom: 4px; }
.mock-stat-lbl { width: 55px; height: 6px; border-radius: 2px; background: rgba(255,255,255,0.06); }
.c1 .mock-stat-num { background: rgba(56, 189, 248, 0.4); }
.c2 .mock-stat-num { background: rgba(52, 211, 153, 0.4); }
.c3 .mock-stat-num { background: rgba(251, 191, 36, 0.4); }
.c4 .mock-stat-num { background: rgba(167, 139, 250, 0.4); }
.mock-table { border-radius: 6px; overflow: hidden; border: 1px solid var(--border); }
.mock-table-head { height: 16px; background: rgba(255,255,255,0.04); border-bottom: 1px solid var(--border); }
.mock-table-row { height: 14px; border-bottom: 1px solid rgba(255,255,255,0.02); }
.mock-table-row:last-child { border-bottom: none; }

.screen-mobile {
  width: 150px; right: 40px; top: 70px; border-radius: 16px;
  animation: floatMobile 5s ease-in-out infinite 0.5s;
}
@keyframes floatMobile {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.mobile-bar { justify-content: center; padding: 6px; }
.mobile-body { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px; }
.mock-mobile-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-2), var(--accent)); opacity: 0.4; }
.mock-mobile-name { width: 70px; height: 8px; border-radius: 2px; background: rgba(255,255,255,0.1); }
.mock-mobile-cards { display: flex; gap: 6px; width: 100%; }
.mock-m-card { flex: 1; height: 36px; border-radius: 6px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); }
.mock-mobile-list { width: 100%; display: flex; flex-direction: column; gap: 4px; }
.mock-m-row { height: 14px; border-radius: 4px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); }

.screen-report {
  width: 220px; left: 30px; top: 90px; border-radius: 12px;
  animation: floatReport 7s ease-in-out infinite 1s;
}
@keyframes floatReport {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.report-body { padding: 12px 16px; }
.mock-chart { display: flex; align-items: flex-end; gap: 8px; height: 80px; }
.mock-bar { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(to top, var(--accent), var(--accent-2)); opacity: 0.35; }
.mock-chart-labels { display: flex; gap: 8px; margin-top: 4px; }
.mock-chart-labels span { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.06); }

/* ── Floating Icons (around screens) ─────────────────── */
.float-icon {
  position: absolute;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.float-icon svg { stroke-linecap: round; stroke-linejoin: round; }

/* Position icons in the gaps around screens */
.fi-1 { width: 52px; height: 52px; left: 0;    top: 0;     animation: iconFloat1 6s ease-in-out infinite;      color: var(--accent); }
.fi-2 { width: 46px; height: 46px; right: 0;   top: 0;     animation: iconFloat2 7s ease-in-out infinite 0.3s;  color: var(--green); }
.fi-3 { width: 48px; height: 48px; left: 0;    bottom: 20px; animation: iconFloat3 5.5s ease-in-out infinite 0.6s; color: #fbbf24; }
.fi-4 { width: 44px; height: 44px; right: 0;   bottom: 40px; animation: iconFloat4 6.5s ease-in-out infinite 0.9s; color: var(--accent-2); }
.fi-5 { width: 42px; height: 42px; left: 38%;  bottom: -10px; animation: iconFloat5 5s ease-in-out infinite 0.2s;  color: #f87171; }
.fi-6 { width: 44px; height: 44px; right: 38%; bottom: -10px; animation: iconFloat6 7.5s ease-in-out infinite 0.5s; color: #a78bfa; }

.fi-1 svg, .fi-3 svg { width: 24px; height: 24px; }
.fi-2 svg, .fi-4 svg, .fi-6 svg { width: 22px; height: 22px; }
.fi-5 svg { width: 20px; height: 20px; }

@keyframes iconFloat1 { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(5deg); } }
@keyframes iconFloat2 { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(-4deg); } }
@keyframes iconFloat3 { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(3deg); } }
@keyframes iconFloat4 { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(-6deg); } }
@keyframes iconFloat5 { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-8px) rotate(4deg); } }
@keyframes iconFloat6 { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(-3deg); } }

/* ── Highlights (below hero on home) ─────────────────── */
.highlights { padding: 60px 0 40px; }

.highlights-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-bottom: 36px;
}

.highlight-item {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.25s, transform 0.25s;
}
.highlight-item:hover {
  border-color: rgba(56, 189, 248, 0.2);
  transform: translateY(-3px);
}

.highlight-icon {
  width: 44px; height: 44px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(56, 189, 248, 0.08);
  border-radius: 10px; color: var(--accent);
}
.highlight-icon svg { width: 22px; height: 22px; }

.highlight-item h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; }
.highlight-item p { font-size: 0.82rem; color: var(--text-dim); line-height: 1.55; }

.highlights-cta { text-align: center; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font); font-size: 0.92rem; font-weight: 600;
  padding: 12px 28px; border-radius: 10px;
  border: none; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(56, 189, 248, 0.2); }
.btn:active { transform: translateY(0) scale(0.97); transition: transform 0.1s ease; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #000;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.2);
}
.btn-primary:hover { box-shadow: 0 0 32px rgba(56, 189, 248, 0.35); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--text-dim); background: rgba(255,255,255,0.03); }

.btn-full { width: 100%; }

/* ── Section helpers ─────────────────────────────────── */
.section-tag {
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700; letter-spacing: -0.01em;
  margin-bottom: 48px;
  text-align: center;
}

/* ── Product Hero (product.html) ─────────────────────── */
.product-hero {
  position: relative;
  padding: 140px 0 40px;
  overflow: hidden;
}

.product-hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}

.product-title {
  font-size: 3rem; font-weight: 800; letter-spacing: 6px;
  background: linear-gradient(135deg, #fff, var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.product-by {
  font-size: 0.45em; font-weight: 400; color: var(--text-dim);
  letter-spacing: 1px; vertical-align: baseline;
  display: inline-flex; align-items: center; gap: 6px;
}
.yagaraa-text {
  color: #1a6e6a; font-weight: 800; letter-spacing: 3px;
}
.yagaraa-name-img {
  display: inline-block; height: 1.04em; vertical-align: middle;
  object-fit: contain; filter: brightness(1.1);
}
.brand-gold-a {
  background: linear-gradient(135deg, #c49a3c 0%, #1a6e6a 60%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-full-name {
  font-size: 0.85rem; color: var(--text-dim); letter-spacing: 1px;
  margin-bottom: 20px;
}

.product-desc { color: var(--text-dim); line-height: 1.8; margin-bottom: 28px; }

.product-stats { display: flex; gap: 32px; }
.stat { display: flex; flex-direction: column; }
.stat-number { font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.78rem; color: var(--text-dim); margin-top: 2px; }

.product-hero-logo {
  display: flex; align-items: center; justify-content: center;
  gap: 32px;
  position: relative;
}
.product-hero-logo img {
  max-width: 260px;
  filter: drop-shadow(0 0 40px rgba(56, 189, 248, 0.12));
  animation: float 6s ease-in-out infinite;
}
.product-shimi-side {
  max-width: 130px !important;
  margin-left: 60px;
  margin-top: -40px;
  animation: shimiBob 4s ease-in-out infinite !important;
  filter: drop-shadow(0 4px 20px rgba(56, 189, 248, 0.25));
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
  position: relative;
  z-index: 3;
}
.product-shimi-side:hover {
  transform: scale(1.08) rotate(3deg);
  filter: drop-shadow(0 6px 30px rgba(56, 189, 248, 0.5));
}


/* Holographic light cone from Shimi's face (visor area) towards logo */
.product-hero-logo::before {
  content: '';
  position: absolute;
  right: 130px;
  top: 13%;
  width: 240px;
  height: 100px;
  background: linear-gradient(270deg, rgba(56, 189, 248, 0.3) 0%, rgba(56, 189, 248, 0.12) 40%, rgba(56, 189, 248, 0.03) 70%, transparent 100%);
  clip-path: polygon(100% 30%, 0% 0%, 0% 100%, 100% 70%);
  filter: blur(6px);
  pointer-events: none;
  z-index: 1;
  animation: holoBeam 2.5s ease-in-out infinite, shimiBob 4s ease-in-out infinite;
}
.product-hero-logo::after {
  content: '';
  position: absolute;
  right: 130px;
  top: 17%;
  width: 220px;
  height: 60px;
  background: linear-gradient(270deg, rgba(56, 189, 248, 0.15) 0%, rgba(56, 189, 248, 0.05) 60%, transparent 100%);
  filter: blur(14px);
  pointer-events: none;
  z-index: 1;
  animation: holoBeam 2.5s ease-in-out infinite, shimiBob 4s ease-in-out infinite;
}

/* Beam flicker syncs with logo holoFlicker (2.5s) */
@keyframes holoBeam {
  0% { opacity: 0.6; }
  40% { opacity: 0.3; }
  45% { opacity: 0.8; }
  50% { opacity: 0.15; }
  55% { opacity: 0.9; }
  100% { opacity: 0.6; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Holographic logo effect — projected from Shimi */
.product-hero-logo > img[alt="S.H.I.M.I"] {
  filter: drop-shadow(0 0 30px rgba(26, 158, 150, 0.5)) drop-shadow(0 0 80px rgba(26, 158, 150, 0.25)) !important;
  animation: float 6s ease-in-out infinite, holoFlicker 2.5s ease-in-out infinite !important;
}

@keyframes holoFlicker {
  0% { opacity: 1; filter: drop-shadow(0 0 30px rgba(26, 158, 150, 0.5)) drop-shadow(0 0 80px rgba(26, 158, 150, 0.25)); }
  40% { opacity: 0.7; filter: drop-shadow(0 0 70px rgba(26, 158, 150, 0.8)) drop-shadow(0 0 120px rgba(196, 154, 60, 0.4)); }
  45% { opacity: 1; filter: drop-shadow(0 0 90px rgba(26, 158, 150, 1)) drop-shadow(0 0 150px rgba(196, 154, 60, 0.5)); }
  50% { opacity: 0.65; filter: drop-shadow(0 0 60px rgba(26, 158, 150, 0.9)) drop-shadow(0 0 130px rgba(196, 154, 60, 0.45)); }
  55% { opacity: 1; filter: drop-shadow(0 0 80px rgba(26, 158, 150, 0.85)) drop-shadow(0 0 140px rgba(26, 158, 150, 0.4)); }
  100% { opacity: 1; filter: drop-shadow(0 0 30px rgba(26, 158, 150, 0.5)) drop-shadow(0 0 80px rgba(26, 158, 150, 0.25)); }
}

/* ── Features ────────────────────────────────────────── */
.features { padding: 40px 0 80px; }

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.feature-card:hover {
  background: var(--bg-card-h);
  border-color: rgba(56, 189, 248, 0.2);
  transform: translateY(-4px);
}

.feature-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(56, 189, 248, 0.08);
  border-radius: 10px;
  margin-bottom: 18px;
  color: var(--accent);
}
.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.feature-card p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.65; }

.feature-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.feature-highlights li {
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
}
.feature-highlights li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.feature-highlights li strong {
  color: var(--text);
}

/* ── CTA Box (product page) ──────────────────────────── */
.cta-section { padding: 40px 0 80px; }

.cta-box {
  text-align: center;
  padding: 56px 40px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08) 0%, rgba(34, 211, 238, 0.04) 100%);
  border: 1px solid rgba(56, 189, 248, 0.15);
}
.cta-box h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 10px; }
.cta-box p { color: var(--text-dim); margin-bottom: 24px; }

/* ── Contact ─────────────────────────────────────────── */
.contact { padding: 80px 0 100px; }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700; line-height: 1.15;
  margin-bottom: 16px;
}

.contact-desc { color: var(--text-dim); margin-bottom: 32px; line-height: 1.7; }

.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.92rem; color: var(--text-dim);
}
.contact-item svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent); }
.contact-item a:hover { color: var(--text); }

.contact-form {
  display: flex; flex-direction: column; gap: 14px;
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font);
  font-size: 0.92rem;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { resize: vertical; }

/* ── Footer ──────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  text-align: center;
}

.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-brand img {
  height: 46px; width: 46px;
  object-fit: contain;
  filter: brightness(1.1);
}
.footer-brand p { font-size: 0.82rem; color: var(--text-dim); }
.footer-composite {
  font-size: 0.95rem; letter-spacing: 2px; font-weight: 700;
  color: var(--accent);
}
.footer-composite span { font-weight: 400; color: var(--text-dim); font-size: 0.8rem; }

.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 0.85rem; color: var(--text-dim); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

.footer-copy { font-size: 0.78rem; color: #4a5568; }

/* ── Trial Section ───────────────────────────────────── */
.trial-section { padding: 40px 0; }

.trial-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 820px; margin: 0 auto;
}

.trial-card {
  display: flex; flex-direction: column;
  padding: 36px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  position: relative;
  transition: border-color 0.25s, transform 0.25s;
}
.trial-card:hover {
  border-color: rgba(56, 189, 248, 0.2);
  transform: translateY(-3px);
}

.trial-card-highlight {
  border-color: rgba(56, 189, 248, 0.3);
  background: linear-gradient(170deg, rgba(56, 189, 248, 0.06) 0%, var(--bg-card) 40%);
}
.trial-card-highlight:hover {
  border-color: rgba(56, 189, 248, 0.4);
}

.trial-badge {
  position: absolute; top: -11px; right: 24px;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #000;
}

.trial-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(56, 189, 248, 0.08);
  border-radius: 12px;
  margin-bottom: 20px;
  color: var(--accent);
}
.trial-icon svg { width: 24px; height: 24px; }

.trial-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.trial-desc { font-size: 0.88rem; color: var(--text-dim); line-height: 1.65; margin-bottom: 20px; }

.trial-list {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 28px;
}
.trial-list li {
  font-size: 0.85rem; color: var(--text-dim);
  padding-left: 22px;
  position: relative;
}
.trial-list li::before {
  content: '';
  position: absolute; left: 0; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.15);
  border: 2px solid var(--green);
}

/* ── About Page ──────────────────────────────────────── */
.about-hero {
  position: relative;
  padding: 160px 0 80px;
  text-align: center;
  overflow: hidden;
}

.about-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-subtitle {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Mission & Vision */
.mv-section { padding: 40px 0 80px; }

.mv-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}

.mv-card {
  padding: 40px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.25s, transform 0.25s;
}
.mv-card:hover {
  border-color: rgba(56, 189, 248, 0.2);
  transform: translateY(-3px);
}

.mv-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(56, 189, 248, 0.08);
  border-radius: 12px;
  margin-bottom: 20px;
  color: var(--accent);
}
.mv-icon svg { width: 24px; height: 24px; }

.mv-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.mv-card p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.7; }

/* What We Do */
.what-we-do { padding: 80px 0; }

.wwd-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}

.wwd-item {
  padding: 36px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.25s, transform 0.25s;
}
.wwd-item:hover {
  border-color: rgba(56, 189, 248, 0.2);
  transform: translateY(-3px);
}

.wwd-number {
  font-size: 2rem;
  font-weight: 800;
  color: rgba(56, 189, 248, 0.15);
  margin-bottom: 12px;
  line-height: 1;
}

.wwd-item h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.wwd-item p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.65; }

/* Why Choose Us */
.why-us { padding: 80px 0; }

.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}

.why-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.25s;
}
.why-item:hover { border-color: rgba(56, 189, 248, 0.2); }

.why-item > svg {
  width: 22px; height: 22px; flex-shrink: 0;
  color: var(--green);
  margin-top: 2px;
}

.why-item h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; }
.why-item p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.6; }

/* ── Shimi Mascot ────────────────────────────────────── */
.shimi-mascot-wrap {
  position: relative;
  display: inline-block;
}
.shimi-mascot {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 4px 20px rgba(56, 189, 248, 0.25));
  animation: shimiBob 4s ease-in-out infinite;
  transition: transform 0.3s ease;
  cursor: pointer;
}
.shimi-mascot-wrap:hover .shimi-mascot {
  transform: scale(1.1) rotate(-5deg);
  filter: drop-shadow(0 6px 30px rgba(56, 189, 248, 0.4));
}
.shimi-chest-label {
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translateX(-50%);
  font-size: 0.45rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: rgba(56, 189, 248, 0.7);
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
  pointer-events: none;
  white-space: nowrap;
  animation: shimiBob 4s ease-in-out infinite;
}
.product-shimi .shimi-chest-label {
  font-size: 0.7rem;
  letter-spacing: 3px;
}
@keyframes shimiBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Shimi in hero section */

@keyframes shimiGlow {
  0% { filter: drop-shadow(0 4px 20px rgba(56, 189, 248, 0.2)); }
  100% { filter: drop-shadow(0 8px 35px rgba(56, 189, 248, 0.45)); }
}

@keyframes shimiFlicker {
  0% { opacity: 1; }
  10% { opacity: 1; }
  10.5% { opacity: 0.2; }
  11% { opacity: 1; }
  11.5% { opacity: 0.4; }
  12% { opacity: 1; }
  30% { opacity: 1; }
  30.5% { opacity: 0; }
  31% { opacity: 0.8; }
  31.5% { opacity: 0.1; }
  32% { opacity: 1; }
  55% { opacity: 1; }
  55.5% { opacity: 0.3; }
  56% { opacity: 1; }
  75% { opacity: 1; }
  75.5% { opacity: 0; }
  76% { opacity: 0.6; }
  76.5% { opacity: 0.1; }
  77% { opacity: 1; }
  100% { opacity: 1; }
}

/* Shimi in trial section */
.trial-shimi {
  position: absolute;
  left: -80px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.trial-shimi .shimi-mascot {
  width: 100px;
  animation: shimiBob 5s ease-in-out infinite 0.5s;
}

/* Shimi in product hero */
.product-shimi {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.product-shimi .shimi-mascot {
  width: 180px;
  animation: shimiBob 4s ease-in-out infinite, shimiGlow 3s ease-in-out infinite alternate;
}
.product-shimi .shimi-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.6;
}

/* Shimi in CTA section */
.cta-shimi {
  display: inline-block;
  vertical-align: middle;
  margin-right: 12px;
}
.cta-shimi .shimi-mascot {
  width: 60px;
  animation: shimiBob 3s ease-in-out infinite;
}

/* Floating Shimi button (bottom-right) */
.shimi-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.3);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  animation: shimiPulse 3s ease-in-out infinite;
}
.shimi-float-btn:hover {
  transform: scale(1.15);
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 6px 30px rgba(56, 189, 248, 0.3);
}
.shimi-float-btn img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.shimi-float-btn .shimi-tooltip {
  position: absolute;
  bottom: 72px;
  right: 0;
  background: rgba(17, 24, 39, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.78rem;
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.shimi-float-btn:hover .shimi-tooltip {
  opacity: 1;
  transform: translateY(0);
}

@keyframes shimiPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4); }
  50% { box-shadow: 0 4px 20px rgba(56, 189, 248, 0.2); }
}

/* ── Responsive ──────────────────────────────────────── */

/* ── Large tablets / small laptops (≤ 1024px) ────────── */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .hero-visuals { max-width: 750px; }
  .screen-main { width: 480px; }
  .screen-mobile { width: 170px; right: 15px; top: 30px; }
  .screen-report { width: 180px; left: 20px; }
  .contact-grid { gap: 40px; }
  .product-hero-inner { gap: 40px; }
}

/* ── Tablets (≤ 900px) ───────────────────────────────── */
@media (max-width: 900px) {
  /* Nav: compact horizontal with ice-glass effect */
  .nav-pill {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(40px) saturate(1.8);
    -webkit-backdrop-filter: blur(40px) saturate(1.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  .nav-pill.scrolled {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
  .nav-links a { font-size: 0.72rem; padding: 6px 8px; }
  .nav-cta-mobile { display: inline-block !important; font-size: 0.72rem; padding: 6px 12px !important; background: rgba(255, 255, 255, 0.85); color: var(--bg) !important; font-weight: 600; border-radius: 100px; }
  .nav-actions { display: none; }
  .nav-toggle { display: none; }

  /* Logo: hide brand name reveal on tablet (not enough space) */
  .nav-logo:hover .nav-brand-name {
    max-width: 0;
    opacity: 0;
    margin-left: 0;
  }

  /* Product hero: stack vertically */
  .product-hero-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .product-stats { justify-content: center; }
  .product-hero-logo img { max-width: 200px; margin: 0 auto; }
  .product-hero { padding: 120px 0 60px; }
  .product-desc { max-width: 560px; margin-left: auto; margin-right: auto; }

  /* Grids: 2 columns */
  .features-grid { grid-template-columns: 1fr 1fr; }
  .highlights-grid { grid-template-columns: 1fr 1fr; }

  /* Grids: 1 column */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .mv-grid { grid-template-columns: 1fr; }
  .wwd-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .trial-grid { grid-template-columns: 1fr; max-width: 480px; }

  .hero-visuals { height: 280px; }
  .screen-main { width: 400px; }
  .screen-mobile { right: 5px; width: 140px; top: 40px; }
  .screen-report { left: 5px; width: 160px; }
  .fi-5, .fi-6 { display: none; }
  .hero-title-shimi { width: 55px; left: -65px; }
  .trial-shimi { display: none; }
  .product-shimi .shimi-mascot { width: 140px; }
  .product-shimi-side { max-width: 100px !important; }
  .product-hero-logo { gap: 20px; }

  /* Sections: reduce padding */
  .features { padding: 60px 0 80px; }
  .contact { padding: 60px 0 80px; }
  .trial-section { padding: 60px 0; }
  .what-we-do { padding: 60px 0; }
  .why-us { padding: 60px 0; }
  .section-title { margin-bottom: 36px; }

  /* About hero */
  .about-hero { padding: 120px 0 60px; }

  /* Footer */
  .footer-links { gap: 20px; flex-wrap: wrap; justify-content: center; }
}

/* ── Small tablets / large phones (≤ 640px) ──────────── */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav-pill { padding: 0 4px 0 8px; }
  .nav-links a { font-size: 0.68rem; padding: 5px 6px; }
  .nav-cta-mobile { font-size: 0.68rem !important; padding: 5px 10px !important; }

  /* Logo: smaller on mobile */
  .nav-logo > img { height: 46px; width: 46px; }
  .nav-logo { top: 16px; left: 16px; }
  .nav { padding: 14px 16px; }

  /* Hero */
  .hero { padding-top: 100px; min-height: auto; padding-bottom: 40px; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 0.95rem; }
  .hero-badge { font-size: 0.7rem; padding: 5px 12px; letter-spacing: 1.5px; }
  .hero-glow { width: 350px; height: 350px; }

  .hero-visuals { height: 220px; max-width: 100%; }
  .screen-main { width: 90%; max-width: 340px; }
  .screen-mobile, .screen-report { display: none; }
  .float-icon { display: none; }
  .hero-title-shimi { display: none; }
  .product-shimi .shimi-mascot { width: 120px; }
  .product-shimi-side { max-width: 80px !important; }
  .product-hero-logo { gap: 12px; }
  .product-hero-logo::after { display: none; }
  .shimi-float-btn { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .shimi-float-btn img { width: 36px; height: 36px; }

  /* Grids: all single column */
  .features-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr; }

  /* Cards: less padding */
  .feature-card { padding: 24px 20px; }
  .highlight-item { padding: 22px 16px; }
  .trial-card { padding: 28px 22px; }
  .mv-card { padding: 28px 22px; }
  .wwd-item { padding: 28px 22px; }
  .why-item { padding: 22px 18px; gap: 12px; }
  .cta-box { padding: 40px 24px; }
  .cta-box h2 { font-size: 1.4rem; }

  /* Product hero */
  .product-hero { padding: 100px 0 50px; }
  .product-title { font-size: 2.2rem; letter-spacing: 4px; }
  .product-stats { gap: 20px; }
  .product-hero-logo img { max-width: 160px; }

  /* About hero */
  .about-hero { padding: 100px 0 50px; }

  /* Sections: compact padding */
  .highlights { padding: 40px 0 60px; }
  .features { padding: 40px 0 60px; }
  .contact { padding: 40px 0 60px; }
  .trial-section { padding: 40px 0; }
  .cta-section { padding: 30px 0 60px; }
  .what-we-do { padding: 40px 0; }
  .why-us { padding: 40px 0; }
  .mv-section { padding: 20px 0 60px; }
  .section-title { margin-bottom: 28px; font-size: 1.5rem; }

  /* Contact form */
  .contact-form input,
  .contact-form textarea { padding: 12px 14px; font-size: 0.88rem; }

  /* Footer */
  .footer { padding: 36px 0 24px; }
  .footer-links { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .footer-links a { font-size: 0.82rem; }
  .footer-brand img { height: 44px; width: 44px; }
}

/* ── Very small phones (≤ 400px) ─────────────────────── */
@media (max-width: 400px) {
  .container { padding: 0 12px; }
  .nav-pill { padding: 0 3px 0 6px; gap: 0; }
  .nav-links { gap: 0; }
  .nav-links a { font-size: 0.62rem; padding: 4px 5px; }
  .nav-cta-mobile { font-size: 0.62rem !important; padding: 4px 8px !important; }

  .hero h1 { font-size: 1.7rem; }
  .hero-sub { font-size: 0.88rem; }
  .hero-content { padding: 0 8px; }

  .hero-cta { flex-direction: column; gap: 10px; }
  .hero-cta .btn { width: 100%; }

  .product-title { font-size: 1.8rem; letter-spacing: 3px; }
  .product-full-name { font-size: 0.78rem; }
  .product-stats { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .stat-number { font-size: 1.2rem; }

  .screen-main { width: 95%; max-width: 300px; }
  .hero-visuals { height: 200px; }

  .highlight-item h3 { font-size: 0.88rem; }
  .highlight-item p { font-size: 0.78rem; }

  .feature-card h3 { font-size: 0.95rem; }
  .feature-card p { font-size: 0.82rem; }

  .trial-card h3 { font-size: 1.05rem; }
  .trial-desc { font-size: 0.82rem; }
  .trial-list li { font-size: 0.8rem; }

  .contact-info h2 { font-size: 1.5rem; }
  .contact-desc { font-size: 0.88rem; }

  .cta-box h2 { font-size: 1.25rem; }
  .cta-box p { font-size: 0.88rem; }

  .footer-links { gap: 12px; }
  .footer-copy { font-size: 0.72rem; }

  .about-title { font-size: 1.8rem; }
  .about-subtitle { font-size: 0.92rem; }
  .mv-card h3 { font-size: 1.05rem; }
  .wwd-number { font-size: 1.6rem; }
}

/* ── Feed Page ──────────────────────────────────────── */
.feed-header {
  padding: 140px 0 40px;
  text-align: center;
}
.feed-subtitle {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 12px auto 0;
}

.feed-section {
  padding: 0 0 80px;
}
.feed-list {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Post Card */
.feed-post {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.feed-post-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px 8px;
}
.feed-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.feed-author {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.3;
}
.feed-meta {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 1px;
}
.feed-date {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.feed-date svg {
  color: var(--text-dim);
}

/* Post Body */
.feed-post-body {
  padding: 4px 20px 16px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text);
  position: relative;
}
.feed-post-body.collapsed {
  max-height: 3.6em; /* ~2 lines with breathing room */
  overflow: hidden;
}
.feed-post-body.collapsed .feed-hook {
  display: inline;
}
.feed-more-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 20px 12px;
  display: block;
}
.feed-more-btn:hover {
  color: var(--accent);
}
.feed-hook {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}
.feed-checklist {
  list-style: none;
  padding: 8px 0;
}
.feed-checklist li {
  padding: 3px 0;
}
.feed-checklist li::before {
  content: "\2705 ";
}
.feed-checklist-emoji {
  list-style: none;
  padding: 8px 0;
}
.feed-checklist-emoji li {
  padding: 3px 0;
}
.feed-cta-text {
  font-weight: 600;
  color: var(--accent);
  margin-top: 12px;
  font-size: 0.95rem;
}

/* Post Media (Video / Image) */
.feed-post-media {
  width: 100%;
  background: #000;
}
.feed-post-media iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;
}
.feed-post-media img {
  width: 100%;
  height: auto;
  border: none;
  display: block;
}

/* Post Stats */
.feed-post-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.feed-stat-likes {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Post Actions */
.feed-post-actions {
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid var(--border);
  padding: 4px 8px;
}
.feed-action {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: none;
  background: none;
  color: var(--text-dim);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.feed-action:hover {
  background: var(--bg-card-h);
  color: var(--text);
}
.feed-action svg {
  flex-shrink: 0;
}

/* Feed Mobile */
@media (max-width: 600px) {
  .feed-header { padding: 120px 0 24px; }
  .feed-post-header { padding: 12px 16px 6px; }
  .feed-post-body { padding: 4px 16px 12px; font-size: 0.88rem; }
  .feed-post-stats { padding: 6px 16px; }
  .feed-post-actions { padding: 2px 4px; }
  .feed-action { padding: 8px 10px; font-size: 0.8rem; }
  .feed-action span { display: none; }
}
