/* ==========================================================================
   MOBLAB - NEXT-GEN APP VENTURE STUDIO & TECHNOLOGY LAB
   Design Philosophy: Flat Minimalism, Zero Stroke, Zero Shadow, Zero Glow
   Brand Primary: #EE1A36 (Moblab Red)
   Secondary Black: #0D0D0D
   Centered Precision & Sleek Tech Aesthetic
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url('https://use.hugeicons.com/font/icons.css');

:root {
  /* Brand Core */
  --primary: #EE1A36;
  --primary-hover: #D7132D;
  --primary-light: #FF3B53;
  --primary-tint: rgba(238, 26, 54, 0.1);
  --primary-tint-hover: rgba(238, 26, 54, 0.18);
  --secondary: #0D0D0D;

  /* Dark Theme (Default) - Pure Charcoal Black (#0D0D0D) & Neutral Grayscale */
  --bg-body: #0D0D0D;
  --bg-surface: #141414;
  --bg-surface-elevated: #1B1B1B;
  --bg-surface-soft: #242424;
  --bg-card: #141414;
  --bg-card-hover: #24242B;
  --bg-nav: rgba(13, 13, 13, 0.88);
  --bg-nav-scrolled: rgba(13, 13, 13, 0.96);

  --text-primary: #FFFFFF;
  --text-secondary: #9E9E9E;
  --text-muted: #666666;
  --text-on-primary: #FFFFFF;

  --border-color: rgba(255, 255, 255, 0.08);

  /* Zero Stroke & Zero Shadow Tokens */
  --border-none: none;
  --shadow-none: none;

  /* Corner Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Nav & Layout */
  --nav-height: 76px;
  --nav-logo-height: 25px;
  --container-max: 1220px;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Outfit', monospace;

  /* Motion */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
}

[data-theme="light"] {
  --bg-body: #F4F4F6;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #EAEAEF;
  --bg-surface-soft: #E0E0E6;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-nav: rgba(244, 244, 246, 0.9);
  --bg-nav-scrolled: rgba(244, 244, 246, 0.96);

  --text-primary: #0D0D0D;
  --text-secondary: #585858;
  --text-muted: #888888;
  --text-on-primary: #FFFFFF;

  --border-color: rgba(0, 0, 0, 0.08);

  color-scheme: light;
}

/* ==========================================================================
   RESET & SYSTEM BASE
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  box-shadow: none !important;
  text-shadow: none !important;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  background-color: #0a0d14;
}

html[data-theme="light"],
[data-theme="light"] {
  background-color: #6ebdfd;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Zero flash of untranslated content when EN mode is active */
html[data-lang="en"]:not([data-i18n-ready]) body {
  visibility: hidden;
}
html[data-i18n-ready] body {
  visibility: visible;
}

/* Clean Minimal Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-body);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface-soft);
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 500; /* Medium max across headings */
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

ul {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* ==========================================================================
   BUTTONS & BADGES (STRICT 14px FLAT SYSTEM - MEDIUM FONT WEIGHT)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 10px 22px;
  font-size: 14px; /* Exact 14px required */
  font-weight: 500; /* Medium max */
  border-radius: 9999px !important;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
  user-select: none;
  letter-spacing: -0.01em;
}

.btn-tanisalim {
  border-radius: 9999px !important;
}

.btn:active {
  transform: scale(0.98);
}

.btn:hover {
  transform: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #000000 !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
  transform: none !important;
}

[data-theme="dark"] .btn-primary:hover {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 8px 24px -4px rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .btn-primary:hover {
  box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.25);
}

.btn-secondary {
  background-color: var(--bg-surface-elevated);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background-color: #000000 !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
  transform: none !important;
}

[data-theme="dark"] .btn-secondary:hover {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 8px 24px -4px rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .btn-secondary:hover {
  box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   REUI STATUS DOT INDICATOR (@reui/c-button-46)
   ========================================================================== */
.btn-status-indicator {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-right: 10px;
  vertical-align: middle;
}

.btn-status-dot {
  position: relative;
  display: flex;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: #10b981; /* bg-emerald-500 */
}

.btn-status-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background-color: #34d399; /* bg-emerald-400 */
  opacity: 0.75;
  animation: reuiPing 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.btn-status-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background-color: #34d399; /* bg-emerald-400 */
  opacity: 0.4;
  animation: reuiPing 1.5s cubic-bezier(0, 0, 0.2, 1) infinite 0.5s;
}

@keyframes reuiPing {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }
  75%, 100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-status-dot::before,
  .btn-status-dot::after {
    animation: none !important;
    display: none !important;
  }
}

/* Hugeicons Arrow-Right Slide Interaction on Hover (Grows button width with equal padding) */
.btn-arrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0;
  max-width: 0;
  font-size: 16px;
  line-height: 1;
  opacity: 0;
  margin-left: 0;
  overflow: hidden;
  pointer-events: none;
  flex-shrink: 0;
  vertical-align: middle;
  transform: translateX(-4px);
  transition: width 0.24s cubic-bezier(0.16, 1, 0.3, 1),
              max-width 0.24s cubic-bezier(0.16, 1, 0.3, 1),
              margin-left 0.24s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.2s ease,
              transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover .btn-arrow-icon {
  width: 16px;
  max-width: 16px;
  margin-left: 8px;
  opacity: 1;
  transform: translateX(0);
}

.btn-sm .btn-arrow-icon {
  height: 14px;
  font-size: 14px;
}

.btn-sm:hover .btn-arrow-icon {
  width: 14px;
  max-width: 14px;
  margin-left: 8px;
}

.btn-lg .btn-arrow-icon {
  height: 16px;
  font-size: 16px;
}

.btn-lg:hover .btn-arrow-icon {
  width: 16px;
  max-width: 16px;
  margin-left: 8px;
}

/* Hugeicons Arrow-Up-Right (Diagonal Arrow) for External / Subpage Navigation */
.btn-diagonal-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  font-size: 15px;
  line-height: 1;
  margin-left: 6px;
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover .btn-diagonal-arrow {
  transform: translate(2.5px, -2.5px);
}

.store-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  width: 14px;
  height: 14px;
  line-height: 1;
  margin-left: 4px;
  vertical-align: middle;
  flex-shrink: 0;
  opacity: 0.85;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.store-btn:hover .store-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

.legal-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  margin-left: 4px;
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-link-card:hover .legal-arrow {
  transform: translate(2px, -2px);
}

.collab-chip-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  vertical-align: middle;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.collab-chip:hover .collab-chip-arrow {
  transform: translate(2px, -2px);
}

.btn-soft {
  background-color: var(--primary-tint);
  color: var(--primary);
}

.btn-soft:hover {
  background-color: var(--primary-tint-hover);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14.5px;
  font-weight: 500;
}

.btn-lg {
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 500;
}

/* Flat Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background-color: var(--bg-surface-elevated);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500; /* Medium */
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
}

.badge-primary {
  background-color: var(--primary-tint);
  color: var(--primary);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary);
}

/* High-tech pulsing live radar dot */
.live-dot-pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--primary);
  display: inline-block;
  flex-shrink: 0;
}

.live-dot-pulse::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--primary);
  opacity: 0.7;
  animation: liveRadar 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes liveRadar {
  0% {
    width: 7px;
    height: 7px;
    opacity: 0.85;
  }
  100% {
    width: 24px;
    height: 24px;
    opacity: 0;
  }
}

/* ==========================================================================
   MOBILE STATUS BAR BLUR OVERLAY (iOS Safari / Dynamic Island / Notch)
   Allows hero to extend edge-to-edge under status bar, blurring scrolled content
   ========================================================================== */
.mobile-status-bar-blur {
  display: none;
}

