/* ==========================================================================
   TURKBYT SHOWCASE / MARKETING LANDING PAGE STYLES
   Modern Hardware Design Aesthetics & Retro Smart LED Matrix
   ========================================================================== */

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

:root {
  /* Color Tokens */
  --bg-main: #060911;
  --bg-surface: #0c111d;
  --bg-surface-elevated: #131b2e;
  --bg-card: rgba(18, 26, 43, 0.7);
  --bg-glass: rgba(15, 23, 42, 0.65);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.25);
  --border-hover: rgba(255, 255, 255, 0.2);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #38bdf8;

  /* Accent & Glow */
  --accent-cyan: #00f2fe;
  --accent-blue: #38bdf8;
  --accent-red: #ef4444;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-purple: #a855f7;

  /* Chassis Colors */
  --chassis-outer: #0a0d14;
  --chassis-mid: #141923;
  --chassis-inner: #060911;
  --chassis-border: rgba(255, 255, 255, 0.12);
  --chassis-shadow: rgba(0, 0, 0, 0.85);

  /* Typography */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Layout */
  --max-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --header-height: 80px;

  /* Transition */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body.landing-body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 10% 40%, rgba(168, 85, 247, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(0, 242, 254, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Noise & Grid Overlay */
.bg-grid-pattern {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(6, 9, 17, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.site-header.scrolled {
  background: rgba(6, 9, 17, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  border-radius: 8px;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.4);
  color: white;
  font-size: 16px;
}

.brand-text span {
  color: var(--accent-red);
}

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

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.btn-console {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-main);
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.35);
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}

.btn-console:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(14, 165, 233, 0.55);
  filter: brightness(1.08);
}

.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}

.btn-login:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.btn-text-desktop {
  display: inline;
}

.btn-text-mobile {
  display: none;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--header-height) + 50px);
  padding-bottom: 80px;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: 24px;
  animation: pulsePill 3s infinite;
}

@keyframes pulsePill {
  0%, 100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
}

.hero-title {
  font-size: clamp(38px, 6vw, 70px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 900px;
  margin: 0 auto 20px;
}

.hero-title-gradient {
  background: linear-gradient(135deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #38bdf8 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(17px, 2.2vw, 21px);
  max-width: 680px;
  margin: 0 auto 36px;
  color: var(--text-secondary);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 54px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 9999px;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 600;
  background: #fff;
  color: #060911;
  transition: all var(--transition-fast);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 255, 255, 0.4);
  background: #f1f5f9;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 9999px;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* ==========================================================================
   PWA INSTALL BUTTON - YANAR DÖNER (IRIDESCENT DYNAMIC GLOW & COMPACT PILL)
   ========================================================================== */
.btn-pwa-install {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  font-family: var(--font-main);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  width: auto;
  max-width: fit-content;
  align-self: center;
  user-select: none;
  outline: none;

  /* Yanar döner dynamic multi-color gradient */
  background: linear-gradient(
    115deg,
    #ff007a 0%,
    #9d4edd 20%,
    #0070f3 40%,
    #00dfd8 60%,
    #ffbe0b 80%,
    #ff007a 100%
  );
  background-size: 260% 260%;
  animation: yanarDonerShift 4s ease infinite;
  box-shadow: 0 0 16px rgba(255, 0, 122, 0.45), 0 0 28px rgba(0, 223, 216, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

@keyframes yanarDonerShift {
  0% {
    background-position: 0% 50%;
    box-shadow: 0 0 16px rgba(255, 0, 122, 0.55), 0 0 28px rgba(157, 78, 221, 0.35);
  }
  33% {
    background-position: 50% 100%;
    box-shadow: 0 0 18px rgba(0, 112, 243, 0.6), 0 0 32px rgba(0, 223, 216, 0.4);
  }
  66% {
    background-position: 100% 50%;
    box-shadow: 0 0 18px rgba(0, 223, 216, 0.65), 0 0 32px rgba(255, 190, 11, 0.4);
  }
  100% {
    background-position: 0% 50%;
    box-shadow: 0 0 16px rgba(255, 0, 122, 0.55), 0 0 28px rgba(157, 78, 221, 0.35);
  }
}

.btn-pwa-install:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 0 24px rgba(255, 0, 122, 0.75), 0 0 42px rgba(0, 223, 216, 0.65);
  border-color: rgba(255, 255, 255, 0.75);
}

.btn-pwa-install:active {
  transform: translateY(0) scale(0.97);
}

.btn-pwa-install i {
  font-size: 13px;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.7));
  animation: pwaPhonePulse 2.4s ease-in-out infinite;
}

@keyframes pwaPhonePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.18);
  }
}

