/* =============================================================
   KIKO - Brutalist Meets Soft
   A distinctive aesthetic that breaks AI conventions
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Space+Grotesk:wght@400;500;600;700&family=Azeret+Mono:wght@400;500&display=swap');

:root {
  /* Dark base with warm accent */
  --color-bg: #0c0c0c;
  --color-bg-elevated: #141414;
  --color-bg-card: #1a1a1a;
  --color-bg-warm: #1c1917;
  
  --color-text: #f5f5f4;
  --color-text-secondary: #a8a29e;
  --color-text-muted: #57534e;
  
  /* Claude orange */
  --color-accent: #da7756;
  --color-accent-glow: rgba(218, 119, 86, 0.15);
  --color-accent-soft: #fef3c7;
  
  --color-border: #292524;
  --color-border-subtle: #1c1917;
  
  /* Typography */
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'Azeret Mono', monospace;
  
  /* Layout */
  --nav-height: 64px;
  --container-max: 1100px;
  --section-padding: 140px;
  
  /* Radius - intentionally varied */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 100px;
}

/* =============================================================
   BASE
   ============================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--color-accent);
  color: var(--color-bg);
}

/* =============================================================
   NAVIGATION - Minimal, functional
   ============================================================= */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(12, 12, 12, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav-inner {
  width: 100%;
  height: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Center nav-links absolutely */
.site-nav .nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-kanji {
  font-size: 1.8rem;
  color: var(--color-accent);
  font-weight: 700;
  line-height: 1;
}

.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text);
  background: var(--color-bg-elevated);
}

.nav-link.nav-external svg {
  opacity: 0.4;
}

/* Mobile Toggle */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav-mobile-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--color-text);
  transition: all 0.3s ease;
}

.nav-mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* =============================================================
   FOOTER - Compact, informative
   ============================================================= */

.site-footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 64px 0 32px;
}

.footer-inner {
  width: 100%;
  padding: 0 48px;
}

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

.footer-logo-kanji {
  font-size: 2rem;
  color: var(--color-accent);
  font-weight: 700;
  line-height: 1;
}

.footer-brand span {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 6px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--color-accent);
}

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

.footer-copyright {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.footer-status .status-indicator {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
}

/* =============================================================
   LANDING PAGE
   ============================================================= */

.landing-page {
  background: var(--color-bg);
  min-height: 100vh;
}

.landing-page .main-content {
  padding-top: var(--nav-height);
}

/* =============================================================
   HERO - Dramatic, asymmetric
   ============================================================= */

.hero {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  position: relative;
  padding: 80px 24px;
  overflow: hidden;
}

/* Hero background image */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('hero1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

/* Gradient orb background */
.hero-bg {
  position: absolute;
  top: -30%;
  right: -20%;
  width: 70%;
  height: 120%;
  background: radial-gradient(ellipse at center, var(--color-accent-glow) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0.8;
  z-index: 1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(var(--color-border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border-subtle) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.4;
  mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  animation: fadeIn 0.8s ease-out;
}

.hero-badge .badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 12vw, 8rem);
  font-weight: 400;
  font-style: italic;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  max-width: 900px;
  animation: fadeIn 0.8s ease-out 0.1s both;
}

.hero-title .highlight {
  color: var(--color-accent);
  font-style: normal;
}

.hero-title br {
  display: block;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 48px;
  animation: fadeIn 0.8s ease-out 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 12px;
  animation: fadeIn 0.8s ease-out 0.3s both;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg);
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-primary svg {
  transition: transform 0.25s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-bg-elevated);
  border-color: var(--color-text-muted);
}

/* Hero 3D Model - positioned absolute on right */
.hero-model {
  position: absolute;
  right: -5%;
  top: 45%;
  transform: translateY(-55%);
  width: 55%;
  height: 90%;
  max-width: 750px;
  animation: fadeIn 1s ease-out 0.4s both;
  z-index: 2;
}

#hero-canvas {
  width: 100%;
  height: 100%;
  cursor: grab;
}

