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

html,
body {
  width: 100%;
  min-height: 100%;
  background: #eef2f7;
  color: #1f2937;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  transition: background-color 0.45s ease, color 0.45s ease;
}

body {
  min-height: 100vh;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  will-change: opacity, transform;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes astra-shine {
  0% {
    transform: translateX(0) skewX(-12deg);
  }

  48%,
  100% {
    transform: translateX(340%) skewX(-12deg);
  }
}

@keyframes astra-grid-scroll {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 42px 42px;
  }
}

@keyframes astra-grid-scroll-large {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: -168px -168px;
  }
}

@keyframes astra-orbit {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 0.18;
  }

  50% {
    transform: rotate(180deg) scale(1.04);
    opacity: 0.28;
  }

  100% {
    transform: rotate(360deg) scale(1);
    opacity: 0.18;
  }
}

@keyframes astra-scanline {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }

  20% {
    opacity: 0.24;
  }

  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

.page {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: visible;
  background: #f5f7fa;
}

.background-system {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.bg-base,
.bg-grid-small,
.bg-grid-large,
.bg-glow {
  position: absolute;
  inset: 0;
}

.bg-base {
  background: #f5f7fa;
}

.bg-grid-small {
  position: absolute;
  inset: -200px;
  opacity: 0.9;
  background-repeat: repeat;
  background-image:
    linear-gradient(rgba(0, 60, 160, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 60, 160, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
}

.bg-grid-large {
  position: absolute;
  inset: -300px;
  opacity: 0.7;
  background-repeat: repeat;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 168px 168px;
}

.bg-orbit-circle {
  position: absolute;
  right: 8%;
  top: 18%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 1px solid rgba(29, 78, 216, 0.1);
  animation: astra-orbit 34s linear infinite;
}

.bg-orbit-square {
  position: absolute;
  right: 13%;
  top: 25%;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  transform: rotate(45deg);
  animation: astra-orbit 48s linear infinite reverse;
}

.bg-line-horizontal {
  position: absolute;
  right: 2%;
  top: 44%;
  width: 760px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(29, 78, 216, 0.2), transparent);
}

.bg-line-vertical {
  position: absolute;
  right: 25%;
  top: 8%;
  width: 1px;
  height: 760px;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 48%, rgba(59, 130, 246, 0.08), transparent 30%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.0), rgba(245, 247, 250, 0.2) 48%, rgba(255, 255, 255, 0.0));
}