.pwa-shine-sweep {
  position: absolute;
  top: -60%;
  left: -70%;
  width: 45%;
  height: 220%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  animation: pwaShimmerSweep 3.2s infinite ease-in-out;
}

@keyframes pwaShimmerSweep {
  0%, 25% {
    left: -70%;
  }
  75%, 100% {
    left: 140%;
  }
}

/* ==========================================================================
   REAL HARDWARE HERO SHOWCASE (INTERACTIVE SCREEN SWITCHER)
   ========================================================================== */
.hero-hardware-wrapper {
  position: relative;
  max-width: 960px;
  width: 100%;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-hardware-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -20%);
  width: 90%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(239, 68, 68, 0.3) 0%, rgba(245, 158, 11, 0.15) 45%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
  transition: background 0.8s ease;
}

.hero-hardware-display-card {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #080c14;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.95), 0 0 35px rgba(56, 189, 248, 0.15);
  transition: box-shadow 0.6s ease, border-color 0.6s ease;
  display: flex;
  flex-direction: column;
}

.hero-hardware-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(8, 12, 20, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 10px;
  z-index: 2;
}

.hero-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  white-space: nowrap;
}

.hero-badge-live .pulse-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: pulseLive 2s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-badge-spec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.hero-hardware-img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #030509;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-hardware-img-container picture {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-hardware-active-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-hardware-caption-bar {
  position: relative;
  width: 100%;
  padding: 18px 24px;
  background: #080c14;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 2;
}

.caption-info h4 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
}

.caption-info p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  line-height: 1.4;
}

.caption-tag span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.caption-tag span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

/* Tabs */
.hero-hardware-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  z-index: 1;
}

.hero-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  transform: translateY(-2px);
}

.hero-tab-btn.active {
  background: rgba(239, 68, 68, 0.16);
  border-color: var(--accent-red);
  color: #fff;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.3);
}

@media (max-width: 768px) {
  .hero-hardware-top-bar {
    padding: 10px 14px;
  }
  .hero-badge-live, .hero-badge-spec {
    font-size: 10px;
    padding: 4px 8px;
  }
  .hero-hardware-img-container {
    aspect-ratio: 16 / 9;
    min-height: 180px;
  }
  .hero-hardware-caption-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
    gap: 6px;
  }
  .caption-tag {
    display: inline-flex;
  }
  .caption-info h4 {
    font-size: 15px;
  }
  .caption-info p {
    font-size: 12px;
    line-height: 1.45;
  }
  .hero-hardware-tabs {
    gap: 6px;
    margin-top: 14px;
    justify-content: center;
  }
  .hero-tab-btn {
    padding: 7px 11px;
    font-size: 11px;
  }
}

/* ==========================================================================
   LEGACY / FALLBACK SIMULATOR STYLES
   ========================================================================== */
.device-showcase-wrapper {
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.device-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  height: 420px;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.22) 0%, rgba(168, 85, 247, 0.14) 45%, transparent 75%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  transition: background 0.8s ease;
}

.device-ambient-glow.night-glow {
  background: radial-gradient(ellipse at center, rgba(239, 68, 68, 0.22) 0%, rgba(245, 158, 11, 0.14) 45%, transparent 75%);
}

/* Realistic Matte Black Textured Chassis */
.turkbyt-device-frame {
  position: relative;
  z-index: 1;
  background: linear-gradient(145deg, #1e2430 0%, #10141d 55%, #080a0f 100%);
  padding: 34px 44px;
  border-radius: 26px;
  box-shadow: 
    0 30px 75px -15px rgba(0, 0, 0, 0.9),
    0 15px 35px -5px rgba(0, 0, 0, 0.7),
    inset 0 2px 4px rgba(255, 255, 255, 0.12),
    inset 0 -3px 6px rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

/* Subtle texture touch */
.turkbyt-device-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
  pointer-events: none;
}

/* Inner Bezel (Matte black chamfer) */
.inner-bezel {
  background: #030407;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 
    inset 0 4px 16px rgba(0, 0, 0, 0.95),
    0 1px 2px rgba(255, 255, 255, 0.1);
  border: 1px solid #111;
  position: relative;
}

/* 64x32 LED Canvas Container (Aspect Ratio 2:1) */
.led-screen-container {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 2 / 1;
  background: #050608;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.95);
}

/* Canvas element */
#turkbyt-canvas {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

/* Smoked Acrylic Diffuser Overlay */
.screen-diffuser {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 60%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.8);
}

