:root {
  --navy: #0f1f2e;
  --ink: #11222e;
  --ink-secondary: #4a5a68;
  --ink-muted: #6c7b88;
  --green: #127c54;
  --green-dark: #0e6343;
  --green-dark-hover: #0a4e34;
  --green-light: #27a874;
  --surface: #ffffff;
  --surface-muted: #f2f5f7;
  --border: #e2e8ee;
  --border-input: #d4dde4;
  --radius: 6px;
  --radius-card: 10px;
  --container: 1080px;
}

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

html {
  scroll-behavior: smooth;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Manrope", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
}

p {
  margin: 0;
}

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

button,
input,
textarea {
  font: inherit;
}

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

/* Brand wordmark (matches PDF logo) */
.brand {
  display: inline-flex;
  align-items: baseline;
  font-family: "Manrope", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  user-select: none;
}

.brand-light {
  color: #ffffff;
}

.brand-light .brand-dot {
  color: var(--green-light);
}

.brand-dark {
  color: var(--ink);
}

.brand-dark .brand-dot {
  color: var(--green);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 24px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav a {
  color: #c5d1dc;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.header-nav a:hover {
  color: #ffffff;
}

.header-nav .btn-nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  margin-left: 6px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.header-nav .btn-nav-login:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.48);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #ffffff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 0;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.16s ease, transform 0.16s ease;
}

.btn-primary {
  background: var(--green-dark);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--green-dark-hover);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-secondary {
  gap: 8px;
  border: 1px solid var(--border-input);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.btn-secondary:hover {
  border-color: #b7c6d2;
  background: #f8fafb;
}

.btn-play-icon {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--green);
}

.btn-duration {
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 500;
}

/* Hero */
.hero {
  background: var(--surface);
  padding: 76px 0 88px;
}

.hero-content {
  max-width: 680px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero h1 .accent {
  color: var(--green);
}

.hero-lead {
  max-width: 560px;
  margin-top: 22px;
  color: var(--ink-secondary);
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 16px;
  margin-top: 32px;
}

.hero-note {
  color: var(--ink-muted);
  font-size: 13px;
}

/* Demo Video Showcase */
.demo-showcase {
  max-width: 868px;
  margin: 52px 0 0;
  scroll-margin-top: 92px;
}

.demo-frame {
  position: relative;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fa 100%);
  box-shadow:
    0 24px 56px -18px rgba(15, 31, 46, 0.14),
    0 4px 14px -4px rgba(15, 31, 46, 0.06);
}

.demo-video {
  display: block;
  width: 100%;
  aspect-ratio: 848 / 478;
  border-radius: 10px;
  background: #f2f5f7;
  object-fit: cover;
}

.demo-overlay {
  position: absolute;
  inset: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(
    180deg,
    rgba(15, 31, 46, 0.02) 0%,
    rgba(15, 31, 46, 0.14) 100%
  );
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.22s ease;
}

.demo-overlay:hover {
  background: linear-gradient(
    180deg,
    rgba(15, 31, 46, 0.06) 0%,
    rgba(15, 31, 46, 0.22) 100%
  );
}

.demo-overlay[hidden] {
  display: none;
}

.demo-play-circle {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  padding-left: 4px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--green-dark);
  box-shadow:
    0 12px 28px rgba(14, 99, 67, 0.36),
    0 0 0 8px rgba(255, 255, 255, 0.86);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.demo-overlay:hover .demo-play-circle,
.demo-overlay:focus-visible .demo-play-circle {
  transform: scale(1.06);
  background: var(--green-dark-hover);
  box-shadow:
    0 14px 32px rgba(14, 99, 67, 0.44),
    0 0 0 10px rgba(255, 255, 255, 0.94);
}

.demo-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(15, 31, 46, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(15, 31, 46, 0.08);
}

.demo-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.demo-end-overlay {
  position: absolute;
  inset: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  text-align: center;
}

.demo-end-overlay[hidden] {
  display: none;
}