@media (max-width: 900px) {
  .mobile-status-bar-blur {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: env(safe-area-inset-top, 0px);
    z-index: 998;
    pointer-events: none;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color 0.35s ease, border-color 0.35s ease;
  }

  /* Only when user scrolls completely past the hero section */
  .mobile-status-bar-blur.past-hero {
    background: rgba(244, 244, 246, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  [data-theme="dark"] .mobile-status-bar-blur.past-hero {
    background: rgba(13, 13, 13, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* ==========================================================================
   ACETERNITY UI - RESIZABLE NAVBAR (@aceternity/resizable-navbar)
   At top: full width transparent
   On scroll: shrinks into floating centered glass capsule
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  min-height: var(--nav-height);
  z-index: 1000;
  background-color: transparent;
  pointer-events: none;
  transition: min-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-container {
  pointer-events: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  height: var(--nav-height);
  padding: 0 32px;
  box-sizing: border-box;
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  transform: translateY(0);
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              max-width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.35s ease,
              border-color 0.35s ease,
              box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              border-radius 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.35s ease,
              margin 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .nav-container {
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
}

/* Scrolled: Resizes into Aceternity floating capsule navbar (Glassmorphism) */
.navbar.scrolled .nav-container {
  width: min(1040px, calc(100% - 36px));
  max-width: 1040px;
  margin: 12px auto 0;
  height: 56px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  background-color: rgba(16, 16, 16, 0.35);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}

[data-theme="light"] .navbar.scrolled .nav-container {
  background-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.06);
}

/* Dynamic Dark Section Navbar Adaptation (Soft & Smooth cross-theme capsule transition) */
.navbar.scrolled.nav-force-dark .nav-container,
[data-theme="light"] .navbar.scrolled.nav-force-dark .nav-container {
  background-color: rgba(16, 16, 16, 0.38) !important;
  backdrop-filter: blur(12px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="light"] .navbar.nav-force-dark .nav-link {
  color: rgba(255, 255, 255, 0.65) !important;
}

[data-theme="light"] .navbar.nav-force-dark .nav-link:hover,
[data-theme="light"] .navbar.nav-force-dark .nav-link.active {
  color: #FFFFFF !important;
}

[data-theme="light"] .navbar.nav-force-dark .nav-hover-pill {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="light"] .navbar.nav-force-dark .lang-switcher {
  background-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="light"] .navbar.nav-force-dark .lang-btn {
  color: rgba(255, 255, 255, 0.6) !important;
}

[data-theme="light"] .navbar.nav-force-dark .lang-btn:hover {
  color: #FFFFFF !important;
}

[data-theme="light"] .navbar.nav-force-dark .lang-btn.active {
  background-color: rgba(255, 255, 255, 0.18) !important;
  color: #FFFFFF !important;
}

[data-theme="light"] .navbar.nav-force-dark .theme-btn {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="light"] .navbar.nav-force-dark .theme-btn:hover {
  background-color: rgba(255, 255, 255, 0.15) !important;
  color: #FFFFFF !important;
}

[data-theme="light"] .navbar.nav-force-dark .mobile-nav-toggle {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Three-column symmetrical layout frames via CSS Grid:
   Column 1 (logo) and Column 3 (actions) are both 1fr, guaranteeing identical widths,
   so the middle navigation links stay mathematically centered at all times with ZERO overflow. */
.nav-logo-frame {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  width: auto;
}

.nav-center-frame,
.nav-container nav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  width: auto;
  gap: 8px;
}

.nav-actions .lang-switcher,
.nav-actions .theme-btn,
.nav-actions .btn {
  flex-shrink: 0;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  cursor: pointer;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-logo:hover {
  opacity: 0.82;
}

.footer-brand-logo {
  display: inline-block;
  cursor: pointer;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-brand-logo:hover {
  opacity: 0.82;
}

.nav-logo-img {
  height: var(--nav-logo-height);
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.25s ease;
}

.nav-logo-full {
  display: block;
}

.nav-logo-emblem {
  display: none;
  height: var(--nav-logo-height); /* Same height as large logo! */
  width: auto;
}

/* When navbar shrinks (scrolled), switch to Moblab emblem only, preserving exact same height */
.navbar.scrolled .nav-logo-full {
  display: none !important;
}

.navbar.scrolled .nav-logo-emblem {
  display: block !important;
  height: var(--nav-logo-height) !important; /* Preserves exact same height as large logo */
  width: auto !important;
}

.navbar.scrolled .nav-logo-img {
  height: var(--nav-logo-height) !important;
}

/* White logo on Hero */
.nav-logo-white {
  display: none;
}

.navbar.hero-active .nav-logo-white {
  display: block !important;
}

.navbar.hero-active .nav-logo-full {
  display: none !important;
}

.navbar.hero-active .nav-logo-emblem {
  display: none !important;
}

/* Navbar on Hero: white text, white lang & theme toggles */
.navbar.hero-active .nav-link {
  color: #FFFFFF !important;
  opacity: 0.95 !important;
  font-weight: 500 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.navbar.hero-active .nav-link:hover {
  color: #FFFFFF !important;
  opacity: 1 !important;
}

.navbar.hero-active .lang-switcher {
  background-color: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: none !important;
}

.navbar.hero-active .lang-btn {
  color: #666666 !important;
}

.navbar.hero-active .lang-btn.active {
  color: #000000 !important;
  background-color: #F0F0F2 !important;
  box-shadow: none !important;
}

.navbar.hero-active .theme-btn {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: none !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.navbar.hero-active .theme-btn:hover {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
}

.navbar.hero-active .theme-btn svg {
  color: #FFFFFF !important;
  fill: #FFFFFF !important;
}

.navbar.hero-active .mobile-nav-toggle {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.navbar.hero-active .mobile-nav-toggle:hover {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
}

.navbar.hero-active .mobile-nav-toggle svg {
  color: #FFFFFF !important;
  stroke: #FFFFFF !important;
}

/* NavItems with sliding hover pill - centered */
.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 3px;
  margin: 0 auto;
}

.navbar.scrolled .nav-link {
  padding: 6px 13px;
  font-size: 14.5px;
}

.navbar.scrolled .lang-switcher,
.navbar.scrolled .theme-btn,
.navbar.scrolled .nav-actions .btn {
  height: 36px;
}

.navbar.scrolled .lang-btn {
  height: 29px;
  padding: 0 9px;
  font-size: 12px;
}

.navbar.scrolled .nav-actions .btn {
  padding: 0 16px;
  font-size: 13.5px;
}

@media (min-width: 901px) and (max-width: 1100px) {
  .nav-container {
    padding: 0 18px;
  }
  .nav-link {
    padding: 6px 10px;
    font-size: 14px;
  }
  .nav-actions {
    gap: 6px;
  }
  .nav-actions .btn {
    padding: 0 13px;
    font-size: 13px;
  }
}

.nav-hover-pill {
  position: absolute;
  top: 3px;
  height: calc(100% - 6px);
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  opacity: 0;
  transform: scale(0.96);
  transition: left 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.18s ease,
              transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

[data-theme="light"] .nav-hover-pill {
  background-color: rgba(0, 0, 0, 0.06);
}

.nav-link {
  position: relative;
  z-index: 2;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Equal Height (38px) across all 3 action controls */
.lang-switcher,
.theme-btn,
.nav-actions .btn {
  height: 38px;
  box-sizing: border-box;
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-surface-elevated);
  border-radius: var(--radius-pill);
  padding: 3px;
  box-sizing: border-box;
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-switcher .lang-btn {
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  font-size: 13px; /* 13-14px */
  font-weight: 500; /* Medium */
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.lang-switcher .lang-btn.active {
  background-color: var(--bg-surface-soft);
  color: var(--text-primary);
}

[data-theme="light"] .lang-switcher .lang-btn.active {
  background-color: #FFFFFF;
}

/* Theme Toggle Button */
.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: var(--radius-pill);
  background-color: var(--bg-surface-elevated);
  color: var(--text-secondary);
  border: 1px solid transparent;
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

[data-theme="dark"] .theme-btn {
  border: 1px solid rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] .theme-btn:hover {
  background-color: var(--bg-surface-soft);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.45);
}

/* Light Theme Scrolled: Theme button becomes crisp white */
[data-theme="light"] .navbar.scrolled .theme-btn {
  background-color: #FFFFFF;
  color: var(--text-primary);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .navbar.scrolled .theme-btn:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .navbar.scrolled .mobile-nav-toggle {
  background-color: #FFFFFF;
  color: var(--text-primary);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.theme-btn:hover {
  background-color: var(--bg-surface-soft);
  color: var(--text-primary);
}

.theme-btn svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.theme-btn i,
.theme-btn .hgi {
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* CTA Button in Navigation */
.nav-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  font-size: 13.5px;
  line-height: 1;
  box-sizing: border-box;
}

/* Mobile Toggle - Rounded */
.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-surface-elevated);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform var(--transition-fast);
}

.mobile-nav-toggle:hover {
  background-color: var(--bg-surface-hover);
  border-color: rgba(255, 255, 255, 0.18);
  transform: scale(1.04);
}

[data-theme="light"] .mobile-nav-toggle {
  border-color: rgba(0, 0, 0, 0.1);
}

.mobile-nav-toggle svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   CENTERED HERO SECTION WITH AMBIENT SHADER GLOW
   ========================================================================== */

.hero {
  background-color: #0a0d14;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: calc(var(--nav-height) + 24px) 0 40px;
  position: relative;
  text-align: center; /* Center aligned */
  overflow: hidden;
  box-sizing: border-box;
}

[data-theme="light"] .hero {
  background-color: #6ebdfd;
}

.hero > .container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   HERO BACKGROUND LAYER (hero-light-new.png)
   ========================================================================== */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-pic {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

@media (max-width: 768px) {
  .hero-bg-img {
    object-position: center center;
  }
}

/* Theme-specific hero background image switching */
.hero-bg-pic-dark,
.hero-bg-img-dark {
  display: block;
}

.hero-bg-pic-light,
.hero-bg-img-light {
  display: none;
}

[data-theme="light"] .hero-bg-pic-dark,
[data-theme="light"] .hero-bg-img-dark {
  display: none !important;
}

[data-theme="light"] .hero-bg-pic-light,
[data-theme="light"] .hero-bg-img-light {
  display: block !important;
}

[data-theme="dark"] .hero-bg-pic-dark,
[data-theme="dark"] .hero-bg-img-dark {
  display: block !important;
}

[data-theme="dark"] .hero-bg-pic-light,
[data-theme="dark"] .hero-bg-img-light {
  display: none !important;
}

.hero-bg-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent 0%, var(--bg-body) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Ambient Shader Frame: Soft circular low-opacity white-to-transparent gradient behind the title */
.hero-shader-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  max-width: 92vw;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.035) 36%, rgba(255, 255, 255, 0.008) 58%, transparent 72%);
  pointer-events: none;
  z-index: 1;
  filter: blur(48px);
  animation: shaderAmbient 9s ease-in-out infinite alternate;
}

@keyframes shaderAmbient {
  0% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.75;
  }
  50% {
    transform: translate(-50%, -47%) scale(1.05);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -52%) scale(0.98);
    opacity: 0.8;
  }
}

[data-theme="light"] .hero-shader-frame {
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.018) 38%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  margin: 0 auto;
}

/* Central Content Group: Heading, subtitle, and buttons as one unit with >= 48px clearance */
.hero-content-group {
  max-width: 980px;
  padding: 48px 24px;
  box-sizing: border-box;
}

.hero-tagline {
  margin-bottom: 22px;
}

/* ==========================================================================
   HERO DECORATIVE LAYER (DESKTOP PERCENTAGE COORDINATES & ORIGINAL ICONS)
   ========================================================================== */

.hero-decor-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  user-select: none !important;
}

.hero-decor-item {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  cursor: grab;
  user-select: none !important;
  will-change: transform;
  background: transparent;
  border: none;
  padding: 0;
  transition: filter 0.3s ease;
}

.hero-decor-item:active {
  cursor: grabbing;
}

/* Dragging state: pause float animation, elevate with scale */
.hero-decor-dragging {
  animation-play-state: paused !important;
  z-index: 10;
  cursor: grabbing !important;
  transition: none !important;
}

.hero-decor-dragging .hero-decor-icon-img {
  box-shadow: 0 18px 48px -4px rgba(0, 0, 0, 0.28), 0 6px 16px rgba(0, 0, 0, 0.14) !important;
}

.hero-decor-dragging .hero-decor-store-img {
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.28)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.14)) !important;
}

/* Drop-in entrance animation: starts above viewport with motion blur and smoothly animates rotation into final angle */
.hero-decor-dropping {
  opacity: 0;
  pointer-events: none;
}

.hero-decor-corfit.hero-decor-dropping {
  animation: heroDropInCorfit 0.95s cubic-bezier(0.23, 1, 0.32, 1) both !important;
  animation-delay: 0s !important;
}

.hero-decor-translator.hero-decor-dropping {
  animation: heroDropInTranslator 0.95s cubic-bezier(0.23, 1, 0.32, 1) both !important;
  animation-delay: 0.08s !important;
}

.hero-decor-deprem.hero-decor-dropping {
  animation: heroDropInDeprem 0.95s cubic-bezier(0.23, 1, 0.32, 1) both !important;
  animation-delay: 0.16s !important;
}

.hero-decor-appstore.hero-decor-dropping {
  animation: heroDropInAppstore 0.95s cubic-bezier(0.23, 1, 0.32, 1) both !important;
  animation-delay: 0.24s !important;
}

.hero-decor-googleplay.hero-decor-dropping {
  animation: heroDropInGoogleplay 0.95s cubic-bezier(0.23, 1, 0.32, 1) both !important;
  animation-delay: 0.32s !important;
}

.hero-decor-sikke.hero-decor-dropping {
  animation: heroDropInSikke 0.95s cubic-bezier(0.23, 1, 0.32, 1) both !important;
  animation-delay: 0.40s !important;
}

/* 1. Corfit Drop-in: smoothly rotates from 0deg into final -6deg */
@keyframes heroDropInCorfit {
  0% {
    opacity: 0;
    transform: translate(-50%, calc(-50% - 200px)) rotate(0deg) scale(0.68);
    filter: blur(9px);
  }
  45% {
    opacity: 0.85;
    transform: translate(-50%, calc(-50% - 55px)) rotate(-2.5deg) scale(0.92);
    filter: blur(3.5px);
  }
  78% {
    opacity: 1;
    transform: translate(-50%, calc(-50% + 8px)) rotate(-7.5deg) scale(1.03);
    filter: blur(0px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-6deg) scale(1);
    filter: blur(0px);
  }
}

/* 2. Fast Translator Drop-in: smoothly rotates from 0deg into final 5deg */
@keyframes heroDropInTranslator {
  0% {
    opacity: 0;
    transform: translate(-50%, calc(-50% - 200px)) rotate(0deg) scale(0.68);
    filter: blur(9px);
  }
  45% {
    opacity: 0.85;
    transform: translate(-50%, calc(-50% - 55px)) rotate(2deg) scale(0.92);
    filter: blur(3.5px);
  }
  78% {
    opacity: 1;
    transform: translate(-50%, calc(-50% + 8px)) rotate(6.2deg) scale(1.03);
    filter: blur(0px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(5deg) scale(1);
    filter: blur(0px);
  }
}

/* 3. Deprem Hattı Drop-in: smoothly rotates from 0deg into final 7deg */
@keyframes heroDropInDeprem {
  0% {
    opacity: 0;
    transform: translate(-50%, calc(-50% - 200px)) rotate(0deg) scale(0.68);
    filter: blur(9px);
  }
  45% {
    opacity: 0.85;
    transform: translate(-50%, calc(-50% - 55px)) rotate(3deg) scale(0.92);
    filter: blur(3.5px);
  }
  78% {
    opacity: 1;
    transform: translate(-50%, calc(-50% + 8px)) rotate(8.5deg) scale(1.03);
    filter: blur(0px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(7deg) scale(1);
    filter: blur(0px);
  }
}

/* 4. App Store Drop-in: smoothly rotates from 0deg into final -5deg */
@keyframes heroDropInAppstore {
  0% {
    opacity: 0;
    transform: translate(-50%, calc(-50% - 200px)) rotate(0deg) scale(0.68);
    filter: blur(9px);
  }
  45% {
    opacity: 0.85;
    transform: translate(-50%, calc(-50% - 55px)) rotate(-2deg) scale(0.92);
    filter: blur(3.5px);
  }
  78% {
    opacity: 1;
    transform: translate(-50%, calc(-50% + 8px)) rotate(-6.5deg) scale(1.03);
    filter: blur(0px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-5deg) scale(1);
    filter: blur(0px);
  }
}

/* 5. Google Play Drop-in: smoothly rotates from 0deg into final 4deg */
@keyframes heroDropInGoogleplay {
  0% {
    opacity: 0;
    transform: translate(-50%, calc(-50% - 200px)) rotate(0deg) scale(0.68);
    filter: blur(9px);
  }
  45% {
    opacity: 0.85;
    transform: translate(-50%, calc(-50% - 55px)) rotate(1.8deg) scale(0.92);
    filter: blur(3.5px);
  }
  78% {
    opacity: 1;
    transform: translate(-50%, calc(-50% + 8px)) rotate(5.2deg) scale(1.03);
    filter: blur(0px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(4deg) scale(1);
    filter: blur(0px);
  }
}

/* 6. Sikke Drop-in: smoothly rotates from 0deg into final -4deg */
@keyframes heroDropInSikke {
  0% {
    opacity: 0;
    transform: translate(-50%, calc(-50% - 200px)) rotate(0deg) scale(0.68);
    filter: blur(9px);
  }
  45% {
    opacity: 0.85;
    transform: translate(-50%, calc(-50% - 55px)) rotate(-1.5deg) scale(0.92);
    filter: blur(3.5px);
  }
  78% {
    opacity: 1;
    transform: translate(-50%, calc(-50% + 8px)) rotate(-5.5deg) scale(1.03);
    filter: blur(0px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-4deg) scale(1);
    filter: blur(0px);
  }
}

/* Product Icons (squircle, original colors & proportions, subtle soft shadow) */
.hero-decor-icon-img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 22%;
  object-fit: cover;
  box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.18), 0 4px 12px -2px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-smooth);
}

[data-theme="dark"] .hero-decor-icon-img {
  box-shadow: 0 14px 36px -4px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.22), 0 0 16px rgba(255, 255, 255, 0.03);
}

[data-theme="light"] .hero-decor-icon-img {
  box-shadow: 0 10px 28px -4px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.06);
}

/* Store Badges (matching product icons, transparent PNGs, subtle soft shadow) */
.hero-decor-store-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.18)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  transition: filter var(--transition-smooth);
}

[data-theme="dark"] .hero-decor-store-img {
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.38)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.04));
}

[data-theme="light"] .hero-decor-store-img {
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.12)) drop-shadow(0 3px 8px rgba(0, 0, 0, 0.06));
}

/* Desktop Exact Percentage Positions (Centers at Coordinates):
   - Corfit: sol üst, ~15% yatay / ~28% dikey (80px)
   - 2. Ürün (Fast Translator): sağ üst, ~85% yatay / ~25% dikey (80px)
   - 3. Ürün (Deprem Hattı): sağ alt, ~88% yatay / ~75% dikey (80px)
   - App Store: sol alt, ~12% yatay / ~72% dikey (80px - matching product icons)
   - Google Play: sol alt, ~20% yatay / ~80% dikey (80px - matching product icons)
*/
.hero-decor-corfit {
  left: 26.5%;
  top: 25.5%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%) rotate(-6deg);
  animation: heroDecorFloat1 5.6s ease-in-out infinite alternate;
}

.hero-decor-translator {
  left: 71.5%;
  top: 21%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%) rotate(5deg);
  animation: heroDecorFloat2 6.2s ease-in-out infinite alternate;
}

.hero-decor-deprem {
  left: 87.5%;
  top: 75%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%) rotate(7deg);
  animation: heroDecorFloat3 5.8s ease-in-out infinite alternate;
}

.hero-decor-appstore {
  left: 10%;
  top: 67%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%) rotate(-5deg);
  animation: heroDecorFloat4 6.0s ease-in-out infinite alternate;
}

.hero-decor-googleplay {
  left: 21%;
  top: 83%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%) rotate(4deg);
  animation: heroDecorFloat5 6.6s ease-in-out infinite alternate;
}

