/* Doyma Kodunu Kır — Fatma Sena Öztemür | project-specific design system */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #F6F8F6;
  --surface: #FFFFFF;
  --ink: #16302E;
  --muted: #5C716F;
  --line: #DCE7E3;
  --brand: #0E5A54;
  --brand-deep: #0A423E;
  --brand-soft: #DDEBE7;
  --sage: #EFF5F1;
  --accent: #9A5C10;
  --accent-deep: #8A520D;
  --accent-soft: #FBF0DC;
  --rose: #C96F63;
  --rose-soft: #FBE9E6;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.1rem, 8vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 6vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.25rem, 4.5vw, 1.6rem); font-weight: 600; }
p { margin: 0; }

.lead { font-size: 1.05rem; color: var(--muted); line-height: 1.65; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 24px;
  border-radius: 14px;
  border: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(14, 90, 84, 0.5);
}
.btn-primary:hover { background: var(--brand-deep); }
.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}
.btn-outline:hover { background: var(--brand-soft); }
.btn-compact { padding: 9px 16px; font-size: 0.85rem; }
.btn-lg { padding: 19px 26px; font-size: 1.08rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 22px;
}
.card-soft { background: var(--brand-soft); border: 0; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  gap: 20px;
  margin-top: 36px;
  align-items: stretch;
}
@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 24px 26px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -24px rgba(10, 66, 62, 0.35);
}
.pricing-featured {
  background: linear-gradient(180deg, #F2F8F5 0%, var(--surface) 45%);
  border: 1px solid var(--brand-soft);
  box-shadow: 0 24px 48px -20px rgba(10, 66, 62, 0.35);
}
.pricing-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--accent);
}
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: var(--brand);
  color: #fff;
}
.pricing-badge-alt { background: var(--accent-soft); color: var(--accent-deep); }
.pricing-price {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--brand-deep);
  line-height: 1.05;
}
.pricing-price small {
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  display: block;
  margin-top: 4px;
  margin-bottom: 22px;
}
.pricing-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  display: grid;
  gap: 10px;
}
.pricing-list .check { padding: 0; align-items: flex-start; }
.pricing-list .check-icon { flex-basis: 22px; width: 22px; height: 22px; font-size: 0.7rem; }
.pricing-list li { font-size: 0.92rem; }
.pricing-featured-title {
  font-size: 1.3rem;
}
.pricing-sub {
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.55;
}
.pricing-cta { margin-top: auto; }

/* ---------- Chips / tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--brand-soft);
  color: var(--brand-deep);
}
.tag-accent { background: var(--accent-soft); color: var(--accent-deep); }

/* ---------- Checklist rows ---------- */
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
}
.check-icon {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  margin-top: 2px;
}

/* ---------- Video frame ---------- */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #0A423E 0%, #14554F 55%, #1E6A62 100%);
  box-shadow: 0 24px 48px -24px rgba(10, 66, 62, 0.5);
}
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play-holder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  text-align: center;
  padding: 24px;
}
.play-circle {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(154, 92, 16, 0.7);
  animation: pulse 2.4s ease-out infinite;
}
.play-circle svg { width: 26px; height: 26px; margin-left: 4px; }
@media (max-width: 374px) {
  .play-holder { padding: 14px; gap: 10px; }
  .play-circle { width: 60px; height: 60px; }
  .play-circle svg { width: 22px; height: 22px; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(154, 92, 16, 0.5); }
  70% { box-shadow: 0 0 0 18px rgba(154, 92, 16, 0); }
  100% { box-shadow: 0 0 0 0 rgba(154, 92, 16, 0); }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Brand ---------- */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-brand { display: inline-flex; align-items: center; gap: 10px; font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.15rem; color: var(--brand); text-decoration: none; white-space: nowrap; }
.nav-dot { width: 12px; height: 12px; border-radius: 3px; background: var(--accent); }
@media (max-width: 374px) {
  .nav-brand { font-size: 0.95rem; }
  header .btn-compact { padding: 7px 12px; font-size: 0.8rem; }
}

/* dark mode overrides */
.dark {
  --bg: #0F1E1C;
  --surface: #162824;
  --ink: #EAF2EF;
  --muted: #9DB3AF;
  --line: #24403A;
  --brand: #6FC4B7;
  --brand-deep: #8FD8CC;
  --brand-soft: #1C3A34;
  --sage: #152823;
  --accent-soft: #33270F;
  --rose-soft: #3A2421;
}
.dark .video-frame { background: linear-gradient(135deg, #0A2422 0%, #123A35 55%, #1A4C44 100%); }
