/* =========================================================================
   Umay e-Belge - Modern SaaS Tema
   ========================================================================= */

:root {
  --brand-50:  #eef2ff;
  --brand-100: #e0e7ff;
  --brand-200: #c7d2fe;
  --brand-300: #a5b4fc;
  --brand-400: #818cf8;
  --brand-500: #6366f1;
  --brand-600: #4f46e5;
  --brand-700: #4338ca;
  --brand-800: #3730a3;
  --brand-900: #312e81;

  --accent-500: #8b5cf6;
  --accent-600: #7c3aed;

  --bg:        #ffffff;
  --bg-soft:   #f8fafc;
  --bg-muted:  #f1f5f9;
  --text:      #0f172a;
  --text-soft: #475569;
  --text-mute: #64748b;
  --border:    #e2e8f0;
  --card-bg:   #ffffff;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 16px -2px rgb(15 23 42 / 0.08);
  --shadow-lg: 0 20px 50px -12px rgb(15 23 42 / 0.18);
  --shadow-glow: 0 10px 40px -10px rgb(99 102 241 / 0.4);

  --radius-sm: 0.5rem;
  --radius:    0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
}

html.dark {
  --bg:        #0b1020;
  --bg-soft:   #0f172a;
  --bg-muted:  #111a33;
  --text:      #e2e8f0;
  --text-soft: #cbd5e1;
  --text-mute: #94a3b8;
  --border:    #1e293b;
  --card-bg:   #111a33;

  --shadow-md: 0 4px 16px -2px rgb(0 0 0 / 0.4);
  --shadow-lg: 0 20px 50px -12px rgb(0 0 0 / 0.6);
  --shadow-glow: 0 10px 40px -10px rgb(139 92 246 / 0.4);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

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

::selection { background: var(--brand-500); color: #fff; }

/* Container */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .container { padding: 0 1.5rem; } }

/* =========================================================================
   Tipografi
   ========================================================================= */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--text); margin: 0 0 1rem; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1rem; color: var(--text-soft); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-600);
  background: var(--brand-50);
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
html.dark .eyebrow { background: rgba(99,102,241,0.15); color: var(--brand-300); }

.gradient-text {
  background: linear-gradient(120deg, var(--brand-600), var(--accent-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 0;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(120deg, var(--brand-600), var(--accent-600));
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 50px -10px rgb(99 102 241 / 0.55); }
.btn-secondary {
  background: var(--card-bg);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--bg-muted); border-color: var(--brand-300); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--bg-muted); }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn i { width: 18px; height: 18px; }

/* =========================================================================
   Header / Navigation
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
}
.nav-brand .logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--brand-600), var(--accent-500));
  border-radius: 10px;
  display: grid; place-items: center;
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow-glow);
}
.nav-links { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-links a {
  padding: 0.5rem 0.875rem;
  border-radius: 0.625rem;
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-muted); }
.nav-links a.active { color: var(--brand-600); }
html.dark .nav-links a.active { color: var(--brand-300); }

.dropdown { position: relative; }
.dropdown > a { display: inline-flex; align-items: center; gap: 0.25rem; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem;
  min-width: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
}
.dropdown-menu a:hover { background: var(--bg-muted); }
.dropdown-menu a i {
  width: 18px; height: 18px;
  color: var(--brand-600);
}

.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.icon-btn {
  width: 40px; height: 40px;
  display: inline-grid; place-items: center;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  cursor: pointer;
  color: var(--text);
  transition: all 0.2s;
}
.icon-btn:hover { background: var(--bg-soft); transform: translateY(-1px); }
.icon-btn i { width: 18px; height: 18px; }

.hamburger { display: inline-grid; }
@media (min-width: 1024px) { .hamburger { display: none; } }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 60;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 1.5rem;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.5rem;
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu nav a {
  padding: 0.875rem 1rem;
  border-radius: 0.625rem;
  font-weight: 500;
  color: var(--text);
}
.mobile-menu nav a:hover { background: var(--bg-muted); }
.mobile-menu details { border-radius: 0.625rem; }
.mobile-menu summary {
  padding: 0.875rem 1rem;
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between;
  font-weight: 500;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu .submenu { padding-left: 0.875rem; display: flex; flex-direction: column; }
.mobile-menu .submenu a { padding: 0.625rem 0.875rem; font-size: 0.9rem; color: var(--text-soft); }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 6vw, 4rem);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(99,102,241,0.18), transparent 70%),
    radial-gradient(50% 60% at 85% 30%, rgba(139,92,246,0.18), transparent 70%),
    radial-gradient(50% 60% at 50% 100%, rgba(99,102,241,0.10), transparent 70%);
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  opacity: 0.4;
  z-index: -1;
}
.hero-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.hero h1 { margin-bottom: 1.25rem; }
.hero p.lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--text-soft); margin-bottom: 2rem; }
.hero .cta-row { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

.trust-bar {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) { .trust-bar { grid-template-columns: repeat(4, 1fr); } }
.trust-item {
  display: flex; align-items: center; gap: 0.625rem;
  padding: 0.875rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-soft);
}
.trust-item i { width: 18px; height: 18px; color: var(--brand-600); }

/* =========================================================================
   Sections
   ========================================================================= */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head p { color: var(--text-soft); font-size: 1.05rem; }