.hero-decor-sikke {
  left: 79.5%;
  top: 49%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%) rotate(-4deg);
  animation: heroDecorFloat6 5.4s ease-in-out infinite alternate;
}

/* Süzülme ve Hafif Sallanma Animasyonları (Aşağı-Yukarı & Sağ-Sola Doğru Sallanma) */
@keyframes heroDecorFloat1 {
  0% {
    transform: translate(-50%, -50%) rotate(-6deg);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-15px) translateX(-7px) rotate(-9deg);
  }
  100% {
    transform: translate(-50%, -50%) translateY(14px) translateX(6px) rotate(-4deg);
  }
}

@keyframes heroDecorFloat2 {
  0% {
    transform: translate(-50%, -50%) rotate(5deg);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-13px) translateX(7px) rotate(7.5deg);
  }
  100% {
    transform: translate(-50%, -50%) translateY(15px) translateX(-6px) rotate(3deg);
  }
}

@keyframes heroDecorFloat3 {
  0% {
    transform: translate(-50%, -50%) rotate(7deg);
  }
  50% {
    transform: translate(-50%, -50%) translateY(15px) translateX(-7px) rotate(9.5deg);
  }
  100% {
    transform: translate(-50%, -50%) translateY(-14px) translateX(6px) rotate(4.5deg);
  }
}

@keyframes heroDecorFloat4 {
  0% {
    transform: translate(-50%, -50%) rotate(-5deg);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-15px) translateX(7px) rotate(-8deg);
  }
  100% {
    transform: translate(-50%, -50%) translateY(14px) translateX(-6px) rotate(-3deg);
  }
}

@keyframes heroDecorFloat5 {
  0% {
    transform: translate(-50%, -50%) rotate(4deg);
  }
  50% {
    transform: translate(-50%, -50%) translateY(13px) translateX(-7px) rotate(6.5deg);
  }
  100% {
    transform: translate(-50%, -50%) translateY(-15px) translateX(6px) rotate(1.5deg);
  }
}

@keyframes heroDecorFloat6 {
  0% {
    transform: translate(-50%, -50%) rotate(-4deg);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-14px) translateX(6px) rotate(-7deg);
  }
  100% {
    transform: translate(-50%, -50%) translateY(13px) translateX(-5px) rotate(-2deg);
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .hero-decor-item,
  .hero-decor-sikke,
  .hero-mobile-product-icon,
  .hero-mobile-store-icon {
    animation: none !important;
  }
}

/* Scaling / Outward Shift on Mid-Screen Laptops (1024px - 1320px) to safeguard 48px clearance */
@media (max-width: 1320px) and (min-width: 1024px) {
  .hero-decor-corfit {
    left: 10%;
    top: 26%;
    width: 68px;
    height: 68px;
  }

  .hero-decor-translator {
    left: 90%;
    top: 24%;
    width: 68px;
    height: 68px;
  }

  .hero-decor-deprem {
    left: 91%;
    top: 76%;
    width: 68px;
    height: 68px;
  }

  .hero-decor-appstore {
    left: 7%;
    top: 70%;
    width: 68px;
    height: 68px;
  }

  .hero-decor-googleplay {
    left: 19%;
    top: 84%;
    width: 68px;
    height: 68px;
  }

  .hero-decor-sikke {
    left: 82%;
    top: 52%;
    width: 68px;
    height: 68px;
  }
}

/* Mobile & Tablet Mode: Distributed diagonal scattered positioning for all 5 hero icons with equal size */
.hero-mobile-icons-row {
  display: none !important;
}

@media (max-width: 1023px) {
  .hero-decor-layer {
    display: block !important;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
  }
}

/* Tablet Screens (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-decor-item {
    width: 58px !important;
    height: 58px !important;
  }

  .hero-decor-corfit {
    left: 12% !important;
    top: 18% !important;
  }

  .hero-decor-translator {
    left: 88% !important;
    top: 20% !important;
  }

  .hero-decor-deprem {
    left: 88% !important;
    top: 76% !important;
  }

  .hero-decor-appstore {
    left: 12% !important;
    top: 78% !important;
  }

  .hero-decor-googleplay {
    left: 26% !important;
    top: 86% !important;
  }

  .hero-decor-sikke {
    left: 50% !important;
    top: 12% !important;
  }
}

/* Mobile Screens (< 768px): All 6 icons equal size (~56px), diagonally scattered and spaced out */
@media (max-width: 767px) {
  .hero-decor-item {
    width: 56px !important;
    height: 56px !important;
  }

  /* 1. Corfit - Sol üstte (12-14px aşağı kaydırıldı) */
  .hero-decor-corfit {
    left: 14% !important;
    top: calc(12% + 14px) !important;
    animation: heroDecorFloatMobile1 6.2s ease-in-out infinite alternate !important;
  }

  /* 2. Fast Translator - Sağda, başlığın sağ üst hizasında (biraz aşağıda) */
  .hero-decor-translator {
    left: 88% !important;
    top: 28% !important;
    animation: heroDecorFloatMobile2 6.8s ease-in-out infinite alternate !important;
  }

  /* 3. Deprem Hattı - Sağ aşağı ortada (20px aşağı kaydırıldı) */
  .hero-decor-deprem {
    left: 86% !important;
    top: calc(74% + 20px) !important;
    animation: heroDecorFloatMobile3 6.4s ease-in-out infinite alternate !important;
  }

  /* 4. App Store - Sol aşağıda (biraz sağa alındı) */
  .hero-decor-appstore {
    left: 15% !important;
    top: 82% !important;
    animation: heroDecorFloatMobile4 6.6s ease-in-out infinite alternate !important;
  }

  /* 5. Google Play - Alt sağda (20px sola kaydırıldı) */
  .hero-decor-googleplay {
    left: calc(74% - 20px) !important;
    top: 88% !important;
    animation: heroDecorFloatMobile5 7.0s ease-in-out infinite alternate !important;
  }

  /* 6. Sikke - Başlığın üstü (12px sağa, 18px yukarı kaydırıldı) */
  .hero-decor-sikke {
    left: calc(28% + 12px) !important;
    top: calc(30% - 18px) !important;
    animation: heroDecorFloatMobile6 6.0s ease-in-out infinite alternate !important;
  }
}

/* Mobile Hero Decorative Float Keyframes: Tighter position travel range (±5px Y, ±2.5px X) */
@keyframes heroDecorFloatMobile1 {
  0% {
    transform: translate(-50%, -50%) rotate(-6deg);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-5px) translateX(-2.5px) rotate(-7.5deg);
  }
  100% {
    transform: translate(-50%, -50%) translateY(5px) translateX(2px) rotate(-4.5deg);
  }
}

@keyframes heroDecorFloatMobile2 {
  0% {
    transform: translate(-50%, -50%) rotate(5deg);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-5px) translateX(2.5px) rotate(6.5deg);
  }
  100% {
    transform: translate(-50%, -50%) translateY(5px) translateX(-2px) rotate(3.5deg);
  }
}

@keyframes heroDecorFloatMobile3 {
  0% {
    transform: translate(-50%, -50%) rotate(7deg);
  }
  50% {
    transform: translate(-50%, -50%) translateY(5px) translateX(-2.5px) rotate(8.5deg);
  }
  100% {
    transform: translate(-50%, -50%) translateY(-5px) translateX(2px) rotate(5.5deg);
  }
}

@keyframes heroDecorFloatMobile4 {
  0% {
    transform: translate(-50%, -50%) rotate(-5deg);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-5px) translateX(2.5px) rotate(-6.5deg);
  }
  100% {
    transform: translate(-50%, -50%) translateY(5px) translateX(-2px) rotate(-3.5deg);
  }
}

@keyframes heroDecorFloatMobile5 {
  0% {
    transform: translate(-50%, -50%) rotate(4deg);
  }
  50% {
    transform: translate(-50%, -50%) translateY(5px) translateX(-2.5px) rotate(5.5deg);
  }
  100% {
    transform: translate(-50%, -50%) translateY(-5px) translateX(2px) rotate(2.5deg);
  }
}

@keyframes heroDecorFloatMobile6 {
  0% {
    transform: translate(-50%, -50%) rotate(-4deg);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-5px) translateX(2px) rotate(-5.5deg);
  }
  100% {
    transform: translate(-50%, -50%) translateY(5px) translateX(-2px) rotate(-2.5deg);
  }
}

/* Extra Small Screens (<= 380px) */
@media (max-width: 380px) {
  .hero-decor-item {
    width: 48px !important;
    height: 48px !important;
  }

  .hero-decor-corfit {
    left: 12% !important;
    top: calc(12% + 14px) !important;
  }

  .hero-decor-translator {
    left: 90% !important;
    top: 26% !important;
  }

  .hero-decor-deprem {
    left: 88% !important;
    top: calc(74% + 20px) !important;
  }

  .hero-decor-appstore {
    left: 13% !important;
    top: 84% !important;
  }

  .hero-decor-googleplay {
    left: calc(76% - 20px) !important;
    top: 89% !important;
  }

  .hero-decor-sikke {
    left: calc(26% + 12px) !important;
    top: calc(30% - 18px) !important;
  }
}

.hero-title {
  position: relative;
  z-index: 2;
  font-size: clamp(2.35rem, 5vw, 4.1rem);
  font-weight: 600; /* Semibold as requested */
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  color: var(--text-primary);
  max-width: 860px;
  text-wrap: balance;
}

.hero-title .text-accent {
  color: var(--primary);
}

/* Light Theme: Hero title is black, Subtitle is white */
[data-theme="light"] .hero-title,
[data-theme="light"] .hero-title span,
[data-theme="light"] .hero-title .text-accent {
  color: #000000 !important;
}

[data-theme="light"] .hero-description {
  color: #FFFFFF !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
}

/* Dark Theme: Hero title is white, Subtitle is white */
[data-theme="dark"] .hero-title,
[data-theme="dark"] .hero-title span,
[data-theme="dark"] .hero-title .text-accent {
  color: #FFFFFF !important;
}

[data-theme="dark"] .hero-description {
  color: #FFFFFF !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Hero Subtitle: Increased size, Medium weight (500), Strictly 2 lines max */
.hero-description {
  font-size: clamp(15px, 1.1vw, 16.5px);
  font-weight: 500; /* Medium as requested */
  line-height: 1.55;
  color: #FFFFFF;
  max-width: 920px; /* Ample width to ensure sentence 1 and sentence 2 each stay strictly on 1 line */
  margin: 0 auto 34px;
  text-align: center;
}

.hero-desc-br {
  display: inline-block;
}

[data-theme="dark"] .navbar:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .navbar:not(.scrolled) .nav-link:hover {
  color: #FFFFFF;
}

/* Hero Actions & Matching Button Widths */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 0;
}

.hero-actions .btn {
  min-width: 196px;
  justify-content: center;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), min-width 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-actions .btn:hover {
  min-width: 220px;
}

/* Hero Secondary Button ("Toplantı Yapalım"): White in both Light and Dark themes */
.hero-actions .btn-secondary.btn-tanisalim,
[data-theme="light"] .hero-actions .btn-secondary.btn-tanisalim,
[data-theme="dark"] .hero-actions .btn-secondary.btn-tanisalim {
  background-color: #FFFFFF !important;
  color: #000000 !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.hero-actions .btn-secondary.btn-tanisalim:hover,
[data-theme="light"] .hero-actions .btn-secondary.btn-tanisalim:hover,
[data-theme="dark"] .hero-actions .btn-secondary.btn-tanisalim:hover {
  background-color: #000000 !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 8px 24px -4px rgba(0, 0, 0, 0.7);
}

/* Mobile Layout (< 640px): Maintain Two-line Title & Padding */
@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .hero-content-group {
    padding: 32px 14px;
    width: 100%;
  }

  .hero-title {
    font-size: clamp(23px, calc(2.14px + 7.14vw), 32px);
    line-height: 1.22;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
    width: 100%;
    max-width: 100%;
  }

  .hero-title span {
    display: block !important;
    white-space: nowrap !important;
    max-width: 100%;
  }

  .hero-title br {
    display: none;
  }

  .hero-description {
    font-size: 13.5px;
    line-height: 1.52;
    width: 100%;
    margin-bottom: 26px;
    padding: 0 4px;
  }

  .hero-description br,
  .hero-desc-br {
    display: none !important;
  }

  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding: calc(var(--nav-height) + env(safe-area-inset-top, 0px) + 20px) 0 36px;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 12px;
    margin-bottom: 0;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0 !important;
    display: flex;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    padding: 13px 24px;
  }
  .hero-actions .btn:hover {
    min-width: 0 !important;
  }
}

/* Store Logos Mini-Strip in Hero */
.hero-stores-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 60px;
}

.hero-store-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background-color: var(--bg-surface);
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 500; /* Medium */
  color: var(--text-secondary);
  transition: color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-smooth);
}

