/* ==========================================
   Gametime Tracker CSS Stylesheet
   Designed with UI/UX Design Pro principles
   ========================================== */

/* --- Custom Variables & Tokens (OKLCH scales) --- */
:root {
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, "SF Mono", monospace;

  /* Colors */
  --bg-obsidian: oklch(0.08 0.006 250);      /* Main canvas background */
  --bg-card: oklch(0.12 0.01 250);           /* Cards elevation */
  --bg-card-raised: oklch(0.15 0.012 250);   /* Active state elevation */
  --bg-control: oklch(0.09 0.008 250);       /* Form elements / console */

  --color-cyan: oklch(0.78 0.16 200);        /* Core brand primary */
  --color-purple: oklch(0.62 0.20 290);      /* Secondary glow / accent */
  --color-green: oklch(0.75 0.18 150);       /* Active status / success */
  --color-orange: oklch(0.70 0.18 45);       /* Today / Session highlight */
  --color-red: oklch(0.60 0.20 25);          /* Destructive / inactive */

  --text-primary: oklch(0.96 0.005 250);
  --text-secondary: oklch(0.75 0.008 250);
  --text-muted: oklch(0.48 0.008 250);

  /* Borders & Separation */
  --border-subtle: oklch(1 0 0 / 0.04);
  --border-default: oklch(1 0 0 / 0.08);
  --border-strong: oklch(1 0 0 / 0.15);
  --border-glow: oklch(0.62 0.20 290 / 0.25);
  --border-glow-cyan: oklch(0.78 0.16 200 / 0.3);

  /* Spacing Base */
  --space-base: 8px;

  /* Layout Scales */
  --radius-lg: 24px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 9999px;

  /* Easings */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-decelerate: cubic-bezier(0, 0, 0.2, 1);
  --ease-accelerate: cubic-bezier(0.4, 0, 1, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Base Styles & Reset --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
h4 { font-weight: 600; font-size: 1.1rem; }

p {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 150ms var(--ease-standard);
}

/* --- Layout Grid & Containers --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Glow BG Elements --- */
.glow-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 900px;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.glow-point {
  position: absolute;
  border-radius: var(--radius-pill);
  filter: blur(120px);
}

.glow-purple {
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, oklch(0.5 0.25 295 / 0.12) 0%, transparent 70%);
  top: -10vw;
  right: -10vw;
}

.glow-cyan {
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, oklch(0.6 0.2 200 / 0.08) 0%, transparent 70%);
  top: 15vw;
  left: -10vw;
}

/* --- Frosted Sticky Navigation --- */
.nav-frosted {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(0.08 0.006 250 / 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-default);
  transition: all 300ms var(--ease-standard);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-purple), var(--color-cyan));
  color: var(--bg-obsidian);
}

.logo-icon i {
  width: 20px;
  height: 20px;
  stroke-width: 2.5px;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--color-cyan);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
}

/* --- Mobile Nav Overlay --- */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-obsidian);
  z-index: 99;
  padding: 40px 24px;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 300ms var(--ease-decelerate);
  pointer-events: none;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-link {
  font-size: 1.4rem;
  font-weight: 600;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-default);
}

/* --- Buttons System --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 250ms var(--ease-spring);
  border: 1px solid transparent;
}

.btn-icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-cyan), oklch(0.7 0.16 190));
  color: var(--bg-obsidian);
  box-shadow: 0 4px 20px oklch(0.78 0.16 200 / 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px oklch(0.78 0.16 200 / 0.45);
}

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

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
}

.btn-secondary:hover {
  background: var(--bg-card-raised);
  border-color: var(--color-purple);
  box-shadow: 0 4px 15px oklch(0.62 0.20 290 / 0.15);
  transform: translateY(-1px);
}

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

.btn-ghost:hover {
  background: oklch(1 0 0 / 0.03);
  color: var(--text-primary);
  border-color: var(--text-secondary);
  transform: translateY(-1px);
}

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

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

/* --- Hero Section --- */
.hero-section {
  padding: 80px 0 100px 0;
  position: relative;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: oklch(0.62 0.20 290 / 0.1);
  border: 1px solid var(--border-glow);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-purple);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--color-purple);
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.pulse-dot::after {
  content: '';
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  animation: pulse-ring-animation 1.5s ease-out infinite;
}

