/* ============================================
   GLOBAL STYLES - Tel Çit Mağazası
   ============================================ */

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

/* ---- CSS Variables ---- */
:root {
  /* Blues */
  --blue-dark:    #0D2B5E;
  --blue-mid:     #1A4FA0;
  --blue-light:   #3B7DD8;
  --blue-pale:    #E8F0FE;
  --blue-accent:  #2563EB;

  /* Greens */
  --green-dark:   #1A6B3C;
  --green-mid:    #28A05A;
  --green-light:  #34C468;
  --green-pale:   #E8F5EE;
  --green-accent: #059669;

  /* Neutrals */
  --white:        #FFFFFF;
  --gray-50:      #F8FAFC;
  --gray-100:     #F1F5F9;
  --gray-200:     #E2E8F0;
  --gray-300:     #CBD5E1;
  --gray-400:     #94A3B8;
  --gray-500:     #64748B;
  --gray-600:     #475569;
  --gray-700:     #334155;
  --gray-800:     #1E293B;
  --gray-900:     #0F172A;

  /* Semantic */
  --primary:      var(--blue-dark);
  --secondary:    var(--green-dark);
  --accent:       var(--blue-accent);
  --success:      var(--green-mid);
  --warning:      #F59E0B;
  --danger:       #EF4444;
  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-muted:   var(--gray-400);
  --bg-page:      var(--gray-50);
  --bg-card:      var(--white);
  --border:       var(--gray-200);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0D2B5E 0%, #1A4FA0 50%, #1A6B3C 100%);
  --gradient-blue: linear-gradient(135deg, #0D2B5E 0%, #1A4FA0 100%);
  --gradient-green: linear-gradient(135deg, #1A6B3C 0%, #28A05A 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8faff 100%);

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(13,43,94,0.08), 0 1px 2px rgba(13,43,94,0.04);
  --shadow-md:    0 4px 16px rgba(13,43,94,0.12), 0 2px 8px rgba(13,43,94,0.06);
  --shadow-lg:    0 10px 40px rgba(13,43,94,0.16), 0 4px 16px rgba(13,43,94,0.08);
  --shadow-xl:    0 20px 60px rgba(13,43,94,0.22), 0 8px 24px rgba(13,43,94,0.12);
  --shadow-glow:  0 0 30px rgba(37,99,235,0.25);
  --shadow-green: 0 4px 20px rgba(26,107,60,0.25);

  /* Border Radius */
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --radius-full:  9999px;

  /* Transitions */
  --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Spacing */
  --space-xs:   4px;
  --space-sm:   8px;
  --space-md:   16px;
  --space-lg:   24px;
  --space-xl:   40px;
  --space-2xl:  64px;
  --space-3xl:  96px;

  /* Container */
  --container-max: 1280px;
  --container-pad: 24px;

  /* Navbar */
  --navbar-h: 72px;
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ---- Container ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.container--narrow { max-width: 800px; }
.container--wide   { max-width: 1440px; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.text-xs    { font-size: 0.75rem; }
.text-sm    { font-size: 0.875rem; }
.text-base  { font-size: 1rem; }
.text-lg    { font-size: 1.125rem; }
.text-xl    { font-size: 1.25rem; }
.text-2xl   { font-size: 1.5rem; }
.text-3xl   { font-size: 1.875rem; }
.text-4xl   { font-size: 2.25rem; }
.text-5xl   { font-size: 3rem; }
.text-6xl   { font-size: 3.75rem; }

.font-light    { font-weight: 300; }
.font-regular  { font-weight: 400; }
.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }
.font-extrabold{ font-weight: 800; }
.font-black    { font-weight: 900; }

.text-primary   { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted     { color: var(--text-muted); }
.text-blue      { color: var(--blue-mid); }
.text-green     { color: var(--green-dark); }
.text-white     { color: var(--white); }
.text-center    { text-align: center; }
.text-left      { text-align: left; }
.text-right     { text-align: right; }

/* ---- Layout Utilities ---- */
.flex          { display: flex; }
.flex-col      { flex-direction: column; }
.flex-wrap     { flex-wrap: wrap; }
.items-center  { align-items: center; }
.items-start   { align-items: flex-start; }
.justify-center{ justify-content: center; }
.justify-between{ justify-content: space-between; }
.justify-end   { justify-content: flex-end; }
.gap-sm        { gap: var(--space-sm); }
.gap-md        { gap: var(--space-md); }
.gap-lg        { gap: var(--space-lg); }
.gap-xl        { gap: var(--space-xl); }

.grid          { display: grid; }
.grid-2        { grid-template-columns: repeat(2, 1fr); }
.grid-3        { grid-template-columns: repeat(3, 1fr); }
.grid-4        { grid-template-columns: repeat(4, 1fr); }

/* ---- Section Layout ---- */
.section {
  padding: var(--space-3xl) 0;
}

.section--sm {
  padding: var(--space-2xl) 0;
}

.section--dark {
  background: var(--gradient-blue);
  color: var(--white);
}

.section--gray {
  background: var(--gray-100);
}

.section--green {
  background: var(--green-pale);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-mid);
  background: var(--blue-pale);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-header.on-dark .label {
  color: var(--green-light);
  background: rgba(255,255,255,0.1);
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-header.on-dark h2 { color: var(--white); }

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-header.on-dark p { color: rgba(255,255,255,0.75); }

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-h);
  z-index: 1000;
  background: rgba(13,43,94,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: box-shadow var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: var(--shadow-xl);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.navbar__logo-img {
  height: 42px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.navbar__logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient-green);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-green);
}

.navbar__logo-text {
  display: flex;
  flex-direction: column;
}

.navbar__logo-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}

.navbar__logo-sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar__nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.navbar__nav a:hover,
.navbar__nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.navbar__cart-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255,255,255,0.15);
}

