/* ============================================================
   MASKBREAKER — Official Landing Page Stylesheet
   Theme: Detective Desk / Mantar Pano & GözcüOS Terminal
   ============================================================ */

:root {
  /* Design System Palette */
  --ink: #15161A;
  --ink-surface: #1E2025;
  --ink-card: #252830;
  --cream: #F3EAD6;
  --cream-light: #FAF5EB;
  --amber: #F2B33D;
  --amber-hover: #E09E24;
  --red: #C8352B;
  --red-dark: #9E241B;
  --green: #3F9D5B;
  --manila: #D8B676;
  --manila-dark: #C29B53;
  --sticky: #F4D35E;
  --paper-text: #2B2620;
  --muted: #9C958A;
  --phosphor: #7CF2A6;
  --phosphor-dim: #3E8256;
  --border-dark: rgba(0, 0, 0, 0.4);
  --shadow-tactile: 0 4px 0 #000;
  --shadow-tactile-sm: 0 2px 0 #000;
  --shadow-card: 0 10px 25px rgba(0, 0, 0, 0.45);

  /* Fonts */
  --font-display: 'Anton', -apple-system, sans-serif;
  --font-ui: 'Barlow Condensed', sans-serif;
  --font-typewriter: 'Special Elite', monospace;
  --font-hand: 'Caveat', cursive;
  --font-mono: 'IBM Plex Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--ink);
  color: var(--cream);
  font-family: var(--font-ui);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(ellipse at 50% 0%, rgba(242, 179, 61, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 100% 50%, rgba(200, 53, 43, 0.04) 0%, transparent 40%);
}

/* Paper / Wood / Cork Utility Classes */
.bg-cork {
  background: #B0804E url('assets/textures/cork.jpg') repeat;
  background-size: 320px 320px;
}

.bg-wood {
  background: #2E1B10 url('assets/textures/wood.jpg') repeat;
  background-size: 320px 640px;
}

.bg-paper {
  background: #EFE6D5 url('assets/textures/paper.jpg') repeat;
  background-size: 320px 320px;
  color: var(--paper-text);
}

/* Typography Helpers */
h1, h2, h3, .font-display {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 400;
}

.font-typewriter {
  font-family: var(--font-typewriter);
}

.font-hand {
  font-family: var(--font-hand);
}

.font-mono {
  font-family: var(--font-mono);
}

.text-amber { color: var(--amber); }
.text-red { color: var(--red); }
.text-green { color: var(--green); }
.text-phosphor { color: var(--phosphor); }
.text-muted { color: var(--muted); }

/* Tactile Physical Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.75rem 1.6rem;
  border-radius: 4px;
  border: 2px solid #000;
  box-shadow: var(--shadow-tactile);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.2s ease;
  user-select: none;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 0 #000;
}

.btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #000;
}

.btn-primary {
  background-color: var(--amber);
  color: #111;
}

.btn-primary:hover {
  background-color: var(--amber-hover);
}

.btn-danger {
  background-color: var(--red);
  color: var(--cream);
}

.btn-danger:hover {
  background-color: var(--red-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--cream);
  border-color: var(--cream);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.7);
}

.btn-outline:hover {
  background-color: rgba(243, 234, 214, 0.1);
  color: #fff;
}

.btn-paper {
  background-color: var(--cream);
  color: var(--paper-text);
  border-color: #000;
}

.btn-paper:hover {
  background-color: var(--cream-light);
}

/* Rubber Stamps */
.stamp {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border: 3px solid currentColor;
  outline: 1px solid currentColor;
  outline-offset: 2px;
  border-radius: 3px;
  line-height: 1;
  transform: rotate(-3deg);
  opacity: 0.92;
  user-select: none;
  mix-blend-mode: multiply;
}

.stamp-red {
  color: var(--red);
}

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

.stamp-amber {
  color: var(--amber);
}

.stamp-dark {
  color: var(--ink);
}

/* Pushpin (Raptiye) */
.pin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FF766D 0%, #C8352B 60%, #68100A 100%);
  box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.6);
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  border: 1px solid rgba(0,0,0,0.3);
}