.bg-soft { background: var(--bg-soft); }
.bg-gradient {
  background: linear-gradient(135deg, var(--brand-600), var(--accent-600));
  color: #fff;
}
.bg-gradient h2, .bg-gradient p { color: #fff; }
.bg-gradient .eyebrow { background: rgba(255,255,255,0.18); color: #fff; }

/* =========================================================================
   Grid & Cards
   ========================================================================= */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.3s ease;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-300);
  box-shadow: var(--shadow-lg);
}
.card .icon-box {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
  color: var(--brand-600);
  margin-bottom: 1rem;
  transition: all 0.3s;
}
html.dark .card .icon-box { background: rgba(99,102,241,0.15); color: var(--brand-300); }
.card:hover .icon-box {
  background: linear-gradient(135deg, var(--brand-600), var(--accent-600));
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.card .icon-box i { width: 26px; height: 26px; }
.card h3 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.card p { color: var(--text-soft); font-size: 0.95rem; margin-bottom: 1rem; }
.card .card-link {
  display: inline-flex; align-items: center; gap: 0.375rem;
  color: var(--brand-600);
  font-weight: 600;
  font-size: 0.9rem;
}
html.dark .card .card-link { color: var(--brand-300); }
.card .card-link i { transition: transform 0.2s; width: 16px; height: 16px; }
.card .card-link:hover i { transform: translateX(4px); }

/* Product list */
.feature-list { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 0.625rem;
  font-size: 0.92rem; color: var(--text-soft);
}
.feature-list li i {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: var(--brand-600);
  margin-top: 2px;
}

/* =========================================================================
   Stats
   ========================================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.stat-card .num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand-600), var(--accent-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-card .label { color: var(--text-soft); font-size: 0.9rem; }

/* =========================================================================
   Steps / Süreç
   ========================================================================= */
.steps { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative;
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.step .step-num {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-600), var(--accent-500));
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  margin-bottom: 1rem;
}
.step h4 { margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; margin: 0; }

/* =========================================================================
   Testimonials
   ========================================================================= */
.testimonial {
  padding: 1.75rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.testimonial .stars { color: #f59e0b; display: flex; gap: 2px; margin-bottom: 0.75rem; }
.testimonial .stars i { width: 16px; height: 16px; fill: #f59e0b; }
.testimonial blockquote { margin: 0 0 1rem; font-size: 0.98rem; color: var(--text-soft); font-style: italic; }
.testimonial .author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial .author .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), var(--accent-500));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
}
.testimonial .author .name { font-weight: 600; font-size: 0.92rem; }
.testimonial .author .role { font-size: 0.82rem; color: var(--text-mute); }