.demo-end-overlay p {
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.demo-end-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.demo-chapters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.demo-chapter {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink-secondary);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.demo-chapter:hover {
  border-color: #c5d4df;
  color: var(--ink);
}

.demo-chapter.is-active {
  border-color: rgba(18, 124, 84, 0.35);
  background: #f2faf6;
  color: var(--ink);
}

.chapter-time {
  flex: 0 0 auto;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--surface-muted);
  color: var(--ink-muted);
  font-size: 11.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.demo-chapter.is-active .chapter-time {
  background: var(--green-dark);
  color: #ffffff;
}

.chapter-label {
  font-weight: 600;
}

/* Shared section spacing */
.section {
  padding: 90px 0 96px;
  background: var(--surface);
}

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

.section-header h2 {
  font-size: clamp(26px, 3vw, 31px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-header p {
  margin-top: 10px;
  color: var(--ink-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.section-subtitle-wide {
  max-width: 580px;
}

/* Nasıl çalışır */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
}

.step-number {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--green);
  font-family: "Manrope", sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.step-item h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.step-item p {
  margin-top: 10px;
  color: var(--ink-secondary);
  font-size: 14px;
  line-height: 1.65;
}

/* Özellikler */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
  row-gap: 40px;
  margin-top: 44px;
}

.feature-item {
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.feature-item h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-item p {
  margin-top: 10px;
  color: var(--ink-secondary);
  font-size: 14px;
  line-height: 1.68;
}

/* Fiyat */
.pricing-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  margin-top: 38px;
  padding: 40px 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.pricing-main {
  padding-right: 44px;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.price-amount {
  font-family: "Manrope", sans-serif;
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.price-unit {
  color: var(--ink-muted);
  font-size: 13.5px;
}

.pricing-description {
  margin-top: 16px;
  color: var(--ink-secondary);
  font-size: 13.5px;
  line-height: 1.7;
}

.pricing-trial {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 44px;
  border-left: 1px solid var(--border);
}

.pricing-trial h3 {
  color: var(--green);
  font-size: 17px;
  font-weight: 700;
}

.pricing-trial p {
  margin-top: 8px;
  color: var(--ink-secondary);
  font-size: 14px;
}

.pricing-trial .btn {
  margin-top: 28px;
}

/* Sık sorulan sorular */
.faq-list {
  margin: 34px 0 0;
  padding: 0;
}

.faq-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.faq-item dt {
  font-family: "Manrope", sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}

.faq-item dd {
  margin: 8px 0 0;
  color: var(--ink-secondary);
  font-size: 14px;
  line-height: 1.68;
}

/* İletişim */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.85fr) minmax(300px, 1.15fr);
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(26px, 3vw, 31px);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.contact-info p {
  max-width: 340px;
  margin-top: 14px;
  color: var(--ink-secondary);
  font-size: 14.5px;
  line-height: 1.65;
}

.contact-details {
  display: grid;
  gap: 20px;
  margin-top: 34px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-label {
  color: var(--ink-muted);
  font-size: 12px;
}

.detail-value {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.detail-value:hover {
  color: var(--green);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-input);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input {
  height: 42px;
}

.form-field textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.55;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(18, 124, 84, 0.14);
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 2px;
  color: var(--ink-secondary);
  font-size: 12.5px;
  cursor: pointer;
}

.checkbox-field input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--green-dark);
  cursor: pointer;
}

.inline-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.inline-link:hover {
  color: var(--green);
}

.form-feedback {
  padding: 11px 14px;
  border-radius: var(--radius);
  font-size: 13.5px;
  line-height: 1.5;
}

.form-feedback.is-success {
  border: 1px solid #bfe3d2;
  background: #ecf7f1;
  color: #0e5a3d;
}

.form-feedback.is-error {
  border: 1px solid #f2c8c4;
  background: #fdf2f1;
  color: #9e3832;
}

.form-submit-row {
  margin-top: 4px;
}

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

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

.footer-brand-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 44px;
}

.footer-nav,
.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-nav a,
.footer-link-btn {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 13px;
  cursor: pointer;
  transition: color 0.15s ease;
}

.footer-nav a:hover,
.footer-link-btn:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #edf1f5;
  color: var(--ink-muted);
  font-size: 12px;
}

.footer-bottom a:hover {
  color: var(--ink);
}

/* Legal Dialog */
.legal-dialog {
  width: min(560px, calc(100% - 32px));
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 20px 50px rgba(15, 31, 46, 0.22);
}

.legal-dialog::backdrop {
  background: rgba(15, 31, 46, 0.52);
}

.legal-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.legal-dialog-header h3 {
  font-size: 17px;
  font-weight: 700;
}

.dialog-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.dialog-close:hover {
  background: var(--surface-muted);
  color: var(--ink);
}

.legal-dialog-body {
  padding: 20px 24px;
  color: var(--ink-secondary);
  font-size: 14px;
  line-height: 1.68;
}

.legal-dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 24px 20px;
}

/* Legal Document Page (kvkk.html) */
.legal-page {
  padding: 56px 0 88px;
  background: var(--surface);
}

.legal-container {
  max-width: 780px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  color: var(--green);
  font-size: 13.5px;
  font-weight: 600;
}

.legal-back:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-header {
  margin-top: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.legal-eyebrow {
  display: inline-block;
  color: var(--green);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.legal-header h1 {
  margin-top: 10px;
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.legal-lead {
  margin-top: 16px;
  color: var(--ink-secondary);
  font-size: 15.5px;
  line-height: 1.68;
}

.legal-updated {
  margin-top: 14px;
  color: var(--ink-muted);
  font-size: 12.5px;
}

.legal-content {
  display: grid;
  gap: 36px;
  margin-top: 36px;
}

.legal-section h2 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.legal-section p {
  margin-top: 12px;
  color: var(--ink-secondary);
  font-size: 14.5px;
  line-height: 1.72;
}

.legal-list {
  margin: 12px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 9px;
  color: var(--ink-secondary);
  font-size: 14.5px;
  line-height: 1.68;
}

.legal-list strong {
  color: var(--ink);
}

.legal-meta-table {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-muted);
}

.legal-meta-table > div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}

.legal-meta-table > div:last-child {
  border-bottom: 0;
}

.legal-meta-table dt {
  font-weight: 600;
  color: var(--ink);
}

.legal-meta-table dd {
  margin: 0;
  color: var(--ink-secondary);
}

.legal-meta-table a,
.legal-inline-link {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-callout {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid #cce3d7;
  border-left: 3px solid var(--green);
  border-radius: 8px;
  background: #f2faf6;
  color: var(--ink);
}

/* Responsive */
@media (max-width: 860px) {
  .hero {
    padding: 56px 0 68px;
  }

  .demo-showcase {
    margin-top: 36px;
  }

  .demo-chapters {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .section {
    padding: 68px 0 74px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .pricing-card {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }

  .pricing-main {
    padding-right: 0;
    padding-bottom: 28px;
  }

  .pricing-trial {
    padding-left: 0;
    padding-top: 28px;
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-brand-nav {
    gap: 20px;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 20px;
  }

  .demo-frame {
    padding: 5px;
    border-radius: 12px;
  }

  .demo-video,
  .demo-overlay,
  .demo-end-overlay {
    border-radius: 8px;
  }

  .demo-overlay,
  .demo-end-overlay {
    inset: 5px;
  }

  .demo-play-circle {
    width: 56px;
    height: 56px;
  }

  .demo-badge {
    left: 10px;
    bottom: 10px;
    font-size: 11px;
    padding: 5px 10px;
  }

  .demo-end-overlay p {
    font-size: 16px;
  }

  .legal-meta-table > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .menu-toggle {
    display: flex;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 20px 20px;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header-nav.is-open {
    display: flex;
  }

  .header-nav a {
    padding: 10px 4px;
  }

  .header-nav .btn-nav-login {
    margin-left: 0;
    margin-top: 8px;
    width: 100%;
  }
}
