/* Vadem — pazarlama sayfaları (index, kvkk, kullanim-sartlari) ortak stili.
   NOT: Bu dosya web/ altında Flutter build sürecine dahil değildir; sadece
   `flutter build web` sırasında `web/` klasöründeki diğer statik dosyalar
   gibi olduğu gibi `build/web/`e kopyalanır. Marka renkleri lib/core/
   constants.dart (AppColors) ile SENKRON tutulmalı. */

:root {
  --color-primary: #0F6E5C;
  --color-primary-hover: #0c5c4d;
  --color-primary-light: #14B8A6;
  --color-bg: #F8FAFC;
  --color-surface: #FFFFFF;
  --color-border: #E2E8F0;
  --color-text: #0F172A;
  --color-text-muted: #64748B;
  --color-on-primary: #FFFFFF;
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 10px 24px rgba(15, 23, 42, 0.14);
  --radius: 16px;
  --max-width: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    /* #0F6E5C koyu arka planda (#0B1220) yeterince görünür değildi —
       lib/core/constants.dart'taki AppColors.primaryDark ile AYNI renk. */
    --color-primary: #22C79E;
    --color-primary-hover: #1AA883;
    --color-bg: #0B1220;
    --color-surface: #111827;
    --color-border: #1F2A3B;
    --color-text: #E2E8F0;
    --color-text-muted: #94A3B8;
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 10px 24px rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.55;
}

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

a { color: inherit; }

.section {
  width: 100%;
  padding: 64px 24px;
}

.section--surface { background: var(--color-surface); }

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 20px;
  text-decoration: none;
  color: var(--color-text);
  margin-right: auto;
}

.nav__logo img { height: 30px; width: 30px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-hover); }

.btn--outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn--outline:hover { background: rgba(15, 110, 92, 0.08); }

.btn--text { background: transparent; color: var(--color-text); border-color: transparent; padding: 12px 14px; }
.btn--text:hover { background: rgba(15, 23, 42, 0.06); }

.btn--large { padding: 18px 28px; font-size: 16px; }
.btn--block { width: 100%; }

/* Hero */
.hero {
  background: linear-gradient(to bottom, rgba(15, 110, 92, 0.08), rgba(15, 110, 92, 0));
  text-align: center;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 16px;
}

.hero__lead {
  max-width: 620px;
  margin: 0 auto;
  font-size: 17px;
  color: var(--color-text-muted);
}

.hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 8px;
}

.hero__note {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* Section headings */
.section h2 {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 8px;
}

.section__subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin: 0 0 32px;
}

/* Cards */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.card:hover { transform: translateY(-2px) scale(1.015); box-shadow: var(--shadow-hover); }

/* Features grid */
.grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.feature-card { padding: 20px; }
.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(15, 110, 92, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 22px;
}
.feature-card h3 { font-size: 16px; font-weight: 600; margin: 0 0 6px; }
.feature-card p { font-size: 14px; color: var(--color-text-muted); margin: 0; }

/* Pricing grid */
.grid-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
  align-items: stretch;
}

.plan-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.plan-card--recommended {
  border: 2px solid var(--color-primary);
}

.plan-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.plan-card__header h3 { font-size: 19px; font-weight: 600; margin: 0; }

.badge {
  background: var(--color-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-card__price {
  font-size: 26px;
  font-weight: 600;
  margin: 4px 0 4px;
}

.plan-card__price-note {
  font-size: 13px;
  color: var(--color-primary);
  margin: 0 0 16px;
}

.plan-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex: 1;
}

.plan-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 8px;
}

.plan-card__features li::before {
  content: "✓";
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing__note {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 14px;
  margin: -20px 0 8px;
}

/* FAQ */
.faq { max-width: 720px; margin: 32px auto 0; }
.faq details {
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--color-text-muted);
}
.faq details[open] summary::after { content: "–"; }
.faq p {
  margin: 10px 0 0;
  color: var(--color-text-muted);
  font-size: 14px;
}

/* Contact page (iletisim.html) */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.contact-info { display: flex; flex-direction: column; gap: 16px; }

.contact-info__item { display: flex; gap: 14px; padding: 18px; }
.contact-info__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(15, 110, 92, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-info__item h3 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.contact-info__item p { margin: 0; color: var(--color-text-muted); font-size: 14px; line-height: 1.6; }
.contact-info__item a { color: inherit; }
.contact-info__item a:hover { color: var(--color-primary); }

.contact-form { padding: 28px; }
.contact-form h2 { margin: 0 0 6px; font-size: 19px; font-weight: 600; text-align: left; }
.contact-form__lead { margin: 0 0 20px; color: var(--color-text-muted); font-size: 14px; }
.contact-form .field { margin-bottom: 16px; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  font-family: inherit;
  font-size: 14px;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--color-primary); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__status { margin-top: 14px; font-size: 14px; min-height: 20px; }
.contact-form__status--success { color: #16A34A; }
.contact-form__status--error { color: #DC2626; }

@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; padding: 32px 16px 48px; }
}

/* Footer */
.footer-section { padding-bottom: 32px; }

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

.footer__brand { display: flex; flex-direction: column; gap: 12px; }

.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  color: var(--color-text);
}
.footer__logo img { height: 28px; width: 28px; }

.footer__tagline { margin: 0; color: var(--color-text-muted); font-size: 14px; max-width: 380px; }

.footer__address { margin: 0; color: var(--color-text-muted); font-size: 13px; line-height: 1.7; }
.footer__address a { color: inherit; text-decoration: underline; text-decoration-color: var(--color-border); text-underline-offset: 2px; }
.footer__address a:hover { color: var(--color-primary); }

.footer__col h3 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 14px; text-decoration: none; color: var(--color-text); }
.footer__col a:hover { color: var(--color-primary); }

.footer__bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  font-size: 13px;
  color: var(--color-text-muted);
}

/* Legal pages (kvkk.html, kullanim-sartlari.html) */
.legal { max-width: 720px; margin: 0 auto; padding: 48px 24px 64px; }
.legal__back { display: inline-block; margin-bottom: 24px; font-size: 14px; text-decoration: none; color: var(--color-primary); }
.legal h1 { font-size: 24px; font-weight: 600; margin: 0 0 4px; }
.legal__updated { color: var(--color-text-muted); font-size: 13px; margin: 0 0 20px; }
.legal__intro { margin: 0 0 24px; }
.legal h2 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; }
.legal p { margin: 0 0 8px; color: var(--color-text); }

@media (max-width: 640px) {
  .section { padding: 48px 16px; }
  .nav { padding: 14px 16px; }
  .footer { grid-template-columns: 1fr; gap: 28px; }
}
