/* KIOTSO Ecosystem — Brand Standard CSS (Neo-Brutalism Style) */

:root {
  --ink: #000f1d;
  --ink-soft: #31404e;
  --paper: #f7f7f7;
  --ice: #4da2ff;
  --mint: #55db9c;
  --blue: #e9ccff;
  --silver: #f79f4d;
  --teal: #4da2ff;
  --teal-bright: #6de6f8;
  --yellow: #ffd731;
  --orange: #ff7a00;
  --purple: #5c4ade;
  --pink: #e9ccff;
  --line: rgba(0, 15, 29, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

/* Blueprint Grid Background */
.blueprint-bg {
  background: 
    linear-gradient(rgba(77, 162, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 162, 255, 0.18) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
}

/* Shell Layout Container */
.shell {
  width: min(1380px, calc(100% - 64px));
  margin-inline: auto;
}

/* Site Header */
.site-header {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2.5px solid var(--ink);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 100;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.wordmark-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wordmark {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.brand-subtag {
  padding: 5px 10px;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  background: var(--yellow);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  gap: 28px;
}

.nav-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-soft);
  transition: color 150ms ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--ink);
}

.hub-button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 150ms ease;
}

.hub-button-secondary:hover {
  transform: translate(-1px, -1px);
  background: #ffffff;
}

.hub-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: var(--purple);
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3.5px 3.5px 0 var(--ink);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.hub-button:hover {
  transform: translate(-1.5px, -1.5px);
  box-shadow: 5px 5px 0 var(--ink);
}

/* Hero Section Grid (2-Column Layout with Animated Illustration) */
.hero-section {
  padding-block: 72px 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  padding: 6px 18px;
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 24px;
}

.kicker-dot {
  width: 8px;
  height: 8px;
  background-color: var(--purple);
  border-radius: 50%;
}

.hero-title {
  margin: 0 0 24px;
  font-size: clamp(40px, 4.8vw, 68px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.highlight-purple {
  font-style: normal;
  color: var(--purple);
}

.hero-description {
  margin: 0 0 32px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.btn-primary-neo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  background: var(--purple);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.btn-primary-neo:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn-secondary-neo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.btn-secondary-neo:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
  background: #ffffff;
}

/* Right Column Animated Illustration Showcase */
.hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.visual-stack-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: rgba(247, 247, 247, 0.85);
  border: 2.5px solid var(--ink);
  border-radius: 24px;
  box-shadow: 10px 10px 0 var(--ink), 0 12px 40px rgba(92, 74, 222, 0.18);
  transition: box-shadow 300ms ease;
}

.hero-visual-hub-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  color: var(--ink);
  background: #ffffff;
  border: 1.5px solid var(--ink);
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 4px;
  align-self: center;
}

.hub-live-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  animation: pulse-green 1.8s infinite ease-in-out;
}

@keyframes pulse-green {
  0% { transform: scale(0.8); opacity: 0.6; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.8); opacity: 0.6; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Floating Animations for 3 Cards */
@keyframes float-slow-1 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}

@keyframes float-slow-2 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-9px); }
}

@keyframes float-slow-3 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

.float-anim-1 { animation: float-slow-1 4.2s ease-in-out infinite; }
.float-anim-2 { animation: float-slow-2 4.8s ease-in-out 0.8s infinite; }
.float-anim-3 { animation: float-slow-3 4.4s ease-in-out 1.6s infinite; }

.stack-card {
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 200ms ease;
}

.stack-card:hover {
  transform: translate(-3px, -3px) !important;
}

.card-ice { background: var(--ice); color: var(--ink); }
.card-yellow { background: var(--yellow); color: var(--ink); }
.card-mint { background: var(--mint); color: var(--ink); }

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.card-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  background: #ffffff;
}

.card-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 800;
}

.stack-card h4 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
}

.stack-card p {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.9;
  margin: 0;
}

