/* ==========================================================================
   KANO LABS - DESIGN TOKENS & SYSTEM VARIABLES (Obsidian Engineering)
   ========================================================================== */

:root {
  /* Color Palette - Nocturnal Obsidian Matrix */
  --bg-pure: #000000;
  --bg-base: #060608;
  --bg-surface: #0c0c0f;
  --bg-elevated: #121216;
  --bg-elevated-hover: #18181f;

  /* Text & Contrast */
  --text-primary: #FFFFFF;
  --text-secondary: #E2E8F0;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  /* Accents & Engineering Tones */
  --accent-white: #FFFFFF;
  --accent-steel: #64748B;
  --accent-blue: #38BDF8;
  --accent-cyan: #22D3EE;
  --accent-glow: rgba(255, 255, 255, 0.15);

  /* Glassmorphism & Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.14);
  --border-glass-bright: rgba(255, 255, 255, 0.28);
  --glass-bg: rgba(12, 12, 15, 0.7);
  --glass-bg-subtle: rgba(255, 255, 255, 0.03);

  /* Elevation Shadows & Luminous Depth */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 12px 32px -4px rgba(0, 0, 0, 0.8), 0 0 16px -2px rgba(255, 255, 255, 0.04);
  --shadow-lg: 0 24px 48px -8px rgba(0, 0, 0, 0.9), 0 0 32px -4px rgba(255, 255, 255, 0.08);
  --shadow-glow: 0 0 40px -8px rgba(255, 255, 255, 0.16);

  /* Typography */
  --font-headline: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Spacing Scale (8px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Layout Containers */
  --container-max: 1280px;
  --container-padding: 24px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Animation Timings */
  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}


/* ==========================================================================
   KANO LABS - BASE, RESET & TYPOGRAPHY STYLES
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-pure);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  color: var(--text-secondary);
  background-color: var(--bg-pure);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Custom Themed Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-pure);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-pure);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Themed Text Selection */
::selection {
  background: rgba(255, 255, 255, 0.25);
  color: var(--text-primary);
}

/* Accessible Focus States */
:focus-visible {
  outline: 2px solid var(--accent-white);
  outline-offset: 2px;
}

/* Container Structure */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* Typography Primitives */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* Section Header Utility */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-16) auto;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Scroll Animation Helper */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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


/* ==========================================================================
   KANO LABS - REUSABLE UI COMPONENTS
   ========================================================================== */

/* 1. BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px 24px;
  font-family: var(--font-headline);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background-color: var(--accent-white);
  color: var(--bg-pure);
  border-color: var(--accent-white);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
  background-color: #f0f0f0;
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--border-glass-bright);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* 2. GLASS CARDS & INTERACTIVE BENTO CONTAINERS */
.glass-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: border-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border-glass);
  box-shadow: var(--shadow-md);
}

.glass-card-interactive {
  --mouse-x: 50%;
  --mouse-y: 50%;
}

.glass-card-interactive::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    600px circle at var(--mouse-x) var(--mouse-y),
    rgba(255, 255, 255, 0.22),
    transparent 40%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.glass-card-interactive:hover::before {
  opacity: 1;
}

/* 3. TECH PILLS & BADGES */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.badge-pill.glowing {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 16px -2px rgba(255, 255, 255, 0.1);
}

.badge-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #22C55E;
  box-shadow: 0 0 8px #22C55E;
}

.tech-pill-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

/* 4. LANGUAGE SELECTOR DROPDOWN */
.lang-selector-container {
  position: relative;
  display: inline-block;
}

.lang-btn-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn-trigger:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--border-glass);
}

.lang-btn-trigger svg {
  transition: transform var(--transition-fast);
}

.lang-btn-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  background: #0E0E12;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-fast);
  z-index: 1000;
}

.lang-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.lang-option-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.lang-option-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  font-weight: 600;
}

.lang-option-btn .flag-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 5. CODE SHOWCASE WINDOW */
.code-window {
  background: #09090C;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.code-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #0F0F14;
  border-bottom: 1px solid var(--border-subtle);
}

.window-controls {
  display: flex;
  gap: 8px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #27272A;
}

.window-title {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.code-lang-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.code-window-body {
  padding: 20px;
  overflow-x: auto;
}

.code-pre {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.65;
  color: #E2E8F0;
  white-space: pre;
}

/* 6. FORM ELEMENTS */
.form-group {
  margin-bottom: var(--space-5);
  text-align: left;
}

.form-label {
  display: block;
  font-family: var(--font-headline);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: #0E0E12;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9375rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-white);
  background: #14141A;
  box-shadow: 0 0 16px -2px rgba(255, 255, 255, 0.12);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: var(--text-dim);
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-status-box {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
  font-size: 0.9375rem;
  display: none;
}

.contact-status-box.success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ADE80;
}

.contact-status-box.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #F87171;
}

