/* ==========================================================================
   IntArt AI — Official Brand Website (intart.app)
   Locked-in sage_led design system:
   Adaçayı Yeşili #9CAF88 · Sıcak Krem #F2E8DA · Bebek Mavisi #8EC5FF · Kömür #1A1F1A
   ========================================================================== */

:root {
  --sage: #9CAF88;
  --sage-deep: #7F956A;
  --sage-soft: #E8EFE2;
  --sage-tint: #F4F7F1;
  --cream: #F2E8DA;
  --cream-light: #FAF6EE;
  --cream-card: #FCF9F4;
  --blue: #8EC5FF;
  --blue-hover: #75B7FF;
  --blue-soft: #E4F1FF;
  --blue-border: rgba(107, 178, 255, 0.45);
  --blue-text: #10263D;
  --ink: #1A1F1A;
  --text-sec: #3D4A3A;
  --text-muted: #5A6857;
  --border: rgba(26, 31, 26, 0.10);
  --border-light: rgba(255, 255, 255, 0.45);
  --glass: rgba(242, 232, 218, 0.84);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 16px rgba(26, 31, 26, 0.07);
  --shadow-md: 0 14px 36px rgba(26, 31, 26, 0.11);
  --shadow-lg: 0 24px 60px rgba(26, 31, 26, 0.16);
  --container: 1120px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--sage);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Sticky Liquid Glass Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(156, 175, 136, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

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

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(26, 31, 26, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.18s ease, transform 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(242, 232, 218, 0.72);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(242, 232, 218, 0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-sec);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.18s ease;
}

.lang-btn.active {
  background: var(--blue);
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(16, 38, 61, 0.14);
}

/* ---------- Buttons & Pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.18s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--blue);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(16, 38, 61, 0.14);
}

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

.btn-cream {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-cream:hover {
  background: var(--cream-card);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--ink);
  color: #FAF6EE;
  box-shadow: var(--shadow-sm);
}

.btn-dark:hover {
  background: #2B332B;
  transform: translateY(-1px);
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(242, 232, 218, 0.90);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(142, 197, 255, 0.35);
}

/* ---------- Hero Section ---------- */
.hero {
  padding: 44px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 44px;
  align-items: center;
}

.hero-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.09;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--ink);
}

.hero-copy p.lead {
  margin: 0 0 28px;
  font-size: 17.5px;
  line-height: 1.62;
  color: #212B20;
  max-width: 520px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 18px;
  border-radius: 16px;
  background: var(--ink);
  color: #FAF6EE;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, background 0.16s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  background: #273027;
}

.store-badge svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.store-badge-small {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.78;
}

.store-badge-title {
  font-size: 15px;
  font-weight: 700;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: #253124;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Interactive Before / After Studio Widget ---------- */
.showcase-card {
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.showcase-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.showcase-tab {
  flex: 1;
  appearance: none;
  border: 1px solid var(--border);
  background: var(--cream-card);
  color: var(--text-sec);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.18s ease;
}

.showcase-tab.active {
  background: var(--blue);
  color: var(--ink);
  border-color: var(--blue-border);
  box-shadow: 0 4px 12px rgba(16, 38, 61, 0.12);
}

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  background: #222;
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-before-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 50% 0 0);
  pointer-events: none;
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2.5px;
  background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(252, 249, 244, 0.94);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  pointer-events: none;
}

.ba-pill {
  position: absolute;
  top: 14px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  pointer-events: none;
  backdrop-filter: blur(10px);
}

.ba-pill-before {
  left: 14px;
  background: rgba(26, 31, 26, 0.72);
  color: #fff;
}

.ba-pill-after {
  right: 14px;
  background: rgba(142, 197, 255, 0.92);
  color: var(--blue-text);
}

.showcase-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 6px 2px;
  font-size: 13.5px;
  color: var(--text-sec);
  font-weight: 600;
}

/* ---------- Cream Band Sections ---------- */
.section-cream {
  background: var(--cream);
  padding: 72px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-sage {
  background: var(--sage);
  padding: 72px 0;
}

.section-header {
  max-width: 680px;
  margin-bottom: 38px;
}

.section-header h2 {
  margin: 12px 0 10px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.section-header p {
  margin: 0;
  font-size: 16px;
  color: var(--text-sec);
}

/* ---------- 8 Tools Grid ---------- */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tool-card {
  background: var(--cream-card);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.tool-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--blue-soft);
  color: var(--blue-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.tool-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.tool-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-sec);
  line-height: 1.5;
}

/* ---------- Renter Spotlight & Experts ---------- */
.spotlight-card {
  background: var(--cream-card);
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.spotlight-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.spotlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.check-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.spotlight-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.spotlight-images img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.experts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.expert-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.expert-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  background: var(--cream-card);
  border: 2.5px solid var(--blue);
}

.expert-card h3 {
  margin: 0 0 4px;
  font-size: 16.5px;
  font-weight: 800;
}

.expert-role {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--blue-soft);
  color: var(--blue-text);
  margin-bottom: 10px;
}

.expert-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-sec);
  line-height: 1.48;
}

/* ---------- Legal & Support Pages ---------- */
.page-hero {
  padding: 44px 0 28px;
}

.page-hero h1 {
  margin: 14px 0 8px;
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.page-meta {
  font-size: 14px;
  font-weight: 600;
  color: #263325;
  margin: 0;
}

.doc-wrap {
  padding: 8px 0 72px;
}

.doc-card {
  background: var(--cream-card);
  border-radius: var(--radius-xl);
  padding: 38px 42px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  max-width: 860px;
}

.doc-card h2 {
  margin: 28px 0 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.doc-card h2:first-child {
  margin-top: 0;
}

.doc-card p,
.doc-card li {
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.68;
}

.doc-card ul {
  padding-left: 20px;
  margin: 8px 0 16px;
}

.doc-card li {
  margin-bottom: 6px;
}

.highlight-box {
  background: var(--sage-tint);
  border: 1px solid rgba(156, 175, 136, 0.45);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 16px 0 22px;
}

.highlight-box strong {
  color: var(--ink);
}

/* ---------- Support FAQ ---------- */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.support-action-card {
  background: var(--cream-card);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.support-action-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
}

.support-action-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-sec);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.faq-item {
  background: var(--cream-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 700;
  color: var(--text-sec);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-body {
  padding: 0 22px 18px;
  font-size: 14.5px;
  color: var(--text-sec);
  line-height: 1.65;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 44px 0 36px;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sec);
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Bilingual visibility helpers */
[data-lang-block] {
  display: none;
}
html[data-lang="tr"] [data-lang-block="tr"],
html[data-lang="en"] [data-lang-block="en"] {
  display: block;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid,
  .spotlight-card {
    grid-template-columns: 1fr;
  }
  .tools-grid,
  .experts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }
  .nav-links {
    display: none;
  }
  .tools-grid,
  .experts-grid {
    grid-template-columns: 1fr;
  }
  .doc-card {
    padding: 24px 20px;
    border-radius: var(--radius-lg);
  }
  .spotlight-card {
    padding: 24px 20px;
  }
}