.bg-scanline {
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 0;
  height: 112px;
  width: 100%;
  background: linear-gradient(to bottom, rgba(59, 130, 246, 0.05), transparent);
  animation: astra-scanline 7s linear infinite;
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 58px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.topbar-inner {
  display: grid;
  grid-template-columns: 320px 1fr 180px auto;
  align-items: center;
  height: 100%;
  max-width: 1510px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 100%;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: #0f172a;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 86px;
  height: 100%;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav a {
  color: rgba(10, 10, 15, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #1d4ed8;
}

.version-box {
  display: flex;
  align-items: center;
  justify-self: end;
  height: 100%;
  padding-left: 24px;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  padding-right: 24px;
  color: rgba(10, 10, 15, 0.55);
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  white-space: nowrap;
}

.main {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  max-width: 1510px;
  margin: 0 auto;
  padding-top: 84px;
  padding-bottom: 60px;
  padding-left: clamp(20px, 4vw, 60px);
  padding-right: clamp(20px, 4vw, 60px);
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "hero-left"
    "story"
    "design";
  gap: 46px;
}

.hero-left {
  grid-area: hero-left;
  position: relative;
  width: auto;
  min-width: 0;
  max-width: min(720px, 100%);
}

.story-section {
  grid-column: 1 / -1;
}

.design-section {
  grid-column: 1 / -1;
}

.hero-title-block {
  margin-bottom: 50px;
}

.hero-title-block h1 {
  color: #0a0a0f;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  line-height: 1;
  white-space: normal;
  text-transform: uppercase;
  letter-spacing: clamp(0.12em, 0.25vw, 0.26em);
}

.hero-subtitle {
  margin-top: 20px;
  color: rgba(29, 78, 216, 0.5);
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: clamp(0.18em, 0.45vw, 0.54em);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 42px;
}

.section-number {
  color: rgba(29, 78, 216, 0.8);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.section-line {
  width: 110px;
  height: 1px;
  background: rgba(29, 78, 216, 0.35);
}

.section-title {
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: clamp(0.16em, 0.35vw, 0.52em);
}

.statement-box {
  width: min(100%, 720px);
  margin-bottom: 36px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.06);
  border-radius: 24px;
}

.statement-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0f172a;
}

.statement-subtitle {
  margin-top: 8px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.statement-body {
  margin-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.statement-body p {
  color: #334155;
  font-size: 15px;
  font-style: normal;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

.statement-emphasis {
  color: #1f2937;
  font-weight: 700;
  margin-top: 10px;
}

.read-story-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 14px 24px;
  border: none;
  background: #2563eb;
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
}

.read-story-btn:hover {
  background: #1d4ed8;
  box-shadow: 0 18px 32px rgba(37, 99, 235, 0.22);
  transform: translateY(-1px);
}

.download-section {
  position: relative;
  width: min(100%, 720px);
}

.story-section {
  width: auto;
  margin-top: 34px;
  margin-right: 0;
  grid-column: 1 / -1;
  min-width: 0;
}

.story-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
}

.story-card {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #ffffff;
  box-shadow: 0 26px 48px rgba(15, 23, 42, 0.06);
  border-radius: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.story-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 34px 64px rgba(15, 23, 42, 0.12);
}

.story-card h3 {
  color: #0f172a;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.story-subhead {
  margin-top: 10px;
  color: #1e293b;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.story-copy {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.story-copy p {
  color: #334155;
  font-size: 15px;
  font-style: normal;
  line-height: 1.8;
}

.creator-card {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 560px;
}

.creator-top {
  padding: 28px;
}

.creator-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.28);
  padding: 28px;
}

.story-block-label {
  color: rgba(10, 10, 15, 0.84);
  font-size: 12px;
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.story-image-box {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(226, 232, 240, 0.7);
  color: #334155;
  font-size: 13px;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.story-image-box:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.idea-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  min-height: 560px;
}

.idea-card h3 {
  grid-area: unset;
}

.idea-card .story-subhead {
  grid-area: unset;
}

.idea-card .story-copy {
  grid-area: unset;
}

.idea-support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: auto;
}

.idea-support-grid .story-image-box {
  margin-top: 0;
  min-height: 140px;
}

.idea-support-grid .story-image-box img {
  display: block;
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
  cursor: pointer;
  will-change: transform, box-shadow;
}

.idea-support-grid .story-image-box img:hover {
  transform: translateY(-24px) scale(1.05);
  box-shadow: 0 46px 96px rgba(15, 23, 42, 0.2);
  filter: saturate(1.08);
}

.story-cta-row {
  margin-top: 16px;
}

.story-cta-row .read-story-btn {
  margin-top: 0;
}

/* ── 03 Design section ──────────────────────────────────── */

.design-section {
  width: auto;
  margin-top: 60px;
  margin-right: 0;
  grid-column: 1 / -1;
  min-width: 0;
}

.design-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 26px 50px rgba(15, 23, 42, 0.06);
  border-radius: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.design-layout:hover {
  transform: translateY(-1px);
  box-shadow: 0 34px 60px rgba(15, 23, 42, 0.1);
}

.design-sidebar {
  padding: 20px;
  border-right: 1px solid rgba(0, 0, 0, 0.15);
}

.design-sidebar h3 {
  color: #0a0a0f;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}

.design-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
  width: min(100%, 560px);
  justify-self: center;
}

.design-image-box {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  overflow: hidden;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(226, 232, 240, 0.7);
  color: #334155;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
}

.design-image-box:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.design-image-caption {
  color: rgba(10, 10, 15, 0.84);
  font-size: 13px;
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-align: center;
}

.design-grid-image {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: cover;
  border-radius: 16px;
}

.design-image-large {
  min-height: 150px;
}

.design-image-tall {
  min-height: 150px;
}

.design-image-small {
  min-height: 150px;
}

.design-image-wide {
  display: none;
}

@media (max-width: 900px) {
  .design-section {
    width: 100%;
  }

  .design-layout {
    grid-template-columns: 1fr;
  }

  .design-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  }

  .design-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    justify-self: stretch;
  }

  .design-image-large,
  .design-image-tall {
    min-height: 140px;
  }

  .design-image-small {
    min-height: 140px;
  }
}