.pin-green {
  background: radial-gradient(circle at 35% 35%, #76DC94 0%, #3F9D5B 60%, #174E28 100%);
}

.pin-amber {
  background: radial-gradient(circle at 35% 35%, #FFE27C 0%, #F2B33D 60%, #7E5104 100%);
}

/* Yellow Sticky Note */
.sticky-note {
  background-color: var(--sticky);
  color: var(--paper-text);
  padding: 1.25rem;
  font-family: var(--font-hand);
  font-size: 1.35rem;
  line-height: 1.25;
  box-shadow: 2px 8px 16px rgba(0, 0, 0, 0.35);
  position: relative;
  transform: rotate(2deg);
  border-top: 10px solid rgba(255, 255, 255, 0.25);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(21, 22, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(242, 179, 61, 0.25);
  padding: 0.8rem 1.5rem;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--cream);
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 2px solid var(--amber);
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
  object-fit: cover;
}

.brand-title {
  font-size: 1.75rem;
  line-height: 1;
  color: var(--cream);
  letter-spacing: 0.06em;
}

.brand-tag {
  font-size: 0.7rem;
  color: var(--amber);
  font-family: var(--font-mono);
  display: block;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  color: var(--cream);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--amber);
  transition: width 0.2s ease;
}

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

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--amber);
  color: var(--amber);
  font-size: 1.5rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4rem 1.5rem 5rem;
  background: #111216 url('assets/textures/cork.jpg') repeat;
  background-size: 360px;
  box-shadow: inset 0 0 120px rgba(0,0,0,0.85);
  border-bottom: 4px solid #000;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(21, 22, 26, 0.72) 0%, rgba(10, 11, 14, 0.94) 80%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(200, 53, 43, 0.2);
  border: 1px solid var(--red);
  color: #FFA39E;
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 4.2rem;
  line-height: 0.95;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

.hero-lead {
  font-size: 1.35rem;
  line-height: 1.45;
  color: #E2D7C0;
  margin-bottom: 1.75rem;
  max-width: 580px;
}

.hero-quote {
  border-left: 3px solid var(--amber);
  padding-left: 1rem;
  margin-bottom: 2rem;
  font-family: var(--font-typewriter);
  color: var(--amber);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed rgba(243, 234, 214, 0.2);
}

.meta-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
}

.meta-pill svg {
  color: var(--amber);
}

/* Hero Desk Mockup Composition */
.hero-desk {
  position: relative;
  min-height: 520px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Manila Case Folder in Hero */
.case-folder {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: var(--manila) url('assets/textures/paper.jpg') repeat;
  background-size: 260px;
  border-radius: 6px;
  border: 2px solid #000;
  box-shadow: 0 15px 35px rgba(0,0,0,0.65), 0 0 0 1px rgba(0,0,0,0.2);
  padding: 1.5rem 1.25rem 2rem;
  transform: rotate(-1.5deg);
  transition: transform 0.3s ease;
}

.case-folder:hover {
  transform: rotate(0deg) scale(1.01);
}

.case-folder-tab {
  position: absolute;
  top: -24px;
  left: 20px;
  background: var(--manila-dark);
  border: 2px solid #000;
  border-bottom: none;
  padding: 0.15rem 1.2rem;
  border-radius: 6px 6px 0 0;
  font-family: var(--font-typewriter);
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--paper-text);
  letter-spacing: 0.1em;
}

.phone-mockup {
  position: relative;
  background: #000;
  border: 6px solid #2B2620;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 12px 25px rgba(0,0,0,0.5);
  margin: 0 auto;
  width: 250px;
  aspect-ratio: 390 / 844;
}

.phone-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 16px;
  background: #111;
  border-radius: 10px;
  z-index: 5;
}

/* Polaroid Card on Hero */
.polaroid-card {
  position: absolute;
  top: -15px;
  right: -25px;
  width: 160px;
  background: #FFF;
  padding: 10px 10px 22px 10px;
  border: 1px solid #CCC;
  box-shadow: 3px 8px 18px rgba(0, 0, 0, 0.45);
  transform: rotate(7deg);
  z-index: 10;
  transition: transform 0.2s ease;
}

