/* added */

@media(max-width:768px){}
:root {
      --bg: #f5f5f7;
      --bg-soft: #ffffff;
      --text-main: #0f172a;
      --text-soft: #6b7280;
      --accent: #4b5563;
      --accent-soft: rgba(37, 99, 235, 0.1);
      --border-soft: #e5e7eb;
      --radius-lg: 18px;
      --radius-xl: 26px;
      --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
    }
/* Intro preloader */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader-logo {
  display: inline-flex;
  gap: 2px;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: var(--text-main);
}

.preloader-letter {
  opacity: 0;
  transform: translateY(10px);
  animation: preloaderLetter 0.55s forwards ease-out;
}

.preloader-letter:nth-child(1) { animation-delay: 0.00s; }
.preloader-letter:nth-child(2) { animation-delay: 0.06s; }
.preloader-letter:nth-child(3) { animation-delay: 0.12s; }
.preloader-letter:nth-child(4) { animation-delay: 0.18s; }
.preloader-letter:nth-child(5) { animation-delay: 0.24s; }
.preloader-letter:nth-child(6) { animation-delay: 0.30s; }
.preloader-letter:nth-child(7) { animation-delay: 0.36s; }

@keyframes preloaderLetter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.preloader-done .preloader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}


    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html, body {
      scroll-behavior: smooth;
    }

    body {
      font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      background: radial-gradient(circle at top, #ffffff 0, #f5f5f7 36%, #f3f4f6 100%);
      color: var(--text-main);
      line-height: 1.6;
    }

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

    .page {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

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

    /* NAVBAR */

    header {
      position: relative;
      z-index: 40;
      background: transparent;
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 0 10px;
    }

    .nav-left {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .logo-circle {
      width: 40px;
      height: 40px;
      border-radius:0;
      background: #212121;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #f9fafb;
      font-size: 18px;
      font-weight: 600;
      
    }

    .brand-text {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .brand-text span:first-child {
      font-weight: 600;
      letter-spacing: 0.04em;
      font-size: 16px;
    }

    .brand-text span:last-child {
      font-size: 11px;
      color: var(--text-soft);
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 22px;
      font-size: 13px;
      color: var(--text-soft);
    }

    .nav-links a {
      position: relative;
      padding-bottom: 2px;
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 0;
      height: 2px;
      border-radius:0;
      background: var(--accent);
      transition: width 0.18s ease-out;
    }

    .nav-links a:hover::after {
      width: 14px;
    }

    .nav-cta {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 4px;
      max-width: 220px;
    }

    .nav-cta span {
      font-size: 11px;
      color: var(--text-soft);
    }

    .btn {
      border-radius:0;
      padding: 9px 18px;
      border: 1px solid transparent;
      font-size: 12px;
      font-weight: 500;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      cursor: pointer;
      transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out, border-color 0.12s ease-out;
      white-space: nowrap;
    }

    .btn-primary {
      background: #212121;
      color: #f9fafb;
      
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      
    }

    .btn-ghost {
      background: transparent;
      color: #212121;
      border-color: var(--border-soft);
    }

    .btn-ghost:hover {
      background: rgba(15, 23, 42, 0.03);
    }

    .btn-login {
      font-size: 12px;
      text-decoration: none;
      padding: 8px 16px;
      border-radius: 4px;
      border: 1px solid #d1d5db;
      background: #ffffff;
      color: #212121;
      font-weight: 500;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .btn-login:hover {
      background: #f3f4f6;
      border-color: #9ca3af;
    }

    /* HERO */

    .hero {
      padding: 40px 0 70px;
    }

    .hero-inner {
      display: grid;
      grid-template-columns: minmax(0, 3fr) minmax(0, 2.7fr);
      gap: 36px;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 4px 12px;
      border-radius:0;
      background: rgba(15, 23, 42, 0.03);
      border: 1px solid rgba(15, 23, 42, 0.06);
      font-size: 11px;
      color: var(--text-soft);
      margin-bottom: 14px;
    }

    .eyebrow-dot {
      width: 7px;
      height: 7px;
      border-radius:0;
      background: #22c55e;
      
    }

    .hero-title {
      font-size: clamp(28px, 3.2vw, 38px);
      line-height: 1.17;
      letter-spacing: -0.03em;
      font-weight: 600;
      margin-bottom: 16px;
    }

    .hero-title span.highlight {
      background: linear-gradient(120deg, #212121, #1d4ed8);
      -webkit-background-clip: text;
      color: transparent;
    }

    .hero-sub {
      font-size: 14px;
      color: var(--text-soft);
      max-width: 520px;
      margin-bottom: 22px;
    }

    .hero-sub strong {
      color: #212121;
      font-weight: 500;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 18px;
    }

    .hero-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      font-size: 11px;
      color: var(--text-soft);
    }

    .hero-meta span {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .hero-meta small {
      width: 5px;
      height: 5px;
      border-radius:0;
      background: var(--border-soft);
    }

    /* HERO CARD */

    .hero-card {
      border-radius:0;
      background: rgba(255, 255, 255, 0.95);
      
      padding: 20px 20px 18px;
      border: 1px solid rgba(148, 163, 184, 0.18);
      backdrop-filter: blur(22px);
    }

    .hero-card-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 14px;
    }

    .hero-card-title {
      font-size: 13px;
      font-weight: 500;
      color: var(--text-soft);
    }

    .hero-pill {
      padding: 3px 9px;
      border-radius:0;
      font-size: 10px;
      background: rgba(22, 163, 74, 0.07);
      color: #16a34a;
      border: 1px solid rgba(22, 163, 74, 0.25);
    }

    .hero-number {
      font-size: 26px;
      font-weight: 600;
      letter-spacing: -0.04em;
      margin-bottom: 6px;
    }

    .hero-number span {
      font-size: 13px;
      font-weight: 400;
      color: var(--text-soft);
      margin-left: 4px;
    }

    .hero-trend {
      font-size: 11px;
      color: var(--text-soft);
      display: flex;
      align-items: center;
      gap: 4px;
      margin-bottom: 16px;
    }

    .hero-trend b {
      color: #16a34a;
      font-weight: 500;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin-bottom: 12px;
    }

    .hero-metric {
      border-radius:0;
      padding: 10px 11px;
      border: 1px solid rgba(226, 232, 240, 0.9);
      background: linear-gradient(135deg, #f9fafb, #ffffff);
    }

    .hero-metric-label {
      font-size: 10px;
      color: var(--text-soft);
      margin-bottom: 4px;
    }

    .hero-metric-value {
      font-size: 13px;
      font-weight: 500;
    }

    .hero-metric-value span {
      font-size: 11px;
      color: #16a34a;
      margin-left: 4px;
      font-weight: 500;
    }

    .mini-note {
      font-size: 9px;
      color: var(--text-soft);
    }

    /* GENERIC SECTION STYLES */

    section {
      padding: 26px 0 40px;
    }

    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      gap: 16px;
      margin-bottom: 18px;
    }

    .section-title {
      font-size: 20px;
      font-weight: 600;
      letter-spacing: -0.02em;
    }

    .section-sub {
      font-size: 12px;
      color: var(--text-soft);
      max-width: 380px;
    }

    .section-header .pill {
      margin-bottom: 12px;
    }

    .pill {
      padding: 4px 10px;
      border-radius:0;
      background: rgba(15, 23, 42, 0.03);
      border: 1px solid rgba(148, 163, 184, 0.3);
      font-size: 10px;
      color: var(--text-soft);
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .pill-dot {
      width: 6px;
      height: 6px;
      border-radius:0;
      background: var(--accent);
    }

    .card-row {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
    }

    .card {
      border-radius:0;
      background: var(--bg-soft);
      border: 1px solid rgba(226, 232, 240, 0.9);
      padding: 14px 14px 16px;
      
    }

    .card-label {
      font-size: 11px;
      color: var(--text-soft);
      margin-bottom: 3px;
    }

    .card-title {
      font-size: 14px;
      font-weight: 500;
      margin-bottom: 6px;
    }

    .card-body {
      font-size: 12px;
      color: var(--text-soft);
    }

    .card-tag-row {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 10px;
    }

    .tag {
      font-size: 10px;
      padding: 3px 8px;
      border-radius:0;
      background: rgba(15, 23, 42, 0.03);
      border: 1px solid rgba(209, 213, 219, 0.9);
      color: var(--text-soft);
    }

    /* ABOUT / MANIFESTO */

    .two-col {
      display: grid;
      grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
      gap: 26px;
      align-items: flex-start;
    }

    .quote-box {
      border-radius:0;
      background: var(--bg-soft);
      border: 1px solid rgba(209, 213, 219, 0.9);
      padding: 16px 18px;
      
      font-size: 12px;
      color: var(--text-soft);
    }

    .quote-box strong {
      color: #212121;
      font-weight: 500;
    }

    .quote-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 10px;
      font-size: 11px;
      color: var(--text-soft);
    }

    .quote-meta span:first-child {
      font-weight: 500;
      color: #212121;
    }

    .story-col {
      max-width: 540px;
    }

    .story-col p {
      font-size: 13px;
      color: var(--text-soft);
      line-height: 1.6;
    }

    .story-highlights {
      margin-top: 22px;
      padding-top: 14px;
      border-top: 1px solid rgba(209, 213, 219, 0.8);
    }

    .story-highlights-label {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: #9ca3af;
      margin-bottom: 6px;
    }

    .story-highlights ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .story-highlights li {
      font-size: 12px;
      color: var(--text-soft);
      margin-bottom: 4px;
      position: relative;
      padding-left: 14px;
    }

    .story-highlights li::before {
      content: "";
      position: absolute;
      left: 3px;
      top: 7px;
      width: 4px;
      height: 4px;
      border-radius: 999px;
      background: var(--accent);
    }

    
    .story-meters {
      margin-top: 14px;
      padding: 10px 12px 12px;
      border-radius: 12px;
      background: #f9fafb;
      border: 1px solid rgba(229, 231, 235, 0.9);
    }

    .story-meters-header {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      gap: 8px;
      margin-bottom: 6px;
    }

    .story-meters-title {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: #6b7280;
    }

    .story-meters-caption {
      font-size: 11px;
      color: #9ca3af;
    }

    .meter-row {
      margin-bottom: 6px;
    }

    .meter-row-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 3px;
      gap: 6px;
    }

    .meter-label {
      font-size: 11px;
      color: var(--text-soft);
    }

    .meter-value {
      font-size: 11px;
      color: #6b7280;
    }

    .meter-bar {
      position: relative;
      height: 4px;
      border-radius: 999px;
      background: #e5e7eb;
      overflow: hidden;
    }

    .meter-bar-fill {
      height: 100%;
      background: #212121;
      border-radius: 999px;
      width: 0;
    }

    .meter-bar-fill.meter-1 {
      animation: meter-grow-1 1.0s ease-out forwards;
    }

    .meter-bar-fill.meter-2 {
      animation: meter-grow-2 1.1s ease-out forwards;
    }

    .meter-bar-fill.meter-3 {
      animation: meter-grow-3 1.2s ease-out forwards;
    }

    @keyframes meter-grow-1 {
      from { width: 0; }
      to { width: 40%; }
    }

    @keyframes meter-grow-2 {
      from { width: 0; }
      to { width: 35%; }
    }

    @keyframes meter-grow-3 {
      from { width: 0; }
      to { width: 25%; }
    }

    .story-meters-link {
      display: inline-flex;
      align-items: center;
      margin-top: 4px;
      font-size: 11px;
      color: #212121;
      text-decoration: none;
    }

    .story-meters-link:hover {
      text-decoration: underline;
    }
.story-panel {
      padding: 18px 18px 16px;
      border-radius: 16px;
      background: #ffffff;
      border: 1px solid rgba(209, 213, 219, 0.7);
      box-shadow: 0 16px 36px rgba(15,23,42,0.08);
    }

    .founder-card {
      border-radius: 16px;
      background: #ffffff;
      border: 1px solid rgba(209, 213, 219, 0.9);
      padding: 0;
      overflow: hidden;
      box-shadow: 0 18px 45px rgba(15,23,42,0.10);
      display: flex;
      flex-direction: column;
    }

    .founder-photo img {
      display: block;
      width: 100%;
      height: auto;
    }

    .founder-copy {
      padding: 14px 16px 16px;
      font-size: 12px;
      color: var(--text-soft);
    }

    .founder-quote {
      margin: 0 0 8px;
    }

    .founder-quote strong {
      color: #212121;
      font-weight: 600;
    }

    @media (max-width: 900px) {
      #hakkimizda .two-col {
        grid-template-columns: minmax(0, 1fr);
      }

      .founder-card {
        max-width: 420px;
        margin: 14px auto 0;
      }
    }


    /* TIMELINE */

    .timeline {
      border-radius:0;
      border: 1px solid rgba(226, 232, 240, 0.9);
      background: var(--bg-soft);
      padding: 14px 16px;
      display: grid;
      grid-template-columns: minmax(0, 2.2fr) minmax(0, 2.3fr);
      gap: 18px;
      margin-top: 12px;
    }

    .timeline-list {
      list-style: none;
      border-left: 1px dashed rgba(148, 163, 184, 0.7);
      padding-left: 14px;
    }

    .timeline-item {
      position: relative;
      padding-bottom: 10px;
      margin-bottom: 8px;
    }

    .timeline-item:last-child {
      padding-bottom: 0;
      margin-bottom: 0;
    }

    .timeline-dot {
      position: absolute;
      left: -19px;
      top: 2px;
      width: 9px;
      height: 9px;
      border-radius:0;
      background: #212121;
      
    }

    .timeline-label {
      font-size: 11px;
      color: var(--text-soft);
      margin-bottom: 2px;
    }

    .timeline-title {
      font-size: 13px;
      font-weight: 500;
      margin-bottom: 2px;
    }

    .timeline-body {
      font-size: 11px;
      color: var(--text-soft);
    }

    /* FAQ */

    .faq-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }

    .faq-item {
      border-radius:0;
      background: var(--bg-soft);
      border: 1px solid rgba(226, 232, 240, 0.9);
      padding: 12px 14px;
      font-size: 12px;
    }

    .faq-q {
      font-weight: 500;
      margin-bottom: 4px;
    }

    .faq-a {
      color: var(--text-soft);
    }

    /* CONTACT */

    .contact {
      border-radius:0;
      background: linear-gradient(135deg, #ffffff, #eef2ff);
      border: 1px solid rgba(191, 219, 254, 0.8);
      padding: 18px 20px 18px;
      
      display: grid;
      grid-template-columns: minmax(0, 2.4fr) minmax(0, 2.2fr);
      gap: 16px;
      align-items: center;
    }

    .contact h3 {
      font-size: 18px;
      letter-spacing: -0.02em;
      margin-bottom: 6px;
    }

    .contact p {
      font-size: 12px;
      color: var(--text-soft);
      margin-bottom: 10px;
    }

    .contact-meta {
      font-size: 11px;
      color: var(--text-soft);
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 6px;
    }

    .contact-form {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    .form-field {
      display: flex;
      flex-direction: column;
      gap: 4px;
      font-size: 11px;
    }

    .form-field label {
      color: var(--text-soft);
    }

    .form-field input,
    .form-field textarea {
      border-radius:0;
      border: 1px solid rgba(209, 213, 219, 0.9);
      padding: 7px 11px;
      font-family: inherit;
      font-size: 11px;
      outline: none;
      background: rgba(255, 255, 255, 0.9);
    }

    .form-field textarea {
      border-radius:0;
      min-height: 64px;
      resize: vertical;
      grid-column: 1 / -1;
    }

    .form-row-full {
      grid-column: 1 / -1;
      display: flex;
      justify-content: flex-end;
      margin-top: 2px;
    }

    /* FOOTER */

    footer {
      border-top: 1px solid rgba(229, 231, 235, 0.8);
      margin-top: 28px;
      padding: 18px 0 24px;
      font-size: 11px;
      color: var(--text-soft);
    }

    .footer-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .footer-links {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
    }

    .footer-links a {
      text-decoration: underline;
      text-decoration-style: dotted;
      text-underline-offset: 3px;
    }

    .risk-text {
      max-width: 520px;
    }

    /* RESPONSIVE */

    @media (max-width: 960px) {
      .hero-inner,
      .two-col,
      .timeline,
      .contact {
        grid-template-columns: minmax(0, 1fr);
      }

      .hero {
        padding-top: 24px;
      }

      .section-header {
        flex-direction: column;
        align-items: flex-start;
      }

      .contact-form {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 780px) {
      .nav-links,
      .nav-cta {
        display: none;
      }

      

      .hero-inner {
        gap: 26px;
      }

      .hero-card {
        order: -1;
      }

      .card-row {
        grid-template-columns: minmax(0, 1fr);
      }

      .faq-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    @media (max-width: 480px) {
      .hero-actions {
        flex-direction: column;
        align-items: stretch;
      }

      .hero-actions .btn {
        width: 100%;
        justify-content: center;
      }

      .hero {
        padding-bottom: 50px;
      }
    }

/* Merged site additions */

.logo-img {
  width: 40px;
  height: 40px;
  border-radius:0;
  object-fit: contain;
  background: #ffffff;
  
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.metric-card {
  border-radius:0;
  border: 1px solid rgba(226, 232, 240, 0.95);
  padding: 12px 14px;
  background: var(--bg-soft);
}

.metric-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.metric-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.metric-value span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
}

.metric-sub {
  font-size: 11px;
  color: var(--text-soft);
  line-height: 1.5;
}

.table-wrapper {
  border-radius:0;
  border: 1px solid rgba(226, 232, 240, 0.9);
  overflow: hidden;
}

.portfolio-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.portfolio-table thead {
  background: #f3f4f6;
}

.portfolio-table th,
.portfolio-table td {
  padding: 8px 10px;
  text-align: left;
}

.portfolio-table th {
  font-weight: 600;
  color: #212121;
}

.portfolio-table tr:nth-child(even) td {
  background: #f9fafb;
}

.tag-link {
  text-decoration: none;
}

.tag-link:hover {
  text-decoration: underline;
}

/* Mobile nav behavior */
@media (max-width: 768px) {
  .nav {
    position: relative;
  }

  .nav-links {
    position: absolute;
    right: 16px;
    top: 60px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 0;
    padding: 10px 14px;
    gap: 12px;
    display: none;
    z-index: 40;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav[data-open="true"] .nav-links {
    display: flex;
  }

  .nav-cta span {
    display: none;
  }
}

/* NAV-TOGGLE FINAL CLEAN VERSION */

/* Desktop: hidden */
.nav-toggle {
  margin-right:20px;
    display: none;
}

/* Mobile: visible */
@media (max-width: 768px) {
    .nav-toggle {
  margin-right:20px;
        display: flex !important;
        width: 28px;
        height: 22px;
        flex-direction: column;
        justify-content: space-between;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .nav-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background: #111;
        border-radius: 2px;
        transition: 0.3s ease;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}
/* mobile login button */

.mobile-login-btn {
  display:none;
  font-size:13px;
  text-decoration:none;
  color:black;
  padding:6px 10px;
  border:1px solid #d1d5db;
  border-radius:6px;
  background:white;
}

@media(max-width:768px){
  .mobile-login-btn {
    display:block;
    margin-right:20px;
    margin-left:auto;
  }
  .nav-cta {display:none!important;}
  .nav-left {padding-left:20px!important;}
}

@media(min-width:769px){
  .mobile-login-btn {display:none;}
  .mobile-profile-btn {display:none !important;}
}

/* mobile profile icon */
.mobile-profile-btn {
  display: none;
  text-decoration: none;
  color: inherit;
}

@media (max-width: 768px) {
  .mobile-profile-btn {
    display: inline-flex;
    align-items: center;
    margin-left:auto;
    margin-right:16px;
  }
  .mobile-profile-btn svg {
    width: 22px;
    height: 22px;
  }
}



/* Floating bottom-right CTA */

.floating-support-btn {
  position: fixed;
  right: 24px;
  bottom: 72px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 0;
  background: #ffffff;
  color: #212121;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(15,23,42,0.2);
  border: 1px solid #e5e7eb;
  letter-spacing: 0.04em;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
              background 0.18s ease, border-color 0.18s ease;
}

.floating-support-btn:hover {
  transform: translateY(-1px);
  background: #f9fafb;
  border-color: #d1d5db;
  box-shadow: 0 14px 32px rgba(15,23,42,0.3);
}

@media (max-width: 768px) {
  .floating-support-btn {
    right: 16px;
    bottom: 60px;
    padding: 7px 12px;
    font-size: 12px;
  }
}

.floating-cta-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 0;
  background: #212121;
  color: #f9fafb;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(15,23,42,0.35);
  letter-spacing: 0.04em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.floating-cta-btn:hover {
  background: #000000;
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(15,23,42,0.5);
}

/* Mobile: slightly smaller + higher */
@media (max-width: 768px) {
  .floating-cta-btn {
    right: 16px;
    bottom: 16px;
    padding: 8px 14px;
    font-size: 12px;
  }
}

/* LEGAL PAGES */

.legal-main {
  padding: 60px 0 80px;
}

.legal-layout {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.legal-breadcrumb {
  font-size: 11px;
  color: var(--text-soft);
}

.legal-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.legal-breadcrumb a:hover {
  text-decoration: underline;
}

.legal-card {
  background: var(--bg-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 28px 22px;
  border: 1px solid var(--border-soft);
}

@media (min-width: 768px) {
  .legal-card {
    padding: 36px 40px;
  }
}

.legal-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.legal-title {
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.legal-sub {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 18px;
}

.legal-content {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-main);
}

.legal-content h2 {
  font-size: 14px;
  margin: 18px 0 6px;
}

.legal-content p {
  margin: 4px 0 8px;
}

.legal-content ul {
  padding-left: 18px;
  margin: 4px 0 10px;
}

.legal-content li {
  margin-bottom: 4px;
}

.legal-meta {
  font-size: 11px;
  color: var(--text-soft);
  margin-top: 18px;
}

.signature-block {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-soft);
  font-size: 11px;
}

.signature-block strong {
  display: block;
  margin-bottom: 4px;
}

.signature-line {
  width: 210px;
  height: 34px;
  border-bottom: 1px solid var(--border-soft);
  margin-top: 10px;
}


/* NEWS LAYOUT */

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 8px;
}

.news-filter-btn {
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: #f9fafb;
  padding: 6px 12px;
  font-size: 11px;
  cursor: pointer;
}

.news-filter-btn:hover {
  border-color: var(--accent);
}

.news-search input {
  width: 100%;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  font-size: 12px;
  margin: 6px 0 14px;
}

.news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 768px) {
  .news-list {
    grid-template-columns: 1fr 1fr;
  }
}

.news-item {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  background: #ffffff;
  transition: box-shadow 0.16s ease-out, transform 0.16s ease-out;
}

.news-item:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.news-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--text-soft);
  margin-bottom: 4px;
}

.news-item-cat {
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
}

.news-item-title {
  font-size: 14px;
  margin: 2px 0 4px;
}

.news-item-title a {
  text-decoration: none;
  color: var(--text-main);
}

.news-item-title a:hover {
  color: var(--accent);
}

.news-item-summary {
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.news-item-read {
  font-size: 11px;
  text-decoration: none;
  color: var(--accent);
}

.news-hero {
  margin: 10px 0 12px;
}

.news-hero-image {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
}

.news-hero-image img {
  width: 100%;
  display: block;
}

.news-hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-soft);
}

/* Home "Son Haberler" */

.home-news {
  padding: 60px 0 30px;
}

.home-news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 768px) {
  .home-news-list {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.home-news-item {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  background: #ffffff;
}

.home-news-item h3 {
  font-size: 13px;
  margin-bottom: 4px;
}

.home-news-item a {
  text-decoration: none;
  color: var(--text-main);
}

.home-news-item a:hover {
  color: var(--accent);
}

.home-news-meta {
  font-size: 10px;
  color: var(--text-soft);
  margin-bottom: 4px;
}

.home-news-more {
  margin-top: 14px;
  font-size: 11px;
}


/* ABOUT HUB */

.about-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 8px;
}

.about-filter-btn {
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: #f9fafb;
  padding: 6px 12px;
  font-size: 11px;
  cursor: pointer;
}

.about-filter-btn:hover {
  border-color: var(--accent);
}

.about-search input {
  width: 100%;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  font-size: 12px;
  margin: 6px 0 14px;
}

.about-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 768px) {
  .about-list {
    grid-template-columns: 1fr 1fr;
  }
}

.about-item {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  background: #ffffff;
  transition: box-shadow 0.16s ease-out, transform 0.16s ease-out;
}

.about-item:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.about-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--text-soft);
  margin-bottom: 4px;
  gap: 8px;
}

.about-item-cat {
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
}

.about-item-tags {
  font-size: 10px;
  opacity: 0.8;
}

.about-item-title {
  font-size: 14px;
  margin: 2px 0 4px;
}

.about-item-title a {
  text-decoration: none;
  color: var(--text-main);
}

.about-item-title a:hover {
  color: var(--accent);
}

.about-item-summary {
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.about-item-read {
  font-size: 11px;
  text-decoration: none;
  color: var(--accent);
}


.about-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 18px;
}

.about-nav-btn {
  flex: 1 1 160px;
  min-width: 140px;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  padding: 10px 12px;
  text-decoration: none;
  background: #f9fafb;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: box-shadow 0.16s ease-out, transform 0.16s ease-out, background 0.16s ease-out;
}

.about-nav-btn:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
  background: #ffffff;
}