/* Subtle Turkbyt logo on bottom of wooden frame */
.frame-bottom-branding {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 0 4px;
}

.frame-logo {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  gap: 6px;
}

.frame-logo i {
  color: rgba(239, 68, 68, 0.4);
}

.frame-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-mono);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulseDot 2s infinite;
}

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

/* Simulator Controls & Switcher Below Device */
.simulator-controls {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.app-ticker-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 940px;
}

.app-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 9999px;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.app-pill-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.app-pill-btn.active {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.2);
}

.sim-secondary-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.custom-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.custom-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.12);
  transition: var(--transition-fast);
  border-radius: 34px;
  border: 1px solid var(--border-subtle);
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: var(--transition-fast);
  border-radius: 50%;
}

input:checked + .switch-slider {
  background-color: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

input:checked + .switch-slider:before {
  transform: translateX(20px);
}

/* ==========================================================================
   FEATURES / VALUE PILLARS ("Neden Turkbyt?")
   ========================================================================== */
.section-padding {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-blue);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
}

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

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  backdrop-filter: blur(12px);
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.bento-col-8 { grid-column: span 8; }
.bento-col-4 { grid-column: span 4; }
.bento-col-6 { grid-column: span 6; }

.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 24px;
  color: var(--accent-blue);
}

.bento-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.bento-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 16px;
}

/* ==========================================================================
   APP ECOSYSTEM SHOWCASE
   ========================================================================== */
.apps-category-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.category-tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 10px 22px;
  border-radius: 9999px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.category-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.category-tab-btn.active {
  background: #fff;
  color: #060911;
  border-color: #fff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.2);
}

.apps-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 32px;
}

.app-catalog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.app-catalog-card:hover {
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   AUTHENTIC 64x32 MINI LED MATRIX APP PREVIEW SCREENS
   ========================================================================== */
.app-card-preview {
  width: 100%;
  aspect-ratio: 2 / 1;
  background: #010204;
  border-radius: 14px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  border: 4px solid #141b29;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.98), 0 12px 28px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-card-preview canvas,
.app-card-preview img,
.simulator-display-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.led-matrix-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, transparent 42%, rgba(1, 2, 4, 0.72) 75%);
  background-size: calc(100% / 64) calc(100% / 32);
  pointer-events: none;
  z-index: 2;
}

/* Glass Reflection */
.app-card-preview::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 100%);
  pointer-events: none;
  z-index: 11;
}

/* Pixel Screen Inner Layout */
.mini-led-screen {
  width: 100%;
  height: 100%;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: 'Silkscreen', 'Press Start 2P', monospace, monospace;
  image-rendering: pixelated;
  user-select: none;
  z-index: 2;
  position: relative;
}

.mini-screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.5px;
  line-height: 1;
}

.mini-screen-mid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.8px;
  line-height: 1.1;
  text-shadow: 0 0 8px currentColor;
}

.mini-screen-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 0.4px;
  color: #64748b;
  line-height: 1;
}

.mini-badge-pill {
  padding: 2px 4px;
  border-radius: 2px;
  font-size: 8px;
  font-weight: bold;
  color: #fff;
  line-height: 1;
}

.mini-eq-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
}

.mini-eq-bars span {
  width: 2px;
  background: #22c55e;
  border-radius: 1px;
}

.mini-github-grid {
  display: grid;
  grid-template-columns: repeat(14, 4px);
  grid-gap: 2px;
  justify-content: center;
  align-content: center;
}

.mini-github-grid span {
  width: 4px;
  height: 4px;
  border-radius: 0.5px;
}

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

.app-card-title {
  font-size: 17px;
  font-weight: 700;
}

.app-card-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-weight: 600;
}

.app-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 4px;
}

/* ==========================================================================
   HOW IT WORKS (3 STEPS)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-blue);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.step-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   DEVELOPER SECTION (STARLARK & PIXLET)
   ========================================================================== */