/* ==========================================================================
   KANO CSS LAB - COMPONENT SHOWCASE & PLAYGROUND STYLES
   ========================================================================== */

/* 1. Custom Property definition for Border Beam */
@property --beam-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* 2. Lab Page Layout & Containers */
.lab-page-main {
  min-height: calc(100vh - 160px);
  padding: 120px 0 80px 0;
  position: relative;
}

.lab-hero-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 48px auto;
}

.lab-badges-row {
  display: inline-flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.lab-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
}

.lab-badge.highlight {
  border-color: rgba(56, 189, 248, 0.4);
  color: var(--accent-blue);
  background: rgba(56, 189, 248, 0.08);
}

.lab-hero-title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.lab-hero-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 3. Lab Navigation Tabs */
.lab-tabs-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.lab-tab-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-surface);
  color: var(--text-muted);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  font-family: var(--font-headline);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.lab-tab-button:hover {
  color: var(--text-primary);
  border-color: var(--border-glass-bright);
  background: var(--bg-elevated);
}

.lab-tab-button.active {
  background: var(--accent-white);
  color: var(--bg-pure);
  border-color: var(--accent-white);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.22);
}

/* 4. Showcase Dual View Grid */
.lab-showcase-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  height: 580px;
}

@media (max-width: 960px) {
  .lab-showcase-container {
    grid-template-columns: 1fr;
    height: auto;
  }
}

/* Preview Column (Left) */
.lab-preview-col {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 24px;
  border-right: 1px solid var(--border-glass);
  position: relative;
  background: radial-gradient(circle at 50% 35%, rgba(56, 189, 248, 0.05) 0%, transparent 65%);
  height: 100%;
  min-width: 0;
  overflow: hidden;
}

@media (max-width: 960px) {
  .lab-preview-col {
    border-right: none;
    border-bottom: 1px solid var(--border-glass);
    padding: 30px 20px;
    gap: 20px;
    height: auto;
  }
}

.lab-preview-header {
  margin-bottom: 0;
}

.lab-item-badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.lab-item-title {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.lab-item-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.lab-component-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 20px 0;
  position: relative;
  overflow: hidden;
}

/* Code Column (Right) */
.lab-code-col {
  background: #08080A;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  overflow: hidden;
}

@media (max-width: 960px) {
  .lab-code-col {
    height: 480px;
  }
}

.lab-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #0E0E12;
  border-bottom: 1px solid var(--border-glass);
  flex-shrink: 0;
  min-width: 0;
}

.lab-code-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lab-code-lang {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-blue);
  background: rgba(56, 189, 248, 0.12);
  padding: 4px 8px;
  border-radius: 4px;
}

.lab-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.lab-copy-btn:hover {
  color: var(--accent-white);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-glass-bright);
}

.lab-copy-btn.copied {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(34, 197, 94, 0.4);
  color: #4ADE80;
}

.lab-code-body {
  flex: 1;
  padding: 24px;
  overflow-x: auto;
  overflow-y: auto;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.6;
  color: #CBD5E1;
  min-width: 0;
}

.lab-code-body code {
  font-family: inherit;
  color: inherit;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* ==========================================================================
   THE 5 LAB TECHNIQUES (PURE CSS IMPLEMENTATIONS)
   ========================================================================== */

/* TECHNIQUE 1: BORDER BEAM (Rotating Conic Gradient Halo) */
.kano-beam-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 32px 28px;
  border-radius: 16px;
  border: 1.5px solid transparent;
  background: 
    linear-gradient(#0D0D11, #0D0D11) padding-box,
    conic-gradient(
      from var(--beam-angle),
      transparent 60%,
      var(--accent-blue) 80%,
      var(--accent-white) 93%,
      transparent 100%
    ) border-box;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.85);
  animation: rotateBeam 4s linear infinite;
}

@keyframes rotateBeam {
  from {
    --beam-angle: 0deg;
  }
  to {
    --beam-angle: 360deg;
  }
}

.beam-inner-content {
  position: relative;
  z-index: 2;
}