.about-nav-eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-soft);
}

.about-nav-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

/* === ABOUT RESTYLE OVERRIDES === */

.about-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 22px !important;
}

.about-item {
  border-left: 2px solid var(--accent) !important;
  border-radius: 8px !important;
  padding: 14px 18px !important;
  background: #fbfbfc !important;
  box-shadow: none !important;
  transition: background 0.2s ease;
}

.about-item:hover {
  background: #ffffff !important;
}

.about-item-meta {
  display: flex;
  gap: 10px;
  font-size: 11px !important;
}

.about-item-title {
  font-size: 17px !important;
  margin: 6px 0 !important;
  font-weight: 600 !important;
}

.about-item-summary {
  font-size: 13px !important;
  line-height: 1.6 !important;
}

.about-item-read {
  margin-top: 6px;
  display: inline-block;
  font-size: 12px !important;
  font-weight: 600;
}


/* ICONS for ABOUT CARDS */
.about-item::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  background-color: transparent;
  -webkit-mask: none;
  mask: none;
  background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2'><circle cx='12' cy='12' r='9'/></svg>") center/contain no-repeat;
  margin-bottom: 6px;
}

/* SIDEBAR TOC */
.detail-layout {
  display: flex;
  gap: 26px;
}

.detail-toc {
  min-width: 180px;
  position: sticky;
  top: 80px;
  height: fit-content;
  border-left: 3px solid var(--accent);
  padding-left: 14px;
}

