/* ==========================================================================
   ANALIZORA AÇIK & ŞEFFAF TASARIM SİSTEMİ
   Koyu arka plan ve koyu tema tamamen kaldırılmıştır.
   ========================================================================== */
:root {
  color-scheme: light;
  --bg-page: #f7fafc;
  --bg-glass: rgba(255, 255, 255, 0.82);
  --bg-card: rgba(255, 255, 255, 0.94);
  --bg-soft: #f0f6f8;
  --border-light: rgba(15, 42, 62, 0.09);
  --border-accent: rgba(14, 138, 138, 0.35);
  --text-main: #0f2a3e;
  --text-sub: #476275;
  --text-muted: #6c8596;
  --accent-primary: #0d8a8a;
  --accent-primary-hover: #0a6e6e;
  --accent-secondary: #0284c7;
  --accent-tint: rgba(13, 138, 138, 0.08);
  --shadow-soft: 0 8px 24px rgba(15, 42, 62, 0.05);
  --shadow-hover: 0 14px 32px rgba(15, 42, 62, 0.09);
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; background: #ffffff; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9fb 50%, #ffffff 100%);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: var(--accent-primary); text-decoration: none; transition: all 0.18s ease; }
a:hover { color: var(--accent-primary-hover); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 1.5rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.68rem 1.35rem; font-size: 0.92rem; font-weight: 600;
  border-radius: var(--radius-md); border: 1px solid transparent;
  background: var(--accent-primary); color: #ffffff; cursor: pointer;
  box-shadow: 0 6px 18px rgba(13, 138, 138, 0.22);
  transition: all 0.18s ease;
}
.btn:hover { background: var(--accent-primary-hover); color: #ffffff; transform: translateY(-1px); }
.btn.secondary, .btn.alt {
  background: var(--bg-glass); backdrop-filter: blur(8px);
  color: var(--text-main); border-color: var(--border-light); box-shadow: var(--shadow-soft);
}
.btn.secondary:hover, .btn.alt:hover { background: #ffffff; border-color: var(--border-accent); }
.btn.small { padding: 0.45rem 1rem; font-size: 0.84rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Transparent Glass Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.85rem 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.65rem; font-size: 1.25rem; font-weight: 800; color: var(--text-main); }
.brand img { width: 38px; height: 38px; }
nav#nav { display: flex; align-items: center; gap: 1.5rem; }
nav#nav a { color: var(--text-sub); font-size: 0.9rem; font-weight: 500; }
nav#nav a:hover { color: var(--accent-primary); }
.nav-tools { display: flex; align-items: center; gap: 0.75rem; }
.menu-btn { display: none; background: #ffffff; border: 1px solid var(--border-light); color: var(--text-main); padding: 0.4rem 0.7rem; border-radius: 8px; cursor: pointer; }

/* Dropdowns */
.language-picker, .account-picker { position: relative; }
.language-picker summary, .account-picker summary {
  list-style: none; cursor: pointer; padding: 0.42rem 0.8rem; border-radius: 10px;
  background: rgba(255, 255, 255, 0.85); border: 1px solid var(--border-light);
  font-size: 0.82rem; color: var(--text-sub); font-weight: 600;
}
.language-options, .account-options {
  position: absolute; right: 0; top: calc(100% + 0.45rem); min-width: 155px;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(14px);
  border: 1px solid var(--border-light); border-radius: var(--radius-md);
  padding: 0.4rem; box-shadow: var(--shadow-hover); z-index: 60;
}
.language-options a, .account-options a, .account-options button {
  display: block; width: 100%; text-align: left; padding: 0.45rem 0.75rem;
  border-radius: 8px; color: var(--text-main); font-size: 0.85rem;
  background: transparent; border: none; cursor: pointer;
}
.language-options a:hover, .account-options a:hover, .account-options button:hover { background: var(--bg-soft); color: var(--accent-primary); }
.account-name { padding: 0.4rem 0.75rem; font-size: 0.8rem; color: var(--text-muted); border-bottom: 1px solid var(--border-light); margin-bottom: 0.25rem; }

/* Hero Section (Light & Airy) */
.hero {
  padding: 4.5rem 0 4rem;
  background: radial-gradient(circle at 82% 18%, rgba(13, 138, 138, 0.08), transparent 52%),
              radial-gradient(circle at 12% 80%, rgba(2, 132, 199, 0.07), transparent 48%),
              transparent;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.eyebrow {
  display: inline-block; padding: 0.32rem 0.85rem; border-radius: 999px;
  background: var(--accent-tint); border: 1px solid var(--border-accent);
  color: var(--accent-primary); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1rem;
}
.hero-copy h1 { font-size: clamp(2rem, 4vw, 2.95rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.025em; margin-bottom: 1.1rem; color: var(--text-main); }
.hero-copy p { font-size: 1.04rem; color: var(--text-sub); margin-bottom: 1.75rem; max-width: 560px; }
.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-bottom: 1.75rem; }

/* Transparent Search Box */
.home-search {
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px);
  border: 1px solid var(--border-light); border-radius: var(--radius-md);
  padding: 0.3rem 0.4rem 0.3rem 1rem; max-width: 480px; box-shadow: var(--shadow-soft);
}
.home-search input { flex: 1; background: transparent; border: none; color: var(--text-main); font-size: 0.92rem; outline: none; }
.home-search button {
  background: var(--bg-soft); border: 1px solid var(--border-light); color: var(--text-main);
  padding: 0.5rem 0.85rem; border-radius: 8px; cursor: pointer;
}
.search-status { font-size: 0.82rem; color: var(--text-sub); margin-top: 0.5rem; }
.search-results { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; max-width: 480px; }
.search-result {
  display: block; padding: 0.75rem 1rem; border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94); border: 1px solid var(--border-light); color: var(--text-main);
  box-shadow: var(--shadow-soft);
}
.search-result:hover { border-color: var(--accent-primary); background: #ffffff; }
.search-result strong { display: block; font-size: 0.9rem; }
.search-result span { font-size: 0.8rem; color: var(--text-sub); }
.hero-note { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--text-muted); margin-top: 1.25rem; }
.status-pip { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 8px rgba(16, 185, 129, 0.45); }

/* Dashboard Showcase Card (Frosted White Glass) */
.dashboard-shell {
  background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(16px);
  border: 1px solid var(--border-light); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-hover); overflow: hidden;
}
.dashboard-topline {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 1.25rem;
  background: rgba(240, 246, 248, 0.7); border-bottom: 1px solid var(--border-light);
}
.dashboard-brand-mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--accent-primary); color: #ffffff;
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.dashboard-topline strong { display: block; font-size: 0.85rem; }
.dashboard-topline small { display: block; font-size: 0.72rem; color: var(--text-sub); }
.dashboard-live { margin-left: auto; font-size: 0.75rem; color: #059669; font-weight: 600; display: flex; align-items: center; gap: 0.35rem; }
.dashboard-live i { width: 7px; height: 7px; border-radius: 50%; background: #10b981; }
.dashboard-body { padding: 1.35rem; }
.dashboard-title-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.dashboard-eyebrow { font-size: 0.68rem; color: var(--accent-primary); font-weight: 700; letter-spacing: 0.08em; }
.dashboard-title-row h2 { font-size: 1.2rem; }
.dashboard-badge { padding: 0.25rem 0.65rem; border-radius: 999px; background: var(--accent-tint); color: var(--accent-primary); font-size: 0.75rem; font-weight: 700; }
.dashboard-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1rem; }
.dashboard-summary > div { background: var(--bg-soft); padding: 0.75rem; border-radius: var(--radius-md); border: 1px solid var(--border-light); }
.dashboard-summary small { display: block; font-size: 0.72rem; color: var(--text-sub); }
.dashboard-summary strong { font-size: 0.95rem; }
.chart-card { background: rgba(248, 251, 252, 0.8); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 0.9rem; }
.chart-heading { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-sub); margin-bottom: 0.5rem; }
.chart-area { fill: url(#chartFill); }
.chart-line { fill: none; stroke: var(--accent-primary); stroke-width: 2.5; }
.chart-points circle { fill: var(--accent-primary); stroke: #ffffff; stroke-width: 2; }
.chart-axis { display: flex; justify-content: space-between; font-size: 0.7rem; color: var(--text-muted); margin-top: 0.4rem; }
.dashboard-footer { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-sub); margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--border-light); }
.hero-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: 1rem; }
.mini-box {
  background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(8px);
  border: 1px solid var(--border-light); border-radius: var(--radius-md);
  padding: 0.75rem; text-align: center; box-shadow: var(--shadow-soft);
}
.mini-box strong { display: block; font-size: 0.95rem; color: var(--text-main); }
.mini-box span { font-size: 0.72rem; color: var(--text-sub); }

/* Sections */
.features-section, .platform, .about-section, .testimonials, .contact { padding: 4.5rem 0; border-top: 1px solid var(--border-light); background: transparent; }
.section-heading { max-width: 680px; margin-bottom: 2.5rem; }
.section-tag { display: inline-block; color: var(--accent-primary); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.4rem; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.65rem; }
.section-lead { color: var(--text-sub); font-size: 1rem; }

.cards, .platform-cards, .testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; }
.card, .platform-feature-card, .testimonial-card {
  background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(12px);
  border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 1.65rem; box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover, .platform-feature-card:hover { transform: translateY(-3px); border-color: var(--border-accent); box-shadow: var(--shadow-hover); background: #ffffff; }
.card .icon {
  width: 40px; height: 40px; border-radius: 10px; background: #e0f2fe;
  color: #0284c7; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.card .icon.green { background: #d1fae5; color: #059669; }
.card .icon.purple { background: #ede9fe; color: #7c3aed; }
.card h3, .platform-feature-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.card p, .platform-feature-card p { color: var(--text-sub); font-size: 0.92rem; }
.feature-note {
  margin-top: 2rem; padding: 1rem 1.5rem; border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.85); border: 1px solid var(--border-light);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem;
}

/* Platform & About */
.platform-overview, .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; margin-bottom: 2.5rem; }
.platform-aside img { max-width: 240px; height: auto; margin-bottom: 0.75rem; }
.platform-aside p { color: var(--text-sub); font-size: 0.9rem; }
.feature-visual { height: 64px; display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.visual-file { padding: 0.4rem 0.7rem; border-radius: 8px; background: #d1fae5; color: #059669; font-weight: 700; font-size: 0.8rem; }
.visual-file.blue-file { background: #e0f2fe; color: #0284c7; }
.visual-label, .report-label { padding: 0.35rem 0.65rem; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--border-light); font-size: 0.78rem; font-weight: 600; color: var(--text-main); }
.platform-action { margin-top: 2rem; text-align: center; }

.about-panel { background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(12px); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-soft); }
.about-panel-head { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; margin-bottom: 1.25rem; }
.about-symbol { width: 32px; height: 32px; border-radius: 8px; background: var(--accent-primary); color: #ffffff; display: flex; align-items: center; justify-content: center; }
.workflow-step {
  display: flex; align-items: center; gap: 0.85rem; padding: 0.85rem 1rem;
  background: var(--bg-soft); border: 1px solid var(--border-light); border-radius: 10px; margin-bottom: 0.65rem;
}
.workflow-step b { color: var(--accent-primary); font-family: monospace; }
.workflow-step span { flex: 1; font-weight: 500; }
.workflow-step i { color: #059669; font-style: normal; }
.about-panel-caption { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.75rem; }
.about-copy p { color: var(--text-sub); margin-bottom: 1rem; }

/* Testimonials */
.quote-mark { font-size: 2.5rem; line-height: 1; color: var(--accent-primary); display: block; margin-bottom: 0.5rem; }
.testimonial-card blockquote { color: var(--text-main); font-size: 0.95rem; margin-bottom: 1.25rem; }
.testimonial-author { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; border-top: 1px solid var(--border-light); padding-top: 1rem; }
.testimonial-person { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--bg-soft); border: 1px solid var(--border-light); display: flex; align-items: center; justify-content: center; color: var(--text-sub); }
.testimonial-identity strong { display: block; font-size: 0.9rem; }
.testimonial-role, .testimonial-organization { font-size: 0.78rem; color: var(--text-sub); }
.testimonials-empty { padding: 2rem; text-align: center; background: rgba(255, 255, 255, 0.85); border: 1px solid var(--border-light); border-radius: var(--radius-lg); color: var(--text-sub); }

/* Contact & Footer */
.contact-box {
  background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(14px);
  border: 1px solid var(--border-light); border-radius: var(--radius-xl);
  padding: 2.5rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap;
  box-shadow: var(--shadow-soft);
}
.contact-actions { display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap; }
.admin-link { font-size: 0.82rem; color: var(--text-muted); margin-left: 0.5rem; }
.site-footer { border-top: 1px solid var(--border-light); padding: 2.5rem 0; background: rgba(255, 255, 255, 0.85); }
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand small { display: block; color: var(--text-sub); font-size: 0.8rem; }
.foot-links { display: flex; gap: 1.5rem; font-size: 0.88rem; }
.foot-links a { color: var(--text-sub); }
.copyright { color: var(--text-muted); font-size: 0.8rem; }

/* Live Support Widget (Light Frosted) */
.support-launcher {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 70;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.2rem; border-radius: 999px; border: none;
  background: var(--accent-primary); color: #ffffff; font-weight: 600;
  box-shadow: 0 10px 25px rgba(13, 138, 138, 0.28); cursor: pointer;
}
.notification-badge { background: #ef4444; color: #fff; font-size: 0.72rem; padding: 0.1rem 0.45rem; border-radius: 999px; }
.support-toast {
  position: fixed; right: 1.5rem; bottom: 5.25rem; z-index: 70; max-width: 320px;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(12px);
  border: 1px solid var(--accent-primary); padding: 0.85rem 1rem; border-radius: var(--radius-md); font-size: 0.85rem; box-shadow: var(--shadow-hover);
}
.support-panel {
  position: fixed; right: 1.5rem; bottom: 5.25rem; z-index: 80;
  width: min(380px, calc(100vw - 2rem));
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(16px);
  border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover); overflow: hidden;
}
.support-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.9rem 1.1rem; background: var(--bg-soft); border-bottom: 1px solid var(--border-light);
}
.support-head-actions { display: flex; gap: 0.4rem; }
.support-notify, .support-close { background: transparent; border: none; color: var(--text-sub); font-size: 1.1rem; cursor: pointer; padding: 0.2rem 0.4rem; }
.support-intro { padding: 0.65rem 1.1rem; font-size: 0.8rem; color: var(--text-sub); border-bottom: 1px solid var(--border-light); }
.support-messages { height: 260px; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.65rem; background: #fbfdfe; }
.support-message { max-width: 82%; padding: 0.6rem 0.85rem; border-radius: var(--radius-md); font-size: 0.86rem; }
.support-message small { display: block; font-size: 0.7rem; opacity: 0.8; margin-bottom: 0.2rem; }
.support-message.visitor { align-self: flex-end; background: var(--accent-primary); color: #ffffff; }
.support-message.admin { align-self: flex-start; background: #ffffff; color: var(--text-main); border: 1px solid var(--border-light); }
.support-attachment-image { max-width: 100%; border-radius: 8px; margin-top: 0.4rem; cursor: pointer; }
.support-attachment-link { display: inline-block; margin-top: 0.4rem; color: inherit; text-decoration: underline; font-size: 0.8rem; }
.support-form { padding: 0.85rem; border-top: 1px solid var(--border-light); display: flex; flex-direction: column; gap: 0.5rem; background: #ffffff; }
.support-form input[name="name"], .support-form textarea {
  width: 100%; padding: 0.55rem 0.75rem; border-radius: 8px;
  background: var(--bg-soft); border: 1px solid var(--border-light); color: var(--text-main);
  font-family: inherit; font-size: 0.85rem; resize: none;
}
.support-form textarea { height: 64px; }
.support-emoji-picker { display: flex; flex-wrap: wrap; gap: 0.25rem; padding: 0.4rem; background: var(--bg-soft); border-radius: 8px; }
.support-emoji-picker button { background: transparent; border: none; font-size: 1.1rem; cursor: pointer; padding: 0.2rem; }
.support-form-actions { display: flex; justify-content: space-between; align-items: center; }
.support-compose-tools { display: flex; align-items: center; gap: 0.5rem; }
.support-tool { background: var(--bg-soft); border: 1px solid var(--border-light); border-radius: 8px; padding: 0.35rem 0.55rem; cursor: pointer; font-size: 0.9rem; }
.support-file-tool input { display: none; }
#support-file-name { font-size: 0.75rem; color: var(--text-sub); max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.support-form button[type="submit"] { background: var(--accent-primary); color: #fff; border: none; padding: 0.45rem 1rem; border-radius: 8px; font-weight: 600; cursor: pointer; }
.support-status { padding: 0 0.85rem 0.6rem; font-size: 0.78rem; color: var(--accent-primary); }

@media (max-width: 900px) {
  .hero-grid, .platform-overview, .about-grid { grid-template-columns: 1fr; }
  .menu-btn { display: inline-flex; }
  nav#nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(255,255,255,0.97); backdrop-filter: blur(14px); flex-direction: column; padding: 1rem; border-bottom: 1px solid var(--border-light); }
  nav#nav.open { display: flex; }
}