.beam-title {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.beam-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* TECHNIQUE 2: LUXURY MULTI-LAYER GLASSMORPHISM */
.kano-glass-showcase {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 32px 28px;
  background: rgba(22, 22, 28, 0.45);
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 24px 48px -12px rgba(0, 0, 0, 0.9),
    0 0 24px -4px rgba(56, 189, 248, 0.12);
}

.glass-floating-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  font-size: 0.8125rem;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.glass-title {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.glass-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* TECHNIQUE 3: SEAMLESS INFINITE MARQUEE */
.kano-marquee-wrapper {
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  position: relative;
  padding: 16px 0;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.kano-marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marqueeLoop 14s linear infinite;
}

.kano-marquee-wrapper:hover .kano-marquee-track {
  animation-play-state: paused;
}

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

.marquee-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

/* TECHNIQUE 4: PULSATING RADAR BEACON */
.kano-pulse-beacon {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 18px 26px;
  background: rgba(14, 14, 18, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: 9999px;
  box-shadow: var(--shadow-md);
}

.radar-emitter {
  position: relative;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-core {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 14px var(--accent-cyan);
  position: relative;
  z-index: 2;
}

.radar-emitter::before,
.radar-emitter::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent-cyan);
  opacity: 0;
  animation: radarWave 2.4s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.radar-emitter::after {
  animation-delay: 1.2s;
}

@keyframes radarWave {
  0% {
    transform: scale(0.4);
    opacity: 0.9;
  }
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

.radar-text {
  font-family: var(--font-headline);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

/* TECHNIQUE 5: PURE CSS TYPEWRITER EFFECT */
.kano-typewriter-box {
  background: #0A0A0E;
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: var(--shadow-md);
  max-width: 400px;
  width: 100%;
}

.typewriter-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.kano-typewriter-text {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent-blue);
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid var(--accent-white);
  width: 25ch;
  animation: 
    typingEffect 3.2s steps(25, end) infinite alternate,
    blinkCaret 0.75s step-end infinite;
}

@keyframes typingEffect {
  0% {
    width: 0;
  }
  60%, 100% {
    width: 25ch;
  }
}

@keyframes blinkCaret {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: var(--accent-white);
  }
}

/* ==========================================================================
   CSS LAB TEASER SECTION (ON INDEX.HTML)
   ========================================================================== */
.css-lab-teaser-section {
  padding: var(--space-16) 0;
  position: relative;
  background: var(--bg-pure);
}

.lab-teaser-card {
  background: linear-gradient(135deg, rgba(22, 22, 28, 0.7) 0%, rgba(13, 13, 17, 0.9) 100%);
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.7);
}

.lab-teaser-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.lab-teaser-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 960px) {
  .lab-teaser-card {
    padding: 32px 24px;
  }
  .lab-teaser-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.lab-teaser-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}



/* ==========================================================================
   KANO LABS - SECTION SPECIFIC STYLES
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. NAVBAR & HEADER
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  z-index: 900;
  transition: all var(--transition-normal);
  background: transparent;
}

.site-header.scrolled {
  height: 70px;
  background: rgba(6, 6, 8, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.brand-wordmark {
  font-family: var(--font-headline);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-link {
  font-family: var(--font-headline);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-white);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px;
  color: var(--text-primary);
  cursor: pointer;
}

.mobile-menu-drawer {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: #09090D;
  border-bottom: 1px solid var(--border-glass);
  padding: var(--space-6) var(--space-6) var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-fast);
  z-index: 899;
}

.mobile-menu-drawer.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-link {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   2. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: var(--space-16);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, rgba(30, 30, 45, 0.35) 0%, rgba(0, 0, 0, 0.95) 75%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-12);
  align-items: center;
}

.hero-content {
  text-align: left;
  z-index: 2;
}

.hero-badge-wrap {
  margin-bottom: var(--space-6);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: var(--space-6);
  color: var(--text-primary);
}

.title-highlight {
  color: #FFFFFF;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: var(--space-8);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.hero-tech-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
}

.hero-visual-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero-diamond-canvas {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
}

.hero-floating-card {
  position: absolute;
  background: rgba(14, 14, 18, 0.85);
  border: 1px solid var(--border-glass-bright);
  backdrop-filter: blur(12px);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatCard 6s ease-in-out infinite;
}

.hero-floating-card.top-right {
  top: 10%;
  right: -5%;
}

.hero-floating-card.bottom-left {
  bottom: 12%;
  left: -5%;
  animation-delay: -3s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-metric-pill {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.hero-metric-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   3. METRICS STRIP
   -------------------------------------------------------------------------- */
.metrics-strip-section {
  padding: var(--space-10) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: #040406;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  text-align: center;
}

.metric-item {
  padding: var(--space-4);
}

.metric-value {
  font-family: var(--font-headline);
  font-size: clamp(2.2rem, 3.5vw, 3.25rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-2);
}

.metric-label {
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   4. SERVICES BENTO GRID
   -------------------------------------------------------------------------- */
.services-section {
  padding: var(--space-24) 0;
  background: var(--bg-pure);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-6);
}

.bento-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card-lg {
  grid-column: span 7;
}

.bento-card-sm {
  grid-column: span 5;
}

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

.bento-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

.bento-card-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.bento-card-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.bento-card-checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.bento-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.diamond-bullet {
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--accent-white);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
  margin-top: 8px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   5. TECH STACK SHOWCASE
   -------------------------------------------------------------------------- */
.tech-section {
  padding: var(--space-24) 0;
  background: #050508;
  border-top: 1px solid var(--border-subtle);
}

.tech-tabs-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}