.detail-toc h3 {
  font-size: 13px;
  margin-bottom: 6px;
}

.detail-toc a {
  display: block;
  font-size: 12px;
  padding: 3px 0;
  text-decoration: none;
  color: var(--text-soft);
}

.detail-toc a:hover {
  color: var(--accent);
}


/* === ABOUT ICON VARIANTS === */
.about-item::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  background-color: transparent;
  -webkit-mask: none;
  mask: none;
  background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2'><circle cx='12' cy='12' r='9'/></svg>") center/contain no-repeat;
  margin-bottom: 6px;
}

.about-item:nth-child(2)::before {
  -webkit-mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><rect x="5" y="5" width="14" height="14" rx="3"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><rect x="5" y="5" width="14" height="14" rx="3"/></svg>') center/contain no-repeat;
}

.about-item:nth-child(3)::before {
  -webkit-mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><polygon points="12,4 20,18 4,18"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><polygon points="12,4 20,18 4,18"/></svg>') center/contain no-repeat;
}

.about-item:nth-child(4)::before {
  -webkit-mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M5 18h3v-7H5v7zm5 0h3V6h-3v12zm5 0h3v-4h-3v4z"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M5 18h3v-7H5v7zm5 0h3V6h-3v12zm5 0h3v-4h-3v4z"/></svg>') center/contain no-repeat;
}