.dev-showcase {
  background: linear-gradient(145deg, #090e1a 0%, #0c1424 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 50px;
  overflow: hidden;
  position: relative;
}

.dev-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.code-editor-box {
  background: #04060a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.code-editor-header {
  background: #090d15;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.code-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.code-dots span:nth-child(1) { background: #ef4444; }
.code-dots span:nth-child(2) { background: #f59e0b; }
.code-dots span:nth-child(3) { background: #10b981; }

.code-file-name {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.code-content {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: #e2e8f0;
  overflow-x: auto;
}

.code-keyword { color: #f43f5e; font-weight: bold; }
.code-func { color: #38bdf8; }
.code-str { color: #34d399; }
.code-comment { color: #64748b; font-style: italic; }

.terminal-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 18px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #38bdf8;
  margin-top: 24px;
}

/* ==========================================================================
   SPECS GRID
   ========================================================================== */
.specs-table-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.spec-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-subtle);
  align-items: center;
}

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

.spec-name {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
}

.spec-value {
  font-size: 15px;
  color: var(--text-secondary);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: rgba(56, 189, 248, 0.4);
}

.faq-question {
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 600;
  user-select: none;
}

.faq-question i {
  font-size: 14px;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--accent-blue);
}

.faq-answer {
  padding: 0 26px 22px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-xl);
  padding: 70px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7);
}

.cta-banner h2 {
  font-size: clamp(32px, 4.5vw, 50px);
  font-weight: 800;
  margin-bottom: 18px;
}

.cta-banner p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 36px;
  color: var(--text-secondary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  margin-top: 80px;
  background: #03050a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 1024px) {
  .bento-col-8, .bento-col-4, .bento-col-6 {
    grid-column: span 12;
  }
  .dev-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }
  .site-header {
    height: calc(60px + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
  }
  .hero-section {
    padding-top: calc(60px + env(safe-area-inset-top, 0px) + 24px) !important;
  }
  .container {
    padding: 0 16px;
  }
  .brand-logo {
    font-size: 19px;
    gap: 8px;
  }
  .brand-badge {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
  .nav-actions {
    gap: 10px;
  }
  .btn-text-desktop {
    display: none;
  }
  .btn-text-mobile {
    display: inline;
  }
  .btn-console {
    padding: 6px 14px;
    font-size: 13px;
    gap: 5px;
  }
  .btn-login {
    display: none !important;
  }
  .nav-links {
    display: none !important;
  }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 18px;
    padding: 0;
    flex-shrink: 0;
  }
  .turkbyt-device-frame {
    padding: 16px 14px !important;
    border-radius: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .device-showcase-wrapper {
    overflow: hidden !important;
    max-width: 100% !important;
  }
  .frame-bottom-branding {
    font-size: 11px !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .frame-logo {
    font-size: 11px !important;
    letter-spacing: 0.05em !important;
  }
  .frame-status {
    font-size: 10px !important;
  }
  .apps-catalog-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .app-catalog-card {
    padding: 20px 18px !important;
  }
  .bento-card {
    padding: 24px 20px !important;
  }
  .dev-showcase {
    padding: 24px 16px !important;
    border-radius: var(--radius-lg) !important;
  }
  .code-editor-box {
    max-width: 100% !important;
  }
  .code-content {
    padding: 14px 12px !important;
    font-size: 11px !important;
  }
  .cta-banner {
    padding: 40px 18px !important;
    border-radius: var(--radius-lg) !important;
  }
  .spec-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 18px !important;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group a {
    width: 100%;
    justify-content: center;
  }
  .hero-cta-group .btn-pwa-install {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 15px !important;
    justify-content: center !important;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .container {
    padding: 0 10px;
  }
  .brand-text {
    font-size: 18px;
  }
  .brand-badge {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
  .nav-actions {
    gap: 6px;
  }
  .btn-console {
    padding: 6px 10px;
    font-size: 12px;
    gap: 4px;
  }
  .btn-login {
    padding: 6px 8px;
    font-size: 12px;
    gap: 4px;
  }
  .btn-login .btn-text-mobile {
    display: none;
  }
}

/* ==========================================================================
   REAL HARDWARE GALLERY SHOWCASE
   ========================================================================== */
.hardware-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.hardware-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.hardware-card:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(239, 68, 68, 0.15);
}

.hardware-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #080c14;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hardware-image-wrapper picture {
  width: 100%;
  height: 100%;
  display: block;
}

.hardware-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hardware-card:hover .hardware-img {
  transform: scale(1.05);
}

.hardware-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: rgba(6, 9, 17, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  backdrop-filter: blur(10px);
}

.hardware-card-content {
  padding: 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hardware-card-content h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.hardware-card-content p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.hardware-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hardware-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
}

.hardware-tag i {
  color: var(--accent-red);
}

@media (max-width: 768px) {
  .hardware-gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hardware-card-content {
    padding: 20px;
  }
}

/* ==========================================================================
   APP STUDIO PROMO SECTION
   ========================================================================== */
.studio-promo-banner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, rgba(16, 22, 36, 0.88) 0%, rgba(10, 14, 24, 0.98) 100%);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(168, 85, 247, 0.12);
}

.studio-promo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 9999px;
  color: #c084fc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.studio-feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 28px 0 32px;
}

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

.studio-feat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c084fc;
  font-size: 16px;
  flex-shrink: 0;
}

.studio-feat-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.studio-feat-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.studio-promo-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Studio Mockup Visual */
.studio-mockup-frame {
  background: #060911;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(168, 85, 247, 0.15);
}

.studio-mockup-header {
  background: #0e1422;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:nth-child(3) { background: #10b981; }

.mockup-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.mockup-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 4px;
}

.studio-mockup-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.code-preview-snippet {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: #94a3b8;
  background: #04060b;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  white-space: pre;
  overflow-x: auto;
}

.code-preview-snippet .c-k { color: #c084fc; font-weight: 600; }
.code-preview-snippet .c-s { color: #34d399; }
.code-preview-snippet .c-f { color: #38bdf8; }
.code-preview-snippet .c-c { color: #64748b; font-style: italic; }
.code-preview-snippet .c-v { color: #f59e0b; }

.live-result-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.live-screen-box {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.3);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
}

@media (max-width: 992px) {
  .studio-promo-banner {
    grid-template-columns: 1fr;
    padding: 30px 20px;
    gap: 32px;
  }
}

.studio-clean-card {
  position: relative;
  background: radial-gradient(circle at 50% 20%, rgba(239, 68, 68, 0.14) 0%, rgba(9, 13, 22, 0.94) 75%);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 24px;
  padding: 48px 28px 40px;
  text-align: center;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 40px rgba(239, 68, 68, 0.15);
}

.studio-showcase-visual {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(239, 68, 68, 0.35);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.9), 0 0 45px rgba(239, 68, 68, 0.18);
  background: #080c14;
}

.studio-showcase-visual picture {
  display: block;
  width: 100%;
}

.studio-preview-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .studio-clean-card {
    padding: 28px 14px 20px;
    border-radius: 16px;
  }

  .studio-showcase-visual {
    border-radius: 12px;
  }
}

/* ==========================================================================
   TURKBYT PRE-ORDER MODAL & CTA STYLES
   ========================================================================== */
.btn-preorder-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 9999px;
  font-family: var(--font-main, sans-serif);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff !important;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.55), 0 8px 20px rgba(0, 0, 0, 0.4) !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-preorder-hero:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 35px rgba(239, 68, 68, 0.75), 0 12px 25px rgba(0, 0, 0, 0.5) !important;
}

.btn-preorder-hero i {
  color: #fef08a;
  animation: fireFlicker 1.8s infinite ease-in-out;
}

@keyframes fireFlicker {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px #f59e0b); }
  50% { transform: scale(1.2); filter: drop-shadow(0 0 8px #ef4444); }
}

.nav-preorder-link {
  color: #fca5a5 !important;
  font-weight: 600 !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.nav-preorder-link:hover {
  color: #ef4444 !important;
}

/* Modal Overlay */
.preorder-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.preorder-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.preorder-modal-container {
  position: relative;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.98) 0%, rgba(9, 13, 22, 0.99) 100%);
  border: 1px solid rgba(239, 68, 68, 0.45);
  border-radius: 24px;
  box-shadow: 0 25px 70px -15px rgba(0, 0, 0, 0.95), 0 0 45px rgba(239, 68, 68, 0.22);
  overflow: hidden;
  z-index: 1;
  animation: modalPopUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPopUp {
  0% { opacity: 0; transform: scale(0.92) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.preorder-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 30;
  touch-action: manipulation;
}

.preorder-modal-close:hover {
  background: rgba(239, 68, 68, 0.45);
  border-color: rgba(239, 68, 68, 0.8);
  color: #ffffff;
  transform: scale(1.08) rotate(90deg);
}

.preorder-modal-body {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  padding: 34px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Left side */
.preorder-info-side {
  display: flex;
  flex-direction: column;
}

.preorder-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
  width: fit-content;
}

.preorder-title {
  font-family: var(--font-main, sans-serif);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 10px;
}

.preorder-title span {
  color: #ef4444;
  text-shadow: 0 0 16px rgba(239, 68, 68, 0.4);
}

.preorder-desc {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 18px;
}

.preorder-visual-wrap {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  margin-bottom: 18px;
  background: #000;
}

.preorder-visual-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.preorder-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preorder-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #e2e8f0;
}

.preorder-perks li i {
  color: #10b981;
  font-size: 13px;
  background: rgba(16, 185, 129, 0.15);
  padding: 4px;
  border-radius: 50%;
}

/* Right side / Form */
.preorder-form-side {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.preorder-form-header h3 {
  font-family: var(--font-main, sans-serif);
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.preorder-form-header p {
  color: #94a3b8;
  font-size: 13px;
  margin-bottom: 18px;
}

.preorder-field {
  margin-bottom: 14px;
}

.preorder-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.preorder-field label i {
  margin-right: 5px;
  color: #ef4444;
}

.preorder-field label .required {
  color: #ef4444;
}

.preorder-field input,
.preorder-field select,
.preorder-field textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-family: var(--font-body, sans-serif);
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

.preorder-field input:focus,
.preorder-field select:focus,
.preorder-field textarea:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
  background: rgba(15, 23, 42, 0.95);
}

.preorder-field select {
  cursor: pointer;
}

.preorder-field select option {
  background: #0f172a;
  color: #fff;
}

.preorder-field textarea {
  resize: vertical;
  min-height: 55px;
}

.preorder-error-alert {
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  font-size: 13px;
  margin-bottom: 14px;
}

.preorder-submit-btn {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  font-family: var(--font-main, sans-serif);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
  cursor: pointer;
  transition: all 0.25s ease;
}

.preorder-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.6);
}

.preorder-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.preorder-footer-note {
  margin-top: 12px;
  text-align: center;
  font-size: 11.5px;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Success State */
.preorder-success-wrapper {
  text-align: center;
  padding: 20px 10px;
}

.preorder-success-icon {
  font-size: 54px;
  color: #10b981;
  margin-bottom: 14px;
  animation: pulseSuccess 1.5s infinite ease-in-out;
}

@keyframes pulseSuccess {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.4)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.8)); }
}