/* =========================================================================
   FAQ Accordion
   ========================================================================= */
.faq-list { display: flex; flex-direction: column; gap: 0.625rem; max-width: 820px; margin: 0 auto; }
.faq {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-bg);
  overflow: hidden;
  transition: all 0.2s;
}
.faq.open { border-color: var(--brand-300); box-shadow: var(--shadow-md); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.125rem 1.25rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
}
.faq-q i { width: 20px; height: 20px; transition: transform 0.25s; color: var(--brand-600); }
.faq.open .faq-q i { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a-inner { padding: 0 1.25rem 1.25rem; color: var(--text-soft); font-size: 0.95rem; }
.faq.open .faq-a { max-height: 500px; }

.faq-cat {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-600);
  margin: 1.5rem 0 0.75rem;
}

/* =========================================================================
   Filter chips
   ========================================================================= */
.chip-row { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
.chip {
  padding: 0.5rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-soft);
}
.chip:hover { border-color: var(--brand-400); color: var(--text); }
.chip.active {
  background: linear-gradient(120deg, var(--brand-600), var(--accent-600));
  color: #fff;
  border-color: transparent;
}

/* =========================================================================
   CTA Banner
   ========================================================================= */
.cta-banner {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(135deg, var(--brand-700), var(--accent-600));
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 60% at 20% 30%, rgba(255,255,255,0.18), transparent 70%),
    radial-gradient(40% 60% at 80% 70%, rgba(255,255,255,0.12), transparent 70%);
  z-index: -1;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto 1.5rem; }
.cta-banner .btn-primary { background: #fff; color: var(--brand-700); box-shadow: 0 10px 40px -10px rgba(0,0,0,0.3); }
.cta-banner .btn-primary:hover { background: var(--bg-soft); }
.cta-banner .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.cta-banner .btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding-top: 3.5rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }
.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin: 0 0 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { color: var(--text-soft); font-size: 0.9rem; }
.footer-col a:hover { color: var(--brand-600); }
.footer-col p { font-size: 0.9rem; color: var(--text-soft); }
.social-row { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.social-row a {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text-soft);
  transition: all 0.2s;
}
.social-row a:hover {
  background: linear-gradient(135deg, var(--brand-600), var(--accent-600));
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}
.social-row a i { width: 18px; height: 18px; }
.footer-contact { font-size: 0.88rem; color: var(--text-soft); display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contact .row { display: flex; align-items: flex-start; gap: 0.625rem; }
.footer-contact i { width: 16px; height: 16px; color: var(--brand-600); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-mute);
}

/* =========================================================================
   Float WhatsApp Button
   ========================================================================= */