.about-item:nth-child(5)::before {
  -webkit-mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 4l7 4v8l-7 4-7-4V8z"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 4l7 4v8l-7 4-7-4V8z"/></svg>') center/contain no-repeat;
}

.about-item:nth-child(6)::before {
  -webkit-mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M4 7h16v2H4zm0 4h10v2H4zm0 4h7v2H4z"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M4 7h16v2H4zm0 4h10v2H4zm0 4h7v2H4z"/></svg>') center/contain no-repeat;
}

.about-item:nth-child(7)::before {
  -webkit-mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 2a7 7 0 00-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 00-7-7z"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 2a7 7 0 00-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 00-7-7z"/></svg>') center/contain no-repeat;
}

.about-item:nth-child(8)::before {
  -webkit-mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M6 4h12v4H6zM4 10h16v10H4z"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M6 4h12v4H6zM4 10h16v10H4z"/></svg>') center/contain no-repeat;
}

.about-item:nth-child(9)::before {
  -webkit-mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M5 5h6v6H5zM13 5h6v6h-6zM5 13h6v6H5zM13 13h6v6h-6z"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M5 5h6v6H5zM13 5h6v6h-6zM5 13h6v6H5zM13 13h6v6h-6z"/></svg>') center/contain no-repeat;
}

.about-item:nth-child(10)::before {
  -webkit-mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 2l4 4-4 4-4-4zM4 14l4-4 4 4-4 4zM14 14l4-4 2 2-4 4z"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 2l4 4-4 4-4-4zM4 14l4-4 4 4-4 4zM14 14l4-4 2 2-4 4z"/></svg>') center/contain no-repeat;
}

/* ABOUT HERO */
.about-hero {
  padding: 18px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.0);
  border: 1px solid var(--border-soft);
  margin-bottom: 18px;
}

.about-hero-title {
  font-size: 22px;
  margin-bottom: 4px;
}

.about-hero-sub {
  font-size: 13px;
  color: var(--text-soft);
}

/* DETAIL STATS + HIGHLIGHT */
.detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  margin-bottom: 8px;
}

.detail-stat-pill {
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  padding: 4px 8px;
  background: #f9fafb;
}

