/* ==========================================================================
   Akilli Ajan v.01 — marka override'ları + animasyonlar
   Sadece EKLER yapar; lamatic.webflow.css'teki renk/layout'a dokunmaz.
   ========================================================================== */

/* --- Webflow temel kuralları (export'ta eksik olan normalize/webflow.css) --- */
*, *::before, *::after { box-sizing: border-box; }

.w-input, .w-select {
  display: block;
  width: 100%;
  height: 38px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.428571;
  color: #333;
  vertical-align: middle;
  background-color: #fff;
  border: 1px solid #cccccc;
}
textarea.w-input { height: auto; overflow: auto; resize: vertical; }

.w-nav { position: relative; z-index: 1000; }
.w-nav-menu { position: relative; float: right; }
.w-inline-block { max-width: 100%; display: inline-block; }
img { max-width: 100%; vertical-align: middle; display: inline-block; }

/* Hero prompt textarea tam genişlik + iç boşluk (chip/Gönder barı için alt boşluk) */
.message-field.w-input { padding-bottom: 64px; resize: none; }

/* --- Prompt alanını yatay genişlet — AI prompt görünümü ---------------------- */
.hero-form-wrap {
  max-width: 1100px;
  margin-top: 56px;
}
.message-field.w-input {
  min-height: 168px;
  font-size: var(--_typography---text-size--text-medium);
  line-height: 1.5;
}
@media (max-width: 991px) {
  .hero-form-wrap { max-width: 100%; }
}

/* ≤991px: temel masaüstü menüsü gizlenir (mobil menü sonraki faz) */
@media (max-width: 991px) {
  .menu-wrapper { display: none; }
}

/* --- Logo (kırmızı kare + "AA" + "Akilli Ajan" + v.01 rozeti) --------------- */
.navbar-logo-block.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background-color: var(--colors--primary-color);
  color: var(--colors--white-color);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.brand-name {
  color: var(--colors--black-color);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.6px;
  line-height: 1;
}
.brand-badge {
  background-color: var(--colors--primary-color);
  color: var(--colors--white-color);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 5px;
  letter-spacing: 0.3px;
}

/* --- Hero: noktalı arka plan deseni (orijinal arka plan görseli yerine) ----- */
.hero-content-wrapper {
  background-image: radial-gradient(var(--colors--gray-color) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
  background-position: center top;
}

/* --- Navbar menü linkleri: hover'da siyah → kırmızı yuvarlanma --------------- */
.secondary-link-wrapper {
  overflow: hidden;
  display: inline-block;
}
.secondary-link-wrapper .text-regular.primary-500 {
  position: absolute;
  top: 100%;
  left: 0;
}
.secondary-link-wrapper .text-regular.black-500,
.secondary-link-wrapper .text-regular.primary-500 {
  transition: transform 0.35s ease;
}
.secondary-button:hover .secondary-link-wrapper .text-regular.black-500,
.secondary-button:hover .secondary-link-wrapper .text-regular.primary-500 {
  transform: translateY(-100%);
}

/* --- Primary butonlar: hover'da metin yukarı yuvarlanma --------------------- */
.primary-button-text-block > .text-regular {
  transition: transform 0.4s ease;
}
.primary-button:hover .primary-button-text-block > .text-regular {
  transform: translateY(-20px);
}

/* --- Marka logoları şeridi: sonsuz yatay kayma ------------------------------ */
.brand-logo-stork {
  padding: 32px 0;
  background-color: var(--colors--white-color);
}
.brand-logo-conent-wrapper {
  overflow: hidden;
}
.brand-logo-flex.marquee {
  width: max-content;
  justify-content: flex-start;
  animation: aa-marquee 32s linear infinite;
}
.brand-logo-flex.marquee:hover {
  animation-play-state: paused;
}
.brand-logo-marquee .brand-logo {
  filter: grayscale(100%);
  opacity: 0.55;
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.brand-logo-marquee .brand-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}
@keyframes aa-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- Açılışta beliren öğeler (Webflow IX2 yerine hafif reveal) -------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Hareket azaltma tercihi olanlara animasyonsuz sun */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .brand-logo-flex.marquee { animation: none; }
}

/* --- Küçük düzeltmeler ------------------------------------------------------ */
.tomato-aro-icon-block svg,
.hero-button-icon-block svg { display: block; }
.hero-toggle-tag svg { flex: none; }

/* ==========================================================================
   AgentKit / Kullanım Alanları + Sekmeler bölümleri
   ========================================================================== */

.section-sub-title {
  font-size: var(--_typography---all-heading--h2);
  line-height: var(--_typography---line-height--line-height-x);
  font-weight: var(--_typography---font-weight--font-weight-medium);
  letter-spacing: var(--_typography---letterr-spacing--letterr-spacing-xl);
  color: var(--colors--black-color);
}

