/* ====== RESET & BASE ====== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #ff4d4d;
  --primary-hover: #e63939;
  --primary-dark: #e63939;
  --primary-light: #fff5f5;
  --primary-shadow: rgba(255,77,77,0.3);
  --blue: #0984e3;
  --blue-hover: #0773c5;
  --blue-light: #f0f7ff;
  --bg: #f8f9fa;
  --surface: #ffffff;
  --text: #2d3436;
  --text-secondary: #636e72;
  --text-muted: #636e72;
  --border: #e1e1e1;
  --border-light: #f1f5f9;
  --success: #00b894;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.05);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.08);
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ====== TOP BAR ====== */
.top-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  font-weight: 800;
  font-size: 1.6rem;
  color: #2d3436;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo i { font-size: 1.8rem; color: var(--primary); }
.logo .pro { color: var(--primary); }
.pro-logo {
  animation: proPulse 2.5s ease-in-out infinite;
}

@keyframes proPulse {
  0%, 100% { color: #ff4d4d; }
  50% { color: #ff8a8a; }
}

.quick-links {
  display: flex;
  gap: 18px;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
}

.quick-links span {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
  padding: 4px 0;
}

.quick-links span:hover { color: var(--primary); }

/* Dropdown */
.nav-dropdown {
  position: relative;
  display: inline-block;
}
.nav-dropdown-trigger {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 0;
  transition: color 0.2s;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
}
.nav-dropdown-trigger:hover { color: var(--primary); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% - 6px);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  min-width: 200px;
  padding: 14px 8px 8px;
  z-index: 999;
  border: 1px solid #e2e8f0;
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}
.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
  opacity: 1;
  pointer-events: auto;
}
.nav-dropdown-menu span,
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.nav-dropdown-menu span:hover,
.nav-dropdown-menu a:hover {
  background: #f1f5f9;
  color: var(--primary);
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.kvkk-badge {
  background: var(--primary-light);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: 0.2s;
}

.kvkk-badge:hover { background: #ffe0e0; }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text);
  font-family: inherit;
}

.btn-outline:hover {
  background: var(--bg);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-primary {
  background: var(--primary);
  border: none;
  padding: 7px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: white;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px var(--primary-shadow);
  font-family: inherit;
}

.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 4px 14px var(--primary-shadow); }
.btn-primary:active { transform: translateY(0); }

/* ====== HERO ====== */
.hero {
  background: linear-gradient(135deg, #667eea, #764ba2, #667eea, #764ba2);
  background-size: 400% 400%;
  animation: heroShift 10s ease infinite alternate;
  padding: 30px 0 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@keyframes heroShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;
  line-height: 1.3;
  position: relative;
}

.hero .subtitle {
  font-size: 1rem;
  color: #ffffff;
  max-width: 650px;
  margin: 0 auto 15px;
  position: relative;
}

.platform-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 15px 0 28px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  flex-wrap: wrap;
  position: relative;
}

.platform-icons span {
  padding: 8px 16px;
  border-radius: 12px;
  transition: all 0.25s;
  cursor: pointer;
  user-select: none;
}

.platform-icons span:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.platform-icons span:active {
  transform: translateY(-1px);
}

.platform-icons i { font-size: 1.3rem; margin-right: 6px; color: #ffffff; }

.cta-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.btn-hero {
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
}

.btn-start {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 16px var(--primary-shadow);
}

.btn-start:hover { 
  background: var(--primary-hover); 
  transform: translateY(-2px); 
  box-shadow: 0 6px 20px var(--primary-shadow); 
}

.btn-more {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid #ffffff;
}

.btn-more:hover { 
  background: #ffffff; 
  color: var(--primary); 
  transform: translateY(-2px); 
}

/* ====== TOOLS SECTION ====== */
.tools-section { padding: 40px 0; }

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title i { color: var(--primary); }

.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0 28px;
}

.tab {
  background: var(--border-light);
  padding: 7px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.2s;
  color: var(--text-secondary);
  user-select: none;
}

.tab:hover { background: #e2e8f0; }

.tab.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 10px var(--primary-shadow);
}

/* ====== TOOLS ====== */
#bigDropZone {
  position: relative;
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  margin-bottom: 24px;
  background: #fafafa;
  overflow: hidden;
}
#bigDropZone:hover { border-color: #ff4d4d; background: #fff5f5; }
#bigDropZone.dz-active {
  border-color: #22c55e;
  background: #f0fdf4;
  transform: scale(1.01);
}
#bigDropZone .dz-content { transition: opacity 0.2s; }
#bigDropZone .dz-hover {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  opacity: 0; transition: opacity 0.2s; pointer-events: none;
  color: #16a34a; font-weight: 700; font-size: 1.1rem;
}
#bigDropZone.dz-active .dz-content { opacity: 0; }
#bigDropZone.dz-active .dz-hover { opacity: 1; }
.dz-icon { font-size: 2.8rem; color: #ff4d4d; margin-bottom: 6px; }
#bigDropZone:hover .dz-icon { color: #dc2626; }
.dz-title { font-size: 1.1rem; font-weight: 700; color: #334155; margin-bottom: 6px; }
.dz-or { font-size: 0.82rem; color: #94a3b8; margin-bottom: 8px; }
.dz-btn {
  background: #ff4d4d; border: none; border-radius: 10px;
  padding: 10px 24px; font-size: 0.9rem; font-weight: 600; cursor: pointer;
  font-family: inherit; color: #ffffff; transition: 0.15s;
}
.dz-btn:hover { background: #dc2626; transform: translateY(-1px); }

/* Tool select modal items */
.tool-select-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: 10px; cursor: pointer; transition: 0.15s;
  border: 1px solid #e2e8f0; background: white;
}
.tool-select-item:hover { border-color: #94a3b8; background: #f8fafc; }
.tool-select-item.premium { border-color: #fef3c7; background: #fffbeb; }
.tool-select-item.premium:hover { border-color: #f59e0b; }
.tsi-icon {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; font-size: 1rem; flex-shrink: 0;
}
.tsi-info { flex: 1; min-width: 0; }
.tsi-name { font-size: 0.85rem; font-weight: 600; color: #0f172a; }
.tsi-desc { font-size: 0.72rem; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.tools-group-title {
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px 0;
  color: #334155;
}
.tools-group-title:after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
  margin-left: 8px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}

.tool-card {
  background: white;
  padding: 14px 10px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  min-height: 160px;
  justify-content: center;
}

.tool-card:hover {
  border-color: #94a3b8;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

.tool-icon {
  font-size: 1.3rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f8fafc;
  transition: all 0.2s;
}

.tool-card:hover .tool-icon {
  transform: scale(1.1);
}

.tool-card h3 {
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  color: #0f172a;
  margin: 0;
}

.tool-desc {
  font-size: 0.65rem;
  color: #64748b;
  text-align: center;
  line-height: 1.4;
  margin: 0;
}

/* Free tool card */
.tool-card-free .tool-icon { background: #f0fdf4; }

/* Premium tool card */
.tool-card-premium {
  border-color: #fef3c7;
  background: #fffbeb;
}
.tool-card-premium .tool-icon { background: #fef3c7; }
.tool-card-premium h3 { color: #92400e; }

.premium-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 8px;
  letter-spacing: 0.3px;
}

/* Tool usage bar */
.tool-usage {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0;
}
.tool-usage-bar {
  flex: 1;
  height: 5px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}
.tool-usage-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  border-radius: 10px;
  transition: width 0.4s;
}
.tool-usage-text {
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
  min-width: 36px;
  text-align: right;
}
.tool-usage-unlimited span {
  font-size: 0.7rem;
  color: #22c55e;
  font-weight: 600;
}
.tool-card-blocked {
  opacity: 0.65;
  border-color: #dc2626 !important;
}
.tool-btn-blocked {
  background: #dc2626 !important;
  color: white !important;
  cursor: pointer !important;
  animation: none !important;
}
.tool-btn {
  background: var(--blue);
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  margin-top: 4px;
  width: fit-content;
  transition: all 0.25s;
  font-family: inherit;
}

.tool-btn:hover { background: var(--blue-hover); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(9,132,227,0.3); }

.tool-processing {
  display: none;
  padding: 30px;
  text-align: center;
  grid-column: 1 / -1;
}

.tool-processing.active { display: block; }

.tool-result {
  display: none;
  margin-top: 12px;
  padding: 12px;
  background: #f0fdf4;
  border-radius: var(--radius-sm);
  border: 1px solid #bbf7d0;
}

.tool-result.active { display: block; }

/* ====== WHY SECTION ====== */
.why-section {
  background: var(--surface);
  padding: 55px 0;
  border-top: 1px solid var(--border);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.feature {
  text-align: center;
  background: white;
  border-radius: 18px;
  padding: 30px 22px 26px;
  border: 1px solid #e8ecf0;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: default;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  border-color: #d0d7de;
}

.feature:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(102,126,234,0.25);
}

.feature:hover .feature-icon {
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 8px 24px rgba(102,126,234,0.35);
}

.feature h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0f172a;
  transition: color 0.3s;
}

.feature:hover h4 {
  color: #667eea;
}

.feature p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ====== PRICING ====== */
.pricing { padding: 55px 0; }

.plan-cards {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
}

.plan {
  background: var(--surface);
  border-radius: 24px;
  padding: 30px 28px;
  box-shadow: var(--shadow-md);
  flex: 1 1 280px;
  max-width: 340px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.plan:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  border-color: var(--primary);
}

.plan:hover .price {
  transform: scale(1.05);
}

.plan:hover .btn-primary,
.plan:hover .btn-outline {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 20px var(--primary-shadow);
}

.plan .btn-primary:active,
.plan .btn-outline:active {
  transform: translateY(0) scale(0.96) !important;
}

.plan.popular {
  border: 2px solid var(--primary);
  position: relative;
  box-shadow: 0 8px 30px rgba(255,77,77,0.12);
}

.plan.popular:hover {
  box-shadow: 0 16px 45px rgba(255,77,77,0.25);
  transform: translateY(-6px);
}

.popular-tag {
  background: var(--primary);
  color: white;
  padding: 5px 18px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.plan h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-muted); }
.price { font-size: 2.2rem; font-weight: 800; margin: 12px 0 4px; color: var(--text); }

.plan-features { margin: 16px 0; list-style: none; flex: 1; }

.plan-features li {
  padding: 6px 0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

/* ====== FAQ ====== */
.faq {
  background: var(--bg);
  padding: 55px 0;
}

.faq-list {
  max-width: 700px;
  margin: 22px auto 0;
}

.faq-item {
  background: var(--surface);
  padding: 16px 20px;
  border-radius: 14px;
  margin-bottom: 10px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  transition: 0.2s;
  border: 1px solid var(--border-light);
}

.faq-item:hover { border-color: var(--blue); }

.faq-item i { transition: transform 0.3s; color: var(--blue); }
.faq-item.open i { transform: rotate(180deg); color: var(--blue); }

.faq-answer {
  width: 100%;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: none;
  line-height: 1.6;
}

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

.faq-item.open {
  background: var(--blue-light);
  border-color: var(--blue);
}

/* ====== FOOTER ====== */
footer {
  background: #2d3436;
  color: #b2bec3;
  padding: 50px 0 20px;
  margin-top: auto;
}
footer a { color: #b2bec3; text-decoration: none; }
footer a:hover { color: #ffffff; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 30px;
}

.footer-col h4 { color: #ff4d4d; margin-bottom: 14px; font-size: 1rem; }

.footer-col p, .footer-col li {
  margin-bottom: 8px;
  font-size: 0.88rem;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-col p:hover { color: #ffffff; }

.footer-bottom {
  margin-top: 30px;
  text-align: center;
  opacity: 0.6;
  font-size: 0.85rem;
  border-top: 1px solid #636e72;
  padding-top: 20px;
  color: #b2bec3;
}

/* ====== COOKIE BAR ====== */
.cookie-bar {
  position: fixed;
  bottom: 18px;
  left: 18px;
  right: 18px;
  max-width: 700px;
  margin: 0 auto;
  background: var(--surface);
  padding: 14px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  z-index: 500;
  font-size: 0.85rem;
  border: 1px solid var(--border);
}

.cookie-bar span { flex: 1; min-width: 200px; }

.cookie-bar .btn-outline { font-size: 0.8rem; padding: 6px 14px; }
.cookie-bar .btn-primary { font-size: 0.8rem; padding: 6px 14px; }

/* ====== CHAT ====== */
.chat-widget {
  position: fixed;
  bottom: 100px;
  right: 22px;
  background: var(--primary);
  color: white;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 20px var(--primary-shadow);
  cursor: pointer;
  z-index: 99;
  transition: all 0.25s;
  border: none;
}

.chat-widget:hover { transform: scale(1.1); box-shadow: 0 8px 25px var(--primary-shadow); }
.chat-widget:active { transform: scale(0.95); }

/* ====== LANGUAGE SWITCHER ====== */
.lang-widget {
  position: fixed;
  bottom: 100px;
  left: 22px;
  background: #1e293b;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px 8px 10px;
  border-radius: 28px;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  cursor: pointer;
  z-index: 99;
  transition: all 0.25s;
  border: none;
  letter-spacing: 1px;
}
.lang-widget i { font-size: 0.85rem; }
.lang-widget:hover { transform: scale(1.08); box-shadow: 0 8px 25px rgba(0,0,0,0.35); }
.lang-widget:active { transform: scale(0.95); }

.chat-panel {
  position: fixed;
  bottom: 168px;
  right: 22px;
  width: 340px;
  max-height: 460px;
  background: var(--surface);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  z-index: 98;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
}

.chat-header {
  background: var(--primary);
  color: white;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}

.chat-header i { cursor: pointer; font-size: 1.1rem; opacity: 0.8; }
.chat-header i:hover { opacity: 1; }

.chat-body {
  padding: 14px;
  overflow-y: auto;
  flex: 1;
  max-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-msg {
  padding: 10px 14px;
  border-radius: 14px;
  max-width: 85%;
  font-size: 0.9rem;
  line-height: 1.5;
}

.chat-msg.bot {
  background: var(--border-light);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-msg.user {
  background: var(--primary);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px 14px 6px;
}

.chat-chips span {
  background: #f1f5f9;
  border: 1px solid #e1e1e1;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.75rem;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.chat-chips span:hover {
  background: #667eea;
  color: #fff;
  border-color: #667eea;
}

.chat-chips span:active {
  transform: scale(0.95);
}

@keyframes wpPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.chat-whatsapp-note i.fa-whatsapp {
  animation: wpPulse 1.5s ease-in-out infinite;
  display: inline-block;
}

.chat-footer {
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: center;
}

.chat-footer input {
  flex: 1;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.9rem;
  outline: none;
  font-family: inherit;
  transition: 0.2s;
}

.chat-footer input:focus { border-color: var(--primary); }

.chat-footer button {
  background: var(--primary);
  color: white;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.chat-footer button:hover { background: var(--primary-hover); }

/* ====== SCROLL TO TOP ====== */
.scroll-top {
  position: fixed;
  bottom: 25px;
  right: 22px;
  width: 44px;
  height: 44px;
  background: #2d3436;
  color: white;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 80;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.25s;
  border: none;
}

.scroll-top.visible { display: flex; }
.scroll-top:hover { background: var(--primary); transform: translateY(-3px); }

/* ====== MODALS ====== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15,23,42,0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

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

.modal-overlay[style*="display:none"] { display: none !important; }

.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 30px;
  width: 100%;
  max-width: 440px;
  position: relative;
  animation: slideUp 0.25s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.modal-lg { max-width: 600px; }

@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: 0.2s;
  line-height: 1;
}

.modal-close:hover { color: var(--text); }

.modal h2 { margin-bottom: 18px; font-size: 1.3rem; display: flex; align-items: center; gap: 8px; }



.modal-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  margin-bottom: 12px;
  outline: none;
  transition: 0.2s;
  font-family: inherit;
}

.modal-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,77,77,0.1); }

.modal-error {
  color: var(--primary);
  font-size: 0.85rem;
  margin-bottom: 10px;
  display: none;
}

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

/* Modal buton hover efektleri (goPremium, showPremiumPrompt) */
.pricing-buy-btn, .modal-nav-btn, .pricing-link-btn {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  overflow: hidden;
}

.pricing-buy-btn:hover, .modal-nav-btn:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 6px 20px rgba(255,77,77,0.35) !important;
}

.pricing-buy-btn:active, .modal-nav-btn:active {
  transform: translateY(0) scale(0.97) !important;
}

.pricing-link-btn:hover {
  transform: translateX(4px) !important;
  opacity: 0.8 !important;
}

.modal-close-btn {
  transition: all 0.2s !important;
}

.modal-close-btn:hover {
  color: #ff4d4d !important;
  transform: rotate(90deg) scale(1.2) !important;
}

/* goPremium modal içindeki pricing kartları */
.pricing-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: default;
}

.pricing-card:hover {
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.1) !important;
}

.pricing-card.popular:hover {
  box-shadow: 0 12px 35px rgba(255,77,77,0.2) !important;
}

.pricing-card:hover .pricing-buy-btn {
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow: 0 6px 20px rgba(255,77,77,0.4) !important;
}

/* Premium plan summary in modal */
.plan-summary {
  display: flex;
  gap: 12px;
  margin: 15px 0;
}

.plan-option {
  flex: 1;
  padding: 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
}

.plan-option:hover { border-color: var(--primary); }
.plan-option.selected { border-color: var(--primary); background: var(--primary-light); }
.plan-option h4 { font-size: 0.95rem; margin-bottom: 4px; }

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .header-content { flex-direction: column; align-items: stretch; gap: 10px; }
  .logo-area { flex-wrap: wrap; gap: 12px; }
  .quick-links { font-size: 0.82rem; gap: 12px; }
  .user-actions { justify-content: center; }
  .hero h1 { font-size: 1.7rem; }
  .hero .subtitle { font-size: 1rem; }
  .tools-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .tool-card { padding: 12px 8px; min-height: 155px; }
  .tool-icon { font-size: 1.1rem; width: 34px; height: 34px; }
  .chat-panel { width: calc(100% - 44px); right: 22px; bottom: 160px; }
  .modal { padding: 22px; margin: 10px; }
  .plan-summary { flex-direction: column; }
}

/* ====== HAMBURGER MENU ====== */
.hamburger-btn {
  display: none; background: none; border: none; font-size: 1.5rem;
  cursor: pointer; color: #475569; padding: 4px 8px;
}
.mobile-menu {
  display: none; position: absolute; top: 100%; left: 0; width: 100%;
  background: white; border-bottom: 2px solid #e2e8f0; box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  z-index: 999; flex-direction: column; padding: 8px 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 20px; font-size: 0.95rem; font-weight: 500; color: #334155;
  text-decoration: none; display: flex; align-items: center; gap: 10px; transition: 0.15s;
}
.mobile-menu a:hover { background: #f8fafc; color: #ff4d4d; }
.mobile-menu a i { width: 20px; text-align: center; color: #94a3b8; }

@media (max-width: 768px) {
  .hamburger-btn { display: block; }
  .user-actions .btn-outline, .user-actions .btn-primary, .user-actions .kvkk-badge { display: none; }
  .user-actions #userInfo { display: none !important; }
  .user-actions { gap: 4px; }
}
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .logo { font-size: 1.3rem; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .tool-card { padding: 12px 8px; min-height: 145px; }
  .hero h1 { font-size: 1.4rem; }
  .btn-hero { padding: 11px 22px; font-size: 0.9rem; }
  .platform-icons { gap: 14px; font-size: 0.85rem; }
  .section-title { font-size: 1.3rem; }
  .tab { font-size: 0.8rem; padding: 5px 12px; }
}

/* ====== TOOL DIALOG ====== */
.tool-dialog-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); display: none; align-items: center; justify-content: center;
  z-index: 10000; padding: 20px;
}
.tool-dialog {
  background: white; border-radius: 20px; padding: 32px; max-width: 420px; width: 100%;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3); position: relative;
}
.tool-dialog h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; color: #0f172a; }
.tool-dialog p.desc { font-size: 0.85rem; color: #64748b; margin-bottom: 20px; }
.tool-dialog .field { margin-bottom: 16px; }
.tool-dialog .field label { display: block; font-size: 0.82rem; font-weight: 600; color: #334155; margin-bottom: 5px; }
.tool-dialog .field input, .tool-dialog .field select {
  width: 100%; padding: 10px 14px; border: 2px solid #e2e8f0; border-radius: 10px;
  font-size: 0.9rem; font-family: inherit; outline: none; transition: 0.2s;
}
.tool-dialog .field input:focus, .tool-dialog .field select:focus { border-color: var(--primary); }
.tool-dialog .field input[type="color"] { height: 44px; padding: 4px; cursor: pointer; }
.tool-dialog .dialog-actions { display: flex; gap: 10px; margin-top: 20px; }
.tool-dialog .dialog-actions button {
  flex: 1; padding: 11px; border: none; border-radius: 10px; font-weight: 700;
  font-size: 0.9rem; cursor: pointer; font-family: inherit; transition: 0.2s;
}
.tool-dialog .btn-dialog-primary { background: var(--primary); color: white; }
.tool-dialog .btn-dialog-primary:hover { background: var(--primary-hover); }
.tool-dialog .btn-dialog-cancel { background: #f1f5f9; color: #475569; }
.tool-dialog .btn-dialog-cancel:hover { background: #e2e8f0; }