.polaroid-card:hover {
  transform: rotate(2deg) scale(1.05);
  z-index: 20;
}

.polaroid-img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  background: #222;
  filter: contrast(1.1) brightness(0.95);
  border: 1px solid #EAEAEA;
}

.polaroid-label {
  font-family: var(--font-hand);
  font-size: 1.1rem;
  color: #111;
  text-align: center;
  margin-top: 6px;
  line-height: 1;
}

.polaroid-card .stamp {
  position: absolute;
  bottom: 12px;
  right: 5px;
  transform: rotate(-15deg);
  font-size: 1rem;
  padding: 2px 6px;
  border-width: 2px;
}

/* Clue Tape Sticky */
.hero-clue-sticky {
  position: absolute;
  bottom: -20px;
  left: -25px;
  width: 170px;
  z-index: 12;
}

/* Section Common Container */
.section-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-pretitle {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--amber);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 3.2rem;
  line-height: 1;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Philosophy Banner */
.philosophy-banner {
  background: #191B20 url('assets/textures/paper.jpg') repeat;
  background-size: 320px;
  color: var(--paper-text);
  border-top: 3px solid #000;
  border-bottom: 3px solid #000;
  padding: 3rem 1.5rem;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.15);
}

.philosophy-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2.5rem;
}

.philosophy-card {
  padding: 1.75rem;
  border-radius: 4px;
}

.philosophy-card.bad {
  background: rgba(200, 53, 43, 0.08);
  border: 2px dashed rgba(200, 53, 43, 0.5);
}

.philosophy-card.good {
  background: rgba(63, 157, 91, 0.1);
  border: 2px solid var(--green);
  box-shadow: var(--shadow-tactile-sm);
  position: relative;
}

.philosophy-versus {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--red);
  background: #000;
  color: #FFF;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--amber);
}

.ph-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ph-list {
  list-style: none;
  font-size: 1.05rem;
  line-height: 1.45;
}

.ph-list li {
  margin-bottom: 0.6rem;
  padding-left: 1.4rem;
  position: relative;
}

.ph-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: bold;
}

.philosophy-card.good .ph-list li::before {
  content: '✓';
  color: var(--green);
}

/* Gameplay Loop / 5 Steps */
.loop-section {
  background: var(--ink);
  position: relative;
}

.loop-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.step-card {
  background: var(--ink-surface);
  border: 2px solid #000;
  box-shadow: var(--shadow-tactile);
  border-radius: 6px;
  padding: 1.5rem 1.2rem;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--amber);
}

.step-number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--cream);
}

.step-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.step-time-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--amber);
  background: rgba(242, 179, 61, 0.15);
  border: 1px solid rgba(242, 179, 61, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  display: inline-block;
  align-self: flex-start;
}

/* Feature Grid with Realistic Device Screens */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-box {
  background: #202227;
  border: 2px solid #000;
  box-shadow: var(--shadow-tactile);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-media {
  position: relative;
  background: #111;
  overflow: hidden;
  height: 280px;
  border-bottom: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.feature-box:hover .feature-media img {
  transform: scale(1.04);
}

.feature-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.feature-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--amber);
  margin-bottom: 0.4rem;
}

.feature-heading {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
  color: var(--cream);
}

.feature-body {
  font-size: 1rem;
  color: #B5AEA1;
  line-height: 1.45;
}

/* Terminal Section (GözcüOS Live Experience) */
.terminal-section {
  background: #0B0D10;
  border-top: 3px solid #000;
  border-bottom: 3px solid #000;
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.terminal-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
  background-size: 100% 4px, 6px 100%;
  pointer-events: none;
  z-index: 10;
}