.hero-store-pill:hover {
  background-color: var(--bg-surface-elevated);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.hero-store-pill svg {
  width: 16px;
  height: 16px;
}

/* Flat Stats Banner */
.stats-strip {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 28px 36px;
  background-color: var(--bg-surface);
  border-radius: var(--radius-xl);
  text-align: center;
  margin-top: 48px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: transform var(--transition-smooth);
}

.stat-item:hover {
  transform: translateY(-3px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
  font-weight: 500; /* Medium max */
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.stat-number.accent {
  color: var(--primary);
}

.stat-label {
  font-size: 13px; /* 13-14px */
  font-weight: 400;
  color: var(--text-secondary);
}

/* ==========================================================================
   CENTERED SECTION HEADERS
   ========================================================================== */

.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Products section top padding & scroll target alignment */
#products {
  padding-top: 80px;
  padding-bottom: 96px;
  scroll-margin-top: 50px;
}

@media (max-width: 768px) {
  #products {
    padding-top: 56px;
    padding-bottom: 60px;
    scroll-margin-top: 68px;
  }
  .section-head {
    margin: 0 auto 36px;
  }
}

.section-head {
  text-align: center; /* Center aligned */
  margin: 0 auto 52px;
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.section-label {
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 500; /* Medium max */
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.035em;
  text-align: center;
  text-wrap: balance;
}

.section-desc {
  font-size: 14px; /* Reduced to 14px */
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 auto;
  text-align: center;
  max-width: 640px;
}

#what-we-do .section-head,
.what-model-head {
  max-width: 1100px;
}

#what-we-do .section-title,
.section-title-nowrap {
  white-space: nowrap;
  font-size: clamp(1.45rem, 2.7vw, 2.45rem);
}

/* Studio Manifesto Card (Full Container Width & 2-Line Lead) */
.manifesto-box {
  background-color: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 56px 64px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 100%; /* Spans full width matching cards below */
  gap: 22px;
  position: relative;
  z-index: 2;
}

.manifesto-lead {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.1vw, 1.85rem);
  font-weight: 500; /* Medium max */
  color: var(--text-primary);
  line-height: 1.4;
  letter-spacing: -0.025em;
  max-width: 1040px;
  margin: 0 auto;
}

.manifesto-body {
  font-size: 14px; /* 14px */
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 840px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.manifesto-artwork {
  width: 100%;
  max-width: 592px; /* 0.8x scale (80% of original 740px) */
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px auto 0;
  pointer-events: none;
  user-select: none;
}

.manifesto-artwork-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(-8px 12px 24px rgba(0, 0, 0, 0.14));
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
}

[data-theme="dark"] .manifesto-artwork-img {
  filter: drop-shadow(-10px 14px 28px rgba(0, 0, 0, 0.38));
}

.manifesto-box:hover .manifesto-artwork-img {
  transform: scale(1.02);
  filter: drop-shadow(-10px 16px 28px rgba(0, 0, 0, 0.18));
}

[data-theme="dark"] .manifesto-box:hover .manifesto-artwork-img {
  filter: drop-shadow(-12px 18px 32px rgba(0, 0, 0, 0.45));
}

@media (max-width: 768px) {
  .manifesto-box {
    padding: 34px 20px;
    gap: 16px;
  }
  .manifesto-artwork {
    max-width: 80%;
    margin-top: 6px;
  }
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.category-card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  transition: background-color var(--transition-normal), transform var(--transition-smooth);
  text-align: left;
}

.category-card:hover {
  background-color: var(--bg-surface-elevated);
  transform: translateY(-4px);
}

.category-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
  transition: background-color var(--transition-fast);
}

.category-card:hover .category-icon {
  background-color: var(--primary-tint);
}

.category-icon svg {
  width: 20px;
  height: 20px;
}

.category-title {
  font-size: 1.0625rem;
  font-weight: 500; /* Medium max */
  margin-bottom: 6px;
  color: var(--text-primary);
}

.category-text {
  font-size: 13.5px; /* 14px range */
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   MOBLAB 4 CORE PRODUCTS SHOWCASE
   (Corfit, Kese, Fast Translator, Deprem Hattı)
   ========================================================================== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 32px 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: none !important;
  outline: none !important;
  box-shadow: none;
  transition: background-color var(--transition-normal), transform var(--transition-smooth), box-shadow var(--transition-smooth);
  position: relative;
  cursor: pointer;
  z-index: 1;
}

.product-card:hover,
.product-card.reveal.active:hover {
  background-color: #24242B;
  transform: translateY(-4px) scale(1.04) !important;
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.45);
  z-index: 5;
}

[data-theme="light"] .product-card:hover,
[data-theme="light"] .product-card.reveal.active:hover {
  background-color: #FFFFFF;
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.08);
}

/* Corner Arrow: Full rounded circle, zero stroke; default gray circle with dark gray right arrow; hover turns primary with diagonal arrow */
.product-card-corner-arrow {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-surface-elevated);
  color: var(--text-muted);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1; /* Always visible in default state */
  transform: translateY(0);
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-smooth);
  pointer-events: none;
  z-index: 2;
}

[data-theme="light"] .product-card-corner-arrow {
  background-color: #EAEAEF;
  color: #666666;
  border: none;
}

.product-card-corner-arrow svg,
.product-card-corner-arrow i {
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: rotate(45deg); /* Rotates diagonal arrow into a straight right arrow in default state */
  transition: transform var(--transition-smooth);
}

.product-card:hover .product-card-corner-arrow {
  background-color: var(--primary) !important;
  color: #FFFFFF !important;
  border: none !important;
  transform: translateY(-2px);
}

.product-card:hover .product-card-corner-arrow svg,
.product-card:hover .product-card-corner-arrow i {
  transform: rotate(0deg) translate(1px, -1px); /* Stays diagonal arrow in hover state */
}

.product-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
  padding-right: 48px; /* Safe distance from corner arrow on desktop */
}

.product-icon-link,
.product-card-header > a:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  text-decoration: none;
}

.product-icon-img {
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
  max-width: 64px;
  max-height: 64px;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  object-fit: cover;
  flex-shrink: 0;
  background-color: transparent;
  transition: transform var(--transition-smooth);
}

.product-card:hover .product-icon-img {
  transform: scale(1.04);
}

.product-header-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.product-card-title {
  font-size: 1.35rem;
  font-weight: 500; /* Medium max */
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.25;
}

.product-header-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.product-header-badges .badge {
  padding: 4px 11px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.product-card-desc {
  font-size: 14px; /* 14px body */
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

.product-card-footer {
  display: flex;
  width: 100%;
  margin-top: auto;
  padding-top: 20px;
  border-top: none !important;
}

.store-links-group {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  width: 100%;
  gap: 10px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-body);
  color: var(--text-primary);
  font-size: 13.5px;
  font-weight: 500; /* Medium */
  white-space: nowrap;
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-smooth);
}

/* Hover ONLY for real active links with an href that are NOT marked coming soon */
a.store-btn[href]:not(.store-btn-soon):not([href=""]):not([href="#"]):hover {
  background-color: var(--primary) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  cursor: pointer;
}

a.store-btn[href]:not(.store-btn-soon):not([href=""]):not([href="#"]):hover svg,
a.store-btn[href]:not(.store-btn-soon):not([href=""]):not([href="#"]):hover i {
  color: #FFFFFF !important;
  stroke: #FFFFFF !important;
}

a.store-btn[href]:not(.store-btn-soon):not([href=""]):not([href="#"]):hover svg[fill="none"] {
  fill: none !important;
  stroke: #FFFFFF !important;
}

a.store-btn[href]:not(.store-btn-soon):not([href=""]):not([href="#"]):hover svg:not([fill="none"]) {
  fill: currentColor !important;
}

/* Primary Active Store Action (e.g. Ürünü İncele) */
.store-btn-primary,
a.store-btn.store-btn-primary {
  background-color: var(--primary) !important;
  color: #FFFFFF !important;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(238, 26, 55, 0.32);
}

.store-btn-primary svg,
.store-btn-primary i,
a.store-btn.store-btn-primary svg,
a.store-btn.store-btn-primary i {
  color: #FFFFFF !important;
  stroke: #FFFFFF !important;
}

.store-btn-primary:hover,
a.store-btn.store-btn-primary:hover {
  background-color: var(--primary-hover) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(238, 26, 55, 0.45);
}

/* Non-linked, coming soon, or span buttons: ZERO hover effect, static neutral state */
.store-btn-soon,
span.store-btn,
a.store-btn:not([href]),
a.store-btn[href=""],
a.store-btn[href="#"],
.store-btn-soon:hover,
span.store-btn:hover,
a.store-btn:not([href]):hover,
a.store-btn[href=""]:hover,
a.store-btn[href="#"]:hover {
  background-color: var(--bg-surface-elevated) !important;
  color: var(--text-muted) !important;
  transform: none !important;
  cursor: default !important;
  box-shadow: none !important;
}

.store-btn-soon svg,
.store-btn-soon i,
span.store-btn svg,
span.store-btn i,
a.store-btn:not([href]) svg,
a.store-btn:not([href]) i,
.store-btn-soon:hover svg,
.store-btn-soon:hover i,
span.store-btn:hover svg,
span.store-btn:hover i,
a.store-btn:not([href]):hover svg,
a.store-btn:not([href]):hover i {
  color: var(--text-muted) !important;
}

/* General button: if not an active link or disabled, disable hover */
.btn:not([href]),
.btn[href=""],
.btn[href="#"],
.btn[disabled],
.btn.disabled,
.btn:not([href]):hover,
.btn[href=""]:hover,
.btn[href="#"]:hover,
.btn[disabled]:hover,
.btn.disabled:hover {
  cursor: default !important;
  transform: none !important;
  box-shadow: none !important;
}

.store-btn svg,
.store-btn i {
  width: 17px;
  height: 17px;
  font-size: 17px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: color var(--transition-fast), stroke var(--transition-fast);
}

.store-btn i.hgi {
  vertical-align: middle;
}

.product-link-btn {
  font-size: 13px;
  font-weight: 500; /* Medium */
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.product-link-btn:hover,
a.product-link-btn:hover,
span.product-link-btn:hover {
  text-decoration: none !important;
  color: #FFFFFF !important; /* Turns white on hover, no underline */
  transform: translateX(3px);
}

[data-theme="light"] .product-link-btn:hover,
[data-theme="light"] a.product-link-btn:hover,
[data-theme="light"] span.product-link-btn:hover {
  color: var(--text-primary) !important;
}

/* ==========================================================================
   AMBIENT GLOW / ATMOSPHERIC SHADER SYSTEM (SUBTLE & ALIVE)
   ========================================================================== */

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(76px);
  opacity: 0.75;
  transition: opacity var(--transition-slow);
}

.ambient-glow-white {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.02) 44%, transparent 72%);
}

.ambient-glow-accent {
  background: radial-gradient(circle, rgba(238, 26, 55, 0.065) 0%, rgba(238, 26, 55, 0.016) 48%, transparent 72%);
}

[data-theme="light"] .ambient-glow-white {
  background: radial-gradient(circle, rgba(0, 0, 0, 0.045) 0%, rgba(0, 0, 0, 0.012) 44%, transparent 72%);
}

[data-theme="light"] .ambient-glow-accent {
  background: radial-gradient(circle, rgba(238, 26, 55, 0.04) 0%, rgba(238, 26, 55, 0.008) 48%, transparent 72%);
}

@keyframes glowFloatLeft {
  0% { transform: translate(0, 0) scale(0.96); opacity: 0.65; }
  50% { transform: translate(25px, -18px) scale(1.06); opacity: 0.9; }
  100% { transform: translate(-15px, 20px) scale(0.98); opacity: 0.7; }
}

@keyframes glowFloatRight {
  0% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate(-30px, 22px) scale(1.08); opacity: 0.95; }
  100% { transform: translate(18px, -14px) scale(0.96); opacity: 0.65; }
}

.glow-float-left {
  animation: glowFloatLeft 14s ease-in-out infinite alternate;
}

.glow-float-right {
  animation: glowFloatRight 16s ease-in-out infinite alternate;
}

/* ==========================================================================
   HOW WE WORK / OUR DNA (4 PILLARS)
   ========================================================================== */

.dna-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.dna-card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 38px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  transition: background-color var(--transition-normal), transform var(--transition-smooth);
}

.dna-card:hover {
  background-color: var(--bg-surface-elevated);
  transform: translateY(-4px);
}

.dna-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.dna-number {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500; /* Medium */
  color: var(--primary);
  background-color: var(--primary-tint);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.dna-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: transform var(--transition-smooth);
}

.dna-card:hover .dna-icon {
  transform: scale(1.08);
}

.dna-icon svg {
  width: 20px;
  height: 20px;
}

.dna-title {
  font-size: 1.35rem;
  font-weight: 500; /* Medium max */
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.dna-desc {
  font-size: 14px; /* 14px */
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ==========================================================================
   TECHNOLOGIES WE USE (FLUTTER, REACT NATIVE, FIGMA, HTML, CSS, CHATGPT, ETC.)
   ========================================================================== */

/* Technology Section: Full Width Deep Black Outer Frame for Visual Rhythm */
#technologies {
  background-color: #0D0D0D !important;
  border-top: 1px solid #1A1A1A;
  border-bottom: 1px solid #1A1A1A;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

[data-theme="light"] #technologies {
  background-color: #0D0D0D !important;
  border-top: 1px solid #1F1F1F;
  border-bottom: 1px solid #1F1F1F;
}

.tech-section-box {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

#technologies .section-head {
  text-align: center;
  margin-bottom: 48px;
}

#technologies .section-title {
  color: #FFFFFF !important;
}

#technologies .section-desc {
  color: #B0B0B0 !important;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================================================
   TECH ECOSYSTEM SPLIT SHOWCASE (ARTWORK ON LEFT, 3-COLUMN CARDS ON RIGHT)
   ========================================================================== */

.tech-showcase-split {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 32px;
  transform: translateX(-40px); /* Optik olarak görseli ve kutucukları sola taşıyıp tam ortalıyoruz */
}

.tech-ecosystem-artwork {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 605px; /* Scaled up by an additional +15% (from 525px to 605px) */
  flex: 0 1 605px;
  margin: 0;
  position: relative;
}

.tech-ecosystem-artwork::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 510px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(220, 38, 38, 0.16) 0%, rgba(220, 38, 38, 0.04) 48%, transparent 72%);
  filter: blur(44px);
  pointer-events: none;
  z-index: 0;
}

.tech-ecosystem-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 605px; /* Scaled up by +15% */
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 22px 48px rgba(0, 0, 0, 0.72)) drop-shadow(0 8px 20px rgba(220, 38, 38, 0.18));
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
}

.tech-ecosystem-artwork:hover .tech-ecosystem-img {
  transform: translateY(-4px) scale(1.02);
  filter: drop-shadow(0 28px 56px rgba(0, 0, 0, 0.82)) drop-shadow(0 10px 26px rgba(220, 38, 38, 0.28));
}

/* Compact 3-Column Grid with Hugging Box Widths */
.tech-grid-logos {
  display: grid;
  grid-template-columns: repeat(3, 142px);
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 0;
}

/* Compact Card Box - Hugs longest subtitle with equal left & right padding (14px left, 14px right) */
.tech-pill-card {
  width: 142px;
  background-color: #141414 !important;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 11px 14px 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
  box-sizing: border-box;
  transition: background-color var(--transition-fast), transform var(--transition-smooth), border-color var(--transition-fast);
}