.detail-highlight {
  border-left: 3px solid var(--accent);
  padding: 8px 10px;
  background: #f3f4f6;
  border-radius: 10px;
  font-size: 12px;
  margin-bottom: 10px;
}

/* Breadcrumb refinement */
.legal-breadcrumb {
  font-size: 11px;
  color: var(--text-soft);
}
.legal-breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.legal-breadcrumb a:hover {
  color: var(--accent);
}


/* ===========================
   ÇEREZ BANNERİ
   =========================== */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  max-width: 480px;
  width: calc(100% - 3rem);
  background: var(--bg-soft, #ffffff);
  color: var(--text-main, #0f172a);
  border: 1px solid var(--border-soft, #e5e7eb);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  border-radius: 18px;
  padding: 1.05rem 1.2rem;
  font-family: inherit;
  z-index: 9999;
  display: none;
}

.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cookie-banner__title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-main, #0f172a);
  margin: 0;
}

.cookie-banner__text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-soft, #6b7280);
  margin: 0;
}

.cookie-banner__link {
  font-size: 12px;
  font-weight: 500;
  text-decoration: underline;
  color: var(--accent, #4b5563);
}

.cookie-banner__link:hover {
  opacity: 0.8;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.cookie-btn {
  border-radius: 9999px;
  padding: 0.32rem 0.75rem;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  white-space: nowrap;
}

/* Mobilde yan yana kalmaları için */

.cookie-btn--primary {
  background: #212121;
  color: #f9fafb;
  border-color: #212121;
}

.cookie-btn--primary:hover {
  background: #020617;
  border-color: #020617;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.35);
}

.cookie-btn--ghost {
  background: transparent;
  color: var(--text-main, #0f172a);
  border-color: var(--border-soft, #e5e7eb);
}

.cookie-btn--ghost:hover {
  background: #f3f4f6;
}

@media (max-width: 640px) {
  .cookie-banner {
    left: 1rem;
    right: 1rem;
    width: auto;
    bottom: 1rem;
    padding: 0.9rem 1rem;
  }

  .cookie-banner__actions {
    justify-content: flex-start;
  }
}


@media (max-width: 640px) {
  .cookie-banner__actions {
    justify-content: flex-start;
    gap: 0.35rem;
  }
  .cookie-btn {
    padding: 0.3rem 0.65rem;
    font-size: 10.5px;
  }
}


/* Flash mesajları */
.flash-message {
  max-width: 1080px;
  margin: 12px auto 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  border: 1px solid #bbf7d0;
  background: #ecfdf5;
  color: #166534;
}

.flash-message .flash-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
}

.flash-message .flash-text {
  line-height: 1.4;
}

/* Navbar hoş geldin metni */
.nav-welcome {
  margin-left: 0;
  font-size: 11px;
  color: var(--text-soft);
  white-space: normal;
  text-align: right;
  line-height: 1.3;
}


.nav-welcome::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #16a34a;
  margin-right: 4px;
  box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.2);
  vertical-align: middle;
}


/* ============================
   GLOBAL SEARCH OVERLAY & BUTTON
   ============================ */

.floating-search-btn {
  position: fixed;
  right: 24px;
  bottom: 132px;
  z-index: 890;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: none;
  background: #212121;
  color: #f9fafb;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.floating-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.45);
  background: #020617;
}

.floating-search-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.35);
}

.floating-search-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.floating-search-icon::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  box-sizing: border-box;
}

.floating-search-icon::after {
  content: "";
  width: 6px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  position: absolute;
  right: 2px;
  bottom: 2px;
  transform: rotate(45deg);
}

.floating-search-text {
  letter-spacing: 0.01em;
}

/* Global search overlay */

.global-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 6vh 16px 4vh;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(10px);
}

.global-search-overlay.is-visible {
  display: flex;
}

.global-search-dialog {
  width: 100%;
  max-width: 720px;
  background: #212121;
  color: #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
  padding: 18px 18px 16px;
  position: relative;
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.global-search-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
  color: #f9fafb;
}

.global-search-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  color: #9ca3af;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.global-search-close:hover {
  background: rgba(55, 65, 81, 0.65);
  color: #f9fafb;
}

.global-search-form {
  margin-top: 4px;
}

.global-search-input {
  width: 100%;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  background: rgba(15, 23, 42, 0.9);
  color: #f9fafb;
  font-size: 14px;
  outline: none;
}

.global-search-input::placeholder {
  color: #6b7280;
}

.global-search-input:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.4);
}

.global-search-hint {
  margin: 6px 1px 8px;
  font-size: 12px;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.global-search-kbd-hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #e5e7eb;
}

.global-search-kbd {
  border-radius: 4px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 2px 5px;
  font-size: 10px;
  text-transform: uppercase;
}

/* Filters / suggestions / recents */

.global-search-filters {
  margin: 6px 1px 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
}

.global-search-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.global-search-filter-label {
  color: #9ca3af;
  margin-right: 4px;
}

.global-search-filter {
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid rgba(75, 85, 99, 0.95);
  background: rgba(17, 24, 39, 0.9);
  color: #e5e7eb;
  cursor: pointer;
  font-size: 11px;
}

.global-search-filter.is-active {
  background: #0ea5e9;
  border-color: #0ea5e9;
  color: #0b1120;
}

.global-search-suggestions,
.global-search-recents {
  margin: 4px 1px 4px;
  font-size: 11px;
  color: #9ca3af;
}

.global-search-suggest-label,
.global-search-recents-label {
  display: block;
  margin-bottom: 2px;
}

.global-search-suggestions .global-search-suggestion,
.global-search-recents .global-search-recent {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  margin: 2px 4px 0 0;
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(17, 24, 39, 0.95);
  color: #e5e7eb;
  cursor: pointer;
}

.global-search-suggestions .global-search-suggestion:hover,
.global-search-recents .global-search-recent:hover {
  background: rgba(31, 41, 55, 0.95);
}

/* Results list */

.global-search-results {
  margin-top: 8px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 4px;
}

.global-search-result {
  display: block;
  padding: 7px 9px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  color: #e5e7eb;
  margin-bottom: 4px;
  font-size: 13px;
  background: transparent;
}

.global-search-result:hover {
  background: rgba(31, 41, 55, 0.9);
  border-color: rgba(55, 65, 81, 0.9);
  color: #f9fafb;
}



.global-search-result--active {
  background: rgba(31, 41, 55, 0.98);
  border-color: rgba(55, 65, 81, 1);
  color: #f9fafb;
}



.global-search-result-badge {
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 1px;
}

.global-search-result--active .global-search-result-badge {
  color: #d1d5db;
}

.global-search-result-title {
  font-weight: 500;
  margin-bottom: 1px;
}

.global-search-result-desc {
  font-size: 12px;
  color: #9ca3af;
}

.global-search-result--active .global-search-result-desc {
  color: #e5e7eb;
}

.global-search-result-meta {
  margin-top: 2px;
  font-size: 11px;
  color: #6b7280;
}

.global-search-empty {
  font-size: 13px;
  color: #e5e7eb;
  padding: 8px 4px;
}

.global-search-dym {
  margin-top: 4px;
  font-size: 12px;
  color: #9ca3af;
}

.global-search-didyoumean {
  margin-left: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(17, 24, 39, 0.95);
  color: #e5e7eb;
  cursor: pointer;
}

/* Highlight */

.global-search-highlight {
  background: rgba(250, 204, 21, 0.92);
  color: #212121;
  padding: 0 2px;
  border-radius: 3px;
}

/* Responsive */