#hero-canvas:active {
  cursor: grabbing;
}

.hero-model-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* =============================================================
   SECTION BASE
   ============================================================= */

.section {
  padding: var(--section-padding) 24px;
  position: relative;
}

.section-header {
  max-width: 600px;
  margin-bottom: 80px;
}

.section-header.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
}

/* =============================================================
   EMOTION SECTION - Dark, moody
   ============================================================= */

.section-dark {
  background: var(--color-bg-warm);
}

/* Kiko Profile Section - Asymmetric Layout */
.kiko-profile {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  align-items: start;
}

.profile-intro {
  position: sticky;
  top: 120px;
}

.profile-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  display: block;
  margin-bottom: 20px;
}

.profile-name {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 4rem);
  font-weight: 400;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1;
}

.profile-age {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}

.profile-desc {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
}

.profile-quote {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-text-muted);
  padding-left: 20px;
  border-left: 2px solid var(--color-accent);
  line-height: 1.7;
}

/* Thought Stream - Animated fading thoughts */
.thought-stream {
  position: relative;
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fade masks at top and bottom */
.thought-stream::before,
.thought-stream::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 2;
  pointer-events: none;
}

.thought-stream::before {
  top: 0;
  background: linear-gradient(to bottom, var(--color-bg-warm) 0%, transparent 100%);
}

.thought-stream::after {
  bottom: 0;
  background: linear-gradient(to top, var(--color-bg-warm) 0%, transparent 100%);
}

.thought-container {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  animation: thoughtScroll 60s linear infinite;
}

.thought {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--color-text-secondary);
  padding: 24px 0;
  text-align: center;
  opacity: 0.8;
}

.thought:hover {
  color: var(--color-text);
  opacity: 1;
}

@keyframes thoughtScroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

/* Tablet/Mobile: Stack layout */
@media (max-width: 900px) {
  .kiko-profile {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .profile-intro {
    position: static;
    text-align: center;
  }
  
  .profile-quote {
    padding-left: 0;
    border-left: none;
    border-top: 2px solid var(--color-accent);
    padding-top: 20px;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .profile-desc {
    max-width: 500px;
    margin: 0 auto 40px;
  }
  
  /* Thought Stream centered on mobile */
  .thought-stream {
    height: 220px;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .thought-stream::before,
  .thought-stream::after {
    height: 50px;
  }
}

/* =============================================================
   TECH DEEP DIVE - Editorial layout
   ============================================================= */

#technology {
  position: relative;
}

#technology::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('hero2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

#technology .container {
  position: relative;
  z-index: 1;
}

.tech-deep-dive {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.tech-block {
  display: grid;
  grid-template-columns: 100px 1fr;
  background: var(--color-bg);
  transition: all 0.3s ease;
}

.tech-block:hover {
  background: var(--color-bg-elevated);
}

.tech-number {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 0;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-style: italic;
  color: var(--color-text-muted);
  border-right: 1px solid var(--color-border);
}

.tech-content {
  padding: 40px;
}

.tech-content h3 {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.tech-content p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.tech-stats {
  display: flex;
  gap: 40px;
}

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

.stat-value {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-accent);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

/* =============================================================
   FEATURES - Grid with borders
   ============================================================= */

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.feature-card {
  background: var(--color-bg);
  padding: 40px 32px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: var(--color-bg-elevated);
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-accent);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* =============================================================
   STEPS - Numbered list style
   ============================================================= */

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  padding: 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.step:last-child {
  border-bottom: none;
}

.step:hover {
  background: var(--color-bg-elevated);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-style: italic;
  color: var(--color-text-muted);
  border-right: 1px solid var(--color-border);
  padding: 32px 0;
}

.step-content {
  padding: 32px;
}

.step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* =============================================================
   TECH STACK - Minimal tags
   ============================================================= */

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  transition: all 0.2s ease;
}

.tech-item:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.tech-item span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =============================================================
   CTA SECTION
   ============================================================= */

/* Final CTA Section with background */
.cta-final {
  position: relative;
  text-align: center;
  padding: 120px 24px;
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('hero3.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
  /* Fade to transparent at top */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 40%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 40%);
}

.cta-final .container {
  position: relative;
  z-index: 1;
}

.cta-final .section-header {
  margin-bottom: 40px;
}

.cta-final .section-title {
  color: var(--color-text);
}

.cta-final .section-subtitle {
  margin-bottom: 0;
}

.stack-footer {
  padding-top: 48px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.stack-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 16px;
}

.tech-grid-inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.tech-grid-inline span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  padding: 8px 16px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

/* Tech Logos Grid */
.tech-grid-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.tech-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s ease;
  width: 110px;
  height: 90px;
}

.tech-logo:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  background: var(--color-bg-elevated);
}