.navbar__cart-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

.navbar__cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 18px;
  height: 18px;
  background: var(--green-mid);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--blue-dark);
  display: none;
}

.navbar__cart-badge.visible { display: flex; }

.navbar__mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.1);
  color: white;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: 1px solid rgba(255,255,255,0.15);
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--navbar-h);
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(37,99,235,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(26,107,60,0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(255,255,255,0.03) 0%, transparent 50%);
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: var(--space-3xl) 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-light);
  background: rgba(52,196,104,0.15);
  border: 1px solid rgba(52,196,104,0.3);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero__title span {
  background: linear-gradient(135deg, #34C468, #28A05A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero__stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}

.hero__visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.hero__visual-main {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 32px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.hero__visual-main::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(52,196,104,0.2), transparent 70%);
  pointer-events: none;
}

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

.hero__fence-item {
  aspect-ratio: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 1.5rem;
  transition: all var(--transition-normal);
  cursor: pointer;
  padding: 12px 8px;
}

.hero__fence-item:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
  border-color: rgba(52,196,104,0.5);
}

.hero__fence-item span {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.6);
  text-align: center;
  font-weight: 500;
}

.hero__floating-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__floating-card-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-green);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hero__floating-card-text strong {
  display: block;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
}

.hero__floating-card-text span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition-fast);
}

.btn:hover::after { background: rgba(255,255,255,0.08); }
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--gradient-blue);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(13,43,94,0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,43,94,0.45);
}

.btn--green {
  background: var(--gradient-green);
  color: var(--white);
  box-shadow: var(--shadow-green);
}

.btn--green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,107,60,0.4);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.btn--outline-blue {
  background: transparent;
  color: var(--blue-mid);
  border: 2px solid var(--blue-mid);
}

.btn--outline-blue:hover {
  background: var(--blue-pale);
}

.btn--outline-green {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-dark);
}

.btn--outline-green:hover {
  background: var(--green-pale);
}

.btn--ghost {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
}

.btn--ghost:hover { background: rgba(255,255,255,0.15); }

.btn--lg {
  padding: 15px 32px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

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

.btn--icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-md);
}

.btn--full { width: 100%; }

/* ---- Cards ---- */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--gray-300);
  position: relative;
  overflow: hidden;
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(145deg, var(--blue-pale), var(--green-pale));
}

.card__img-placeholder .icon { font-size: 3rem; }
.card__img-placeholder .label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }

.card__body {
  padding: 20px;
}

.card__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.badge--blue {
  background: var(--blue-pale);
  color: var(--blue-mid);
}

.badge--green {
  background: var(--green-pale);
  color: var(--green-dark);
}

.badge--gray {
  background: var(--gray-100);
  color: var(--gray-600);
}

.badge--orange {
  background: #FFF7ED;
  color: #C2410C;
}

.card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.3;
}

.card__desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue-dark);
}

.card__price-unit {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
  font-family: 'Inter', sans-serif;
}

.card__footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---- Stats ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  background: var(--white);
  padding: 40px 32px;
  text-align: center;
  transition: background var(--transition-fast);
}

.stat-item:hover { background: var(--blue-pale); }

.stat-item__number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item__label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ---- Forms ---- */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-label .required { color: var(--danger); margin-left: 2px; }

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--white);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(26,79,160,0.1);
}

.form-control.error { border-color: var(--danger); }
.form-control.success { border-color: var(--success); }

.form-control::placeholder { color: var(--gray-400); }

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

select.form-control { cursor: pointer; }

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

.form-error {
  font-size: 0.75rem;
  color: var(--danger);
  margin-top: 4px;
  display: none;
}

.form-error.visible { display: block; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ---- Input with icon ---- */
.input-icon-wrap {
  position: relative;
}

.input-icon-wrap .form-control {
  padding-left: 44px;
}

.input-icon-wrap .icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 1rem;
  pointer-events: none;
}

.input-icon-wrap .eye-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  cursor: pointer;
  pointer-events: all;
  transition: color var(--transition-fast);
}