.tech-pill-card:hover {
  background-color: #1A1A1A !important;
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

/* Fallback for wrapper if present */
.tech-pill-top {
  display: contents;
}

/* 1. Icon on top row */
.tech-pill-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 7px; /* Space between icon on top row and title below */
  transition: transform var(--transition-smooth);
}

.tech-pill-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.tech-pill-card:hover .tech-pill-icon {
  transform: scale(1.1);
}

/* 2. Title underneath icon */
.tech-pill-name {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 500; /* Medium max */
  color: #FFFFFF !important;
  line-height: 1.25;
  margin: 0 0 2px 0;
  white-space: nowrap;
}

/* 3. Subtitle underneath title */
.tech-pill-role {
  font-size: 11px;
  color: #8E8E93 !important;
  line-height: 1.35;
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .tech-showcase-split {
    flex-direction: column;
    gap: 32px;
    transform: none;
  }

  .tech-ecosystem-artwork {
    max-width: 440px;
    flex: 0 1 auto;
    margin: 0 auto;
  }

  .tech-grid-logos {
    grid-template-columns: repeat(3, 142px);
    justify-content: center;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .tech-showcase-split {
    gap: 24px;
  }

  .tech-ecosystem-artwork {
    max-width: 300px;
  }

  .tech-grid-logos {
    grid-template-columns: repeat(2, 142px);
    justify-content: center;
    margin: 0 auto;
    gap: 8px;
  }
}

@media (max-width: 360px) {
  .tech-ecosystem-artwork {
    max-width: 260px;
  }

  .tech-grid-logos {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    gap: 6px;
  }

  .tech-pill-card {
    width: 100%;
    padding: 9px 8px 8px 8px;
  }

  .tech-pill-name {
    font-size: 12.5px;
  }

  .tech-pill-role {
    font-size: 10px;
  }
}

/* Secondary internal infrastructure row */
.tech-sub-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 36px;
  border-top: 1px solid var(--bg-body);
}

.tech-sub-card {
  background-color: var(--bg-body);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: left;
  transition: transform var(--transition-smooth);
}

.tech-sub-card:hover {
  transform: translateY(-2px);
}

.tech-sub-card h4 {
  font-size: 14px;
  font-weight: 500; /* Medium max */
  margin-bottom: 6px;
  color: var(--text-primary);
}

.tech-sub-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   CAREERS / JOIN THE STUDIO
   ========================================================================== */

.careers-box {
  background-color: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: flex-start;
}

.careers-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.careers-info .section-title {
  text-align: left;
  margin-bottom: 14px;
}

.careers-info .section-desc {
  text-align: left;
  margin: 0 0 28px 0;
}

.careers-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.career-card {
  background-color: var(--bg-body);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color var(--transition-fast), transform var(--transition-smooth);
}

.career-card:hover {
  background-color: var(--bg-surface-elevated);
  transform: translateX(4px);
}

.career-role {
  font-size: 14px; /* 14px */
  font-weight: 500; /* Medium max */
  color: var(--text-primary);
  margin-bottom: 4px;
}

.career-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.career-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background-color: var(--bg-surface);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500; /* Medium */
  border-radius: var(--radius-pill);
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.career-card:hover .career-apply-btn {
  background-color: var(--primary);
  color: #FFFFFF;
  transform: translateX(2px);
}

/* ==========================================================================
   CONTACT / PARTNERSHIP SECTION
   ========================================================================== */

.contact-box {
  background-color: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.contact-info .section-title {
  text-align: left;
}

.contact-info .section-desc {
  text-align: left;
  margin: 0;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.contact-item-icon svg {
  width: 18px;
  height: 18px;
}

.contact-item-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-item-val {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

/* Contact Form: 2-Column Rows, Custom Select, and Full-Width Rows */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 14px 20px;
  background-color: var(--bg-body);
  color: var(--text-primary);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  font-family: inherit;
  font-size: 14px;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.form-control:focus {
  background-color: var(--bg-surface-elevated);
  border-color: var(--primary);
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  border-radius: var(--radius-pill) !important;
  padding-left: 20px !important;
  padding-right: 46px !important;
  cursor: pointer;
}

.form-select option {
  background-color: var(--bg-surface-elevated);
  color: var(--text-primary);
  padding: 10px;
}

[data-theme="light"] .form-select option {
  background-color: #FFFFFF;
  color: var(--text-primary);
}

.select-arrow {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.select-wrapper:focus-within .select-arrow {
  color: var(--primary);
  transform: translateY(-50%) rotate(180deg);
}

/* Mesaj Kutusu: Orijinal radius korunur (değiştirilmez) */
textarea.form-control {
  border-radius: var(--radius-md) !important;
  min-height: 120px;
  padding: 14px 18px !important;
  resize: vertical;
}

.form-feedback {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  display: none;
}
.form-feedback.success {
  display: block;
  background-color: rgba(34, 197, 94, 0.15);
  color: #4ADE80;
}

/* ==========================================================================
   DEVSTUDIO-INSPIRED FOOTER (PRIMARY RED BRAND CANVAS IN BOTH THEMES)
   ========================================================================== */

.footer {
  background-color: var(--primary) !important;
  color: #FFFFFF;
  padding: 84px 0 24px;
  border-top: none;
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .footer {
  background-color: var(--primary) !important;
  color: #FFFFFF;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 64px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.footer-brand-logo:hover {
  opacity: 0.88;
}

.footer-logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.footer-copyright {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  margin: 0;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast), opacity var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: #FFFFFF;
  opacity: 1;
  transform: translateX(3px);
}

/* ==========================================================================
   SKIPER-UI: SKIPER40 (CssLink) ANIMATED LINK
   Inspired by @skiper-ui/skiper40 & cursor.com
   - Directional underline sweep (in from left, out to right)
   - Rising diagonal arrow micro-interaction
   ========================================================================== */
.skiper40-link {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  width: fit-content;
  color: rgba(255, 255, 255, 0.82) !important;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  padding-bottom: 2px;
  transition: color 300ms cubic-bezier(0.4, 0, 0.2, 1), opacity 300ms cubic-bezier(0.4, 0, 0.2, 1) !important;
  transform: none !important;
}

.skiper40-link::before {
  content: '';
  pointer-events: none;
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background-color: currentColor;
  transform-origin: right center;
  transform: scaleX(0);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.skiper40-link:hover::before,
.skiper40-link:focus-visible::before {
  transform-origin: left center;
  transform: scaleX(1);
}

.skiper40-link:hover,
.skiper40-link:focus-visible {
  color: #FFFFFF !important;
  opacity: 1;
  transform: none !important;
  outline: none;
}

.skiper40-arrow {
  margin-left: 0.35em;
  width: 11px;
  height: 11px;
  font-size: 11px;
  line-height: 1;
  transform: translateY(3px);
  opacity: 0;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), opacity 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.skiper40-link:hover .skiper40-arrow,
.skiper40-link:focus-visible .skiper40-arrow {
  transform: translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .skiper40-link::before,
  .skiper40-arrow {
    transition: none !important;
  }
}

/* ==========================================================================
   FOOTER LANGUAGE SWITCHER (Discreet & Elegant)
   ========================================================================== */
.footer-lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  line-height: 1;
  margin-top: 4px;
}

.footer-lang-globe {
  width: 13px;
  height: 13px;
  color: rgba(255, 255, 255, 0.65);
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.footer-lang-btn {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  border-radius: 0 !important;
  font-family: inherit;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.65) !important;
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1;
  user-select: none;
}

.footer-lang-btn:hover {
  color: #FFFFFF !important;
}

.footer-lang-btn.active {
  color: #FFFFFF !important;
  font-weight: 600 !important;
  background: transparent !important;
}

.footer-lang-divider {
  color: rgba(255, 255, 255, 0.35);
  user-select: none;
  font-size: 12px;
  line-height: 1;
}

/* Grand Footer Typographic Watermark (Matching Image 3 on Red Canvas) */
.footer-watermark {
  width: 100%;
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  pointer-events: none;
  overflow: hidden;
}

.footer-watermark-inner {
  width: 100%;
  max-width: 1180px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-watermark-img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  pointer-events: none;
  opacity: 1;
  transition: opacity var(--transition-fast);
}

@media (max-width: 900px) {
  .footer {
    padding: 64px 0 20px;
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
    margin-bottom: 48px;
  }
}

@media (max-width: 560px) {
  .footer {
    padding: 56px 0 16px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 36px;
  }
  .footer-watermark {
    margin-top: 28px;
    padding-top: 12px;
  }
}

/* ==========================================================================
   PRIVACY POLICY PAGE STYLES (FLAT, ZERO STROKE, ZERO SHADOW)
   ========================================================================== */

.policy-header {
  padding: 130px 0 36px;
  text-align: center;
}

.policy-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.back-link {
  font-size: 14px;
  font-weight: 500; /* Medium */
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

.back-link:hover {
  color: var(--primary);
}

.app-identifier-banner {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 900px;
  text-align: left;
}

.app-banner-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
}

.app-banner-info {
  flex: 1;
}

.app-banner-info h3 {
  font-size: 1.25rem;
  font-weight: 500; /* Medium max */
  margin-bottom: 4px;
}

.app-banner-package {
  font-family: var(--font-mono);
  font-size: 12px;
  background-color: var(--bg-surface-elevated);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  color: var(--primary);
}

.app-banner-date {
  text-align: right;
  font-size: 13px;
  color: var(--text-secondary);
}

.policy-body {
  padding: 16px 0 90px;
}

.policy-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: flex-start;
}

.policy-sidebar {
  position: sticky;
  top: 96px;
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.policy-toc-title {
  font-size: 12px;
  font-weight: 500; /* Medium */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.policy-toc {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.policy-toc-link {
  font-size: 13.5px;
  color: var(--text-secondary);
  padding: 5px 0;
  display: block;
  transition: color var(--transition-fast);
}

.policy-toc-link:hover {
  color: var(--primary);
}

.policy-content {
  background-color: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.policy-section {
  margin-bottom: 40px;
}

.policy-section:last-child {
  margin-bottom: 0;
}

.policy-section h2 {
  font-size: 1.5rem;
  font-weight: 500; /* Medium max */
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.policy-section h3 {
  font-size: 1.125rem;
  font-weight: 500; /* Medium max */
  margin: 20px 0 10px;
}

.policy-section p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.policy-section ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 14px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.permission-card {
  background-color: var(--bg-body);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 10px;
}

.permission-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.permission-name {
  font-size: 14px;
  font-weight: 500; /* Medium */
  color: var(--text-primary);
}

.permission-badge {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background-color: var(--primary-tint);
  color: var(--primary);
}

.permission-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0 !important;
}

.policy-contact-box {
  background-color: var(--bg-body);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 14px;
}

/* ==========================================================================
   SMOOTH SCROLL-DRIVEN REVEAL ANIMATIONS (SLOW, LUXURIOUS, PIECE-BY-PIECE)
   ========================================================================== */

/* Lenis Smooth Scroll Engine Styles */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Base Reveal Animation - Slower, More Cinematic (1.15s) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.15s cubic-bezier(0.16, 1, 0.3, 1), transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Tokens */
.reveal-delay-1 { transition-delay: 0.14s !important; }
.reveal-delay-2 { transition-delay: 0.28s !important; }
.reveal-delay-3 { transition-delay: 0.42s !important; }
.reveal-delay-4 { transition-delay: 0.56s !important; }
.reveal-delay-5 { transition-delay: 0.70s !important; }
.reveal-delay-6 { transition-delay: 0.84s !important; }

/* Parça Parça: Section Headings (Label -> Title -> Description) */
.section-head.reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
.section-head.reveal > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1.15s cubic-bezier(0.16, 1, 0.3, 1), transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.section-head.reveal.active > * {
  opacity: 1;
  transform: translateY(0);
}
.section-head.reveal > :nth-child(1) { transition-delay: 0.06s; }
.section-head.reveal > :nth-child(2) { transition-delay: 0.22s; }
.section-head.reveal > :nth-child(3) { transition-delay: 0.38s; }

/* Parça Parça: Auto-stagger for Boxes / Cards in Grids */
.products-grid > .reveal:nth-child(1),
.category-grid > .reveal:nth-child(1),
.feature-grid > .reveal:nth-child(1),
.feature-detail-grid > .reveal:nth-child(1),
.corfit-features-grid > .reveal:nth-child(1),
.tech-grid-logos > .reveal:nth-child(1),
.legal-links-grid > .reveal:nth-child(1),
.other-projects-grid > .reveal:nth-child(1) {
  transition-delay: 0.08s;
}

.products-grid > .reveal:nth-child(2),
.category-grid > .reveal:nth-child(2),
.feature-grid > .reveal:nth-child(2),
.feature-detail-grid > .reveal:nth-child(2),
.corfit-features-grid > .reveal:nth-child(2),
.tech-grid-logos > .reveal:nth-child(2),
.legal-links-grid > .reveal:nth-child(2),
.other-projects-grid > .reveal:nth-child(2) {
  transition-delay: 0.24s;
}

.products-grid > .reveal:nth-child(3),
.category-grid > .reveal:nth-child(3),
.feature-grid > .reveal:nth-child(3),
.feature-detail-grid > .reveal:nth-child(3),
.corfit-features-grid > .reveal:nth-child(3),
.tech-grid-logos > .reveal:nth-child(3),
.legal-links-grid > .reveal:nth-child(3),
.other-projects-grid > .reveal:nth-child(3) {
  transition-delay: 0.40s;
}

.products-grid > .reveal:nth-child(4),
.category-grid > .reveal:nth-child(4),
.feature-grid > .reveal:nth-child(4),
.feature-detail-grid > .reveal:nth-child(4),
.corfit-features-grid > .reveal:nth-child(4),
.tech-grid-logos > .reveal:nth-child(4) {
  transition-delay: 0.56s;
}

/* Dedicated Hero Text Entrance - Slower, Majestic Cinematic Float (1.45s) */
.hero-title.reveal,
.project-hero-title.reveal {
  transition: opacity 1.45s cubic-bezier(0.16, 1, 0.3, 1), transform 1.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
  transition-delay: 0.15s !important;
}

.hero-description.reveal,
.project-hero-subtitle.reveal {
  transition: opacity 1.45s cubic-bezier(0.16, 1, 0.3, 1), transform 1.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
  transition-delay: 0.38s !important;
}

.hero-actions.reveal,
.project-store-bar.reveal {
  transition: opacity 1.45s cubic-bezier(0.16, 1, 0.3, 1), transform 1.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
  transition-delay: 0.60s !important;
}

.project-badges.reveal {
  transition: opacity 1.45s cubic-bezier(0.16, 1, 0.3, 1), transform 1.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
  transition-delay: 0.05s !important;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .section-head.reveal > *,
  .hero-title.reveal,
  .hero-description.reveal,
  .hero-actions.reveal,
  .project-hero-title.reveal,
  .project-hero-subtitle.reveal,
  .project-store-bar.reveal,
  .project-badges.reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .tech-sub-strip {
    grid-template-columns: 1fr;
  }
  .careers-box, .contact-box {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .policy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .navbar {
    padding-top: env(safe-area-inset-top, 0px);
  }
  /* On mobile: top bar ONLY has Logo on left and Menu Icon on right */
  .nav-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .navbar.scrolled .nav-container {
    padding-right: 9px !important; /* Top (9px), Bottom (9px), Right (9px) concentric alignment */
  }
  .nav-logo-frame {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
  }
  .nav-center-frame,
  .nav-container nav,
  .nav-links {
    display: none !important;
  }
  .nav-actions {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
  }
  .nav-actions .lang-switcher,
  .nav-actions .theme-btn,
  .nav-actions .btn {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  /* Product cards on mobile: guaranteed 1:1 square logos and optimized padding */
  .product-card {
    padding: 24px 20px 22px;
  }
  .product-card-header {
    gap: 14px;
    padding-right: 0;
    align-items: center;
  }
  .product-icon-link,
  .product-card-header > a:first-child {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
  }
  .product-icon-img {
    width: 58px;
    height: 58px;
    min-width: 58px;
    min-height: 58px;
    max-width: 58px;
    max-height: 58px;
    aspect-ratio: 1 / 1;
    border-radius: 0;
    flex-shrink: 0;
  }
  .product-header-info {
    min-width: 0;
    flex: 1;
  }
  .product-header-badges {
    gap: 6px;
    flex-wrap: nowrap;
  }
  /* On mobile: hide secondary status badge (Yakında/Yayında) so badges never wrap to 2nd line */
  .product-header-badges .badge:not(.badge-primary) {
    display: none !important;
  }
  .product-card-corner-arrow {
    display: none;
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 22px;
    gap: 20px;
  }
  #what-we-do .section-title,
  .section-title-nowrap {
    white-space: normal;
  }
  .category-grid {
    grid-template-columns: 1fr;
  }
  .tech-section-box {
    padding: 32px 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .product-card {
    padding: 20px 16px 18px;
  }
  .product-card-header {
    gap: 12px;
  }
  .product-icon-link,
  .product-card-header > a:first-child {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
  }
  .product-icon-img {
    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;
    max-width: 54px;
    max-height: 54px;
    aspect-ratio: 1 / 1;
    border-radius: 0;
    flex-shrink: 0;
  }
  .product-card-title {
    font-size: 1.25rem;
  }
  .store-links-group {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ROUNDED MOBILE MENU DRAWER (SLIDE-IN FROM RIGHT, MODERN FLOATING PANEL)
   ========================================================================== */

.mobile-drawer-backdrop {
  display: none !important;
}

.mobile-drawer {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  right: 12px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
  left: auto;
  width: min(390px, calc(100vw - 24px));
  height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 24px);
  max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 24px);
  background-color: #080808 !important; /* Pure black / deep dark */
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px; /* Rounded right menu */
  box-shadow: -10px 0 45px rgba(0, 0, 0, 0.75), 0 20px 45px rgba(0, 0, 0, 0.6);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  transform: translateX(calc(100% + 24px)); /* Slides from right */
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.38s ease;
  visibility: hidden;
  overflow: hidden;
  color: #FFFFFF;
}

.mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.mobile-drawer-logo .nav-logo-img {
  height: 25px;
  width: auto;
}

.mobile-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #161616;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-smooth);
}

.mobile-drawer-close:hover {
  background-color: #222222;
  transform: scale(1.05);
}

.mobile-drawer-close svg {
  width: 20px;
  height: 20px;
}

.mobile-drawer-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  padding: 28px 24px 24px;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer-nav {
  margin-bottom: 28px;
}

.mobile-drawer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start; /* Left-aligned */
  text-align: left;
}

.mobile-drawer-link {
  display: inline-block;
  font-size: clamp(1.75rem, 5.5vw, 2.15rem); /* Large typography */
  font-weight: 500;
  color: #FFFFFF !important;
  text-decoration: none;
  letter-spacing: -0.025em;
  line-height: 1.25;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.mobile-drawer-link:hover,
.mobile-drawer-link:active {
  color: var(--primary) !important;
  transform: translateX(6px);
}

.mobile-drawer-cta-wrap {
  margin-top: 24px;
  margin-bottom: 24px;
  width: 100%;
}

.mobile-drawer-btn {
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 9999px !important;
  background-color: var(--primary) !important;
  color: #FFFFFF !important;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.mobile-drawer-btn:hover,
.mobile-drawer-btn:active {
  background-color: #000000 !important;
  color: #FFFFFF !important;
}

.mobile-drawer-btn .btn-arrow-icon {
  margin-left: 8px;
  width: 16px;
  max-width: 16px;
  opacity: 1;
  transform: translateX(0);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

/* 2 Ayrı Toggle Switch */
.mobile-switches-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background-color: #111111;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-switch-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.mobile-switch-name {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.mobile-switch-desc {
  font-size: 12.5px;
  color: #8E8E93;
}

/* Custom Segmented Toggle Switch */
.mobile-toggle-switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 156px;
  height: 38px;
  background-color: #181818;
  border-radius: 9999px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  user-select: none;
}

.mobile-toggle-option {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100%;
  background: transparent;
  border: none;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  color: #8E8E93;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.mobile-toggle-option svg {
  width: 15px;
  height: 15px;
}

.mobile-toggle-option.active {
  color: #FFFFFF;
  font-weight: 600;
}

.mobile-toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc(50% - 3px);
  height: calc(100% - 6px);
  background-color: var(--primary);
  border-radius: 9999px;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.mobile-toggle-switch[data-value="tr"] .mobile-toggle-slider,
.mobile-toggle-switch[data-value="light"] .mobile-toggle-slider {
  transform: translateX(100%);
}

/* ==========================================================================
   PROJECT INNER / DETAIL PAGES
   ========================================================================== */

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs .sep {
  opacity: 0.4;
}

.breadcrumbs .current {
  color: var(--text-primary);
  font-weight: 500;
}

.project-hero {
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
}

.project-hero-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 48px;
}

.project-hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 0;
  object-fit: cover;
  background-color: transparent;
  transition: transform var(--transition-smooth);
}

.project-hero-icon:hover {
  transform: scale(1.04);
}

.project-hero-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  line-height: 1.15;
  text-wrap: balance;
}

.project-hero-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 680px;
}

.project-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.project-badges .badge {
  font-size: 11px;
  padding: 4px 11px;
  letter-spacing: 0.03em;
  font-weight: 500;
  line-height: 1.25;
}

.project-store-bar {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  padding: 22px 28px;
  background-color: var(--bg-surface);
  border-radius: var(--radius-xl);
  margin-bottom: 48px;
}

.project-store-bar .store-btn {
  max-width: 220px;
}

.project-store-bar > .btn:last-child {
  margin-left: auto;
}

.project-store-bar .store-label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  margin-right: 6px;
}

/* ==========================================================================
   APP SCREENS & INTERACTIVE MOCKUPS (CSS-ONLY HIGH FIDELITY)
   ========================================================================== */

.screens-section {
  padding: 60px 0 90px;
  background-color: var(--bg-surface);
  border-radius: var(--radius-xl);
  margin-bottom: 60px;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  justify-items: center;
  margin-top: 40px;
}

.phone-mockup {
  width: 100%;
  max-width: 320px;
  background-color: #0A0A0A;
  color: #FFFFFF;
  border-radius: 40px;
  padding: 16px;
  border: 4px solid #1A1A1A;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  position: relative;
  transition: transform var(--transition-smooth), border-color var(--transition-fast);
}

[data-theme="light"] .phone-mockup {
  border-color: #D6D6DE;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.phone-mockup:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
}

.phone-notch {
  width: 90px;
  height: 20px;
  background-color: #161616;
  border-radius: var(--radius-pill);
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.phone-notch-cam {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #000000;
}

.phone-notch-speaker {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background-color: #222222;
}

.phone-screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 6px;
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
}

.phone-screen-header .screen-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.phone-screen-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 380px;
}

.mock-card {
  background-color: #161616;
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-card-accent {
  background: linear-gradient(135deg, rgba(238, 26, 55, 0.22) 0%, #161616 100%);
  border: 1px solid rgba(238, 26, 55, 0.25);
}

.mock-gold-accent {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.2) 0%, #161616 100%);
  border: 1px solid rgba(245, 166, 35, 0.25);
}

.mock-title {
  font-size: 11.5px;
  text-transform: uppercase;
  color: #888888;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.mock-val {
  font-size: 19px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.mock-sub {
  font-size: 11.5px;
  color: #0ACF83;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

.mock-sub.negative {
  color: #FF4757;
}

.mock-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background-color: #111111;
  border-radius: 12px;
  font-size: 12.5px;
}

.mock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: var(--radius-pill);
  background-color: var(--primary);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 600;
  margin-top: auto;
}

.mock-screen-desc {
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-secondary);
}

.mock-screen-desc strong {
  display: block;
  color: var(--text-primary);
  font-size: 14px;
  margin-bottom: 4px;
}

/* ==========================================================================
   FEATURE DEEP-DIVE & LEGAL CARDS
   ========================================================================== */

.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.feature-detail-card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--transition-smooth), background-color var(--transition-fast);
}

.feature-detail-card:hover {
  transform: translateY(-4px);
  background-color: var(--bg-surface-elevated);
}

.feature-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-tint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-smooth);
}

