@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ======================= THEME ======================= */
:root {
  --bg: #08090d;
  --surface: rgba(14, 16, 23, 0.65);
  --surface-2: rgba(22, 24, 33, 0.85);
  --text: #eef0f6;
  --muted: #8b92a5;
  --border: rgba(255, 255, 255, 0.07);
  --primary: #6366f1;
  --primary-2: rgba(99, 102, 241, 0.35);
  --primary-glow: rgba(99, 102, 241, 0.45);
  --accent-1: #a78bfa;
  /* Violet */
  --accent-2: #22d3ee;
  /* Cyan */
  --accent-3: #f43f5e;
  /* Rose */
  --radius: 20px;
  --shadow: 0 12px 48px -12px rgba(0, 0, 0, 0.85);
  --font-main: 'Outfit', system-ui, -apple-system, sans-serif;
  --logo-filter: brightness(0) invert(1);
}

body[data-theme="light"] {
  --bg: #f7f8fb;
  --surface: rgba(255, 255, 255, 0.75);
  --surface-2: rgba(238, 240, 245, 0.92);
  --text: #0c0e1a;
  --muted: #4b5270;
  --border: rgba(0, 0, 0, 0.07);
  --primary: #4f46e5;
  --primary-2: rgba(79, 70, 229, 0.25);
  --primary-glow: rgba(79, 70, 229, 0.30);
  --shadow: 0 12px 48px -12px rgba(0, 0, 0, 0.10);
  --logo-filter: brightness(0);
}

/* ======================= BASE ======================= */
* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  overflow-x: hidden;
  /* Prevent horizontal scroll from glowing orbs */
}

a {
  color: inherit;
  text-decoration: none
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px
}

.py {
  padding: 40px 16px
}

.mt {
  margin-top: 16px
}

.muted {
  color: var(--muted)
}

/* ======================= NAV + BRAND ======================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 9, 13, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

body[data-theme="light"] .nav {
  background: rgba(247, 248, 251, .72)
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px
}

.brand-link {
  display: block;
  line-height: 0
}

.logo {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain
}

.logo-light {
  display: none
}

body[data-theme="light"] .logo-dark {
  display: none
}

body[data-theme="light"] .logo-light {
  display: block
}

.brand-text {
  display: flex;
  flex-direction: column
}

.brand-title {
  font-weight: 800;
  line-height: 1;
  letter-spacing: .1px
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
  line-height: 1;
  margin-top: 2px
}

.tm {
  font-size: .6em;
  vertical-align: super;
  margin-left: 2px;
  opacity: .7
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px
}

@media (max-width:480px) {
  .logo {
    height: 28px
  }

  .brand {
    gap: 10px
  }
}

/* ======================= BUTTONS ======================= */
.btn {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: filter .18s ease, transform .06s ease;
}

.btn:hover {
  filter: brightness(1.1)
}

.btn:active {
  transform: translateY(1px)
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: .6;
  cursor: not-allowed
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-color: var(--primary-2);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.btn-ghost {
  background: transparent
}

.btn-outline {
  background: transparent;
  border-color: var(--primary-2);
  color: var(--primary)
}

.small {
  padding: 6px 10px
}

.wfull {
  width: 100%
}

/* OTP Validation Styling */
.otp-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
}

.otp-container[hidden] {
  display: none !important;
}

.otp-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px var(--primary-glow) !important;
}

.form .btn+.btn {
  margin-top: 10px
}

/* Google */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  background: #ffffff;
  color: #1f2937;
  border-color: #d1d5db;
}

body[data-theme="light"] .btn-google {
  background: #ffffff;
  color: #1f2937;
  border-color: #d1d5db
}

.btn-google:hover {
  filter: none;
  box-shadow: 0 0 0 3px rgba(66, 133, 244, .15)
}

.g-icon {
  width: 18px;
  height: 18px;
  display: block
}

/* Apple */
.btn-apple {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #0b0b0b;
  color: #fff;
  border-color: #1f2937;
}

.btn-apple:hover {
  filter: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .2)
}

.apple-ico {
  width: 16px;
  height: 16px;
  display: block
}

/* ======================= BACKGROUND ORBS ======================= */
.orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.3;
  animation: float 20s infinite ease-in-out alternate;
}