.preview-panel {
  position: relative;
  width: 100%;
  overflow: visible;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.panel-line {
  position: absolute;
  height: 1px;
  width: 128px;
  background: #2563eb;
}

.panel-line-top {
  left: 32px;
  top: -1px;
}

.panel-line-bottom {
  right: 32px;
  bottom: -1px;
}

.preview-panel h2 {
  margin-bottom: 20px;
  color: #0a0a0f;
  font-size: 16px;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.info-card-grid {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.info-card {
  position: relative;
  min-height: 96px;
  width: 100%;
  overflow: hidden;
  padding: 18px;
  text-align: center;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 24px 42px rgba(15, 23, 42, 0.05);
  transition: 0.3s ease;
  cursor: pointer;
  font-family: inherit;
  border-radius: 20px;
}

.info-card:hover,
.info-card.active {
  transform: translateY(-4px);
  border-color: #2563eb;
  background: #f8fafc;
  box-shadow:
    0 22px 48px rgba(37, 99, 235, 0.12);
}

.info-card-gridlines {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: linear-gradient(rgba(148, 163, 184, 0.15) 1px, transparent 1px);
  background-size: 100% 14px;
}

.shine {
  pointer-events: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 52%;
  opacity: 0.55;
  filter: blur(1px);
  transform: skewX(-12deg);
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: astra-shine 3.8s ease-in-out infinite;
}

.shine-soft {
  opacity: 0.45;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation-duration: 4.2s;
}

.info-card:hover .shine,
.action-button:hover .shine {
  opacity: 1;
  animation-duration: 1.15s;
}

.top-glow {
  pointer-events: none;
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  opacity: 0.6;
  background: linear-gradient(to right, transparent, rgba(37, 99, 235, 0.4), transparent);
}

.radial-gloss {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.12), transparent 55%);
  transition: opacity 0.3s ease;
}

.info-card:hover .radial-gloss {
  opacity: 0.85;
}

.edge {
  position: absolute;
  height: 1px;
  width: 0;
  background: #2563eb;
  transition: width 0.3s ease;
}

.edge-top {
  left: 0;
  top: 0;
}

.edge-bottom {
  right: 0;
  bottom: 0;
}

.info-card:hover .edge,
.info-card.active .edge {
  width: 100%;
}

.info-title {
  position: relative;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: none;
}

.info-value {
  position: relative;
  margin-top: 10px;
  color: #475569;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mobile-detail-panel {
  display: none;
}

.action-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.action-button {
  position: relative;
  overflow: hidden;
  padding: 24px;
  text-align: left;
  color: #0f172a;
  font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  border-radius: 22px;
}

.action-button:hover {
  transform: translateY(-2px);
}

.action-primary {
  border: none;
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 18px 30px rgba(37, 99, 235, 0.22);
}

.action-primary:hover {
  background: #1d4ed8;
  box-shadow: 0 24px 40px rgba(37, 99, 235, 0.3);
}

.action-secondary {
  border: 1px solid #2563eb;
  background: rgba(37, 99, 235, 0.06);
  color: #2563eb;
}

.action-secondary:hover {
  border-color: #1d4ed8;
  background: rgba(37, 99, 235, 0.12);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.12);
}