@media (max-width: 768px) {
  .floating-search-btn {
    right: 16px;
    bottom: 128px;
    padding: 9px 13px;
  }

  .global-search-dialog {
    padding: 14px 14px 12px;
    max-width: 100%;
  }

  .global-search-hint {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Hidden search trigger: keeps JS search overlay working without showing old button */
.ep-search-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Floating quick actions (+) menu: Arama, İletişim, Yatırım hesaplama */
.floating-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 8px;
}

.floating-actions-toggle {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: none;
  background: #212121;
  color: #f9fafb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.45);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.floating-actions-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.55);
  background: #020617;
}

.floating-actions-toggle:active {
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.38);
}

.floating-actions-plus,
.floating-actions-plus::before {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.floating-actions-plus {
  position: relative;
}

.floating-actions-plus::before {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(90deg);
}

/* Open state: turn + into - (hide vertical bar) */
.floating-actions-toggle.is-open .floating-actions-plus::before {
  opacity: 0;
  transform: translateY(-50%) rotate(90deg) scaleY(0);
}

/* Menu container and items */
.floating-actions-menu {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 4px;
}

.floating-actions-menu.is-open {
  display: flex;
}

.floating-actions-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: #212121;
  color: #f9fafb;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.4);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.18s ease,
              box-shadow 0.18s ease,
              background 0.18s ease,
              border-color 0.18s ease,
              color 0.18s ease;
}

.floating-actions-item:hover {
  transform: translateY(-1px);
  background: #f9fafb;
  color: #212121;
  border-color: #d1d5db;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.4);
}

.floating-actions-item:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.35);
}

/* Mobile tweaks for quick actions */
@media (max-width: 768px) {
  .floating-actions {
    right: 16px;
    bottom: 16px;
    gap: 6px;
  }

  .floating-actions-toggle {
    width: 42px;
    height: 42px;
  }

  .floating-actions-item {
    padding: 7px 12px;
    font-size: 11px;
  }
}

/* Floating AI investment assistant button (left side) */
.floating-ai-btn {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: none;
  background: #212121;
  color: #f9fafb;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.45);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.floating-ai-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.6);
  background: #020617;
}

.floating-ai-btn:active {
  transform: translateY(0);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.45);
}

/* Simple chat bubble icon */
.floating-ai-icon {
  position: relative;
  width: 18px;
  height: 14px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.85);
  box-sizing: border-box;
}

.floating-ai-icon::before {
  content: "";
  position: absolute;
  left: 3px;
  bottom: -3px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  border-left: 1px solid rgba(148, 163, 184, 0.85);
  border-bottom: 1px solid rgba(148, 163, 184, 0.85);
  transform: skewX(-15deg);
}

.floating-ai-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9);
  pointer-events: none;
}

/* AI chat panel */
.ai-chat-panel {
  position: fixed;
  left: 24px;
  bottom: 80px;
  width: 320px;
  max-height: 460px;
  display: none;
  flex-direction: column;
  background: #020617;
  color: #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.6);
  z-index: 95;
  overflow: hidden;
}

.ai-chat-panel.is-open {
  display: flex;
}

.ai-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 8px;
  border-bottom: 1px solid rgba(55, 65, 81, 0.9);
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.32), transparent 55%);
}

.ai-chat-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.ai-chat-close {
  border: none;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.ai-chat-close:hover {
  background: rgba(55, 65, 81, 0.7);
  color: #f9fafb;
}

.ai-chat-body {
  padding: 10px 10px 8px;
  flex: 1;
  overflow-y: auto;
  background: radial-gradient(circle at top, rgba(15, 118, 110, 0.16), transparent 55%);
}

.ai-chat-message {
  display: flex;
  margin-bottom: 6px;
}

.ai-chat-message-bot {
  justify-content: flex-start;
}

.ai-chat-message-user {
  justify-content: flex-end;
}

.ai-chat-message-content {
  max-width: 80%;
  padding: 7px 9px;
  font-size: 12px;
  line-height: 1.4;
  border-radius: 10px;
  border: 1px solid rgba(55, 65, 81, 0.85);
  background: rgba(15, 23, 42, 0.98);
  color: #e5e7eb;
}

.ai-chat-message-user .ai-chat-message-content {
  background: rgba(37, 99, 235, 0.95);
  border-color: rgba(59, 130, 246, 1);
  color: #f9fafb;
}

.ai-chat-input {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 8px 8px 9px;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  background: rgba(15, 23, 42, 0.98);
  gap: 6px;
}


.ai-chat-input button {
  border-radius: 999px;
  border: none;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  background: #f9fafb;
  color: #212121;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.ai-chat-input button:hover {
  background: #e5e7eb;
  transform: translateY(-0.5px);
}

.ai-chat-input button:active {
  transform: translateY(0);
}

/* Mobile layout for AI chat */
@media (max-width: 768px) {
  .floating-ai-btn {
    left: 16px;
    bottom: 16px;
  }

  .ai-chat-panel {
    left: 16px;
    right: 16px;
    bottom: 72px;
    width: auto;
    max-height: 70vh;
  }
}

.global-search-result--active .global-search-result-meta { color: #d1d5db; }

.ai-chat-identity {
  display: flex;
  gap: 6px;
}

.ai-chat-identity input[type="text"],
.ai-chat-identity input[type="email"] {
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: #020617;
  color: #e5e7eb;
  padding: 5px 10px;
  font-size: 11px;
  outline: none;
}

.ai-chat-identity input[type="text"]::placeholder,
.ai-chat-identity input[type="email"]::placeholder {
  color: #6b7280;
}

.ai-chat-identity input[type="text"]:focus,
.ai-chat-identity input[type="email"]:focus {
  border-color: rgba(59, 130, 246, 0.9);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.4);
}

.ai-chat-input-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ai-chat-input-row input[type="text"] {
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: #020617;
  color: #e5e7eb;
  padding: 6px 10px;
  font-size: 12px;
  outline: none;
}

.ai-chat-input-row input[type="text"]::placeholder {
  color: #6b7280;
}

.ai-chat-input-row input[type="text"]:focus {
  border-color: rgba(59, 130, 246, 0.9);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.4);
}

.ai-chat-register-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.9);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  color: #e5e7eb;
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ai-chat-register-link:hover {
  background: rgba(59, 130, 246, 0.15);
  color: #f9fafb;
  border-color: rgba(59, 130, 246, 1);
}

/* === Ependyo - Yatırım destek hattı (kurumsal stil) === */
.ai-chat-panel {
  position: fixed;
  left: 24px;
  bottom: 80px;
  width: 340px;
  max-height: 440px;
  display: none;
  flex-direction: column;
  background: var(--bg-soft);
  color: var(--text-main);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
  z-index: 95;
  overflow: hidden;
}

.ai-chat-panel.is-open {
  display: flex;
}

.ai-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 9px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background: linear-gradient(135deg, #0f172a, #212121);
}

.ai-chat-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.ai-chat-close {
  border: none;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.ai-chat-close:hover {
  background: rgba(31, 41, 55, 0.85);
  color: #f9fafb;
  transform: translateY(-0.5px);
}

.ai-chat-body {
  padding: 12px 12px 10px;
  flex: 1;
  overflow-y: auto;
  background: transparent;
}

.ai-chat-message {
  display: flex;
  margin-bottom: 8px;
}

.ai-chat-message-bot {
  justify-content: flex-start;
}

.ai-chat-message-user {
  justify-content: flex-end;
}

.ai-chat-message-content {
  max-width: 82%;
  padding: 8px 11px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: #f9fafb;
  color: var(--text-soft);
}

.ai-chat-message-user .ai-chat-message-content {
  background: rgba(37, 99, 235, 0.96);
  border-color: rgba(59, 130, 246, 1);
  color: #f9fafb;
}

.ai-chat-input {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 8px 10px 9px;
  border-top: 1px solid var(--border-soft);
  background: #f9fafb;
  gap: 6px;
}

.ai-chat-input-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ai-chat-input-row input[type="text"] {
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 1);
  background: #ffffff;
  color: var(--text-main);
  padding: 7px 12px;
  font-size: 12px;
  outline: none;
}