.feature-detail-icon svg,
.feature-detail-icon i {
  width: 22px;
  height: 22px;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature-detail-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.feature-detail-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Legal & Compliance Accordion / Card */
.legal-box {
  background-color: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin: 60px 0;
  border-left: 4px solid var(--primary);
}

.legal-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.legal-box-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
}

.legal-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ==========================================================================
   LEFT-ALIGNED SECTIONS & PRODUCT PAGE LAYOUT
   ========================================================================== */

.section-head-left,
.project-page .section-head {
  text-align: left !important;
  margin: 0 0 40px 0 !important;
  max-width: 900px !important;
}

.section-head-left .section-label,
.project-page .section-head .section-label {
  justify-content: flex-start !important;
}

.section-head-left .section-title,
.project-page .section-head .section-title {
  text-align: left !important;
}

.section-head-left .section-desc,
.project-page .section-head .section-desc {
  text-align: left !important;
  margin: 0 !important;
}

.manifesto-box-left,
.project-page .manifesto-box {
  align-items: flex-start !important;
  text-align: left !important;
  padding: 44px 50px !important;
}

.manifesto-box-left .manifesto-lead,
.project-page .manifesto-box .manifesto-lead {
  text-align: left !important;
  margin: 0 !important;
}

.manifesto-box-left .manifesto-body,
.project-page .manifesto-box .manifesto-body {
  text-align: left !important;
}

/* ==========================================================================
   PRODUCT SCREENSHOTS 3-SCREEN INTERACTIVE CAROUSEL
   (Larger Screens, Circular Nav Buttons, Dots Indicator, Smooth Animation)
   ========================================================================== */

.screens-carousel-container {
  position: relative;
  width: 100%;
  margin-top: 36px;
}

.screens-carousel-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.screens-slider-viewport {
  width: 100%;
  overflow: hidden;
  padding: 16px 0 24px;
}

.screens-slider-track {
  display: flex;
  gap: 28px;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.screens-slide {
  flex: 0 0 calc((100% - 56px) / 3);
  max-width: calc((100% - 56px) / 3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  user-select: none;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  transition: transform var(--transition-smooth), opacity 0.3s ease;
}

.screens-img-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  padding: 0;
  background: transparent;
}

.screens-img {
  width: 100%;
  max-width: 330px;
  height: auto;
  display: block;
  object-fit: contain;
  filter: none;
  transition: transform var(--transition-smooth);
}

[data-theme="light"] .screens-img {
  filter: none;
}

/* Theme-adaptive App Screens (Light & Dark Variants) */
.screens-img.theme-screen-light {
  display: none !important;
}

.screens-img.theme-screen-dark {
  display: block !important;
}

[data-theme="light"] .screens-img.theme-screen-light {
  display: block !important;
}

[data-theme="light"] .screens-img.theme-screen-dark {
  display: none !important;
}

.screens-slide:hover .screens-img {
  transform: translateY(-8px) scale(1.02);
}

.screens-slide-meta {
  padding: 20px 8px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
}

.screens-slide-title {
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-align: center;
}

/* Circular Rounded Navigation Buttons */
.screens-nav-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  transition: all var(--transition-fast);
  box-shadow: none !important;
}

[data-theme="light"] .screens-nav-btn {
  background-color: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: none !important;
}

.screens-nav-btn svg,
.screens-nav-btn i {
  width: 22px;
  height: 22px;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  stroke: currentColor;
  transition: transform var(--transition-fast);
}

.screens-nav-btn:hover {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.08);
  box-shadow: none !important;
}

.screens-nav-prev {
  left: -26px;
}

.screens-nav-next {
  right: -26px;
}

.screens-nav-prev:hover svg {
  transform: translateX(-2px);
}

.screens-nav-next:hover svg {
  transform: translateX(2px);
}

/* Dots Pagination */
.screens-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.screens-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--bg-surface-soft);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  padding: 0;
}