.tech-logo svg,
.tech-logo img {
  width: 32px;
  height: 32px;
  transition: all 0.2s ease;
  object-fit: contain;
}

.tech-logo:hover svg,
.tech-logo:hover img {
  transform: scale(1.1);
}

.tech-logo span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

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

/* =============================================================
   ANIMATIONS
   ============================================================= */

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

/* =============================================================
   RESPONSIVE
   ============================================================= */

@media (max-width: 1000px) {
  /* Hero model repositioned below content on tablet/mobile */
  .hero {
    flex-direction: column;
    min-height: auto;
    padding-bottom: 0;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 40px;
  }
  
  .hero-model {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    height: 300px;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .hero-title {
    max-width: 100%;
  }
  
  .tech-block {
    grid-template-columns: 1fr;
  }
  
  .tech-number {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: 24px;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .hero-model {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .hero-model {
    height: 200px;
  }
}

@media (max-width: 900px) {
  :root {
    --section-padding: 100px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .bio-content {
    padding: 32px 24px;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-inner {
    padding: 0 16px;
  }
  
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .site-nav.nav-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-link {
    width: 100%;
    justify-content: center;
    padding: 12px;
  }
  
  .nav-mobile-toggle {
    display: flex;
  }
  
  .hero {
    padding: 60px 16px;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .section {
    padding: 80px 16px;
  }
  
  .section-header {
    margin-bottom: 48px;
  }
  
  .footer-inner {
    padding: 0 16px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .tech-stats {
    flex-direction: column;
    gap: 16px;
  }
  
  .step {
    grid-template-columns: 60px 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.4rem;
    line-height: 1.1;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .feature-card {
    padding: 32px 24px;
  }
  
  .tech-content {
    padding: 24px;
  }
  
  /* Kiko Profile Mobile */
  .kiko-profile {
    padding: 0 16px;
    gap: 32px;
  }
  
  .profile-name {
    font-size: 2.2rem;
  }
  
  .profile-desc {
    font-size: 1rem;
  }
  
  .profile-quote {
    font-size: 0.95rem;
  }
  
  /* Thought Stream Mobile */
  .thought-stream {
    height: 180px;
  }
  
  .thought {
    font-size: 1.1rem;
    padding: 16px 0;
  }
  
  /* CTA Section Mobile */
  .cta-final {
    padding: 80px 16px;
  }
  
  .tech-grid-inline {
    gap: 8px;
  }
  
  .tech-grid-inline span {
    font-size: 0.7rem;
    padding: 6px 10px;
  }
  
  .tech-grid-logos {
    gap: 10px;
  }
  
  .tech-logo {
    padding: 12px 14px;
    width: 80px;
    height: 70px;
  }
  
  .tech-logo svg,
  .tech-logo img {
    width: 24px;
    height: 24px;
  }
  
  .tech-logo span {
    font-size: 0.55rem;
  }
  
  .cta-actions {
    flex-direction: column;
  }
  
  .cta-actions .btn {
    width: 100%;
  }
}

/* Extra small phones */
@media (max-width: 360px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .profile-name {
    font-size: 1.8rem;
  }
  
  .thought {
    font-size: 1rem;
  }
  
  .nav-brand {
    gap: 8px;
  }
  
  .nav-logo-text {
    font-size: 1rem;
  }
}