/* Category Filter Wrapper */
.category-filter-wrapper {
  margin-top: 68px;
  padding-top: 36px;
  padding-bottom: 20px;
  border-top: 2px solid var(--line);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.tab-pill {
  padding: 11px 22px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3.5px 3.5px 0 var(--ink);
  cursor: pointer;
  transition: all 150ms ease;
}

.tab-pill:hover {
  transform: translate(-1.5px, -1.5px);
  box-shadow: 5px 5px 0 var(--ink);
  background: #ffffff;
}

.tab-pill.active {
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
}

/* Marquee Ticker (Seamless Infinite Loop) */
.marquee-ticker {
  background: var(--ink);
  color: var(--yellow);
  padding: 16px 0;
  border-block: 2px solid var(--ink);
  overflow: hidden;
  display: flex;
  margin-block: 24px 56px;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 24s linear infinite;
  will-change: transform;
}

.marquee-group {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.marquee-group span {
  margin-right: 28px;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Track Cards Grid */
.track-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.track-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 5px 5px 0 var(--ink);
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.track-card:hover {
  transform: translate(-2px, -3px);
  box-shadow: 8px 8px 0 var(--ink);
  background: var(--yellow);
}

.track-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-soft);
  margin-right: 12px;
}

.track-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.track-card p {
  font-size: 12px;
  color: var(--ink-soft);
}

.track-arrow {
  font-size: 18px;
  font-weight: 800;
}

/* Metrics Box */
.mini-metrics {
  display: flex;
  gap: 16px;
}

.metric-box {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: 4px 4px 0 var(--ink);
  display: flex;
  flex-direction: column;
}

.metric-box b {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.metric-box small {
  font-size: 11px;
  color: var(--ink-soft);
}

/* Resources Section */
.resources-section {
  padding-block: 60px 100px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
}

.eyebrow {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.eyebrow.light {
  color: var(--ink);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 560;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.results-count {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Product Grid Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  overflow: hidden;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--ink);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card:hover {
  transform: translate(-3px, -5px);
  box-shadow: 11px 11px 0 var(--ink);
}

/* Product Visual Header & Graphic Mockups */
.product-visual {
  position: relative;
  min-height: 185px;
  padding: 16px;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-size: 28px 28px;
  transition: background-position 350ms ease;
}

.product-card:hover .product-visual {
  background-position: 14px 14px;
}

.card-visual-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  z-index: 2;
}

.card-visual-mockup {
  position: relative;
  width: 100%;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 1;
}

/* Mini Window Mockup */
.mini-window {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  padding: 6px 8px;
  box-shadow: 3px 3px 0 var(--ink);
}

/* Language Switcher VI / EN */
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 800;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3.5px 3.5px 0 var(--ink);
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.lang-switch-btn:hover {
  transform: translate(-1.5px, -1.5px);
  box-shadow: 5px 5px 0 var(--ink);
  background: var(--yellow);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.mini-window-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
}

.mini-window-bar .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.mini-window-bar .dot.red { background: #ef4444; }
.mini-window-bar .dot.yellow { background: #f59e0b; }
.mini-window-bar .dot.green { background: #10b981; }

.mini-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  margin-left: 4px;
  color: var(--ink-soft);
}

.mini-timeline {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mini-timeline .track {
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
  border: 1px solid var(--ink);
}
.mini-timeline .track.v1 { background: var(--purple); color: #fff; }
.mini-timeline .track.a1 { background: var(--yellow); color: var(--ink); }

/* Visual Chips */
.visual-chips {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px;
  font-weight: 800;
  padding: 2px 6px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 1.5px 1.5px 0 var(--ink);
  color: var(--ink);
}
.chip.purple { background: var(--purple); color: #fff; }
.chip.yellow { background: var(--yellow); color: var(--ink); }
.chip.mint { background: var(--mint); color: var(--ink); }
.chip.blue { background: var(--ice); color: var(--ink); }
.chip.pink { background: var(--pink); color: var(--ink); }
.chip.dark { background: var(--ink); color: #fff; }

/* Mini Chart Box */
.mini-chart-box {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  padding: 8px;
  box-shadow: 3px 3px 0 var(--ink);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  font-size: 9.5px;
  font-weight: 800;
  margin-bottom: 6px;
}

.growth-tag {
  color: #16a34a;
  background: #dcfce7;
  padding: 1px 4px;
  border-radius: 4px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 24px;
}

.chart-bars .bar {
  flex: 1;
  background: var(--ink-soft);
  border-radius: 2px 2px 0 0;
  border: 1px solid var(--ink);
}

.chart-bars .bar.active {
  background: #16a34a;
}

/* Mini Code Editor */
.mini-code-editor {
  background: var(--ink);
  color: #ffffff;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  padding: 8px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  box-shadow: 3px 3px 0 var(--ink);
}

.code-line .keyword { color: #f472b6; font-weight: 700; }
.code-line .var { color: #60a5fa; }
.code-line .string { color: #facc15; }
.code-line .func { color: #4ade80; }

/* Mini Grid Table */
.mini-grid-table {
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  overflow: hidden;
  font-size: 9px;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--ink);
}

.table-row {
  display: flex;
  border-bottom: 1px solid var(--ink);
}
.table-row.head { background: var(--yellow); }
.table-row span {
  flex: 1;
  padding: 3px;
  text-align: center;
  border-right: 1px solid var(--ink);
}
.table-row span:last-child { border-right: none; }
.table-row span.highlight { background: var(--mint); }

/* Mini Template Stack */
.mini-template-stack {
  position: relative;
  height: 38px;
}
.mini-template-stack .layer {
  position: absolute;
  width: 85%;
  padding: 4px 8px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  font-size: 9px;
  font-weight: 800;
  box-shadow: 2px 2px 0 var(--ink);
}
.mini-template-stack .layer-1 { top: 0; left: 0; background: #fff; }
.mini-template-stack .layer-2 { top: 6px; left: 10px; background: var(--yellow); }
.mini-template-stack .layer-3 { top: 12px; left: 20px; background: var(--mint); }

/* Mini Font Preview */
.mini-font-preview {
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 3px 3px 0 var(--ink);
}
.font-sample { font-size: 15px; font-weight: 800; font-family: serif; }
.font-tag { font-size: 9px; font-weight: 800; background: var(--pink); padding: 2px 6px; border-radius: 4px; border: 1px solid var(--ink); }

/* Other Mockup Elements */
.mini-media-deck, .mini-score-card, .mini-char-box, .mini-lang-dual, .mini-global-box, .mini-book-spine, .mini-doc-sheet, .mini-test-paper, .mini-music-sheet, .mini-plugin-box, .mini-plan-card, .mini-gift-box, .mini-skill-box {
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 9.5px;
  font-weight: 800;
  box-shadow: 3px 3px 0 var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mini-book-spine .book { padding: 3px 6px; border-radius: 4px; border: 1px solid var(--ink); font-size: 8.5px; }
.mini-book-spine .b1 { background: var(--ice); }
.mini-book-spine .b2 { background: var(--yellow); }
.score-badge { background: var(--purple); color: #fff; padding: 2px 6px; border-radius: 4px; font-size: 11px; }

.visual-ice {
  background-image: 
    linear-gradient(rgba(0, 15, 29, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 15, 29, 0.08) 1px, transparent 1px);
  background-color: var(--ice);
}

.visual-mint {
  background-image: 
    linear-gradient(rgba(0, 15, 29, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 15, 29, 0.08) 1px, transparent 1px);
  background-color: var(--mint);
}

.visual-yellow {
  background-image: 
    linear-gradient(rgba(0, 15, 29, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 15, 29, 0.08) 1px, transparent 1px);
  background-color: var(--yellow);
}

.visual-pink {
  background-image: 
    linear-gradient(rgba(0, 15, 29, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 15, 29, 0.08) 1px, transparent 1px);
  background-color: var(--pink);
}

.visual-silver {
  background-image: 
    linear-gradient(rgba(0, 15, 29, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 15, 29, 0.08) 1px, transparent 1px);
  background-color: var(--silver);
}

.card-badge {
  padding: 6px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.index-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  padding: 4px 8px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
}

.product-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.product-content h3 {
  margin: 8px 0 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.3;
}

.product-content p {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.5;
  flex: 1;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1.5px solid rgba(0, 15, 29, 0.18);
}

.product-meta-text {
  font-size: 11px;
  font-weight: 800;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.action-btn-neo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 800;
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  transition: all 150ms ease;
}

.action-btn-neo:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
  background: #ffffff;
}

/* Process Section */
.process-section {
  padding-block: 80px 100px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.process-card {
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 20px;
  padding: 32px 26px;
  box-shadow: 8px 8px 0 var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 12px 12px 0 var(--ink);
}

.card-step-ice { background: linear-gradient(180deg, #ffffff 0%, var(--ice) 100%); }
.card-step-yellow { background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%); }
.card-step-mint { background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%); }

.process-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.step-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
  background: #ffffff;
  border: 1.5px solid var(--ink);
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 2px 2px 0 var(--ink);
}

.step-accent-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 800;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-card-visual {
  height: 96px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 0 var(--ink);
  margin-block: 6px 12px;
  overflow: hidden;
  position: relative;
}

/* Step 1 Visual Mockup */
.mini-step-plans {
  display: flex;
  gap: 8px;
}

.mini-plan-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  background: #ffffff;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  color: var(--ink-soft);
}

.mini-plan-chip.active {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  transform: scale(1.06);
}

/* Step 2 Visual Mockup */
.mini-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.qr-matrix {
  width: 44px;
  height: 44px;
  background: var(--ink);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.qr-corner {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 12px;
  height: 12px;
  background: var(--yellow);
  border: 2px solid var(--paper);
}

.qr-scan-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
  animation: scanLine 2s ease-in-out infinite alternate;
}

@keyframes scanLine {
  0% { top: 0; }
  100% { top: calc(100% - 3px); }
}

.qr-sub-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 800;
  color: var(--purple);
}

/* Step 3 Visual Mockup */
.mini-drive-invite {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  background: #ffffff;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  box-shadow: 2px 2px 0 var(--ink);
}

.invite-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  color: var(--ink);
}

.green-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
}

.invite-sub {
  font-size: 10px;
  color: var(--ink-soft);
  font-family: 'JetBrains Mono', monospace;
}

.process-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 2px;
}

.process-card p {
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0;
}

.secure-tag {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  background: var(--mint);
  border: 1.5px solid var(--ink);
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
}

/* Pricing Section */
.pricing-section {
  padding-block: 80px 100px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.price-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: 8px 8px 0 var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 12px 12px 0 var(--ink);
}

.price-card.popular {
  background: #ffffff;
  border-width: 3px;
  box-shadow: 10px 10px 0 var(--ink);
}

.popular-badge {
  position: absolute;
  top: -16px;
  right: 24px;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 3px 3px 0 var(--ink);
}

/* Larger Animated Google Drive Logo with AI Sparkle Bling Effect */
.gdrive-floating-badge {
  position: absolute;
  top: -24px;
  right: -16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: #ffffff;
  border: 2.5px solid var(--ink);
  border-radius: 20px;
  box-shadow: 4px 4px 0 var(--ink);
  animation: driveBlingPulse 3.5s ease-in-out infinite alternate;
}

.gdrive-svg-large {
  width: 42px;
  height: 42px;
  filter: drop-shadow(1px 2px 0 rgba(0,0,0,0.12));
}

.sparkle {
  position: absolute;
  font-size: 14px;
  color: var(--yellow);
  text-shadow: 1px 1px 0 var(--ink);
  pointer-events: none;
  animation: sparkleBling 2.2s infinite ease-in-out alternate;
}

.sp-1 {
  top: -8px;
  right: -6px;
  animation-delay: 0s;
}

.sp-2 {
  bottom: -6px;
  left: -6px;
  font-size: 12px;
  color: var(--mint);
  animation-delay: 1.1s;
}

@keyframes driveBlingPulse {
  0% {
    transform: scale(1) rotate(0deg);
    box-shadow: 4px 4px 0 var(--ink);
  }
  50% {
    transform: scale(1.1) rotate(4deg);
    box-shadow: 7px 7px 0 var(--ink), 0 0 16px rgba(255, 222, 89, 0.6);
  }
  100% {
    transform: scale(0.96) rotate(-2deg);
    box-shadow: 3px 3px 0 var(--ink);
  }
}

@keyframes sparkleBling {
  0% {
    transform: scale(0.6) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.3) rotate(45deg);
    opacity: 1;
  }
  100% {
    transform: scale(0.8) rotate(90deg);
    opacity: 0.5;
  }
}

.plan-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.plan-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-block: 6px 14px;
  color: var(--ink);
  line-height: 1.1;
  text-transform: uppercase;
  display: inline-block;
  padding: 5px 16px;
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  box-shadow: 3.5px 3.5px 0 var(--ink);
}

/* Plan 1 Title */
.price-card:nth-child(1) .plan-title {
  background: var(--ice);
  color: var(--ink);
}

/* Plan 2 Title */
.price-card:nth-child(2) .plan-title {
  background: var(--yellow);
  color: var(--ink);
}

/* Plan 3 Title (Popular) */
.price-card.popular .plan-title {
  background: var(--purple);
  color: #ffffff;
  box-shadow: 4px 4px 0 var(--ink);
}

.plan-desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.45;
  margin-bottom: 24px;
  min-height: 38px;
}

.price-val {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}

.price-val small {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.value-cue {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  background: var(--ice);
  border: 1.5px solid var(--ink);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 24px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.plan-features li {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.btn-plan {
  width: 100%;
  padding: 14px;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: all 150ms ease;
}

.btn-plan:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--yellow);
}

.popular-btn {
  background: var(--purple);
  color: #ffffff;
}

.popular-btn:hover {
  background: var(--yellow);
  color: var(--ink);
}

/* Free Section & Community */
.free-section {
  padding-block: 80px 100px;
}

.free-panel {
  padding: 48px 40px;
  border: 2px solid var(--ink);
  border-radius: 20px;
  background: 
    linear-gradient(rgba(77, 162, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 162, 255, 0.12) 1px, transparent 1px),
    #eef6ff;
  background-size: 40px 40px;
  box-shadow: 8px 8px 0 var(--ink);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.community-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 6px 6px 0 var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.community-card:hover {
  transform: translate(-2px, -3px);
  box-shadow: 9px 9px 0 var(--ink);
}

.comm-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  background: #229ed9;
  color: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  margin-bottom: 14px;
  align-self: flex-start;
}

.community-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.community-card p {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.comm-link {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

/* Kiotso Standard Panel */
.why-section {
  padding-block: 80px 120px;
}

.why-panel {
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: 
    linear-gradient(rgba(0, 15, 29, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 15, 29, 0.11) 1px, transparent 1px),
    var(--ice);
  background-size: 54px 54px;
  box-shadow: 10px 10px 0 var(--ink);
}

.why-intro {
  display: flex;
  flex-direction: column;
  margin-top: 4px;
}

.why-panel h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 560;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.why-list {
  align-self: end;
}

.why-list > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 20px;
  padding-block: 22px;
  border-bottom: 1.5px solid rgba(0, 15, 29, 0.42);
}

.why-list span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
}

.why-list p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
}

/* Footer Layout */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 2px solid var(--ink);
  padding-block: 44px;
  gap: 20px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.footer-tagline {
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 600;
  margin: 0;
}

.footer-right {
  margin-left: auto;
}

/* Quick View Modal Popup */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 15, 29, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 18px;
  max-width: 620px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: 12px 12px 0 var(--ink);
  transform: translateY(20px);
  transition: transform 200ms ease;
}

.modal-backdrop.active .modal-window {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--yellow);
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--ink);
}

/* Toast Alert */
.toast-popup {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  padding: 12px 24px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  z-index: 2000;
  opacity: 0;
  transition: all 250ms ease;
}

.toast-popup.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Footer */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px solid var(--ink);
  padding-block: 56px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-right {
  display: flex;
  align-items: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-copy {
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .product-grid, .process-grid, .pricing-grid, .community-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .shell {
    width: calc(100% - 32px);
  }
  
  /* Fix Mobile Header Overlapping Completely */
  .site-header {
    height: 68px;
    padding-block: 0;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .wordmark {
    font-size: 20px;
  }
  
  .brand-subtag {
    padding: 3px 6px;
    font-size: 9px;
  }

  .site-header .hub-button-secondary {
    display: none;
  }

  .site-footer .hub-button-secondary {
    display: inline-flex !important;
  }

  .hub-button {
    padding: 8px 14px;
    font-size: 13px;
    white-space: nowrap;
  }

  .lang-switch-btn {
    padding: 5px 10px;
    font-size: 11px;
    box-shadow: 2px 2px 0 var(--ink);
  }

  /* Responsive Section Vertical Spacings */
  .hero-section {
    padding-block: 40px 32px;
  }

  .hero-trust-badge {
    margin-bottom: 18px;
    font-size: 11px;
    padding: 5px 14px;
  }

  .hero-title {
    font-size: clamp(32px, 8vw, 44px);
    margin-bottom: 18px;
    line-height: 1.15;
  }

  .hero-description {
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.55;
  }

  .hero-actions {
    gap: 12px;
    width: 100%;
  }

  .btn-primary-neo, .btn-secondary-neo {
    padding: 13px 24px;
    font-size: 15px;
    width: 100%;
  }

  .category-filter-wrapper {
    margin-top: 36px;
    padding-top: 24px;
  }

  .category-tabs {
    gap: 8px;
  }

  .tab-pill {
    padding: 8px 14px;
    font-size: 12.5px;
  }

  .resources-section, 
  .process-section, 
  .pricing-section, 
  .free-section,
  .why-section {
    padding-block: 44px 48px;
  }

  .free-panel {
    padding: 28px 20px;
  }

  .why-panel {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 28px;
  }

  .why-list > div {
    grid-template-columns: 32px 1fr;
    gap: 12px;
    padding-block: 14px;
  }

  .product-grid, 
  .process-grid, 
  .pricing-grid, 
  .community-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .site-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-block: 32px;
    gap: 12px;
  }

  .footer-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
    align-items: flex-start;
  }

  .footer-right {
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
  }

  .site-footer .hub-button-secondary {
    display: inline-flex !important;
  }
}

/* Polling Pulse Animation */
.status-pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #2563eb;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 1.4s infinite ease-in-out;
}

@keyframes pulse-dot {
  0% { transform: scale(0.8); opacity: 0.5; box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 0 6px rgba(37, 99, 235, 0); }
  100% { transform: scale(0.8); opacity: 0.5; box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* Footer Telegram Button */
.footer-telegram-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #229ed9;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 800;
  border: 2px solid var(--ink);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  text-decoration: none;
  transition: all 150ms ease;
}

.footer-telegram-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
  background: #0088cc;
}