.o1 {
  width: 520px;
  height: 520px;
  left: -120px;
  top: 8%;
  background: radial-gradient(circle, #6366f1, #4f46e5);
  animation-delay: 0s;
}

.o2 {
  width: 420px;
  height: 420px;
  right: -60px;
  top: 18%;
  background: radial-gradient(circle, #22d3ee, #06b6d4);
  animation-delay: -5s;
}

.o3 {
  width: 620px;
  height: 620px;
  left: 50%;
  bottom: -220px;
  transform: translateX(-50%);
  background: radial-gradient(circle, #a78bfa, #7c3aed);
  animation-delay: -10s;
}

body[data-theme="light"] .orb {
  opacity: .15;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -50px) scale(1.05);
  }

  100% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

/* ======================= MODERN UTILS ======================= */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #c4b5fd 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body[data-theme="light"] .text-gradient {
  background: linear-gradient(135deg, #0c0e1a 0%, #4f46e5 50%, #6366f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glow-primary {
  box-shadow: 0 0 30px var(--primary-glow);
}

/* ======================= HERO ======================= */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 64px 16px;
  position: relative;
  z-index: 1;
  align-items: start;
}

@media (max-width:720px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 32px 16px
  }
}

.h1 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  margin: 0 0 10px
}

.h2 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  margin: 0 0 8px
}

.lead {
  color: var(--muted);
  max-width: 680px
}

.sublead {
  color: var(--muted);
  max-width: 720px;
  margin: 8px 0 0
}

.feature-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--text)
}

.feature-list li {
  margin-bottom: 8px
}

/* ===== Store & QR ===== */
.store-col {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: 18px;
  width: max-content;
  max-width: 100%;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
  width: 100%;
  min-height: 44px;
}

.store-badge:hover {
  filter: brightness(1.06)
}

.store-ico {
  width: 22px;
  height: 22px
}

.store-sub {
  font-size: 10px;
  color: var(--muted);
  line-height: 1
}

.store-name {
  font-weight: 700;
  line-height: 1.1
}

.qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.qr-img {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  border: 1px solid var(--border);
  object-fit: cover;
  display: block;
}

.qr-inner {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: conic-gradient(from 45deg, #0000 0 25%, rgba(255, 255, 255, .15) 0 50%, #0000 0 100%) 0 0/12px 12px,
    linear-gradient(var(--surface), var(--surface));
}

.qr-caption {
  font-size: 12px;
  color: var(--muted)
}

@media (max-width:480px) {
  .store-col {
    width: min(100%, 240px);
  }
}

/* ======================= GLASS AUTH CARD ======================= */
.glass-card {
  background: linear-gradient(145deg, rgba(22, 24, 33, 0.85) 0%, rgba(14, 16, 23, 0.90) 100%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 16px 64px -16px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #6366f1, #a78bfa, transparent);
  opacity: 0.6;
}

body[data-theme="light"] .glass-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Tabs */
.tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
  max-width: 300px;
  margin: 0 auto 16px;
}

.tab {
  text-align: center;
  padding: 10px 0;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s ease;
}

.tab:hover {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.2);
}

.tab.active {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.35);
  color: #c4b5fd;
}

/* Inputs */
.form .label {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin: 8px 0 6px
}

.input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}

.input:focus {
  outline: 2px solid rgba(99, 102, 241, .35);
  outline-offset: 2px;
  border-color: rgba(99, 102, 241, 0.4);
}

.error {
  color: #fca5a5;
  font-size: 12px;
  min-height: 16px;
  margin: 6px 0
}

/* ======================= CARDS & FOOTER ======================= */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow)
}

.card-title {
  font-weight: 700
}

.card-text {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px
}

.footer {
  border-top: 1px solid var(--border);
  margin-top: 40px
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  padding: 24px 16px
}

@media (max-width:800px) {
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 8px
  }
}

.foot-head {
  font-weight: 700;
  margin-bottom: 6px
}

.foot-link {
  color: var(--text);
  text-decoration: none
}

.foot-link:hover {
  text-decoration: underline
}

.foot-copy {
  border-top: 1px solid var(--border);
  padding: 12px 16px
}

/* ======================= REVEAL ======================= */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
  padding: 56px 16px
}

.reveal.in {
  opacity: 1;
  transform: none
}

.reveal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: center
}

.reveal-box .h2 {
  margin-top: 0
}

.reveal-box .muted {
  margin: 8px 0 16px
}

/* ======================= LOADER ======================= */
.loader,
.loader:after {
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.loader {
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 4px solid rgba(37, 99, 235, .2);
  border-right: 4px solid rgba(37, 99, 235, .2);
  border-bottom: 4px solid rgba(37, 99, 235, .2);
  border-left: 4px solid var(--primary);
  transform: translateZ(0);
  animation: load8 1.1s infinite linear;
  margin: 0 auto;
}

@keyframes load8 {
  0% {
    transform: rotate(0)
  }

  100% {
    transform: rotate(360deg)
  }
}

/* ======================= TOAST ======================= */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 12px 16px;
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, bottom .3s ease;
  z-index: 20;
}