[data-theme="light"] .screens-dot {
  background-color: #D4D4DC;
}

.screens-dot:hover {
  background-color: var(--text-muted);
  transform: scale(1.2);
}

.screens-dot.active {
  width: 32px;
  border-radius: var(--radius-pill);
  background-color: var(--primary);
}

/* Corfit Responsive Showcase Switching */
.corfit-mobile-carousel {
  display: none;
}
.corfit-desktop-showcase {
  display: block;
}

.corfit-mobile-carousel .screens-img {
  border: none;
  box-shadow: none;
  border-radius: 0;
  display: block;
  background-color: transparent;
  max-width: 290px;
  margin: 0 auto;
  filter: none;
  transition: transform var(--transition-smooth);
}

[data-theme="light"] .corfit-mobile-carousel .screens-img {
  border: none;
  box-shadow: none;
  background-color: transparent;
  filter: none;
}

.corfit-showcase-container {
  width: 100%;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.corfit-tabs-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.corfit-tabs-nav::-webkit-scrollbar {
  display: none;
}

.corfit-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

[data-theme="light"] .corfit-tab-btn {
  background-color: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-secondary);
}

.corfit-tab-btn:hover {
  color: var(--text-primary);
  border-color: rgba(238, 26, 55, 0.4);
}

.corfit-tab-btn.active {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  font-weight: 600;
}

.corfit-tab-num {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.8;
}

.corfit-pair-wrapper {
  position: relative;
  width: 100%;
}

.corfit-pair-slide {
  display: none;
  flex-direction: column;
  gap: 24px;
  animation: corfitFadeIn 0.35s ease;
}

.corfit-pair-slide.active {
  display: flex;
}

@keyframes corfitFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.screens-section {
  padding-top: 76px !important;
}

.corfit-screens-row {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 24px;
  width: 100%;
}

.corfit-desktop-wrap {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  align-items: center;
  position: relative;
}

.corfit-mobile-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* iOS-Style Smooth Soft Border & Radius, Equal Height Alignment */
.corfit-img-desktop {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  border-radius: 18px; /* Preserved exact radius */
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 14px -2px rgba(0, 0, 0, 0.35), 0 16px 42px -6px rgba(0, 0, 0, 0.38);
  display: block;
  background-color: var(--bg-surface);
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  overflow: hidden;
  transition: box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

[data-theme="light"] .corfit-img-desktop {
  border: 1.5px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.035), 0 14px 32px -4px rgba(0, 0, 0, 0.055);
}

.corfit-img-mobile {
  height: 100%;
  width: auto;
  max-height: 560px;
  object-fit: contain;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: block;
  background-color: transparent;
  transform: translateZ(0);
  filter: none;
  transition: none;
}

[data-theme="light"] .corfit-img-mobile {
  border: none;
  box-shadow: none;
  background-color: transparent;
  filter: none;
}

/* Zero scale on hover - strictly no overflow and no clipping */
.corfit-desktop-wrap:hover .corfit-img-desktop,
.corfit-img-desktop:hover {
  transform: none !important;
  box-shadow: 0 6px 18px -2px rgba(0, 0, 0, 0.42), 0 20px 48px -6px rgba(0, 0, 0, 0.45);
}

.corfit-mobile-wrap:hover .corfit-img-mobile,
.corfit-img-mobile:hover {
  transform: none !important;
  filter: none;
  box-shadow: none;
}

[data-theme="light"] .corfit-desktop-wrap:hover .corfit-img-desktop,
[data-theme="light"] .corfit-img-desktop:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05), 0 18px 38px -4px rgba(0, 0, 0, 0.075);
}

[data-theme="light"] .corfit-mobile-wrap:hover .corfit-img-mobile,
[data-theme="light"] .corfit-img-mobile:hover {
  filter: none;
  box-shadow: none;
}

/* Meta positioned ABOVE screens */
.corfit-pair-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 22px;
  padding: 0 4px;
  text-align: left;
}

.corfit-pair-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
  text-wrap: balance;
}

.corfit-pair-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Schedule Sub-Carousel / Horizontal Scroll */
.corfit-pair-meta-with-controls {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding: 0 4px;
  text-align: left;
}

.corfit-subnav-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.corfit-view-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
}

.corfit-view-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background-color: var(--text-muted);
  opacity: 0.35;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.corfit-view-dot.active {
  width: 22px;
  background-color: var(--primary);
  opacity: 1;
}

.corfit-arrow-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.corfit-subnav-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-surface-elevated);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .corfit-subnav-arrow {
  border: 1px solid #E2E2E8;
  background-color: #FFFFFF;
}

.corfit-subnav-arrow:hover {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  transform: scale(1.06);
}

.corfit-subnav-arrow svg,
.corfit-subnav-arrow i {
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.corfit-schedule-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 32px;
  padding: 12px 6px 20px 6px;
  margin: -12px -6px -20px -6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.corfit-schedule-scroll::-webkit-scrollbar {
  display: none;
}

.corfit-schedule-view-item {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
}

@media (max-width: 900px) {
  .corfit-screens-row {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .corfit-desktop-wrap {
    flex: 1 1 100%;
    width: 100%;
  }
  .corfit-mobile-wrap {
    flex: 0 0 auto;
    width: 100%;
    justify-content: center;
  }
  .corfit-img-mobile {
    width: 100% !important;
    max-width: 280px;
    height: auto !important;
  }
}

/* ==========================================================================
   LEGAL LINKS CARDS (ZERO STROKE ON LEFT)
   ========================================================================== */

.legal-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.legal-link-card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  text-decoration: none;
  transition: transform var(--transition-smooth), background-color var(--transition-fast);
  border: none !important;
}

.legal-link-card:hover {
  transform: translateY(-4px);
  background-color: var(--bg-surface-elevated);
}

.legal-link-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background-color: var(--primary-tint);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.legal-link-icon svg,
.legal-link-icon i {
  width: 24px;
  height: 24px;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.legal-link-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.legal-link-tag {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-link-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
}

.legal-link-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: left;
}

.legal-link-action {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
}

/* ==========================================================================
   POLICY & LEGAL DOCUMENT PAGES LAYOUT (STRICT TOP-ALIGNED SIDEBAR & BODY)
   ========================================================================== */

.policy-page-header {
  text-align: left;
  padding: 130px 0 36px;
}

/* Policy section must have overflow: visible so position: sticky TOC correctly top-aligns with article and tracks window scroll */
.section:has(.policy-grid-layout),
.policy-section-wrap {
  overflow: visible !important;
}

.policy-grid-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start !important;
}

.policy-toc-box {
  position: sticky;
  top: 96px;
  align-self: start !important;
  margin: 0 !important;
  background-color: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 24px;
  font-size: 13px;
}

.policy-toc-title {
  font-weight: 600;
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.policy-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.policy-toc-list a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  line-height: 1.4;
  display: block;
}

.policy-toc-list a:hover {
  color: var(--primary);
}

.policy-doc-article {
  margin: 0 !important;
  align-self: start !important;
  background-color: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 48px;
  line-height: 1.8;
  font-size: 14.5px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: left;
}

@media (max-width: 992px) {
  .policy-grid-layout {
    grid-template-columns: 1fr;
  }
  .policy-toc-box {
    position: static;
  }
}


/* Other Projects Carousel / Grid */
.other-projects-section {
  padding: 60px 0 100px;
}

.other-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.other-proj-card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform var(--transition-smooth), background-color var(--transition-fast);
  text-decoration: none;
}

.other-proj-card:hover {
  transform: translateY(-4px);
  background-color: var(--bg-surface-elevated);
}

.other-proj-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  object-fit: cover;
  flex-shrink: 0;
  background-color: transparent;
}

.other-proj-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.other-proj-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
}

.other-proj-sub {
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: left;
}

/* ==========================================================================
   STANDALONE CONTACT PAGE
   ========================================================================== */

.contact-page-hero {
  padding: 140px 0 60px;
  text-align: left;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 36px;
  margin-bottom: 80px;
}

.contact-card-box {
  background-color: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.contact-direct-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .contact-direct-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-direct-item:last-child {
  border-bottom: none;
}

.contact-direct-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-tint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-direct-icon svg {
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   CAL.COM BOOKING EMBED THEME STYLING
   ========================================================================== */
.cal-embed-container {
  width: 100%;
  min-height: 540px;
  padding-top: 24px;
  overflow: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  transition: background-color var(--transition-base), border-color var(--transition-base);
}

@media (max-width: 640px) {
  .cal-embed-container {
    padding-top: 16px;
  }
}

.cal-embed-container cal-inline {
  min-height: 540px !important;
  height: auto !important;
  background-color: transparent !important;
}

[data-theme="light"] .cal-embed-container {
  background-color: #FFFFFF !important;
  border-color: rgba(0, 0, 0, 0.08);
  color-scheme: light !important;
}

[data-theme="dark"] .cal-embed-container {
  background-color: #141414 !important;
  border-color: rgba(255, 255, 255, 0.08);
  color-scheme: dark !important;
}

[data-theme="dark"],
[data-theme="dark"] body {
  color-scheme: dark !important;
}

[data-theme="light"],
[data-theme="light"] body {
  color-scheme: light !important;
}

.cal-embed-container iframe {
  background-color: transparent !important;
}

/* ==========================================================================
   HEROUI-STYLE DROPDOWN COMPONENT (@heroui/react)
   ========================================================================== */
.visually-hidden-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.heroui-dropdown {
  position: relative;
  width: 100%;
}

.heroui-dropdown-trigger {
  width: 100%;
  min-height: 48px;
  padding: 6px 18px 6px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background-color: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  box-sizing: border-box;
}

[data-theme="light"] .heroui-dropdown-trigger {
  background-color: var(--bg-body);
  border-color: var(--border-color);
  box-shadow: none;
}

.heroui-dropdown-trigger:hover {
  background-color: var(--bg-surface-elevated);
  border-color: var(--border-color);
}

[data-theme="light"] .heroui-dropdown-trigger:hover {
  background-color: var(--bg-surface-elevated);
  border-color: rgba(0, 0, 0, 0.14);
}

.heroui-dropdown.open .heroui-dropdown-trigger,
.heroui-dropdown-trigger:focus-visible {
  border-color: var(--primary, #EE1A36);
  background-color: var(--bg-surface-elevated);
  box-shadow: 0 0 0 3px rgba(238, 26, 54, 0.15);
}

[data-theme="light"] .heroui-dropdown.open .heroui-dropdown-trigger,
[data-theme="light"] .heroui-dropdown-trigger:focus-visible {
  background-color: #ffffff;
  border-color: var(--primary, #EE1A36);
  box-shadow: 0 0 0 3px rgba(238, 26, 54, 0.15);
}

.heroui-dropdown-trigger-content {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.heroui-dropdown-trigger-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: rgba(238, 26, 54, 0.1);
  color: var(--primary, #EE1A36);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.heroui-dropdown-trigger-icon svg,
.heroui-dropdown-trigger-icon i {
  width: 19px;
  height: 19px;
  font-size: 19px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.heroui-dropdown-trigger-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.heroui-dropdown-trigger-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.heroui-dropdown-trigger-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.heroui-dropdown-chevron {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.heroui-dropdown.open .heroui-dropdown-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

/* Dropdown Menu Popover */
.heroui-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  max-height: 340px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  padding: 6px;
  box-sizing: border-box;
  background: rgba(20, 20, 24, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 20px 48px -8px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.2s;
  pointer-events: none;
}

[data-theme="light"] .heroui-dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 42px -6px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.03);
  scrollbar-color: rgba(0, 0, 0, 0.18) transparent;
}

.heroui-dropdown.open .heroui-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Custom Scrollbar for Menu */
.heroui-dropdown-menu::-webkit-scrollbar {
  width: 5px;
}
.heroui-dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}
.heroui-dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}
[data-theme="light"] .heroui-dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
}

/* Menu Item */
.heroui-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.16s ease;
  user-select: none;
  position: relative;
}

.heroui-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.07);
}

[data-theme="light"] .heroui-dropdown-item:hover {
  background: rgba(0, 0, 0, 0.045);
}

.heroui-dropdown-item.active {
  background: rgba(238, 26, 54, 0.09);
}

[data-theme="light"] .heroui-dropdown-item.active {
  background: rgba(238, 26, 54, 0.08);
}

.heroui-dropdown-item-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

[data-theme="light"] .heroui-dropdown-item-icon {
  background: rgba(0, 0, 0, 0.04);
}

.heroui-dropdown-item-icon svg,
.heroui-dropdown-item-icon i {
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.heroui-dropdown-item:hover .heroui-dropdown-item-icon {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
  border-radius: var(--radius-pill);
}

[data-theme="light"] .heroui-dropdown-item:hover .heroui-dropdown-item-icon {
  background: rgba(0, 0, 0, 0.08);
}

.heroui-dropdown-item.active .heroui-dropdown-item-icon {
  color: var(--primary);
  background: rgba(238, 26, 54, 0.15);
  border-radius: var(--radius-pill);
}

.heroui-dropdown-item-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.heroui-dropdown-item-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
}

.heroui-dropdown-item.active .heroui-dropdown-item-title {
  color: var(--primary);
}

.heroui-dropdown-item-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.25;
}

.heroui-dropdown-item-check {
  width: 17px;
  height: 17px;
  color: var(--primary);
  flex-shrink: 0;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.heroui-dropdown-item.active .heroui-dropdown-item-check {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   HEROUI-STYLE ACCORDION COMPONENT (@heroui/react - Splitted Variant)
   ========================================================================== */
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 860px;
  margin: 32px auto 0;
  border-top: none;
}

.faq-accordion-item {
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 4px 18px -2px rgba(0, 0, 0, 0.15);
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

[data-theme="light"] .faq-accordion-item {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
}

.faq-accordion-item:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.14);
}

[data-theme="light"] .faq-accordion-item:hover {
  background: #fafafa;
  border-color: rgba(0, 0, 0, 0.14);
}

.faq-accordion-item.active {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(235, 33, 46, 0.32);
  box-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(235, 33, 46, 0.2);
}