@keyframes pulse-ring-animation {
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.hero-title {
  margin-bottom: 24px;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-cyan) 30%, var(--color-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-meta i {
  width: 16px;
  height: 16px;
  color: var(--color-cyan);
}

/* 3D Mockup Container */
.hero-visual {
  perspective: 1000px;
  display: flex;
  justify-content: center;
}

.mockup-3d-wrapper {
  position: relative;
  width: 100%;
  max-width: 540px;
  transform-style: preserve-3d;
  transition: transform 100ms ease;
}

.mockup-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 50px oklch(0.62 0.20 290 / 0.1);
  transform: translateZ(20px);
  will-change: transform;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: oklch(0.1 0.008 250);
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-default);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.mockup-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mockup-content {
  padding: 0;
  background: #050508;
  display: block;
}

.app-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

.mockup-shadow {
  position: absolute;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
  background: oklch(0.62 0.20 290 / 0.2);
  filter: blur(40px);
  transform: translateZ(-20px);
  z-index: -1;
}

/* --- Section Headers --- */
.section-header {
  margin-bottom: 60px;
  max-width: 600px;
}

.section-number {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-cyan);
  letter-spacing: 0.2em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-number::after {
  content: '';
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, var(--color-cyan), transparent);
}

.section-title {
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
}

/* --- Bento Grid Section --- */
.features-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px; /* Increased gap for larger cards */
  max-width: 1100px;
  margin: 0 auto;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 48px 40px; /* Increased vertical/horizontal padding */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 480px; /* Increased minimum height */
  transition: all 300ms var(--ease-standard);
}

.bento-card:hover {
  transform: translateY(-6px); /* Stronger lift effect */
  border-color: var(--border-strong);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Brand Tinted Shadow Hover Effects */
.bento-card:nth-child(1):hover { box-shadow: 0 16px 48px oklch(0.78 0.16 200 / 0.12); border-color: var(--color-cyan); }
.bento-card:nth-child(2):hover { box-shadow: 0 16px 48px oklch(0.70 0.18 45 / 0.12); border-color: var(--color-orange); }
.bento-card:nth-child(3):hover { box-shadow: 0 16px 48px oklch(0.62 0.20 290 / 0.12); border-color: var(--color-purple); }

.bento-card-wide {
  grid-column: span 2;
  min-height: auto;
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.03), transparent 60%);
  pointer-events: none;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; /* Scaled up icon badge size */
  height: 56px;
  border-radius: var(--radius-md);
  margin-bottom: 28px;
}

.card-icon i {
  width: 28px; /* Scaled up icon */
  height: 28px;
  stroke-width: 2px;
}

.accent-cyan-bg { background: oklch(0.78 0.16 200 / 0.1); color: var(--color-cyan); }
.accent-purple-bg { background: oklch(0.62 0.20 290 / 0.1); color: var(--color-purple); }
.accent-green-bg { background: oklch(0.75 0.18 150 / 0.1); color: var(--color-green); }
.accent-orange-bg { background: oklch(0.70 0.18 45 / 0.1); color: var(--color-orange); }

.card-title {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem); /* Larger fluid header */
  margin-bottom: 16px;
}

.card-text {
  font-size: 1.05rem; /* Larger body description text */
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 36px;
}