.terminal-window {
  max-width: 900px;
  margin: 0 auto;
  background: #0E1310;
  border: 2px solid var(--phosphor-dim);
  border-radius: 8px;
  box-shadow: 0 0 35px rgba(124, 242, 166, 0.12), 0 10px 30px rgba(0,0,0,0.8);
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.terminal-header {
  background: #18221B;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--phosphor-dim);
}

.terminal-dots {
  display: flex;
  gap: 0.45rem;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.4);
}

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--phosphor);
  letter-spacing: 0.08em;
}

.terminal-tabs {
  display: flex;
  background: #111813;
  border-bottom: 1px solid rgba(124, 242, 166, 0.2);
}

.terminal-tab {
  background: transparent;
  border: none;
  border-right: 1px solid rgba(124, 242, 166, 0.15);
  color: #5C876C;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.terminal-tab:hover {
  color: var(--phosphor);
  background: rgba(124, 242, 166, 0.05);
}

.terminal-tab.active {
  color: var(--phosphor);
  background: #0E1310;
  font-weight: 600;
  border-bottom: 2px solid var(--phosphor);
}

.terminal-screen {
  padding: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--phosphor);
  min-height: 240px;
  line-height: 1.6;
}

.terminal-prompt {
  color: #FFF;
  margin-bottom: 0.75rem;
}