.action-content {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.action-title {
  font-size: 13px;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.action-title-source {
  font-size: 16px;
  letter-spacing: 0.04em;
}

.action-sub {
  margin-top: 10px;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.action-sub-primary {
  color: rgba(255, 255, 255, 0.75);
}

.action-meta {
  margin-top: 6px;
  color: #64748b;
  font-size: 11px;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.action-meta-source {
  font-size: 12px;
  color: #475569;
}

.action-icon {
  flex-shrink: 0;
  margin-top: 4px;
  color: #fff;
  transition: 0.3s ease;
}

.action-primary:hover .action-icon {
  transform: translateY(4px);
}

.source-icon {
  color: rgba(10, 10, 15, 0.6);
}

.action-secondary:hover .source-icon {
  transform: scale(1.1);
}

.detail-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  margin-bottom: 0;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: #f8fafc;
  backdrop-filter: blur(4px);
  border-radius: 24px;
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease,
    margin 0.4s ease,
    border-color 0.3s ease;
}

.detail-panel.visible {
  max-height: 180px;
  opacity: 1;
  margin-top: 16px;
  margin-bottom: 16px;
  border-color: rgba(148, 163, 184, 0.35);
}

/* ── Right mockup panel ─────────────────────────────────── */

.hero-right {
  grid-area: hero-right;
  position: relative;
  align-self: start;
  width: 100%;
  max-width: 340px;
  min-width: 0;
  margin-left: 0;
  margin-top: 0;
  justify-self: end;
  opacity: 1;
  transform: none;
}

.mockup-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 34px 80px rgba(15, 23, 42, 0.1);
  display: flex;
  flex-direction: column;
  border-radius: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  animation: panel-breathe 10s ease-in-out infinite;
}

@keyframes panel-breathe {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.mockup-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 36px 74px rgba(15, 23, 42, 0.12);
}

.mockup-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  gap: 14px;
  padding: 18px;
}

.mockup-image {
  width: 100%;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: inset 0 0 0 rgba(15, 23, 42, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
  cursor: pointer;
  will-change: transform, box-shadow;
}

.mockup-image:hover {
  transform: translateY(-24px) scale(1.05);
  box-shadow: 0 46px 96px rgba(15, 23, 42, 0.2);
  filter: saturate(1.08);
}

.mockup-placeholder {
  transition: transform 0.35s ease;
}

.mockup-placeholder:hover {
  transform: translateY(-4px);
}

.mockup-hover-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.mockup-placeholder:hover .mockup-hover-label {
  transform: translateY(-2px);
  background: rgba(37, 99, 235, 0.16);
  opacity: 0.96;
}

.preview-caption {
  color: rgba(10, 10, 15, 0.84);
  font-size: 13px;
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-align: center;
  margin-bottom: 10px;
}

.image-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 1000;
}

.image-modal.visible {
  opacity: 1;
  visibility: visible;
}

.image-modal-content {
  position: relative;
  width: min(100%, 980px);
  max-height: 90vh;
  padding: 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.image-modal.visible .image-modal-content {
  transform: translateY(0);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  border-radius: 999px;
  font-size: 22px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  background: rgba(15, 23, 42, 0.16);
  transform: translateY(-1px);
}

.image-modal-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
}

.image-modal-caption {
  margin-top: 14px;
  font-size: 13px;
  color: #475569;
  text-align: center;
}

.mockup-footer {
  padding: 18px 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  text-align: right;
}

.mockup-footer-link {
  color: #375baf;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mockup-footer-link:hover {
  color: #1d4ed8;
}

.detail-panel::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
}



.detail-line-top,
.detail-line-bottom {
  position: absolute;
  height: 1px;
  width: 112px;
  background: #2563eb;
}

.detail-line-top {
  left: 0;
  top: 0;
}

.detail-line-bottom {
  right: 0;
  bottom: 0;
}