/* Bento Card Visuals */
.card-visual {
  margin-top: auto;
  background: var(--bg-control);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 24px;
  overflow: hidden;
  height: 160px; /* Increased visual area height */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Visual 1: Active Process list */
.visual-processes {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: relative;
}

.process-node {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.process-node.active {
  border-color: var(--color-cyan);
  box-shadow: 0 0 15px oklch(0.78 0.16 200 / 0.2);
}

.node-dot {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
}

.process-node.active .node-dot {
  background: var(--color-cyan);
}

.process-node.active .pulse-ring {
  position: absolute;
  width: 18px;
  height: 18px;
  left: 15px;
  top: 15px;
  border: 1px solid var(--color-cyan);
  border-radius: 50%;
  animation: pulse-ring-animation 1.5s infinite;
}

.process-line {
  flex-grow: 1;
  height: 1px;
  background: var(--border-default);
  margin: 0 -10px;
  z-index: 1;
}

/* Visual 2: Streak badge */
.visual-streak {
  background: radial-gradient(circle, oklch(0.70 0.18 45 / 0.15) 0%, transparent 80%), var(--bg-control);
}

.streak-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.streak-badge i {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 8px oklch(0.70 0.18 45 / 0.5));
}

.icon-orange { color: var(--color-orange); }

.streak-num {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-primary);
  line-height: 1;
}

.streak-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Visual 3: Offline database lock */
.visual-privacy {
  background: radial-gradient(circle, oklch(0.62 0.20 290 / 0.15) 0%, transparent 80%), var(--bg-control);
}

.db-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  padding: 10px 20px;
  border-radius: var(--radius-md);
}

.db-badge i {
  width: 20px;
  height: 20px;
}

.icon-purple { color: var(--color-purple); }

.db-text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

/* Visual 4: Table mock with floating button */
.visual-export {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 12px;
}

.table-mock {
  flex-grow: 1;
  font-size: 0.75rem;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  padding: 6px;
}

.table-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  padding: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.table-row.table-header {
  font-weight: bold;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-default);
}

.table-row:last-child {
  border-bottom: none;
}

.export-button-floating {
  background: var(--color-green);
  color: var(--bg-obsidian);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px oklch(0.75 0.18 150 / 0.25);
  align-self: center;
}

.export-button-floating i {
  width: 14px;
  height: 14px;
  stroke-width: 2.5px;
}

/* --- Section 2: How It Works --- */
.how-it-works-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-subtle);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

/* Stepped progress indicators */
.steps-container::after {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, var(--border-default) 0%, var(--border-strong) 50%, var(--border-default) 100%);
  z-index: 1;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  z-index: 2;
  transition: all 300ms var(--ease-standard);
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-cyan);
  box-shadow: 0 10px 30px oklch(0.78 0.16 200 / 0.05);
}

.step-num-badge {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--color-cyan);
  background: var(--bg-obsidian);
  border: 1px solid var(--border-default);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.step-title {
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.step-icon {
  margin-top: 32px;
  align-self: flex-start;
  color: var(--text-muted);
}

.step-icon i {
  width: 24px;
  height: 24px;
}

/* --- Sticky Note Style (Section 2) --- */
.sticky-note-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.sticky-note {
  background: rgba(241, 196, 15, 0.08);
  border: 1px dashed rgba(241, 196, 15, 0.35);
  padding: 18px 24px;
  border-radius: var(--radius-md);
  box-shadow: 
    0 10px 20px rgba(0, 0, 0, 0.15),
    0 0 20px rgba(241, 196, 15, 0.03);
  cursor: pointer;
  max-width: 440px;
  display: flex;
  align-items: center;
  gap: 16px;
  transform: rotate(-1.5deg);
  transition: all 400ms var(--ease-spring);
  position: relative;
  user-select: none;
}

.sticky-note:hover {
  transform: scale(1.05) rotate(-0.5deg);
  border-color: rgba(241, 196, 15, 0.65);
  background: rgba(241, 196, 15, 0.12);
  box-shadow: 
    0 15px 30px rgba(0, 0, 0, 0.25),
    0 0 30px rgba(241, 196, 15, 0.08);
}

.sticky-note.expanded {
  transform: scale(1.22) rotate(0deg); /* Make it bigger! */
  border-style: solid;
  border-color: rgba(241, 196, 15, 0.85);
  background: rgba(241, 196, 15, 0.2);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(241, 196, 15, 0.15);
  z-index: 10;
}

.sticky-note-pin {
  font-size: 1.5rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  transition: transform 300ms var(--ease-spring);
}

.sticky-note.expanded .sticky-note-pin {
  transform: scale(1.2) translateY(-2px);
}

.sticky-note-text {
  color: #f1c40f !important; /* Pastel gold/yellow note text color */
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

/* --- Section 3: Interactive Live Simulator --- */
.simulator-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-subtle);
}

