
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Inter', system-ui, -apple-system, sans-serif; color: #101828; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.nav { position: sticky; top: 0; background: #ffffffcc; backdrop-filter: blur(8px); border-bottom: 1px solid #eef2f7; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; letter-spacing: 0.5px; }
.logo span { color: #6366f1; }
.nav a { margin-left: 18px; text-decoration: none; color: #344054; font-weight: 600; }
.btn { display: inline-block; padding: 12px 18px; border-radius: 10px; text-decoration: none; font-weight: 700; background: #6366f1; color: white; }
.btn:hover { opacity: .95; }
.btn-secondary { background: #e5e7eb; color: #111827; }
.btn-small { padding: 8px 12px; font-size: 14px; }
.hero { background: linear-gradient(180deg, #f8fafc, #ffffff); padding: 72px 0; }
.hero h1 { font-size: 44px; line-height: 1.1; margin: 0 0 12px; }
.lead { font-size: 18px; color: #475467; max-width: 700px; }
.cta { margin-top: 18px; display: flex; gap: 12px; }
.badges { margin-top: 16px; padding: 0; list-style: none; display: flex; gap: 16px; color: #475467; }
.features, .about, .reviews, .faq { padding: 64px 0; }
.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; }
.card { background: #f4f7ff; border: 1px solid #e7ebff; padding: 20px; border-radius: 14px; }
.checklist, .bullets { padding-left: 18px; color: #475467; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat { background: #f8fafc; border: 1px solid #eef2f7; padding: 16px; border-radius: 12px; text-align: center; }
.reviews .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.reviews blockquote { background: #f8fafc; border: 1px solid #eef2f7; border-radius: 12px; padding: 16px; margin: 0; color: #475467; }
.faq details { background: #f8fafc; border: 1px solid #eef2f7; padding: 12px 16px; border-radius: 10px; margin-bottom: 10px; }
.footer { background: #0b1020; color: #cbd5e1; }
.footer-inner { padding: 28px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footnav a { color: #cbd5e1; text-decoration: none; margin-left: 12px; }
.small { margin: 6px 0 0; font-size: 14px; }
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .reviews .grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
}


/* --- Responsive hero with illustration --- */
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-ill { margin: 0; }
.hero-ill img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 8px 24px rgba(2,6,23,.08); display: block; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-ill { order: -1; margin-bottom: 12px; } /* image on top for mobile */
}


/* --- Sticky CTA Button for Mobile --- */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: #6366f1;
  color: #fff;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  z-index: 999;
}
@media (max-width: 900px) {
  .sticky-cta { display: inline-block; }
}


/* --- Badge icons styling --- */
.badges { flex-wrap: wrap; }
.badges li { display: inline-flex; align-items: center; gap: 8px; }
.badge-icon { width: 22px; height: 22px; fill: #6366f1; flex: 0 0 auto; }
@media (max-width: 900px) {
  .badges { gap: 12px; }
  .badges li { width: calc(50% - 12px); }
}


/* === Brand Theme === */
:root{
  --brand:#6366f1;        /* base */
  --brand-600:#585cf0;    /* hover */
  --brand-700:#4b50dd;    /* active */
  --ink:#101828;
  --ink-2:#344054;
}

a { color: var(--ink-2); }
a:hover { color: var(--brand); }

.btn { background: var(--brand); }
.btn:hover { background: var(--brand-600); }
.btn:active { background: var(--brand-700); transform: translateY(0.5px); }
.btn, .btn-secondary {
  transition: background .2s ease, transform .05s ease, box-shadow .2s ease;
}
.btn:focus-visible, .sticky-cta:focus-visible, .nav a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 30%, white);
  border-radius: 10px;
}

.btn-secondary { background: color-mix(in srgb, var(--brand) 14%, #e5e7eb); }
.btn-secondary:hover { background: color-mix(in srgb, var(--brand) 22%, #e5e7eb); }

.logo span { color: var(--brand); }

.card { background: color-mix(in srgb, var(--brand) 6%, #f4f7ff); border-color: color-mix(in srgb, var(--brand) 20%, #e7ebff); }

.badge-icon { fill: var(--brand); }

.sticky-cta { background: var(--brand); }
.sticky-cta:hover { background: var(--brand-600); }

::selection { background: color-mix(in srgb, var(--brand) 25%, #c7d2fe); color: #0b1020; }


/* --- Hero gradient enhancement --- */
.hero { background: radial-gradient(1200px 600px at 70% -10%, color-mix(in srgb, var(--brand) 14%, #ffffff), #ffffff) }
/* --- Desktop/Mobile nav --- */
.desktop-nav { display: flex; align-items: center; }
.hamburger { display: none; background: transparent; border: 0; padding: 10px; margin-left: 8px; border-radius: 10px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; }
@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .hamburger { display: inline-block; }
}

/* --- Drawer --- */
.drawer { position: fixed; inset: 0 0 0 auto; width: 78%; max-width: 360px; background: #fff; border-left: 1px solid #eef2f7; transform: translateX(100%); transition: transform .25s ease; z-index: 1000; }
.drawer.open { transform: translateX(0); }
.drawer-inner { display: flex; flex-direction: column; gap: 14px; padding: 20px; }
.drawer-inner a { text-decoration: none; color: var(--ink-2); font-weight: 600; }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(2,6,23,.35); z-index: 999; }

/* --- Order page layout --- */
.order-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; margin-top: 18px; }
.form-card h2, .summary-card h2 { margin-top: 0; }
.fld { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.fld span { font-weight: 600; font-size: 14px; color: var(--ink-2); }
.fld input, .fld select { padding: 12px 14px; border-radius: 10px; border: 1px solid #e5e7eb; font-size: 15px; }
.inline { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chk { display: flex; align-items: center; gap: 8px; margin: 8px 0 12px; }
.summary-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.summary-list li { display: flex; align-items: center; justify-content: space-between; }
.summary-list .sep { border-top: 1px dashed #e5e7eb; padding-top: 8px; margin-top: 6px; }
.summary-list .total { font-size: 18px; font-weight: 800; }
.note { background: #f8fafc; border: 1px solid #eef2f7; border-radius: 10px; padding: 12px; color: #475467; font-size: 14px; }
@media (max-width: 900px) {
  .order-grid { grid-template-columns: 1fr; }
  .inline { grid-template-columns: 1fr; }
}


/* --- Language Switcher --- */
.lang-switch { margin-left: 14px; font-size: 14px; display: none; gap: 8px; }
.lang-switch a { color: var(--ink-2); text-decoration: none; }
.lang-switch a[aria-current="page"] { color: var(--brand); font-weight: 800; }
@media (max-width: 900px) { .lang-switch { display: none; } }
@media (min-width: 901px) { .lang-switch { display: inline-flex; } }


/* --- Flag Language Switcher --- */
.flag-switch {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: 14px;
}
.flag-switch .flag {
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
  filter: saturate(1);
  transition: transform .12s ease, filter .12s ease;
}
.flag-switch .flag:hover { transform: translateY(-1px); filter: saturate(1.2); }
.flag-switch .flag[aria-current="page"] { outline: 2px solid color-mix(in srgb, var(--brand) 50%, white); border-radius: 6px; padding: 2px 4px; }
@media (max-width: 900px) {
  .flag-switch { display: none; }
}



.drawer .lang-menu-mobile { display: grid; gap: 8px; padding: 10px 0 0; border-top: 1px solid #eef2f7; margin-top: 10px; }
.drawer .lang-menu-mobile a { text-decoration: none; color: var(--ink-2); font-weight: 600; padding: 8px 10px; background: #f8fafc; border-radius: 8px; }


/* --- Language Dropdown (desktop, fixed) --- */
.lang-dd { position: relative; margin-left: 10px; }
.lang-btn { background: #eef2ff; color: var(--ink-2); border: 1px solid #e5e7eb; padding: 8px 10px; border-radius: 10px; cursor: pointer; font-weight: 600; }
.lang-menu { position: absolute; top: calc(100% + 6px); right: 0; min-width: 220px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 10px 30px rgba(2,6,23,.12); padding: 8px; max-height: 60vh; overflow: auto; z-index: 1200; transform-origin: top right; transform: scaleY(0); opacity: 0; transition: transform .16s ease, opacity .16s ease; }
.lang-dd.open .lang-menu { transform: scaleY(1); opacity: 1; }
.lang-menu a { display: block; padding: 8px 10px; text-decoration: none; color: var(--ink-2); border-radius: 8px; }
.lang-menu a:hover { background: #f4f7ff; }

/* Mobile: desktop dropdown hidden (use drawer list instead) */


/* Drawer language list (mobile) */
.drawer .lang-menu-mobile { display: grid; gap: 8px; padding: 10px 0 0; border-top: 1px solid #eef2f7; margin-top: 10px; }
.drawer .lang-menu-mobile a { text-decoration: none; color: var(--ink-2); font-weight: 600; padding: 8px 10px; background: #f8fafc; border-radius: 8px; }


@media (max-width: 900px) {
  .lang-dd { display: inline-block; position: relative; margin-left: auto; }
  .lang-btn { padding: 8px 10px; border-radius: 12px; }
  .lang-btn .lang-label { display: none; } /* show only globe on mobile */
}


/* Clickable logo -> scroll to top */
.logo { text-decoration: none; color: inherit; display: inline-flex; align-items: center; gap: 8px; }
.logo img { display: block; }


/* --- Review Cards with Stars and Avatars --- */
.review-card { display: flex; align-items: flex-start; gap: 12px; background: #f9fafb; border-radius: 14px; padding: 12px 16px; margin-bottom: 12px; box-shadow: 0 2px 6px rgba(0,0,0,0.05); }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; }
.review-text { flex: 1; }
.stars { color: #facc15; font-size: 1.1em; margin-top: 6px; }
blockquote { margin: 0; font-style: italic; color: #374151; }
@media (max-width: 700px) {
  .review-card { flex-direction: column; align-items: flex-start; }
  .review-avatar { width: 36px; height: 36px; }
}


/* --- Enhanced Review Avatars and Ratings --- */
.stars { font-size: 1.2em; margin-top: 6px; letter-spacing: 2px; color: #facc15; font-family: 'Segoe UI Symbol', sans-serif; }
.review-avatar { border: 2px solid #e5e7eb; background: #fff; }
.review-card:hover { transform: scale(1.01); transition: 0.2s ease-in-out; }


/* --- Review Meta (date + country flag) --- */
.review-meta { margin-top: 4px; font-size: 0.9em; color: #6b7280; }
.review-meta span { margin-right: 4px; }
.review-meta img, .review-meta svg { vertical-align: middle; }


/* --- Satisfaction Bar Chart --- */
.satisfaction { padding: 48px 0; }
.bar-chart { margin-top: 10px; display: grid; gap: 10px; }
.bar-head { display: grid; grid-template-columns: 1fr 160px; font-weight: 700; color: var(--ink-2); }
.bar-row { display: grid; grid-template-columns: 1fr 160px; align-items: center; gap: 10px; }
.bar-label { color: #374151; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-wrap { position: relative; height: 22px; background: #eef2ff; border-radius: 999px; overflow: hidden; }
.bar-fill { position: absolute; inset: 0 auto 0 0; background: var(--brand); border-radius: 999px; }
.bar-value { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-weight: 700; color: #0b1020; font-size: 13px; }

/* RTL adjustments */
[dir="rtl"] .bar-head,
[dir="rtl"] .bar-row { grid-template-columns: 160px 1fr; }
[dir="rtl"] .bar-label { text-align: right; }
[dir="rtl"] .bar-fill { right: 0; left: auto; }
[dir="rtl"] .bar-value { left: 8px; right: auto; }

@media (max-width: 700px) {
  .bar-head, .bar-row { grid-template-columns: 1fr; }
  .bar-wrap { margin-top: 4px; }
}


/* --- Satisfaction Chart Animation --- */
.bar-fill { transition: width .9s ease; }
.satisfaction.inview .bar-fill { /* class toggled to trigger animation */ }


/* --- Back to Top button --- */
.back-to-top{
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: var(--brand);
  font-size: 20px; line-height: 1;
  display: grid; place-items: center;
  box-shadow: 0 8px 18px rgba(2,6,23,.12);
  cursor: pointer;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, box-shadow .2s ease;
  z-index: 1200;
}
.back-to-top:hover{ box-shadow: 0 10px 24px rgba(2,6,23,.16); }
.back-to-top.show{ opacity: 1; transform: translateY(0); pointer-events: auto; }
[dir="rtl"] .back-to-top{ left: 16px; right: auto; }

/* Avoid overlap with sticky CTA on small screens */
@media (max-width: 900px){
  .back-to-top{ bottom: 80px; } /* sticky CTA altından biraz yukarıda */
  [dir="rtl"] .back-to-top{ left: 12px; right: auto; }
}


/* --- Reviews Grid Fix: 3 per row, centered --- */
#reviews .container { margin-left: auto; margin-right: auto; }
#reviews .grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
#reviews .review-card {
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1024px) {
  #reviews .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  #reviews .grid { grid-template-columns: 1fr; }
}


/* --- Reviews Grid Hard Override --- */
section#reviews .container { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
section#reviews .grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  gap: 24px !important;
  align-items: start !important;
  justify-items: stretch !important;
}
section#reviews .review-card { width: 100% !important; box-sizing: border-box; }
@media (max-width: 1024px) {
  section#reviews .grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}
@media (max-width: 640px) {
  section#reviews .grid { grid-template-columns: 1fr !important; }
}


/* --- Reviews Uniform Card Style --- */
#reviews .grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:24px !important;
}
@media (max-width:1024px){ #reviews .grid{ grid-template-columns:repeat(2,minmax(0,1fr)) !important; } }
@media (max-width:640px){ #reviews .grid{ grid-template-columns:1fr !important; } }

.review-card{
  background:#f8fafc;
  border:1px solid #eef2f7;
  border-radius:16px;
  padding:16px;
  box-shadow: 0 8px 18px rgba(2,6,23,.06);
  display:flex; flex-direction:column; gap:10px;
}
.review-head{ display:flex; align-items:center; gap:10px; }
.avatar-ico{ flex:0 0 auto; }
#reviews blockquote{ margin:0; color:#0b1020; font-style:italic; line-height:1.5; }
#reviews .stars{ color:#f59e0b; letter-spacing:2px; font-size:14px; }


/* --- Review Text Overflow Fix --- */
.review-card blockquote {
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  display: block;
  line-height: 1.5;
}


/* --- Reviews Overflow FINAL Fix --- */
section#reviews .grid{
  align-items: start !important;
  align-content: start !important;
  justify-items: stretch !important;
}
section#reviews .review-card{
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding: 16px !important;
}
section#reviews .review-card *{
  box-sizing: border-box !important;
  max-width: 100% !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
}
section#reviews blockquote{
  margin: 0 !important;
  line-height: 1.5 !important;
}
section#reviews .stars{
  margin-top: 10px !important;
}


/* --- Reviews Spacing & Overflow Tight Fix --- */
section#reviews .review-card{
  padding: 22px 18px !important;   /* more inner space */
  overflow: hidden !important;     /* clip anything accidental */
}
section#reviews .review-head{
  margin-bottom: 10px !important;  /* push text one line lower */
}
section#reviews blockquote{
  margin-top: 6px !important;      /* additional top spacing for text */
  line-height: 1.6 !important;
}


/* --- Reviews FINAL Dynamic Height Fix --- */
section#reviews .review-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  height: auto !important;
  min-height: 150px !important;
  overflow: visible !important;
  box-sizing: border-box !important;
  padding: 22px 18px !important;
}
section#reviews blockquote {
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  line-height: 1.6 !important;
  margin-top: 12px !important;
  padding-right: 8px !important;
}
section#reviews .stars {
  margin-top: 10px !important;
  margin-bottom: 4px !important;
  align-self: flex-start !important;
}