/* Use-case kart ızgarası */
.aa-usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background-color: var(--colors--gray-color);
  border-radius: 16px;
  margin-top: 2px;
  overflow: hidden;
}
.aa-usecase-grid .analysis-card {
  margin: 0;
  border-radius: 0;
}
.aa-usecase-grid .analysis-card-top {
  height: 200px;
  padding: 20px;
}
.aa-card-bottom {
  margin-top: 24px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 8px;
}

/* Kart placeholder görselleri (eksik PNG'ler yerine) */
.aa-visual {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 1px;
}
.aa-visual.v1 { background: linear-gradient(135deg, #f33736, #ff7a59); }
.aa-visual.v2 { background: linear-gradient(135deg, #376cfb, #4ea8ff); }
.aa-visual.v3 { background: linear-gradient(135deg, #12b615, #6fe06f); }
.aa-visual.v4 { background: linear-gradient(135deg, #1e1e2a, #5b5f66); }

@media (max-width: 991px) {
  .aa-usecase-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .aa-usecase-grid { grid-template-columns: 1fr; }
}

/* --- Sekmeler --------------------------------------------------------------- */
.grow-tag .text-small { color: var(--colors--primary-color); }

.aa-tabs { margin-top: 2px; }

.aa-tab-link {
  cursor: pointer;
  text-decoration: none;
  transition: background-color .3s, box-shadow .3s, color .3s;
}
.aa-tab-link.is-active {
  background-color: var(--colors--white-color);
  color: var(--colors--primary-color);
  box-shadow: 0 20px 50px #0000001f;
}
.aa-tab-link .text-medium { color: inherit; }
.aa-tab-link svg { color: currentColor; flex: none; }

.aa-tab-pane { display: none; }
.aa-tab-pane.is-active { display: block; animation: aa-fade .4s ease; }
@keyframes aa-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Sekme sağ taraf placeholder görselleri */
.aa-tab-visual {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border-radius: 16px;
  overflow: hidden;
}
.aa-tab-visual.v1 { background: radial-gradient(120% 120% at 80% 10%, #ffe1dd, #f1f0f0 60%); }
.aa-tab-visual.v2 { background: radial-gradient(120% 120% at 20% 10%, #dbe6ff, #f1f0f0 60%); }
.aa-tab-visual.v3 {
  background: var(--colors--neutral-white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.aa-float-card {
  position: absolute;
  left: 24px;
  bottom: 24px;
  right: 24px;
  background: var(--colors--white-color);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 16px 40px #62656829;
}
.aa-float-left { display: flex; align-items: center; gap: 12px; }
.aa-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.aa-dot.ok { background: var(--colors--success-color); box-shadow: 0 0 0 4px #12b6151f; }

/* Ajan Durumu kartı (Tab 3) */
.aa-status-card {
  width: 100%;
  max-width: 420px;
  background: var(--colors--white-color);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 30px 60px -20px #83878d4d;
}
.aa-status-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.aa-status-list { display: flex; flex-direction: column; gap: 12px; }
.aa-status-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--colors--white-fil-color);
  border: 3px solid var(--colors--white-color);
  border-radius: 16px;
  padding: 14px 16px;
}
.aa-status-item.hot {
  background: var(--colors--white-color);
  box-shadow: 0 18px 30px -12px #83878d4d;
  transform: rotate(2deg);
}
.aa-status-ic {
  width: 38px; height: 38px; flex: none;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff;
}
.aa-status-ic.warn { background: var(--colors--yellow-color); }
.aa-status-ic.ok { background: var(--colors--success-color); }
.aa-status-ic.up { background: var(--colors--primary-color); }
.aa-status-item .text-large { line-height: 1.2; }

@media (max-width: 991px) {
  .aa-tab-visual { min-height: 280px; }
}

/* --- Robot logo (Canva'da seçilen #4 ile aynı amblem) ----------------------- */
.brand-robot { display: flex; align-items: center; flex: none; }
.brand-robot svg { display: block; }

/* --- Ölçülebilir Etki ------------------------------------------------------- */
.aa-stat { height: auto; overflow: visible; }
.aa-stat .measurable-number-row {
  font-size: var(--_typography---all-heading--laege-h1);
  line-height: 1;
  color: var(--colors--black-color);
}

/* --- Kapanış çağrısı (CTA) -------------------------------------------------- */
.aa-cta { padding-top: 110px; padding-bottom: 110px; }

/* --- Footer ----------------------------------------------------------------- */
.aa-foot-link {
  color: var(--colors--overlay-black-color);
  font-weight: 500;
  width: max-content;
  transition: color .25s ease;
}
.aa-foot-link:hover { color: var(--colors--primary-color); }

.aa-social { color: var(--colors--black-color); }
.aa-social:hover { color: var(--colors--white-color); }
.aa-social .social-media-iocn { width: 24px; height: 24px; }

.aa-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2px;
  padding: 26px 8px 6px;
}
.aa-footer-bottom-links { display: flex; gap: 24px; flex-wrap: wrap; }

@media (max-width: 767px) {
  .aa-footer-bottom { flex-direction: column; align-items: flex-start; }
}
