/* Ailede — tanıtım sayfası
   Renk paleti ve tipografi ailede_app'in tasarım sistemiyle (lib/core/design_system) eşleşir. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #E86A5A;
  --primary-dark: #C5523C;
  --primary-soft: #FCE7E3;
  --secondary: #3F9C8C;
  --secondary-dark: #2F7D70;
  --secondary-soft: #E7F4F2;
  --amber: #F2B24A;
  --amber-soft: #FFF3DD;
  --bg: #FAF7F5;
  --bg-alt: #FDF3F0;
  --surface: #FFFFFF;
  --text-primary: #1F1B16;
  --text-secondary: #6F625B;
  --text-soft: #7B706B;
  --border: #E9DED8;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 12px 32px rgba(31, 27, 22, 0.08);
  --shadow-card: 0 4px 16px rgba(31, 27, 22, 0.06);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1B1815;
    --bg-alt: #221D19;
    --surface: #24201C;
    --text-primary: #F5EFE9;
    --text-secondary: #C9BEB6;
    --text-soft: #A79C93;
    --border: #383028;
    --primary-soft: #3A2420;
    --secondary-soft: #1E2E2A;
    --amber-soft: #332A18;
    --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.35);
    --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.28);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 420px);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0; }

a { color: inherit; }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
}

.nav-brand img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 72px 0 56px;
  text-align: center;
}

.hero-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(32px, 5.4vw, 52px);
  line-height: 1.15;
  max-width: 780px;
  margin: 0 auto;
}

.hero p.lead {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 22px auto 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--text-primary);
  color: var(--bg-alt);
  font-weight: 600;
  font-size: 15px;
}

.badge-soon .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.link-secondary {
  display: inline-flex;
  align-items: center;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  text-decoration: none;
}

/* Trust strip */
.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  padding: 26px 0 8px;
}

.trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
}

.trust span::before {
  content: '✓';
  font-weight: 700;
}

.trust span:nth-child(1),
.trust span:nth-child(4) {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.trust span:nth-child(2) {
  background: var(--secondary-soft);
  color: var(--secondary-dark);
}

.trust span:nth-child(3) {
  background: var(--amber-soft);
  color: var(--text-primary);
}

/* Features */
.features {
  padding: 64px 0 24px;
}

.section-label {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  text-align: center;
  font-size: clamp(24px, 3.6vw, 34px);
  max-width: 620px;
  margin: 0 auto 44px;
  line-height: 1.25;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (max-width: 680px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.feature-card .emoji {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.tone-coral .emoji { background: var(--primary-soft); }
.tone-teal .emoji { background: var(--secondary-soft); }
.tone-amber .emoji { background: var(--amber-soft); }
.tone-coral2 .emoji { background: var(--primary-soft); }

/* Guarantee band */
.guarantee {
  margin: 72px 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-soft);
}

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

@media (max-width: 780px) {
  .guarantee-grid { grid-template-columns: 1fr; }
}

.guarantee-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.guarantee-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 20px 0 88px;
}

.final-cta h2 {
  font-size: clamp(26px, 4vw, 38px);
  max-width: 540px;
  margin: 0 auto 16px;
  line-height: 1.25;
}

.final-cta p {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 460px;
  margin: 0 auto 30px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--text-soft);
}

.footer-row a { text-decoration: none; color: var(--text-soft); }
.footer-row a:hover { color: var(--text-primary); }

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

/* Prose (Gizlilik ve diğer metin ağırlıklı sayfalar) */
.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 0 88px;
}

.prose h1 {
  font-size: clamp(28px, 4.4vw, 40px);
  margin-bottom: 10px;
}

.prose .updated {
  display: block;
  color: var(--text-soft);
  font-size: 14px;
  margin-bottom: 36px;
}

.prose h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  margin: 36px 0 12px;
}

.prose h3 {
  font-size: 16.5px;
  font-weight: 600;
  margin: 24px 0 8px;
}

.prose p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.prose ul,
.prose ol {
  padding-left: 22px;
  margin: 0 0 14px;
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.7;
}

.prose li + li {
  margin-top: 6px;
}

.prose a {
  color: var(--secondary-dark);
  text-decoration: underline;
}

.prose-placeholder {
  background: var(--secondary-soft);
  border: 1px dashed var(--secondary-dark);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  font-size: 14px;
  color: var(--secondary-dark);
  margin-bottom: 32px;
}

/* İletişim / Destek formu */
.contact-form {
  max-width: 560px;
  margin: 40px auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 7px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 1px;
}

.form-honeypot {
  display: none;
}

.form-submit {
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
}

.form-submit:hover {
  background: var(--primary-dark);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-result {
  margin-top: 14px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  min-height: 20px;
}

.form-result.success {
  color: var(--secondary-dark);
}

.form-result.error {
  color: var(--primary-dark);
}