.detail-content {
  position: relative;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.detail-left {
  flex-shrink: 0;
  min-width: 110px;
}

.detail-label {
  color: #2563eb;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 6px;
}

.detail-title {
  color: #0a0a0f;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 4px;
}

.detail-value-inline {
  color: rgba(29, 78, 216, 0.6);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.detail-divider-v {
  flex-shrink: 0;
  width: 1px;
  align-self: stretch;
  background: rgba(0, 0, 0, 0.08);
}

.detail-text {
  flex: 1;
  margin: 0;
  color: #475569;
  font-size: 14px;
  font-style: normal;
  line-height: 1.85;
  letter-spacing: 0em;
  text-transform: none;
}

.detail-footer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  color: rgba(10, 10, 15, 0.35);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.detail-footer span:nth-child(even) {
  color: rgba(10, 10, 15, 0.8);
  text-align: right;
}

.right-symbol {
  pointer-events: none;
  position: fixed;
  right: max(-160px, calc((100vw - 1510px) / 2 - 160px));
  top: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 430px;
  height: 430px;
  z-index: 9;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.symbol-circle {
  position: absolute;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.symbol-square {
  position: absolute;
  width: 500px;
  height: 500px;
  transform: rotate(45deg);
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.symbol-line-horizontal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 1px;
  background: rgba(0, 0, 0, 0.12);
}

.symbol-line-vertical {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1px;
  height: 720px;
  background: rgba(0, 0, 0, 0.07);
}

@keyframes astra-logo-float {
  0% {
    transform: translate(0px, 0px);
  }

  33% {
    transform: translate(8px, -6px);
  }

  66% {
    transform: translate(-6px, 8px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}

.right-symbol img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1320px;
  height: 1320px;
  object-fit: contain;
  transform: translate(-50%, calc(-50% + 10px));
  z-index: 10;
}

.symbol-glow {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.2);
  filter: blur(32px);
}

@keyframes pulse-glow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.34;
  }
  50% {
    transform: scale(1.06);
    opacity: 0.44;
  }
}

@media (min-width: 1280px) {
  .detail-panel {
    display: block;
  }
}

@media (max-width: 1200px) {
  .topbar-inner {
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    gap: 16px;
  }

  .nav {
    gap: 32px;
  }

  .right-symbol {
    opacity: 0.25;
    right: -160px;
  }

  .hero-left {
    left: 0;
  }

  .main {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
    gap: 40px clamp(16px, 2vw, 24px);
  }

  .hero-right {
    max-width: 300px;
  }

  .story-layout {
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  }

  .design-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .footer-inner {
    padding: 12px 24px;
  }
}

@media (max-width: 1024px) {
  .main {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
    gap: 36px 16px;
  }

  .hero-right {
    max-width: 260px;
  }

  .story-layout {
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    gap: 20px;
  }

  .design-layout {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .info-card-grid,
  .action-grid {
    gap: 10px;
  }
}

@media (max-width: 900px) {
  body {
    overflow: auto;
  }

  .main {
    grid-template-columns: 1fr;
    grid-template-areas:
      "hero-left"
      "story"
      "design";
    gap: 32px;
    padding-top: 72px;
  }

  .hero-right {
    display: none;
  }

  .nav {
    display: none;
  }

  .topbar-inner {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }

  .brand-name {
    font-size: 20px;
    letter-spacing: 0.3em;
  }

  .hero-left {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    max-width: 100%;
    padding: 40px 0 20px;
  }

  .hero-title-block h1 {
    font-size: 38px;
    letter-spacing: 0.22em;
  }

  .hero-subtitle {
    font-size: 13px;
    letter-spacing: 0.28em;
  }

  .statement-box,
  .download-section,
  .story-section,
  .design-section {
    width: 100%;
  }

  .section-label {
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
  }

  .section-line {
    width: 64px;
  }

  .story-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .story-card h3 {
    font-size: 22px;
  }

  .story-copy p {
    font-size: 12px;
  }

  .creator-card,
  .idea-card {
    min-height: auto;
  }

  .idea-card {
    gap: 16px;
    padding: 24px;
  }

  .idea-support-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .idea-support-grid .story-image-box {
    min-height: 120px;
  }

  .info-card-grid,
  .action-grid {
    grid-template-columns: 1fr;
  }

  .mobile-detail-panel.visible {
    display: block;
    margin-top: 20px;
    padding: 12px;
    border: 1px solid rgba(191, 219, 254, 0.45);
    background: rgba(147, 197, 253, 0.2);
    box-shadow: inset 0 0 28px rgba(95, 145, 220, 0.16);
  }

  .mobile-detail-label {
    margin-bottom: 8px;
    color: #2563eb;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
  }

  .mobile-detail-text {
    color: rgba(10, 10, 15, 0.65);
    font-size: 12px;
    line-height: 24px;
  }

  .right-symbol {
    display: none;
  }
}

@media (max-width: 640px) {
  .topbar {
    height: 54px;
  }

  .topbar-inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .version-box {
    display: none;
  }

  .main {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 64px;
  }

  .hero-title-block {
    margin-bottom: 32px;
  }

  .hero-title-block h1 {
    font-size: 34px;
    letter-spacing: 0.12em;
  }

  .hero-subtitle {
    font-size: 12px;
    letter-spacing: 0.16em;
  }

  .statement-box,
  .preview-panel,
  .story-card,
  .design-layout {
    border-radius: 20px;
  }

  .creator-top,
  .creator-bottom,
  .design-sidebar,
  .preview-panel,
  .statement-box {
    padding: 20px;
  }

  .idea-card {
    padding: 20px;
  }

  .idea-support-grid,
  .design-grid,
  .action-grid,
  .info-card-grid,
  .footer-mid {
    grid-template-columns: 1fr;
  }

  .design-image-large,
  .design-image-tall,
  .design-image-small {
    grid-column: auto;
    grid-row: auto;
    min-height: 160px;
  }

  .footer-inner {
    padding: 20px 16px;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ── Footer ─────────────────────────────────────────────── */

.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer.visible {
  transform: translateY(0);
}

#footer-sentinel {
  width: 100%;
  height: 1px;
  margin-top: 150px;
  pointer-events: none;
}

.footer-inner {
  max-width: 1510px;
  margin: 0 auto;
  padding: 12px 82px;
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 10px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.footer-brand-name {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: #0f172a;
}

.footer-tagline {
  color: #0a0a0f;
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin-bottom: 10px;
}

.footer-mid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 10px;
}

.footer-col {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.footer-col-label {
  width: 100%;
  color: #0a0a0f;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0;
}

.footer-col a,
.footer-col span {
  color: #0a0a0f;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #1d4ed8;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  color: #0a0a0f;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-note {
  color: #0a0a0f;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .footer-inner {
    padding: 36px 24px 24px;
  }

  .footer-mid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .site-footer,
  .site-footer.visible {
    position: static;
    transform: none;
  }

  #footer-sentinel {
    display: none;
  }

  .footer-inner {
    padding: 14px 16px;
  }

  .footer-top,
  .footer-bottom {
    gap: 6px;
  }

  .footer-mid {
    gap: 16px;
    margin-bottom: 8px;
  }

  .footer-col {
    gap: 4px 12px;
  }

  .footer-brand-name,
  .footer-tagline,
  .footer-col-label,
  .footer-col a,
  .footer-col span,
  .footer-copy,
  .footer-note {
    font-size: 10px;
  }
}

/* ── Theme toggle button ────────────────────────────────── */

.theme-toggle {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-left: 4px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  border-radius: 999px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover {
  background: #0f172a;
  color: #f8fafc;
  border-color: #0f172a;
  transform: translateY(-1px);
}

.theme-toggle-icon {
  display: inline-block;
  transform: translateY(-1px);
}

/* ── Creator contact ────────────────────────────────────── */

.creator-contact {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.creator-contact-label {
  color: rgba(10, 10, 15, 0.55);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 6px;
}

.creator-contact-link {
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.creator-contact-link:hover {
  color: #0f172a;
  text-decoration: underline;
}

/* ── Dark theme ─────────────────────────────────────────── */

body[data-theme="dark"] {
  background: #0a0a0f;
  color: #e2e8f0;
}

body[data-theme="dark"] .page,
body[data-theme="dark"] .bg-base {
  background: #0a0a0f;
}

body[data-theme="dark"] .bg-grid-small {
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
}

body[data-theme="dark"] .bg-grid-large {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

body[data-theme="dark"] .bg-glow {
  background:
    radial-gradient(circle at 78% 48%, rgba(59, 130, 246, 0.18), transparent 30%),
    linear-gradient(90deg, rgba(10, 10, 15, 0), rgba(15, 23, 42, 0.4) 48%, rgba(10, 10, 15, 0));
}

body[data-theme="dark"] .topbar,
body[data-theme="dark"] .site-footer {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(148, 163, 184, 0.18);
}

body[data-theme="dark"] .brand-name,
body[data-theme="dark"] .hero-title-block h1,
body[data-theme="dark"] .section-title,
body[data-theme="dark"] .statement-title,
body[data-theme="dark"] .story-card h3,
body[data-theme="dark"] .design-sidebar h3,
body[data-theme="dark"] .preview-panel h2,
body[data-theme="dark"] .info-title,
body[data-theme="dark"] .detail-title,
body[data-theme="dark"] .footer-brand-name,
body[data-theme="dark"] .footer-tagline,
body[data-theme="dark"] .footer-col-label,
body[data-theme="dark"] .footer-col a,
body[data-theme="dark"] .footer-col span,
body[data-theme="dark"] .footer-copy,
body[data-theme="dark"] .footer-note {
  color: #f1f5f9;
}

body[data-theme="dark"] .nav a,
body[data-theme="dark"] .version-box {
  color: rgba(241, 245, 249, 0.78);
}

body[data-theme="dark"] .nav a:hover,
body[data-theme="dark"] .footer-col a:hover {
  color: #60a5fa;
}

body[data-theme="dark"] .statement-box,
body[data-theme="dark"] .preview-panel,
body[data-theme="dark"] .story-card,
body[data-theme="dark"] .design-layout,
body[data-theme="dark"] .info-card,
body[data-theme="dark"] .detail-panel,
body[data-theme="dark"] .action-secondary,
body[data-theme="dark"] .story-image-box,
body[data-theme="dark"] .design-image-box {
  background: #111827;
  border-color: rgba(148, 163, 184, 0.18);
  color: #e2e8f0;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

body[data-theme="dark"] .statement-body p,
body[data-theme="dark"] .story-copy p,
body[data-theme="dark"] .detail-text,
body[data-theme="dark"] .info-value,
body[data-theme="dark"] .action-sub,
body[data-theme="dark"] .action-meta,
body[data-theme="dark"] .design-image-caption,
body[data-theme="dark"] .preview-caption,
body[data-theme="dark"] .story-block-label {
  color: #cbd5e1;
}

body[data-theme="dark"] .statement-emphasis {
  color: #f8fafc;
}

body[data-theme="dark"] .statement-subtitle,
body[data-theme="dark"] .section-number,
body[data-theme="dark"] .creator-contact-link,
body[data-theme="dark"] .detail-label {
  color: #93c5fd;
}

body[data-theme="dark"] .creator-contact-link:hover {
  color: #f8fafc;
}

body[data-theme="dark"] .section-line,
body[data-theme="dark"] .footer-divider,
body[data-theme="dark"] .creator-bottom,
body[data-theme="dark"] .creator-contact,
body[data-theme="dark"] .statement-body,
body[data-theme="dark"] .design-sidebar {
  border-color: rgba(148, 163, 184, 0.18);
}

body[data-theme="dark"] .info-card:hover,
body[data-theme="dark"] .info-card.active {
  background: #1e293b;
  border-color: #60a5fa;
}

body[data-theme="dark"] .action-secondary {
  border-color: #60a5fa;
  background: rgba(96, 165, 250, 0.08);
  color: #93c5fd;
}

body[data-theme="dark"] .theme-toggle {
  background: rgba(241, 245, 249, 0.08);
  color: #f1f5f9;
  border-color: rgba(241, 245, 249, 0.25);
}

body[data-theme="dark"] .theme-toggle:hover {
  background: #f1f5f9;
  color: #0a0a0f;
  border-color: #f1f5f9;
}

body[data-theme="dark"] .right-symbol img {
  filter: invert(1) hue-rotate(180deg);
  opacity: 0.85;
}

body[data-theme="dark"] .symbol-circle,
body[data-theme="dark"] .symbol-square,
body[data-theme="dark"] .symbol-line-horizontal,
body[data-theme="dark"] .symbol-line-vertical,
body[data-theme="dark"] .bg-orbit-circle,
body[data-theme="dark"] .bg-orbit-square,
body[data-theme="dark"] .bg-line-horizontal,
body[data-theme="dark"] .bg-line-vertical {
  border-color: rgba(148, 163, 184, 0.18);
  background: linear-gradient(to right, transparent, rgba(148, 163, 184, 0.18), transparent);
}

body[data-theme="dark"] .brand img,
body[data-theme="dark"] .footer-brand img {
  filter: invert(1);
}