[data-theme="light"] .faq-accordion-item.active {
  background: #ffffff;
  border-color: rgba(235, 33, 46, 0.35);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(235, 33, 46, 0.15);
}

.faq-accordion-header {
  width: 100%;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  transition: color 0.2s ease;
  outline: none;
}

.faq-accordion-header:hover {
  color: var(--text-primary);
}

.faq-accordion-item.active .faq-accordion-header {
  color: var(--text-primary);
}

/* HeroUI circular chevron container */
.faq-accordion-indicator {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .faq-accordion-indicator {
  background: rgba(0, 0, 0, 0.04);
}

.faq-accordion-item:hover .faq-accordion-indicator {
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .faq-accordion-item:hover .faq-accordion-indicator {
  background: rgba(0, 0, 0, 0.07);
}

.faq-accordion-item.active .faq-accordion-indicator {
  background: rgba(235, 33, 46, 0.12);
  color: var(--primary);
}

.faq-accordion-chevron {
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.faq-accordion-item.active .faq-accordion-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.24s ease;
  opacity: 0;
}

.faq-accordion-item.active .faq-accordion-content {
  max-height: 360px;
  opacity: 1;
}

.faq-accordion-body {
  padding: 0 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 16px;
}

[data-theme="light"] .faq-accordion-body {
  border-top-color: rgba(0, 0, 0, 0.05);
}

.faq-accordion-answer {
  padding: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* Responsive Queries */
@media (max-width: 1200px) {
  .product-screenshots-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .screens-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 40px auto 0;
  }
  .feature-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .other-projects-grid {
    grid-template-columns: 1fr;
  }
  .contact-page-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .corfit-mobile-carousel {
    display: block;
  }
  .corfit-desktop-showcase {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .project-hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
    justify-items: flex-start;
  }
  .project-hero-meta {
    align-items: flex-start;
    text-align: left;
    gap: 10px;
  }
  .project-hero-title {
    font-size: clamp(1.24rem, 5.2vw, 1.55rem);
    line-height: 1.22;
    text-wrap: balance;
  }
  .project-badges {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    gap: 6px;
    max-width: 100%;
  }
  .project-badges::-webkit-scrollbar {
    display: none;
  }
  .project-badges .badge {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 10px;
    padding: 3px 8.5px;
    letter-spacing: 0.02em;
    font-weight: 500;
  }
  .project-store-bar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
    padding: 16px;
    border-radius: var(--radius-lg);
    margin-bottom: 36px;
  }
  .project-store-bar > .btn:last-child {
    margin-left: 0 !important;
  }
  .project-store-bar .store-btn,
  .project-store-bar .btn,
  .project-store-bar > a,
  .project-store-bar > span {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: var(--radius-pill) !important;
    flex: none !important;
  }
  .feature-cards-grid {
    grid-template-columns: 1fr;
  }
  .contact-faq-grid {
    grid-template-columns: 1fr;
  }
  .product-screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .legal-links-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .product-screenshots-grid {
    grid-template-columns: 1fr;
  }
}

/* Screens Carousel Responsive */
@media (max-width: 1240px) {
  .screens-nav-prev {
    left: -14px;
  }
  .screens-nav-next {
    right: -14px;
  }
}

@media (max-width: 992px) {
  .screens-slide {
    flex: 0 0 calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
  }
  .screens-slider-track {
    gap: 20px;
  }
  .screens-nav-prev {
    left: 4px;
  }
  .screens-nav-next {
    right: 4px;
  }
}

@media (max-width: 640px) {
  .screens-slide {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .screens-slider-track {
    gap: 16px;
  }
  .screens-img {
    max-width: 290px;
  }
  .screens-nav-btn {
    width: 44px;
    height: 44px;
  }
  .screens-nav-prev {
    left: 2px;
  }
  .screens-nav-next {
    right: 2px;
  }
}

/* ==========================================================================
   4-STEP PRODUCT LIFECYCLE (WHAT WE DO)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.step-card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, background-color, box-shadow;
  cursor: default;
}

.step-card:hover {
  transform: translate3d(0, -4px, 0);
  background-color: var(--primary) !important;
  box-shadow: 0 14px 28px -6px rgba(238, 26, 54, 0.34), 0 4px 12px -2px rgba(238, 26, 54, 0.18);
}

.step-card-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.35;
  transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
  transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card:hover .step-card-num,
.step-card:hover .step-card-title,
.step-card:hover .step-card-desc {
  color: #FFFFFF !important;
}

@media (prefers-reduced-motion: reduce) {
  .step-card {
    transition: none !important;
    transform: none !important;
  }
}

@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CAREERS SINGLE INVITATION CARD
   ========================================================================== */
.careers-single-card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  transition: background-color var(--transition-fast);
}

.careers-single-content {
  max-width: 680px;
}

.careers-single-card .section-label {
  justify-content: flex-start;
}

.careers-single-card .section-title {
  text-align: left;
  margin-bottom: 12px;
}

.careers-single-card .section-desc {
  text-align: left;
  margin: 0;
}

.careers-single-action {
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .careers-single-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
    gap: 24px;
  }
}

/* ==========================================================================
   SINGLE SECONDARY PROJECT COLLABORATION BOX
   ========================================================================== */
.section-collab {
  padding-top: 10px;
}

.collab-box {
  background-color: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.collab-header {
  max-width: 680px;
  margin: 0 auto 28px;
}

.collab-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 10px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.collab-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.collab-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  width: 100%;
  max-width: 760px;
}

.collab-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background-color: var(--bg-card);
  border-radius: var(--radius-pill);
  border: 1px solid #E2E2E8;
  color: var(--text-primary);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

[data-theme="light"] .collab-chip {
  border-color: #E2E2E8;
  background-color: #FFFFFF;
}

[data-theme="dark"] .collab-chip {
  border-color: rgba(255, 255, 255, 0.1);
  background-color: var(--bg-card);
}

.collab-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.collab-chip-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.collab-chip:hover,
[data-theme="light"] .collab-chip:hover,
[data-theme="dark"] .collab-chip:hover {
  background-color: #000000 !important;
  color: #FFFFFF !important;
  border-color: #000000 !important;
  box-shadow: none !important;
  outline: none !important;
  transform: translateY(-2px);
}

.collab-chip:hover span,
[data-theme="light"] .collab-chip:hover span,
[data-theme="dark"] .collab-chip:hover span {
  color: #FFFFFF !important;
}

.collab-chip:hover .collab-chip-icon,
[data-theme="light"] .collab-chip:hover .collab-chip-icon,
[data-theme="dark"] .collab-chip:hover .collab-chip-icon {
  color: #FFFFFF !important;
}

.collab-chip:hover .collab-chip-arrow,
[data-theme="light"] .collab-chip:hover .collab-chip-arrow,
[data-theme="dark"] .collab-chip:hover .collab-chip-arrow {
  color: #FFFFFF !important;
  transform: translate(2px, -2px);
}

.collab-cta {
  display: flex;
  justify-content: center;
}

@media (max-width: 640px) {
  .collab-box {
    padding: 32px 20px;
  }
  .collab-title {
    font-size: 20px;
  }
  .collab-options {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .collab-chip {
    justify-content: space-between;
    width: 100%;
  }
}

/* ==========================================================================
   CONTACT DIRECT EMAIL CALLOUT
   ========================================================================== */
.contact-direct-card {
  background-color: var(--bg-body);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-direct-card .contact-item-icon {
  background-color: var(--primary-tint);
}

/* ==========================================================================
   MAGIC UI - ANIMATED THEME TOGGLER (VIEW TRANSITIONS API)
   ========================================================================== */
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

::view-transition-old(root) {
  z-index: 1;
}

::view-transition-new(root) {
  z-index: 99999;
}

/* ==========================================================================
   OUR TEAM SECTION (@team)
   ========================================================================== */
.team-section {
  position: relative;
  overflow: hidden;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1140px;
  margin: 40px auto 0;
  width: 100%;
}

.team-card {
  position: relative;
  background-color: var(--bg-card);
  border: none;
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: box-shadow var(--transition-smooth), 
              background-color var(--transition-fast);
}

.team-card:hover {
  border: none;
  box-shadow: 0 20px 44px -12px rgba(0, 0, 0, 0.45);
}

[data-theme="light"] .team-card {
  background-color: #FFFFFF;
  border: none;
}

[data-theme="light"] .team-card:hover {
  border: none;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.08);
}

.team-card-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden; /* Clip content */
  background-color: var(--bg-surface);
  border: 1.5px solid rgba(255, 255, 255, 0.08); /* Corfit ekranlarıyla birebir aynı stroke */
  position: relative;
  transform: translateZ(0); /* Hardware accelerated clipping */
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

[data-theme="light"] .team-card-image-wrap {
  background-color: #F5F5F7;
  border: 1.5px solid rgba(0, 0, 0, 0.06); /* Corfit ekranlarıyla birebir aynı stroke */
}

.team-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  user-select: none;
  transform: scale(1);
  transform-origin: top center; /* Top merkezli */
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Hover: görsel 1.2x top merkezli yakınlaşsın (stroke rengi sabit kalır) */
.team-card:hover .team-card-img,
.team-card-image-wrap:hover .team-card-img {
  transform: scale(1.2);
}

.team-card-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
  width: 100%;
}

.team-card-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px;
  letter-spacing: -0.3px;
}

.team-card-role {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.team-card-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

/* Butonun üzerine gelince ve genel box'a mouse götürünce butonda LinkedIn mavi hover durumu */
.team-card-linkedin:hover,
.team-card:hover .team-card-linkedin {
  background-color: #0A66C2;
  border-color: #0A66C2;
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(10, 102, 194, 0.38);
}

.team-card-linkedin:hover {
  transform: translateY(-2px);
}

.team-card-linkedin:focus-visible {
  outline: 2px solid #0A66C2;
  outline-offset: 3px;
}

.team-linkedin-icon {
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 740px;
  }
}

@media (max-width: 680px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    gap: 20px;
    margin-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-card:hover,
  .team-card:hover .team-card-img,
  .team-card-image-wrap:hover .team-card-img {
    transform: none !important;
  }
}

/* ==========================================================================
   SERVICES SECTION (4 SIDE BY SIDE & CENTERED CTA)
   ========================================================================== */

.services-section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-margin-top: calc(var(--nav-height) + 24px);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  will-change: transform;
  transform: translateY(0) translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.12s cubic-bezier(0.25, 1, 0.5, 1),
              background-color 0.12s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.12s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow 0.12s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card:hover,
.service-card:focus-visible,
.services-grid > .service-card:hover,
.services-grid > .service-card.reveal.active:hover {
  transform: translateY(-5px) translateZ(0);
  background-color: #000000 !important;
  border: none !important;
  border-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

.service-card:active {
  transform: scale(0.97) translateZ(0);
}

[data-theme="dark"] .service-card:hover,
[data-theme="dark"] .services-grid > .service-card:hover,
[data-theme="dark"] .services-grid > .service-card.reveal.active:hover {
  background-color: #000000 !important;
  border: none !important;
  border-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

[data-theme="light"] .service-card:hover,
[data-theme="light"] .services-grid > .service-card:hover,
[data-theme="light"] .services-grid > .service-card.reveal.active:hover {
  background-color: #000000 !important;
  border: none !important;
  border-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

.service-card-img-wrap {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  position: relative;
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.service-card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  transform-origin: center center;
  transform: scale(1) translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.12s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card:hover .service-card-img {
  transform: scale(1.04) translateZ(0);
}

.service-card-body {
  padding: 20px 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: clamp(14px, 1.1vw, 17.5px);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  white-space: nowrap !important;
  letter-spacing: -0.01em;
  min-width: 0;
  transition: color 0.12s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card-title span {
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-card-icon {
  width: 19px;
  height: 19px;
  font-size: 19px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  stroke: currentColor;
  transition: color 0.12s cubic-bezier(0.25, 1, 0.5, 1),
              stroke 0.12s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 0;
  transition: color 0.12s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hover state: Box black, text & icon white */
.service-card:hover .service-card-title {
  color: #FFFFFF !important;
}

.service-card:hover .service-card-icon {
  color: #FFFFFF !important;
  stroke: #FFFFFF !important;
}

.service-card:hover .service-card-desc {
  color: rgba(255, 255, 255, 0.88) !important;
}

/* Soft reveal animation */
.services-grid > .service-card.reveal {
  transform: translateY(12px);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.7s cubic-bezier(0.23, 1, 0.32, 1) !important;
  will-change: auto;
}
.services-grid > .service-card.reveal:nth-child(1) { transition-delay: 0s !important; }
.services-grid > .service-card.reveal:nth-child(2) { transition-delay: 0.06s !important; }
.services-grid > .service-card.reveal:nth-child(3) { transition-delay: 0.12s !important; }
.services-grid > .service-card.reveal:nth-child(4) { transition-delay: 0.18s !important; }

.services-grid > .service-card.reveal.active {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.16s cubic-bezier(0.23, 1, 0.32, 1),
              background-color 0.16s cubic-bezier(0.23, 1, 0.32, 1),
              border-color 0.16s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.16s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

/* Centered Projenizi Konuşalım Button */
.services-action {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 44px;
}

.btn-services-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #000000 !important;
  color: #FFFFFF !important;
  padding: 13px 32px;
  font-size: 14.5px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.btn-services-cta:hover,
.btn-services-cta:focus-visible {
  background-color: var(--primary) !important;
  color: #FFFFFF !important;
  border-color: var(--primary) !important;
  box-shadow: 0 4px 16px rgba(238, 26, 54, 0.3);
}

.btn-services-cta:active {
  transform: scale(0.98);
}

/* Tablet (768 - 1024px): 2 columns */
@media (min-width: 768px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Mobile (max-width: 767px): 1 column */
@media (max-width: 767px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .services-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }
}

/* Scroll-margin-top for sticky nav */
#hizmet-ui-ux,
#hizmet-web,
#hizmet-mobil,
#hizmet-saas,
#services,
#products,
#what-we-do,
#team,
#technologies,
#careers,
#collaboration {
  scroll-margin-top: calc(var(--nav-height) + 24px);
}