.ai-chat-input-row input[type="text"]::placeholder {
  color: #9ca3af;
}

.ai-chat-input-row input[type="text"]:focus {
  border-color: rgba(59, 130, 246, 0.95);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.24);
}

/* Gönder butonu */
.ai-chat-input button {
  border-radius: 999px;
  border: none;
  padding: 7px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  background: #212121;
  color: #f9fafb;
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.ai-chat-input button:hover {
  background: #020617;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.35);
  transform: translateY(-0.5px);
}

.ai-chat-input button:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
}

/* Kayıt ol / giriş yap linkleri - metin stilinde */
.ai-chat-register-link,
.ai-chat-login-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  color: #2563eb;
  border: none;
  padding: 0;
  background: transparent;
}

.ai-chat-register-link:hover,
.ai-chat-login-link:hover {
  text-decoration: underline;
  color: #1d4ed8;
}

.ai-chat-or-text {
  display: inline-block;
  margin: 0 6px;
  font-size: 11px;
  color: #9ca3af;
}

/* Mobil uyum */
@media (max-width: 768px) {
  .ai-chat-panel {
    left: 12px;
    right: 12px;
    bottom: 72px;
    width: auto;
    max-height: 70vh;
  }
}

/* === Ependyo - Yatırım destek hattı (ChatGPT esintili koyu tema) === */
.ai-chat-panel {
  position: fixed;
  left: 24px;
  bottom: 80px;
  width: 340px;
  max-height: 460px;
  display: none;
  flex-direction: column;
  background: #050816;
  color: #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.65);
  border: 1px solid #1f2937;
  z-index: 95;
  overflow: hidden;
}

.ai-chat-panel.is-open {
  display: flex;
}

.ai-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 9px;
  border-bottom: 1px solid #1f2937;
  background: linear-gradient(135deg, #020617, #030712);
}

.ai-chat-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.ai-chat-close {
  border: none;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.ai-chat-close:hover {
  background: rgba(31, 41, 55, 0.85);
  color: #f9fafb;
  transform: translateY(-0.5px);
}

.ai-chat-body {
  padding: 12px 12px 10px;
  flex: 1;
  overflow-y: auto;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617);
}

.ai-chat-message {
  display: flex;
  margin-bottom: 8px;
}

.ai-chat-message-bot {
  justify-content: flex-start;
}

.ai-chat-message-user {
  justify-content: flex-end;
}

.ai-chat-message-content {
  max-width: 82%;
  padding: 8px 11px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 12px;
  border: 1px solid #1f2937;
  background: #212121;
  color: #e5e7eb;
}

.ai-chat-message-user .ai-chat-message-content {
  background: #1f2937;
  border-color: #374151;
  color: #f9fafb;
}

/* Alt input alanı */
.ai-chat-input {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 8px 10px 9px;
  border-top: 1px solid #1f2937;
  background: #020617;
  gap: 6px;
}

.ai-chat-input-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ai-chat-input-row input[type="text"] {
  flex: 1;
  border-radius: 999px;
  border: 1px solid #4b5563;
  background: #020617;
  color: #e5e7eb;
  padding: 7px 12px;
  font-size: 12px;
  outline: none;
}

.ai-chat-input-row input[type="text"]::placeholder {
  color: #6b7280;
}

.ai-chat-input-row input[type="text"]:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35);
}

/* Gönder butonu - ChatGPT tarzı aksan (yeşil) */
.ai-chat-input button {
  border-radius: 999px;
  border: none;
  padding: 7px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  background: #22c55e;
  color: #022c22;
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.ai-chat-input button:hover {
  background: #16a34a;
  color: #ecfdf5;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.4);
  transform: translateY(-0.5px);
}

.ai-chat-input button:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.3);
}

/* Kayıt ol / giriş yap linkleri - koyu tema uyumlu */
.ai-chat-register-link,
.ai-chat-login-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  color: #93c5fd;
  border: none;
  padding: 0;
  background: transparent;
}

.ai-chat-register-link:hover,
.ai-chat-login-link:hover {
  text-decoration: underline;
  color: #bfdbfe;
}

.ai-chat-or-text {
  display: inline-block;
  margin: 0 6px;
  font-size: 11px;
  color: #9ca3af;
}

/* Mobil uyum */
@media (max-width: 768px) {
  .ai-chat-panel {
    left: 12px;
    right: 12px;
    bottom: 72px;
    width: auto;
    max-height: 70vh;
  }
}

/* === Ependyo - Yatırım destek hattı mini chat (gelişmiş) === */
.ai-chat-panel {
  position: fixed;
  left: 24px;
  bottom: 80px;
  width: 340px;
  max-height: 460px;
  display: none;
  flex-direction: column;
  background: #050816;
  color: #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.65);
  border: 1px solid #1f2937;
  z-index: 95;
  overflow: hidden;
}

.ai-chat-panel.is-open {
  display: flex;
}

.ai-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 9px;
  border-bottom: 1px solid #1f2937;
  background: linear-gradient(135deg, #020617, #030712);
}

.ai-chat-header-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.ai-chat-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.ai-chat-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ai-chat-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}

.ai-chat-status-text {
  font-size: 10px;
  color: #9ca3af;
  text-transform: lowercase;
}

.ai-chat-close {
  border: none;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.ai-chat-close:hover {
  background: rgba(31, 41, 55, 0.85);
  color: #f9fafb;
  transform: translateY(-0.5px);
}

.ai-chat-body {
  padding: 12px 12px 10px;
  flex: 1;
  overflow-y: auto;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.94), #020617);
}

.ai-chat-message {
  display: flex;
  margin-bottom: 8px;
}

.ai-chat-message-bot {
  justify-content: flex-start;
}

.ai-chat-message-user {
  justify-content: flex-end;
}

.ai-chat-message-content {
  max-width: 82%;
  padding: 8px 11px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 12px;
  border: 1px solid #1f2937;
  background: #212121;
  color: #e5e7eb;
}

.ai-chat-message-user .ai-chat-message-content {
  background: #1f2937;
  border-color: #374151;
  color: #f9fafb;
}

/* Alt input alanı */
.ai-chat-input {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 7px 10px 8px;
  border-top: 1px solid #1f2937;
  background: #020617;
  gap: 4px;
}

.ai-chat-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 2px 2px;
}

.ai-chat-icon-btn {
  border: none;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  border-radius: 999px;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.ai-chat-icon-btn:hover {
  background: #212121;
  color: #e5e7eb;
  transform: translateY(-0.5px);
}

.ai-chat-icon-symbol {
  font-size: 14px;
  line-height: 1;
}

.ai-chat-input-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ai-chat-input-row input[type="text"] {
  flex: 1;
  border-radius: 999px;
  border: 1px solid #4b5563;
  background: #020617;
  color: #e5e7eb;
  padding: 7px 12px;
  font-size: 12px;
  outline: none;
}

.ai-chat-input-row input[type="text"]::placeholder {
  color: #6b7280;
}

.ai-chat-input-row input[type="text"]:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35);
}

/* Gönder butonu - yeşil aksan */
.ai-chat-input button {
  border-radius: 999px;
  border: none;
  padding: 7px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  background: #22c55e;
  color: #022c22;
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.ai-chat-input button:hover {
  background: #16a34a;
  color: #ecfdf5;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.4);
  transform: translateY(-0.5px);
}

.ai-chat-input button:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.3);
}

/* Kayıt ol / giriş yap linkleri - koyu tema uyumlu */
.ai-chat-register-link,
.ai-chat-login-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  color: #93c5fd;
  border: none;
  padding: 0;
  background: transparent;
}