.simulator-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.sim-controls-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 960px;
}

.sim-card-title {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.sim-card-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.sim-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .sim-actions {
    flex-direction: column;
  }
}

.sim-btn {
  background: var(--bg-control);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  transition: all 250ms var(--ease-standard);
  position: relative;
  overflow: hidden;
}

.sim-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--color-purple);
  opacity: 0;
  transition: all 200ms ease;
}

.sim-btn-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: all 200ms ease;
}

.sim-btn:hover {
  background: oklch(0.12 0.01 250);
  border-color: var(--border-strong);
  transform: translateX(4px);
}

/* Sim Button Active State */
.sim-btn.playing {
  background: oklch(0.62 0.20 290 / 0.08);
  border-color: var(--color-purple);
  box-shadow: 0 0 20px oklch(0.62 0.20 290 / 0.1);
}

.sim-btn.playing::after {
  opacity: 1;
}

.sim-btn.playing .sim-btn-dot {
  background: var(--color-purple);
  box-shadow: 0 0 10px var(--color-purple);
  animation: glow-pulse 1.5s infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.sim-btn i {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: all 200ms ease;
}

.sim-btn.playing i {
  color: var(--color-purple);
  transform: scale(1.1);
}

/* System Tray Logs Console */
.sim-status-log {
  background: #050508;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.log-header {
  background: oklch(0.1 0.008 250);
  border-bottom: 1px solid var(--border-default);
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.log-header i {
  width: 12px;
  height: 12px;
}

.log-terminal {
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  min-height: 120px;
  max-height: 120px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-behavior: smooth;
}

.log-line {
  line-height: 1.4;
}

.log-success { color: var(--color-green); }
.log-warning { color: var(--color-orange); }
.log-info { color: var(--color-cyan); }
.log-purple { color: var(--color-purple); }

/* --- Simulated App Frame (Dark Obsidian Dashboard) --- */
.sim-app-card {
  perspective: 1200px;
  width: 100%;
  max-width: 960px;
}

.sim-app-window {
  background: #09080e; /* Deep blue-black */
  border: 1px solid var(--border-glow);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 50px rgba(0, 240, 255, 0.05);
  font-family: system-ui, -apple-system, sans-serif;
  display: flex;
  flex-direction: column;
}

.sim-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #06050a;
  padding: 10px 16px;
  border-bottom: 1px solid #1c1a26;
  height: 38px;
  user-select: none;
}

.sim-app-logo {
  color: var(--text-muted); 
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.sim-app-win-controls {
  display: flex;
  gap: 16px;
  color: #555566;
  font-size: 0.7rem;
  font-weight: bold;
}

.sim-app-win-controls span {
  cursor: default;
}

/* Internal Split Layout */
.sim-app-layout {
  display: flex;
  flex-direction: row;
  min-height: 520px;
}

/* Left Sidebar */
.sim-app-sidebar {
  width: 220px;
  background: #06050a;
  border-right: 1px solid #1c1a26;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.sim-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin-bottom: 32px;
}

.sim-sidebar-brand i {
  width: 18px;
  height: 18px;
}

.sim-sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: auto; /* Push total time box to the bottom */
}

.sim-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #858393;
  transition: all 150ms ease;
}

.sim-menu-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
}

.sim-menu-item.active {
  color: #00d2ff;
  background: rgba(0, 210, 255, 0.06);
  border: 1px solid rgba(0, 210, 255, 0.12);
}

.sim-menu-item i {
  width: 16px;
  height: 16px;
}

.sim-total-time-box {
  margin-top: auto;
  border: 1px solid #00d2ff;
  background: rgba(0, 210, 255, 0.03);
  padding: 12px;
  border-radius: 6px;
  display: flex;
  gap: 10px;
  color: #00d2ff;
}