.input-icon-wrap .eye-toggle:hover { color: var(--blue-mid); }

/* ---- Checkbox & Radio ---- */
.checkbox-wrap, .radio-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.checkbox-wrap input[type="checkbox"],
.radio-wrap input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--blue-mid);
  cursor: pointer;
}

.checkbox-wrap label, .radio-wrap label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
}

/* ---- Alert ---- */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  display: none;
}

.alert.visible { display: flex; }
.alert--success { background: var(--green-pale); color: var(--green-dark); border: 1px solid rgba(26,107,60,0.2); }
.alert--error   { background: #FEF2F2; color: var(--danger); border: 1px solid rgba(239,68,68,0.2); }
.alert--info    { background: var(--blue-pale); color: var(--blue-mid); border: 1px solid rgba(26,79,160,0.2); }
.alert--warning { background: #FFFBEB; color: #92400E; border: 1px solid rgba(245,158,11,0.2); }

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb a { color: var(--blue-mid); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--gray-300); }

/* ---- Page Hero ---- */
.page-hero {
  background: var(--gradient-blue);
  padding: calc(var(--navbar-h) + 56px) 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.page-hero__content { position: relative; z-index: 1; }

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.125rem;
}

/* ---- Pagination ---- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-xl);
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--text-secondary);
}

.page-btn:hover, .page-btn.active {
  background: var(--blue-mid);
  border-color: var(--blue-mid);
  color: var(--white);
}

/* ---- Modal ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal { transform: scale(1) translateY(0); }

.modal__header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal__close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--gray-100);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
}

.modal__close:hover { background: var(--gray-200); color: var(--text-primary); }

.modal__body { padding: 28px 32px; }
.modal__footer { padding: 20px 32px 28px; display: flex; gap: 12px; justify-content: flex-end; }

/* ---- Toast ---- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--gray-900);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 260px;
  pointer-events: all;
  animation: toastIn 0.35s ease forwards;
  border-left: 4px solid var(--green-mid);
}

.toast--error  { border-left-color: var(--danger); }
.toast--info   { border-left-color: var(--blue-light); }
.toast--warning{ border-left-color: var(--warning); }

.toast.removing { animation: toastOut 0.3s ease forwards; }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(100%) scale(0.95); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateX(0) scale(1); }
  to   { opacity: 0; transform: translateX(100%) scale(0.95); }
}

/* ---- Skeleton Loader ---- */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: skeleton 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* ---- Footer ---- */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 72px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer__brand-img {
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.footer__brand-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-green);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.footer__brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
}

.footer__brand-sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer__desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer__social-btn:hover {
  background: var(--blue-mid);
  border-color: var(--blue-mid);
  color: white;
}

.footer__col-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}

.footer__links a:hover { color: var(--green-light); }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.footer__contact-item .icon {
  color: var(--green-mid);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer__contact-item span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.footer__bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer__bottom-links {
  display: flex;
  gap: 20px;
}

.footer__bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition-fast);
}

.footer__bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ---- Back to top ---- */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--gradient-blue);
  color: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  border: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ---- Divider ---- */
.divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

/* ---- Tag ---- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
}

.tag--blue {
  background: var(--blue-pale);
  color: var(--blue-mid);
  border-color: var(--blue-pale);
}

.tag--blue:hover, .tag--blue.active {
  background: var(--blue-mid);
  color: white;
  border-color: var(--blue-mid);
}

.tag--green {
  background: var(--green-pale);
  color: var(--green-dark);
  border-color: var(--green-pale);
}

.tag--green:hover, .tag--green.active {
  background: var(--green-dark);
  color: white;
  border-color: var(--green-dark);
}

.tag--gray {
  background: var(--gray-100);
  color: var(--gray-600);
  border-color: var(--gray-100);
}

.tag--gray:hover, .tag--gray.active {
  background: var(--gray-700);
  color: white;
  border-color: var(--gray-700);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --space-3xl: 64px;
    --space-2xl: 48px;
  }
  .navbar__nav { display: none; }
  .navbar__mobile-toggle { display: flex; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__stats { gap: 24px; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  :root { --container-pad: 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; }
  .btn--lg { width: 100%; }
  .navbar__inner { gap: 12px; }
  .navbar__actions { gap: 8px; }
  .navbar__logo-text { display: none; }
  #navbar-user-menu > span { display: none; }
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

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

.animate-fadeInUp { animation: fadeInUp 0.6s ease forwards; }
.animate-fadeIn   { animation: fadeIn 0.4s ease forwards; }
.animate-float    { animation: float 3s ease-in-out infinite; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-mid); }

/* ---- Selection ---- */
::selection { background: var(--blue-pale); color: var(--blue-dark); }

/* ---- WhatsApp yüzen buton ---- */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 998;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.55);
  color: white;
}

@media (max-width: 480px) {
  .whatsapp-fab { width: 48px; height: 48px; bottom: 16px; left: 16px; }
}