.ai-chat-register-link:hover,
.ai-chat-login-link:hover {
  text-decoration: underline;
  color: #bfdbfe;
}

.ai-chat-or-text {
  display: inline-block;
  margin: 0 6px;
  font-size: 11px;
  color: #9ca3af;
}

/* Mobil uyum */
@media (max-width: 768px) {
  .ai-chat-panel {
    left: 12px;
    right: 12px;
    bottom: 72px;
    width: auto;
    max-height: 70vh;
  }
}


/* === Yatırım destek hattı - ChatGPT ekranındaki tonlara daha yakın override === */
.ai-chat-panel {
  background: #212121;
  border-radius: 16px;
  border: 1px solid #2f2f2f;
  box-shadow: 0 0 0 1px #111111, 0 20px 40px rgba(0, 0, 0, 0.75);
}

.ai-chat-header {
  background: #212121;
  border-bottom: 1px solid #2f2f2f;
}

.ai-chat-body {
  background: #212121;
}

.ai-chat-message-content {
  background: #2a2a2a;
  border-color: #3a3a3a;
  color: #e5e5e5;
}

.ai-chat-message-user .ai-chat-message-content {
  background: #303030;
  border-color: #4a4a4a;
  color: #f4f4f5;
}

.ai-chat-input {
  background: #303030;
  border-top: 1px solid #3a3a3a;
}

.ai-chat-input-row input[type="text"] {
  background: #212121;
  border: 1px solid #4b4b4b;
  color: #f4f4f5;
}

.ai-chat-input-row input[type="text"]::placeholder {
  color: #9ca3af;
}

.ai-chat-input-row input[type="text"]:focus {
  border-color: #e5e5e5;
  box-shadow: 0 0 0 1px rgba(16, 163, 127, 0.55);
}

/* Toolbar icon buttons */
.ai-chat-icon-btn {
  color: #a3a3a3;
}

.ai-chat-icon-btn:hover {
  background: #2a2a2a;
  color: #f5f5f5;
}

/* Gönder butonu - hafif yeşil vurgu */
.ai-chat-input button {
  background: #e5e5e5;
  color: #041b16;
}

.ai-chat-input button:hover {
  background: #e5e5e5;
  color: #ecfdf5;
  box-shadow: 0 10px 24px rgba(16, 163, 127, 0.35);
}

/* Online nokta ChatGPT yeşiline yakın */
.ai-chat-status-dot {
  background: #e5e5e5;
  box-shadow: 0 0 0 4px rgba(16, 163, 127, 0.18);
}


/* Clean neutral styling for chat send button */
.ai-chat-input button {
  border-radius: 999px;
  border: none;
  padding: 7px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  background: #e5e5e5;
  color: #212121;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.ai-chat-input button:hover {
  background: #d4d4d4;
  color: #020617;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  transform: translateY(-0.5px);
}

.ai-chat-input button:active {
  background: #c4c4c4;
  color: #020617;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transform: translateY(0);
}



/* Softer bubbles: no explicit border line around messages */
.ai-chat-message-content {
  border: none !important;
  background: #2a2a2a;
  color: #e5e5e5;
}

.ai-chat-message-user .ai-chat-message-content {
  background: #303030;
  color: #fafafa;
}



.floating-ai-btn,
.floating-menu-toggle,
.floating-plus-btn {
  background: #212121 !important;
  border: 1px solid #111111;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.floating-ai-btn:hover,
.floating-menu-toggle:hover,
.floating-plus-btn:hover {
  background: #2c2c2c !important;
}


/* === Overrides: unify floating buttons & search to #212121 === */

/* Floating search button (desktop + mobile) */
.floating-search-btn {
  background: #212121 !important;
  border: 1px solid #111111;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.floating-search-btn:hover {
  background: #2c2c2c !important;
}

/* Main floating + toggle that opens quick menu */
.floating-actions-toggle {
  background: #212121 !important;
  color: #f9fafb;
  border: 1px solid #111111;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.75);
}

.floating-actions-toggle:hover {
  background: #2c2c2c !important;
}

/* Global search input & filters with #212121 base */
.global-search-input {
  background: #212121 !important;
  border-color: #3a3a3a !important;
  color: #f4f4f5;
}

.global-search-input::placeholder {
  color: #9ca3af;
}

.global-search-filters {
  background: transparent;
}

.global-search-filter {
  background: #212121 !important;
  border-color: #4b4b4b !important;
}

.global-search-filter.is-active {
  background: #e5e5e5 !important;
  border-color: #e5e5e5 !important;
  color: #212121 !important;
}

/* Search "did you mean" pill */
.global-search-didyoumean {
  background: #212121 !important;
  border-color: #4b4b4b !important;
}



/* Sohbet ekleri (dosya / görsel) */
.ai-chat-message-content .ai-chat-image {
  max-width: 100%;
  border-radius: 10px;
  display: block;
  margin-bottom: 4px;
}

.ai-chat-attachment-link,
.ai-chat-attachment-name {
  font-size: 11px;
  word-break: break-all;
}

.ai-chat-attachment-link {
  text-decoration: underline;
}

/* === Ependyo chat - Faz 1: header + avatar + zaman & gün ayırıcıları === */

/* Header brand + logo */
.ai-chat-header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ai-chat-title {
  position: relative;
  padding-left: 30px;
}

.ai-chat-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #020617;
  background-image: url("ependyo-logo-black.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 75%;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.5);
}

/* Mesaj satırı + avatar yerleşimi */
.ai-chat-message {
  align-items: flex-end;
  gap: 6px;
}

.ai-chat-message-bot {
  flex-direction: row;
}

.ai-chat-message-user {
  flex-direction: row-reverse;
}

/* Avatarlar */
.ai-chat-avatar {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  flex-shrink: 0;
  background: radial-gradient(circle at 30% 30%, #f9fafb, #111827);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #111827;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.7);
}

.ai-chat-avatar-bot {
  background: #020617;
  background-image: url("ependyo-logo-black.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%;
}

.ai-chat-avatar-user {
  background: radial-gradient(circle at 30% 30%, #4f46e5, #0f172a);
  color: #e5e7eb;
}

/* Balon + alt meta alanı */
.ai-chat-bubble-wrap {
  max-width: 80%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ai-chat-message-user .ai-chat-bubble-wrap {
  align-items: flex-end;
}

.ai-chat-message-meta {
  margin-top: 2px;
  font-size: 10px;
  line-height: 1.2;
  color: #9ca3af;
}

.ai-chat-message-name {
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 2px;
  color: #9ca3af;
}

.ai-chat-message-user .ai-chat-message-name {
  text-align: right;
}

.ai-chat-message-bot .ai-chat-message-name {
  text-align: left;
}

/* Gün ayraçları */
.ai-chat-day-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
}

.ai-chat-day-divider::before,
.ai-chat-day-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(75, 85, 99, 0.7));
  margin: 0 6px;
}

.ai-chat-day-divider::after {
  background: linear-gradient(to left, transparent, rgba(75, 85, 99, 0.7));
}

/* Yazıyor balonu için hafif transparanlık */
.ai-chat-message-typing .ai-chat-message-content {
  opacity: 0.9;
}

@media (max-width: 480px) {
  .ai-chat-bubble-wrap {
    max-width: 82%;
  }
}


/* === Ependyo chat - Faz 3: sohbeti e-posta ile gönder butonu === */
.ai-chat-export-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 4px;
}

.ai-chat-export-btn {
  border: none;
  background: transparent;
  padding: 0;
  font-size: 11px;
  color: #9ca3af;
  cursor: pointer;
  text-decoration: underline;
}

.ai-chat-export-btn:hover {
  color: #e5e7eb;
}


/* Sohbeti e-postama gönder butonunu tamamen gizle */
.ai-chat-export-row {
  display: none !important;
}