.toast.show {
  opacity: 1;
  pointer-events: auto;
  bottom: 40px
}

.toast.success {
  border-color: #22c55e;
  background: rgba(34, 197, 94, .1);
  color: #22c55e
}

.toast.error {
  border-color: #ef4444;
  background: rgba(239, 68, 68, .1);
  color: #ef4444
}

.toast.info {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, .1);
  color: #3b82f6
}

.toast.warning {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, .1);
  color: #f59e0b
}

.toast .toast-ico {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 6px;
  display: inline-block
}

/* ======================= MODAL ======================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
}

.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 400px;
  width: 90%;
  padding: 24px;
  animation: modalshow .3s ease;
}

@keyframes modalshow {
  from {
    opacity: 0;
    transform: translateY(-16px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.modal .h2 {
  margin-top: 0
}

.modal .muted {
  margin: 8px 0 16px
}

.modal .btn+.btn {
  margin-top: 10px
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 18px;
  color: var(--muted);
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text)
}

/* ======================= TOOLTIP ======================= */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltip-text {
  visibility: hidden;
  width: max-content;
  max-width: 200px;
  background: var(--surface);
  color: var(--text);
  text-align: center;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: absolute;
  z-index: 10;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity .3s;
}

.tooltip .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: var(--surface) transparent transparent transparent;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .1));
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1
}

/* ======================= SWITCH ======================= */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--border);
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked+.slider {
  background: var(--primary)
}

input:checked+.slider:before {
  transform: translateX(20px)
}

/* ======================= ACCORDION ======================= */
.accordion-item {
  border-bottom: 1px solid var(--border)
}

.accordion-header {
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  padding: 12px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.accordion-header .arrow {
  border: solid var(--muted);
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 4px;
  transform: rotate(45deg);
  transition: transform .3s ease;
}

.accordion-header.active .arrow {
  transform: rotate(225deg)
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}

.accordion-content.open {
  max-height: 500px;
  padding: 12px 0
}

/* ======================= TOOLBAR ======================= */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 12px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}

.toolbar .search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 14px;
}

.toolbar .search-input::placeholder {
  color: var(--muted)
}

.toolbar .actions {
  display: flex;
  align-items: center;
  gap: 8px
}

/* ======================= TABLE ======================= */
.table {
  width: 100%;
  border-collapse: collapse
}

.table th,
.table td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--border);
  text-align: left
}

.table th {
  background: var(--surface-2);
  font-weight: 600
}

.table tr:hover {
  background: rgba(37, 99, 235, .05)
}


/* ======================= FOOTER ======================= */
/* ===== FOOTER GRID — 4 kolon, responsive ===== */
.footer .foot-grid {
  display: grid;
  gap: 24px 32px;
  align-items: start;
  grid-template-columns: 1fr;
  /* mobile */
}

@media (min-width:640px) {
  .footer .foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width:960px) {

  /* brand + sosyal + iletişim + bağlantılar */
  .footer .foot-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Liste ve linkler */
.foot-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}

.foot-list li {
  margin: 6px 0;
}

.foot-head {
  font-weight: 700;
  margin-bottom: 6px;
}

.footer .foot-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  opacity: .9;
  transition: opacity .15s ease, transform .15s ease;
}

.footer .foot-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.footer .ico {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

/* Ayırıcı & telif */
.foot-sep {
  border: 0;
  height: 1px;
  background: var(--border, rgba(255, 255, 255, .14));
  margin: 18px 0 12px;
  opacity: .6;
}

.foot-copy {
  margin-top: 4px;
}

/* Koyu/açık tema nüansları (opsiyonel) */
html[data-theme="light"] .footer .foot-link {
  opacity: .95;
}

html[data-theme="light"] .foot-sep {
  background: rgba(0, 0, 0, .08);
}

/* ===== FOOTER hizalama: desktop'ta uçtan uca, soldan hizalı ===== */

/* Mobil & tablet: grid (1-2 kolon) */
.footer .foot-grid {
  display: grid;
  gap: 24px 32px;
  align-items: start;
  grid-template-columns: 1fr;
  /* mobile */
}

@media (min-width:640px) {
  .footer .foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width:960px) {
  .footer .foot-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
  }

  .footer .foot-col {
    flex: 0 0 auto;
  }

  .footer .links-col {
    text-align: left;
    justify-self: unset;
  }
}