.tech-tab-btn {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font-headline);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tech-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: var(--border-glass);
}

.tech-tab-btn.active {
  background: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.2);
}

.tech-display-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: var(--space-8);
  align-items: center;
}

.tech-info-panel {
  display: none;
  text-align: left;
}

.tech-info-panel.active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

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

.tech-panel-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.tech-panel-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.tech-feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* --------------------------------------------------------------------------
   6. WHY KANO LABS / PILLARS
   -------------------------------------------------------------------------- */
.why-section {
  padding: var(--space-24) 0;
  background: var(--bg-pure);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.pillar-card {
  background: #08080C;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.pillar-card:hover {
  border-color: var(--border-glass-bright);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.pillar-number {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-bottom: var(--space-4);
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.pillar-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   7. FEATURED PORTFOLIO
   -------------------------------------------------------------------------- */
.portfolio-section {
  padding: var(--space-24) 0;
  background: #060609;
  border-top: 1px solid var(--border-subtle);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  background: #0B0B0F;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.portfolio-card:hover {
  border-color: var(--border-glass);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.portfolio-card-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #14141C;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-mockup-frame {
  width: 85%;
  height: 80%;
  background: #07070A;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
}

.mockup-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mockup-line {
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.portfolio-card-body {
  padding: var(--space-6);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-category-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-blue);
  margin-bottom: var(--space-2);
}

.portfolio-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.portfolio-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

/* --------------------------------------------------------------------------
   8. INTERACTIVE ESTIMATOR
   -------------------------------------------------------------------------- */
.estimator-section {
  padding: var(--space-24) 0;
  background: var(--bg-pure);
  border-top: 1px solid var(--border-subtle);
}

.estimator-container-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: var(--space-8);
  align-items: start;
}

.estimator-config-box {
  background: #09090D;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.estimator-step {
  margin-bottom: var(--space-8);
}

.estimator-step-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.estimator-options-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.est-option-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}

.est-option-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--border-glass);
}

.est-option-btn.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-white);
  color: var(--text-primary);
  box-shadow: 0 0 16px -4px rgba(255, 255, 255, 0.2);
}

.est-option-btn-title {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.est-option-btn-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.estimator-summary-card {
  background: #0E0E14;
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
}

.summary-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
}

.summary-metric-group {
  margin-bottom: var(--space-6);
}

.summary-metric-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}

.summary-metric-value {
  font-family: var(--font-headline);
  font-size: 1.45rem;
  font-weight: 700;
  color: #FFFFFF;
}

.summary-stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

/* --------------------------------------------------------------------------
   9. GLOBAL REACH BANNER
   -------------------------------------------------------------------------- */
.global-section {
  padding: var(--space-16) 0;
  background: #07070A;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.global-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
}

.languages-status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.lang-status-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px #22C55E;
}

.lang-status-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   10. CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-section {
  padding: var(--space-24) 0;
  background: var(--bg-pure);
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-info-panel {
  text-align: left;
}

.contact-info-item {
  margin-bottom: var(--space-6);
}

.contact-info-label {
  font-size: 0.8125rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-1);
}

.contact-info-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-form-card {
  background: #0B0B0F;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   11. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  padding: var(--space-16) 0 var(--space-8) 0;
  background: #040406;
  border-top: 1px solid var(--border-subtle);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-16);
}

.footer-brand-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 320px;
  margin-top: var(--space-4);
}

.footer-col-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--text-primary);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.875rem;
  color: var(--text-dim);
}

.footer-bottom-actions {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}


/* ==========================================================================
   KANO LABS - RESPONSIVE & ADAPTIVE STYLES
   ========================================================================== */

/* --------------------------------------------------------------------------
   TABLET BREAKPOINT (max-width: 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .hero-visual-wrapper {
    max-height: 400px;
  }

  .bento-card-lg, .bento-card-sm {
    grid-column: span 12;
  }

  .tech-display-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .estimator-container-grid {
    grid-template-columns: 1fr;
  }

  .estimator-summary-card {
    position: static;
  }

  .global-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
}

/* --------------------------------------------------------------------------
   MOBILE BREAKPOINT (max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --container-padding: 18px;
    --space-24: 64px;
    --space-16: 48px;
  }

  .nav-links-desktop {
    display: none;
  }

  .mobile-toggle-btn {
    display: flex;
  }

  .hero-section {
    padding-top: 110px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-floating-card {
    display: none; /* Keep clean on small mobile */
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .metric-item {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: var(--space-4);
  }

  .metric-item:last-child {
    border-bottom: none;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .estimator-options-row {
    grid-template-columns: 1fr;
  }

  .languages-status-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .footer-bottom-actions {
    flex-direction: column;
    gap: var(--space-3);
  }
}