.terminal-cursor {
  display: inline-block;
  width: 9px;
  height: 1.1em;
  background: var(--phosphor);
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Case Files Showcase */
.cases-section {
  background: #15161A url('assets/textures/cork.jpg') repeat;
  background-size: 320px;
  box-shadow: inset 0 0 100px rgba(0,0,0,0.8);
  padding: 5rem 1.5rem;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

.case-dossier {
  background: var(--manila) url('assets/textures/paper.jpg') repeat;
  background-size: 300px;
  color: var(--paper-text);
  border: 2px solid #000;
  border-radius: 4px;
  padding: 1.75rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.case-dossier:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.65);
}

.case-id-badge {
  font-family: var(--font-typewriter);
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.case-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin-bottom: 0.75rem;
  line-height: 1.1;
  color: #1A1713;
}

.case-summary {
  font-family: var(--font-typewriter);
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 1.25rem;
  color: #3B332A;
}

.case-clues-list {
  background: rgba(255, 255, 255, 0.5);
  border: 1px dashed rgba(0, 0, 0, 0.3);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  margin-bottom: 1.25rem;
}

.case-clues-list span {
  display: block;
  margin-bottom: 0.25rem;
}

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

/* Call to Action Section (Mühürlü Dosya) */
.cta-section {
  background: #111215;
  padding: 6rem 1.5rem;
  position: relative;
}

.cta-box {
  max-width: 900px;
  margin: 0 auto;
  background: var(--manila) url('assets/textures/paper.jpg') repeat;
  background-size: 320px;
  color: var(--paper-text);
  border: 3px solid #000;
  border-radius: 6px;
  padding: 3.5rem 3rem;
  box-shadow: 0 20px 45px rgba(0,0,0,0.7), var(--shadow-tactile);
  text-align: center;
  position: relative;
}

.cta-title {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 1rem;
  color: #171512;
}

.cta-subtitle {
  font-size: 1.35rem;
  color: #4A4033;
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.4;
}

.cta-form {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  max-width: 520px;
  margin: 0 auto 2rem;
}

.cta-input {
  flex-grow: 1;
  padding: 0.85rem 1.2rem;
  border: 2px solid #000;
  border-radius: 4px;
  font-family: var(--font-ui);
  font-size: 1.1rem;
  background: #FFF;
  color: #000;
}

.cta-input:focus {
  outline: none;
  border-color: var(--red);
}

.store-badges {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #111;
  color: #FFF;
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  border: 2px solid #000;
  box-shadow: var(--shadow-tactile);
  text-decoration: none;
  font-family: var(--font-ui);
  transition: transform 0.1s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  background: #222;
}

.badge-text-sub {
  font-size: 0.75rem;
  color: #AAA;
  display: block;
  line-height: 1;
}

.badge-text-main {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

/* Footer */
.site-footer {
  background: #0C0D10;
  border-top: 3px solid #000;
  padding: 3.5rem 1.5rem 2rem;
  color: var(--muted);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cream);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--amber);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-family: var(--font-mono);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-lead, .hero-quote {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions, .hero-meta-strip {
    justify-content: center;
  }

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

  .loop-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .philosophy-versus {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.4rem;
  }

  .nav-links, .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    padding: 1.5rem;
    border-bottom: 2px solid var(--amber);
  }

  .features-grid, .cases-grid, .loop-steps {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 2.5rem 1.5rem;
  }

  .cta-form {
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ============================================================
   LEGAL PAGES, FAQ & CONTACT EXTENSIONS
   ============================================================ */

/* Top Back Bar for Subpages */
.back-bar {
  background: #111317;
  border-bottom: 1px solid rgba(242, 179, 61, 0.2);
  padding: 0.75rem 1.5rem;
}

.back-bar-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.back-link {
  color: var(--amber);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: #FFF;
}

.lang-switch {
  display: flex;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.lang-switch a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.15);
}

.lang-switch a.active, .lang-switch a:hover {
  color: var(--amber);
  border-color: var(--amber);
}

/* Legal & Dossier Container */
.legal-container {
  max-width: 960px;
  margin: 3rem auto 5rem;
  padding: 0 1.5rem;
}

.legal-dossier {
  background: var(--cream) url('assets/textures/paper.jpg') repeat;
  background-size: 320px;
  color: var(--paper-text);
  border: 2px solid #000;
  box-shadow: 0 15px 40px rgba(0,0,0,0.65), var(--shadow-tactile);
  border-radius: 4px;
  padding: 3.5rem 3rem;
  position: relative;
}

.legal-header {
  border-bottom: 2px solid rgba(0,0,0,0.2);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.legal-brand {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--red);
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.legal-title {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: #171512;
  margin-bottom: 0.5rem;
}

.legal-meta {
  font-family: var(--font-typewriter);
  font-size: 0.9rem;
  color: #6B6256;
}

.legal-summary-box {
  background: rgba(242, 179, 61, 0.15);
  border-left: 4px solid var(--amber);
  border-radius: 0 4px 4px 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  font-family: var(--font-ui);
  font-size: 1.15rem;
  line-height: 1.5;
}

.legal-summary-box ul {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.legal-summary-box li {
  margin-bottom: 0.4rem;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: #1A1713;
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px dashed rgba(0,0,0,0.25);
  padding-bottom: 0.35rem;
}

.legal-content h3 {
  font-family: var(--font-ui);
  font-size: 1.35rem;
  font-weight: 700;
  color: #2F2A24;
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
}

.legal-content p {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #38332C;
}

.legal-content ul, .legal-content ol {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  color: #38332C;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: var(--red);
  text-decoration: underline;
  font-weight: 600;
}

.legal-footer-seal {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(0,0,0,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* FAQ Section */
.faq-section {
  background: var(--ink);
  padding: 5rem 1.5rem;
  border-top: 2px solid #000;
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--ink-surface);
  border: 2px solid #000;
  border-radius: 4px;
  box-shadow: var(--shadow-tactile-sm);
  margin-bottom: 1.25rem;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: var(--amber);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 1.3rem;
  font-weight: 700;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-icon {
  font-family: var(--font-mono);
  color: var(--amber);
  font-size: 1.4rem;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.35rem;
  color: #C0B7A8;
  font-size: 1.05rem;
  line-height: 1.55;
  border-top: 1px dashed rgba(243, 234, 214, 0.15);
  padding-top: 1rem;
}

/* Contact & Bureau Inquiry Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.bureau-info-card {
  background: var(--ink-card);
  border: 2px solid #000;
  padding: 2rem;
  border-radius: 6px;
  box-shadow: var(--shadow-tactile);
}

.bureau-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--amber);
  margin-bottom: 1rem;
}

.bureau-info-list {
  list-style: none;
  margin-bottom: 1.75rem;
}

.bureau-info-list li {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.4;
}

.bureau-info-list strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--paper-text);
  font-weight: 600;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #000;
  border-radius: 4px;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  background: #FFF;
  color: #111;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(200, 53, 43, 0.25);
}

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