.sim-total-time-box i {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.sim-total-time-box span {
  display: flex;
  flex-direction: column;
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.sim-total-time-box strong {
  font-size: 0.95rem;
  color: #00d2ff;
  font-family: var(--font-mono);
  margin-top: 4px;
}

/* Right Main Content Area */
.sim-app-main {
  flex-grow: 1;
  background: #09080e;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

/* Library Bar Actions */
.sim-app-library-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  gap: 16px;
}

.sim-library-info {
  flex-grow: 1;
}

.sim-section-title {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.sim-section-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.sim-library-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  align-self: center;
}

.sim-app-btn-action {
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  transition: all 200ms ease;
}

.sim-app-btn-action i {
  width: 14px;
  height: 14px;
  stroke-width: 2.5px;
}

.sim-app-btn-green {
  background: #00b894; /* Green Add Game Button */
}

.sim-app-btn-green:hover {
  background: #00a887;
}

.sim-app-btn-dark {
  background: #1b1a23; /* Dark Export CSV Button */
  border: 1px solid #282635;
}

.sim-app-btn-dark:hover {
  background: #252430;
}

/* Sim App Game List */
.sim-game-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 12px;
}

.sim-game-row {
  background: #0c0b12;
  border: 1px solid #231b33; /* Dark violet card border */
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 300ms var(--ease-standard);
  position: relative;
}

/* Game Active Border Accent Highlight */
.sim-game-row.active-run {
  border-color: var(--color-purple);
  box-shadow: 0 0 20px oklch(0.62 0.20 290 / 0.1);
}

.sim-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sim-row-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.game-thumbnail {
  width: 46px;
  height: 46px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111018;
  border: 1px solid #1c1a26;
}

.game-thumbnail i {
  width: 20px;
  height: 20px;
}

.thumb-wuthering { color: #ffffff; border-color: rgba(255, 255, 255, 0.15); background: #131720; }
.thumb-overwatch { color: #e67e22; border-color: rgba(230, 126, 34, 0.25); background: #1a161f; }
.thumb-contentwarning { color: #f1c40f; border-color: rgba(241, 196, 15, 0.25); background: #181c15; }

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

.game-title {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.game-badges {
  display: flex;
  gap: 10px;
  align-items: center;
}

.game-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  background: #111018;
  border: 1px solid #1c1a26;
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--text-muted);
}

.status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}

.game-status.status-active {
  color: var(--color-green);
  border-color: rgba(117, 245, 126, 0.2);
}

.game-status.status-active .status-indicator {
  background: var(--color-green);
  box-shadow: 0 0 6px var(--color-green);
  animation: glow-pulse 1.5s infinite;
}

.game-streak {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #e67e22;
  background: rgba(230, 126, 34, 0.08);
  border: 1px solid rgba(230, 126, 34, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
}

.game-streak i {
  width: 10px;
  height: 10px;
}

.sim-row-remove-btn {
  background: #111018;
  border: 1px solid #1c1a26;
  color: #e74c3c; /* Red Remove text */
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 150ms ease;
}

.sim-row-remove-btn:hover {
  background: rgba(231, 76, 60, 0.1);
  border-color: #e74c3c;
}

/* Stats Boxes 5 Column Layout */
.row-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.stat-box {
  background: #111019;
  border: 1px solid #1c1a26;
  border-radius: 4px;
  padding: 8px 10px;
}

.stat-lbl {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.stat-val {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Specific Value Color Palettes matching screenshot */
.stat-val.text-orange { color: #e67e22; }
.stat-val.text-yellow { color: #f39c12; }
.stat-val.text-magenta { color: #9b59b6; }
.stat-val.text-cyan { color: #00d2ff; }

.sim-row-bottom {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: -4px;
}

/* Sim App Footer cyan border total box */
.sim-app-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 20px;
  border-top: 1px solid #1c1a26;
}

@media (max-width: 768px) {
  .sim-app-layout {
    flex-direction: column;
  }
  .sim-app-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #1c1a26;
    padding: 16px;
  }
  .sim-sidebar-menu {
    flex-direction: row;
    justify-content: space-around;
    margin-bottom: 16px;
  }
  .sim-total-time-box {
    margin-top: 0;
  }
  .row-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Section 4: Download Box --- */
.download-section {
  padding: 80px 0 100px 0;
  position: relative;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 60px;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.4),
    0 0 50px oklch(0.62 0.20 290 / 0.05);
}

.download-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(circle at 100% 50%, oklch(0.62 0.20 290 / 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.download-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.download-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.download-desc {
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 460px;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.btn-lbl-version {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: 8px;
}

.download-checklist {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.check-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.check-item i {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.icon-green { color: var(--color-green); }

.check-item h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.check-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --- Footer Section --- */
.footer-section {
  background: #060609;
  border-top: 1px solid var(--border-default);
  padding: 80px 0 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
}

.footer-logo i {
  width: 24px;
  height: 24px;
  color: var(--color-cyan);
}

.footer-tagline {
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-nav, .footer-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav h4, .footer-meta h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-nav a:hover {
  color: var(--color-cyan);
}

.footer-meta span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-bottom {
  border-top: 1px solid var(--border-default);
  padding-top: 40px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Animations Support --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
}

.animate-bounce-y {
  animation: bounceY 2s infinite;
}

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

/* --- Responsive Adaptations --- */

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-meta {
    justify-content: center;
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-card-wide {
    grid-column: span 1;
  }
  
  .steps-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .steps-container::after {
    display: none;
  }
  
  .simulator-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .download-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .download-card {
    text-align: center;
    padding: 40px 24px;
  }

  .download-buttons {
    align-items: center;
  }

  .download-actions {
    justify-content: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Reduce section vertical padding on tablets */
  .features-section,
  .how-it-works-section,
  .simulator-section {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 48px;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .mobile-nav {
    display: block;
  }

  /* Hero section mobile */
  .hero-section {
    padding: 40px 0 60px 0;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 5px 14px;
    margin-bottom: 20px;
  }

  .hero-title {
    margin-bottom: 20px;
  }

  .hero-subtitle {
    margin-bottom: 28px;
    font-size: 0.95rem;
  }

  .hero-actions {
    margin-bottom: 28px;
  }

  .hero-meta {
    gap: 16px;
    font-size: 0.8rem;
  }

  .mockup-3d-wrapper {
    max-width: 400px;
  }

  /* Section spacing mobile */
  .features-section,
  .how-it-works-section,
  .simulator-section {
    padding: 60px 0;
  }

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

  .section-desc {
    font-size: 0.95rem;
  }

  /* Bento cards mobile */
  .bento-card {
    padding: 32px 24px;
    min-height: 360px;
  }

  .card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
  }

  .card-icon i {
    width: 24px;
    height: 24px;
  }

  .card-title {
    font-size: 1.3rem;
  }

  .card-text {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }

  .card-visual {
    height: 130px;
    padding: 20px;
  }

  /* Step cards mobile */
  .step-card {
    padding: 28px 24px;
  }

  .step-num-badge {
    width: 42px;
    height: 42px;
    font-size: 0.85rem;
    margin-bottom: 20px;
  }

  .step-desc {
    font-size: 0.9rem;
  }

  .step-icon {
    margin-top: 24px;
  }

  /* Sticky note mobile */
  .sticky-note {
    max-width: 100%;
    padding: 14px 18px;
    gap: 12px;
  }

  .sticky-note-text {
    font-size: 0.85rem;
  }

  .sticky-note.expanded {
    transform: scale(1.08) rotate(0deg);
  }

  /* Simulator section mobile */
  .sim-controls-card {
    padding: 20px;
  }

  .sim-card-title {
    font-size: 1.25rem;
  }

  .sim-card-text {
    font-size: 0.85rem;
    margin-bottom: 24px;
  }

  /* Miniaturize simulated app window to keep desktop layout intact */
  .sim-app-layout {
    display: flex;
    flex-direction: row;
    min-height: auto;
  }

  .sim-app-sidebar {
    width: 110px;
    border-right: 1px solid #1c1a26;
    padding: 12px 8px;
    gap: 16px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
  }

  .sim-sidebar-brand {
    display: flex;
    font-size: 0.5rem;
    margin-bottom: 16px;
    gap: 4px;
  }

  .sim-sidebar-brand i {
    width: 12px;
    height: 12px;
  }

  .sim-sidebar-menu {
    flex-direction: column;
    gap: 4px;
    margin-bottom: auto;
    width: 100%;
  }

  .sim-menu-item {
    padding: 6px 8px;
    font-size: 0.65rem;
    gap: 6px;
    border-radius: 4px;
  }
  
  .sim-menu-item i {
    width: 12px;
    height: 12px;
  }

  .sim-total-time-box {
    padding: 6px;
    gap: 4px;
    border-radius: 4px;
  }

  .sim-total-time-box i {
    width: 12px;
    height: 12px;
  }

  .sim-total-time-box span {
    font-size: 0.45rem;
  }

  .sim-total-time-box strong {
    font-size: 0.7rem;
  }

  .sim-app-main {
    padding: 12px;
  }

  .sim-app-library-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 8px;
  }

  .sim-section-title {
    font-size: 0.85rem;
  }

  .sim-section-subtitle {
    display: none; /* Hide subtitle to fit content */
  }

  .sim-library-actions {
    display: flex;
    gap: 4px;
  }

  .sim-app-btn-action {
    padding: 4px 8px;
    font-size: 0.65rem;
    border-radius: 4px;
    gap: 4px;
  }

  .sim-app-btn-action i {
    width: 10px;
    height: 10px;
  }
  
  .sim-game-list {
    gap: 8px;
  }

  .sim-game-row {
    padding: 8px;
    gap: 8px;
    border-radius: 6px;
  }

  .sim-row-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .sim-row-left {
    gap: 8px;
  }

  .game-thumbnail {
    width: 28px;
    height: 28px;
    border-radius: 4px;
  }

  .game-thumbnail i {
    width: 14px;
    height: 14px;
  }

  .game-details {
    gap: 2px;
  }

  .game-title {
    font-size: 0.65rem;
  }

  .game-badges {
    gap: 4px;
  }

  .game-status, .game-streak {
    font-size: 0.5rem;
    padding: 1px 4px;
    border-radius: 2px;
    gap: 3px;
  }

  .game-status .status-indicator {
    width: 4px;
    height: 4px;
  }

  .game-streak i {
    width: 8px;
    height: 8px;
  }

  .sim-row-remove-btn {
    padding: 4px 8px;
    font-size: 0.55rem;
    border-radius: 3px;
  }
  
  .row-stats {
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
  }

  .stat-box {
    padding: 4px;
    border-radius: 3px;
  }

  .stat-lbl {
    font-size: 0.45rem;
    margin-bottom: 2px;
  }

  .stat-val {
    font-size: 0.58rem;
  }

  .stat-val span {
    display: block;
    font-size: 0.45rem;
    font-weight: 700;
  }

  .sim-row-bottom {
    font-size: 0.55rem;
    margin-top: 0;
  }

  /* Download section mobile */
  .download-section {
    padding: 60px 0 80px 0;
  }

  .download-card {
    padding: 32px 20px;
  }

  .download-title {
    font-size: 1.8rem;
  }

  .download-desc {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }

  .btn-lg {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .btn-lbl-version {
    font-size: 0.72rem;
    margin-left: 0;
  }

  .check-item {
    gap: 12px;
  }

  .check-item h4 {
    font-size: 1rem;
  }

  .check-item p {
    font-size: 0.85rem;
  }

  /* Footer mobile */
  .footer-section {
    padding: 60px 0 32px 0;
  }

  .footer-grid {
    gap: 32px;
    margin-bottom: 40px;
  }

  .footer-bottom {
    padding-top: 24px;
    font-size: 0.8rem;
  }
}

@media (max-width: 600px) {
  .sim-app-sidebar {
    width: 76px;
    padding: 12px 4px;
  }
  .sim-menu-item span {
    display: none;
  }
  .sim-menu-item {
    justify-content: center;
    padding: 8px;
  }
  .sim-sidebar-brand span {
    display: none;
  }
  .sim-sidebar-brand {
    justify-content: center;
  }
  .sim-total-time-box span {
    font-size: 0.4rem;
  }
  .sim-total-time-box strong {
    font-size: 0.6rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-section {
    padding: 28px 0 48px 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

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

  .hero-meta {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  /* Section spacing small phones */
  .features-section,
  .how-it-works-section,
  .simulator-section {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-number {
    font-size: 0.75rem;
  }

  /* Bento cards small phones */
  .bento-card {
    padding: 24px 20px;
    min-height: 300px;
  }

  .card-title {
    font-size: 1.15rem;
  }

  .card-text {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .card-visual {
    height: 110px;
    padding: 16px;
  }

  /* Step cards small phones */
  .step-card {
    padding: 24px 20px;
  }

  .step-num-badge {
    width: 38px;
    height: 38px;
    font-size: 0.8rem;
    margin-bottom: 16px;
  }

  /* Sticky note small phones */
  .sticky-note-wrapper {
    margin-top: 32px;
  }

  .sticky-note {
    padding: 12px 16px;
    gap: 10px;
    transform: rotate(-0.5deg);
  }

  .sticky-note-pin {
    font-size: 1.2rem;
  }

  .sticky-note-text {
    font-size: 0.8rem;
  }

  /* Simulator small phones */
  .sim-controls-card {
    padding: 16px;
  }

  .sim-card-title {
    font-size: 1.1rem;
  }

  .sim-btn {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .row-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }

  /* Download section small phones */
  .download-section {
    padding: 48px 0 64px 0;
  }

  .download-card {
    padding: 28px 16px;
    border-radius: var(--radius-md);
  }

  .download-title {
    font-size: 1.5rem;
  }

  .download-desc {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .download-checklist {
    gap: 20px;
  }

  .check-item h4 {
    font-size: 0.95rem;
  }

  .check-item p {
    font-size: 0.82rem;
  }

  .btn-lg {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  /* Footer small phones */
  .footer-section {
    padding: 48px 0 24px 0;
  }

  .footer-grid {
    gap: 28px;
    margin-bottom: 32px;
  }

  .footer-logo {
    font-size: 1.1rem;
  }

  .footer-tagline {
    font-size: 0.82rem;
  }

  .footer-nav h4, .footer-meta h4 {
    font-size: 0.82rem;
  }

  .footer-nav a, .footer-meta span {
    font-size: 0.82rem;
  }

  .footer-bottom {
    padding-top: 20px;
    font-size: 0.75rem;
  }

  /* Nav bar small phones */
  .nav-container {
    height: 60px;
  }

  .nav-logo {
    font-size: 1.1rem;
    gap: 10px;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
  }

  .logo-icon i {
    width: 18px;
    height: 18px;
  }

  /* Mobile nav overlay for small phones */
  .mobile-nav {
    top: 60px;
    padding: 32px 16px;
  }

  .mobile-link {
    font-size: 1.2rem;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 4px 12px;
  }

  .bento-card {
    padding: 20px 16px;
    min-height: auto;
  }

  .card-visual {
    height: 100px;
    padding: 12px;
  }

  .step-card {
    padding: 20px 16px;
  }

  .download-card {
    padding: 24px 12px;
  }

  .download-title {
    font-size: 1.35rem;
  }

  .sim-app-sidebar {
    width: 56px;
    padding: 8px 4px;
  }

  .sim-menu-item span,
  .sim-sidebar-brand span {
    display: none;
  }

  .sim-menu-item {
    justify-content: center;
    padding: 6px;
  }

  .sim-sidebar-brand {
    justify-content: center;
  }

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

/* --- Accessibility Rules --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}