.fab-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 45;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 40px -8px rgba(37,211,102,0.6);
  transition: transform 0.2s;
}
.fab-whatsapp::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: rgba(37,211,102,0.4);
  animation: pulse 2s ease-out infinite;
  z-index: -1;
}
@keyframes pulse {
  0% { transform: scale(0.95); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}
.fab-whatsapp:hover { transform: scale(1.08); }
.fab-whatsapp svg { width: 28px; height: 28px; fill: #fff; }

/* WhatsApp tanıtım baloncuğu */
.fab-whatsapp-bubble {
  position: fixed;
  bottom: 2rem;
  right: 5.75rem;
  z-index: 44;
  display: block;
  max-width: 270px;
  padding: 0.875rem 2.25rem 0.875rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text);
  text-decoration: none;
  opacity: 0;
  transform: translateX(10px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fab-whatsapp-bubble.show {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
  animation: bubble-bounce 1.6s ease 0.35s 2;
}
@keyframes bubble-bounce {
  0%, 100% { transform: translateX(0) scale(1); }
  50% { transform: translateX(-3px) scale(1.02); }
}
.fab-whatsapp-bubble::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -7px;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 7px 0 7px 8px;
  border-color: transparent transparent transparent var(--card-bg);
  filter: drop-shadow(1px 0 0 var(--border));
}
.fab-whatsapp-bubble strong {
  display: block;
  color: #128C7E;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.125rem;
}
html.dark .fab-whatsapp-bubble strong { color: #25D366; }
.fab-whatsapp-bubble-text {
  color: var(--text-soft);
  display: block;
}
.fab-whatsapp-bubble:hover {
  border-color: #25D366;
  transform: translateX(-2px) scale(1.02);
  box-shadow: 0 14px 40px -10px rgba(37, 211, 102, 0.35);
}
.fab-whatsapp-bubble-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--text-mute);
  border-radius: 50%;
  padding: 0;
  transition: all 0.2s;
}
.fab-whatsapp-bubble-close:hover {
  background: var(--bg-muted);
  color: var(--text);
}
@media (max-width: 480px) {
  .fab-whatsapp-bubble {
    right: 1.5rem;
    bottom: 5.5rem;
    max-width: calc(100vw - 3rem);
  }
  .fab-whatsapp-bubble::after {
    top: auto;
    right: 24px;
    bottom: -7px;
    transform: none;
    border-width: 8px 7px 0 7px;
    border-color: var(--card-bg) transparent transparent transparent;
    filter: drop-shadow(0 1px 0 var(--border));
  }
}

/* Scroll-to-top */
.fab-top {
  position: fixed;
  bottom: 1.5rem;
  right: 5.5rem;
  z-index: 45;
  width: 44px; height: 44px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.25s;
  box-shadow: var(--shadow-md);
}
.fab-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.fab-top i { width: 18px; height: 18px; }

/* =========================================================================
   Cookie Banner
   ========================================================================= */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 70;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto;
  transform: translateY(120%);
  transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { margin: 0; font-size: 0.88rem; }
.cookie-banner .actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
@media (min-width: 640px) { .cookie-banner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* =========================================================================
   Product page specific
   ========================================================================= */
.product-hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5rem) 0;
  overflow: hidden;
  isolation: isolate;
}
.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(45% 60% at 80% 20%, rgba(99,102,241,0.20), transparent 70%),
    radial-gradient(40% 50% at 10% 80%, rgba(139,92,246,0.18), transparent 70%);
  z-index: -1;
}
.product-hero .inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .product-hero .inner { grid-template-columns: 1.3fr 1fr; } }
.product-illust {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5), transparent 50%),
    linear-gradient(135deg, var(--brand-500), var(--accent-500));
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.product-illust::before {
  content: "";
  position: absolute;
  inset: 12%;
  background: rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
}
.product-illust svg { width: 45%; height: 45%; color: #fff; position: relative; z-index: 2; }

.section-feature {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .section-feature { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
.section-feature .item {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  padding: 1.125rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.section-feature .item i {
  width: 22px; height: 22px;
  color: var(--brand-600);
  flex-shrink: 0;
  margin-top: 2px;
}
.section-feature .item h4 { margin: 0 0 0.25rem; font-size: 1rem; }
.section-feature .item p { margin: 0; font-size: 0.9rem; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.85rem;
  color: var(--text-mute);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--brand-600); }
.breadcrumb i { width: 14px; height: 14px; }

/* =========================================================================
   Blog
   ========================================================================= */
.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-cover {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--brand-500), var(--accent-500));
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.9);
  font-size: 2.5rem;
  font-weight: 800;
}
.blog-cover.alt-2 { background: linear-gradient(135deg, #06b6d4, #6366f1); }
.blog-cover.alt-3 { background: linear-gradient(135deg, #ec4899, #8b5cf6); }
.blog-cover.alt-4 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.blog-cover.alt-5 { background: linear-gradient(135deg, #10b981, #06b6d4); }
.blog-cover.alt-6 { background: linear-gradient(135deg, #6366f1, #ec4899); }
.blog-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-body .meta {
  font-size: 0.78rem;
  color: var(--text-mute);
  display: flex; gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.blog-body h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.blog-body p { font-size: 0.92rem; margin-bottom: 1rem; flex: 1; }

/* Blog article */
.article {
  max-width: 760px;
  margin: 0 auto;
}
.article-header { margin-bottom: 2.5rem; }
.article-header .meta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--text-mute);
  margin-top: 1rem;
}
.article-header .meta span { display: inline-flex; align-items: center; gap: 0.375rem; }
.article-header .meta i { width: 14px; height: 14px; }
.article-content h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; }
.article-content h3 { font-size: 1.25rem; margin: 1.75rem 0 0.75rem; }
.article-content p { font-size: 1.02rem; color: var(--text-soft); margin-bottom: 1.125rem; line-height: 1.75; }
.article-content ul, .article-content ol { color: var(--text-soft); padding-left: 1.25rem; margin: 0 0 1.125rem; }
.article-content ul li, .article-content ol li { margin-bottom: 0.5rem; line-height: 1.7; }
.article-content blockquote {
  border-left: 4px solid var(--brand-500);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--bg-muted);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-soft);
}
.article-content a { color: var(--brand-600); font-weight: 500; }
.article-content a:hover { text-decoration: underline; }
/* Buton sınıfları .article-content içinde renk/altçizgi override almasın */
.article-content a.btn { font-weight: 600; text-decoration: none; }
.article-content a.btn:hover { text-decoration: none; }
.article-content a.btn-primary { color: #fff; }
.article-content a.btn-secondary { color: var(--text); }
.article-content a.btn-ghost { color: var(--text); }
.article-content table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.article-content th, .article-content td {
  padding: 0.75rem 1rem; text-align: left; font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
}
.article-content th { background: var(--bg-muted); font-weight: 600; color: var(--text); }
.article-content td { color: var(--text-soft); }
.toc {
  background: var(--bg-muted);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  margin: 2rem 0;
}
.toc h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--brand-600); margin-bottom: 0.5rem; }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li a { color: var(--text-soft); font-size: 0.92rem; display: block; padding: 0.25rem 0; }
.toc li a:hover { color: var(--brand-600); }

.inline-cta {
  background: linear-gradient(135deg, var(--brand-50), var(--bg-muted));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}
html.dark .inline-cta { background: linear-gradient(135deg, rgba(99,102,241,0.15), var(--bg-muted)); }
.inline-cta h4 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.inline-cta p { font-size: 0.92rem; margin-bottom: 1rem; }

/* =========================================================================
   Page header (non-hero)
   ========================================================================= */
.page-header {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  position: relative;
  isolation: isolate;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(99,102,241,0.12), transparent 70%);
  z-index: -1;
}
.page-header h1 { margin-bottom: 0.75rem; }
.page-header p { max-width: 640px; margin: 0 auto; font-size: 1.05rem; }

/* Contact card */
.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all 0.2s;
}
.contact-card:hover { border-color: var(--brand-300); }
.contact-card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-600), var(--accent-600));
  color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-card .icon i { width: 22px; height: 22px; }
.contact-card h4 { margin: 0 0 0.25rem; font-size: 1rem; }
.contact-card a, .contact-card span { font-size: 0.92rem; color: var(--text-soft); }
.contact-card a:hover { color: var(--brand-600); }

/* Map iframe */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Bank info */
.bank-card {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-muted);
  font-size: 0.92rem;
}
.bank-card h5 { margin: 0 0 0.25rem; font-size: 0.95rem; }
.bank-card .iban {
  font-family: 'SF Mono', Consolas, monospace;
  letter-spacing: 0.5px;
  color: var(--text);
  display: block;
  margin-top: 0.25rem;
}

/* Utilities */
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-6 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 0.5rem; } .gap-3 { gap: 0.75rem; } .gap-4 { gap: 1rem; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }

/* =========================================================================
   Marka ikonları (inline SVG fallback — Lucide bazı marka ikonlarını kaldırdığı için)
   ========================================================================= */
svg.brand-icon {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.social-row a svg.brand-icon { width: 18px; height: 18px; }
.icon-box svg.brand-icon { width: 26px; height: 26px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