/* Genel küçük kozmetik */
.foot-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}

.foot-list li {
  margin: 6px 0;
}

.footer .foot-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  opacity: .9;
  transition: opacity .15s, transform .15s;
}

.footer .foot-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.footer .ico {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

/* ======================= QUALITY / A11Y PATCH ======================= */
/* Bu blok: tema uyumu (html/body), odak halkası, scrollbars, reduce-motion,
   modal close fix, safe-area ve küçük utility'ler. */

/* Tarayıcıya tema ipucu */
:root {
  color-scheme: dark;
}

html[data-theme="light"],
body[data-theme="light"] {
  color-scheme: light;
}

/* Daha iyi okunabilirlik */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Seçim rengi */
::selection {
  background: rgba(99, 102, 241, .30);
}

/* Medyalar taşmasın */
img,
svg,
video {
  max-width: 100%;
  height: auto;
}

/* Klavye ile gezinti: net focus */
:where(button, [href], input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid rgba(99, 102, 241, .50);
  outline-offset: 2px;
  border-radius: 12px;
}

/* Button içindeki svg hizası */
.btn svg {
  flex: 0 0 auto;
}

/* Input placeholder rengi */
.input::placeholder {
  color: var(--muted);
  opacity: .85;
}

/* Autofill (Chrome) */
.input:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  box-shadow: 0 0 0px 1000px var(--surface) inset;
  transition: background-color 9999s ease-in-out 0s;
}

/* Modal close absolute konumu için modal relative olmalı */
.modal {
  position: relative;
}

/* Toast: iOS safe-area */
.toast {
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Scrollbar (WebKit) */
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-thumb {
  background: rgba(156, 163, 175, .35);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: content-box;
}

*::-webkit-scrollbar-thumb:hover {
  background: rgba(156, 163, 175, .5);
  background-clip: content-box;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

/* Utility */
.hidden {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Footer: light tema nüansları (body/html uyumlu) */
html[data-theme="light"] .footer .foot-link,
body[data-theme="light"] .footer .foot-link {
  opacity: .95;
}

html[data-theme="light"] .foot-sep,
body[data-theme="light"] .foot-sep {
  background: rgba(0, 0, 0, .08);
}

/* ======================= SHOWCASE (UltraGraphics / Veo / G-Codes) ======================= */
.showcase {
  position: relative;
  z-index: 1;
}

.showcase-head {
  margin-bottom: 14px;
}

.showcase-head .h2 {
  margin: 0 0 6px;
}

.showcase-head .muted {
  margin: 0;
}

/* Grid: mobil 1, tablet 2, desktop 3 yan yana */
.showcase-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width:720px) {
  .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width:980px) {
  .showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Card */
.show-card {
  background: linear-gradient(180deg, rgba(22, 24, 33, 0.8), rgba(14, 16, 23, 0.6));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  min-height: 210px;
  position: relative;
  overflow: hidden;
}

.show-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(99, 102, 241, 0.06), transparent 40%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.show-card:hover::after {
  opacity: 1;
}

body[data-theme="light"] .show-card {
  background: rgba(255, 255, 255, .80);
}

.show-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px -12px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, .30);
}

/* Header */
.show-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.show-kicker {
  font-size: 12px;
  color: var(--muted);
  line-height: 1;
  margin-bottom: 3px;
}

.show-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .1px;
}

/* Icon blob */
.show-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
  position: relative;
  overflow: hidden;
}

.show-icon::before {
  content: "";
  position: absolute;
  inset: -20px;
  filter: blur(18px);
  opacity: .9;
}

/* Türlere göre renk */
.show-icon.ug::before {
  background: radial-gradient(circle at 30% 30%, #818cf8, #6366f1 55%, #4f46e5);
}

.show-icon.veo::before {
  background: radial-gradient(circle at 30% 30%, #67e8f9, #22d3ee 55%, #06b6d4);
}

.show-icon.gc::before {
  background: radial-gradient(circle at 30% 30%, #c4b5fd, #a78bfa 55%, #7c3aed);
}

/* Açıklama */
.show-desc {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.45;
}

/* Tag'ler */
.show-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.12);
  background: rgba(99, 102, 241, .08);
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.2px;
}

body[data-theme="light"] .tag {
  background: rgba(79, 70, 229, .06);
  border-color: rgba(79, 70, 229, 0.10);
}