.preorder-success-wrapper h3 {
  font-family: var(--font-main, sans-serif);
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 10px;
}

.preorder-success-msg {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 16px;
}

.preorder-success-details {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 10px;
  padding: 12px;
  font-size: 13.5px;
  color: #a7f3d0;
  margin-bottom: 22px;
}

.preorder-success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-preorder-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  transition: all 0.2s ease;
}

.btn-preorder-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

.btn-preorder-close-success {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  padding: 10px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-preorder-close-success:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.btn-preorder-cancel {
  display: none;
}

@media (max-width: 768px) {
  .preorder-modal-backdrop {
    align-items: flex-start;
    padding: 10px 8px 30px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .preorder-modal-container {
    max-height: calc(100dvh - 20px);
    max-height: calc(100vh - 20px);
    border-radius: 18px;
    margin: auto 0;
  }

  .preorder-modal-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 18px;
    background: rgba(239, 68, 68, 0.3);
    border: 1.5px solid rgba(239, 68, 68, 0.7);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  }

  .preorder-modal-body {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 12px 18px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .preorder-info-side {
    padding-right: 44px; /* Leave space for close button */
  }

  .preorder-badge {
    font-size: 11px;
    padding: 3px 10px;
    margin-bottom: 6px;
  }

  .preorder-title {
    font-size: 18px;
    line-height: 1.25;
    margin-bottom: 2px;
  }

  /* Hide huge visual and verbose perks on small screens to keep modal compact */
  .preorder-desc,
  .preorder-visual-wrap,
  .preorder-perks {
    display: none !important;
  }

  .preorder-form-side {
    padding: 12px 10px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.35);
  }

  .preorder-form-header {
    display: none; /* Already have title in header */
  }

  .preorder-field {
    margin-bottom: 8px;
  }

  .preorder-field label {
    font-size: 11.5px;
    margin-bottom: 3px;
  }

  .preorder-field input,
  .preorder-field select,
  .preorder-field textarea {
    padding: 8px 10px;
    font-size: 13.5px;
    border-radius: 8px;
  }

  .preorder-field textarea {
    min-height: 44px;
  }

  .preorder-submit-btn {
    padding: 12px 18px;
    font-size: 14px;
    margin-top: 4px;
  }

  .btn-preorder-cancel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .btn-preorder-cancel:active {
    background: rgba(239, 68, 68, 0.25);
    color: #ffffff;
  }

  .preorder-footer-note {
    font-size: 11px;
    margin-top: 8px;
  }
}


