:root {
  --radius-sm: 6px;
  --radius-md: 8px;
  --transition: 0.2s ease;
}

/* DARK THEME */
:root[data-theme="dark"] {
  --bg: #0f1115;
  --surface: #16181d;
  --text: #eceff3;
  --text-muted: #98a2b3;
  --border: rgba(255, 255, 255, 0.08);
  --accent: #3b82f6;
}

/* LIGHT THEME */
:root[data-theme="light"] {
  --bg: #f8f9fb;
  --surface: #ffffff;
  --text: #1c1f24;
  --text-muted: #667085;
  --border: rgba(28, 31, 36, 0.08);
  --accent: #3b82f6;
}

/* GLOBAL */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
}

/* LAYOUT */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
}

.logo-icon {
  width: 18px;
  height: 18px;
  stroke: var(--text);
  stroke-width: 1.4;
  fill: none;
}

.logo-text {
  font-size: 15px;
  font-weight: 600;
}

.logo-text span {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  text-decoration: none;
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav a:hover {
  color: var(--accent);
}

.theme-toggle {
  border: none;
  background: transparent;
  padding: 4px;
  cursor: pointer;
  color: var(--text-muted);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
}

/* HERO */

.hero {
  padding: 72px 0 56px;
}

.hero-inner {
  display: flex;
  justify-content: space-between;
}

.hero-text {
  max-width: 640px;
}

.hero h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 560px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent);
}

.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* SECTIONS */

.section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.section-header {
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}

.section-header p {
  font-size: 14px;
  color: var(--text-muted);
}

/* GRID */

.grid {
  display: grid;
  gap: 16px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* CARDS */

.card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 16px 16px 14px;
}

.card h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* STEP CARDS */

.step-card .card-icon {
  width: 26px;
  height: 26px;
  margin-bottom: 10px;
}

.step-card .card-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--accent);
  stroke-width: 1.5;
  fill: none;
}

/* FEATURE CARDS */

.feature-card {
  min-height: 120px;
}

/* PLAN CARDS */

.plans-grid {
  margin-top: 8px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.plan-header h3 {
  font-size: 15px;
}

.plan-label {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.plan-list {
  list-style: none;
  font-size: 13px;
  color: var(--text-muted);
}

.plan-list li {
  margin-bottom: 4px;
}

/* FAQ */

.faq-grid {
  margin-top: 4px;
}

/* FOOTER */

.footer {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo-text {
  font-size: 14px;
  font-weight: 600;
}

.footer-logo-text span {
  color: var(--accent);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero-inner {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .hero {
    padding: 56px 0 40px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding: 40px 0;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.plan-card {
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.18s ease;
    background: var(--surface);
}

.plan-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.plan-header {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.plan-header h3 {
    font-size: 17px;
    font-weight: 600;
}

.plan-sub {
    font-size: 12px;
    color: var(--text-muted);
}

.plan-price {
    font-size: 18px;
    font-weight: 600;
    margin-top: 6px;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.plan-features li svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.5;
}

.icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
}

/* Check Icon */
.icon.check {
    background-color: var(--accent);
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" stroke="white" stroke-width="2" fill="none" viewBox="0 0 24 24"><path d="M5 12l5 5l10 -10"/></svg>');
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" stroke="white" stroke-width="2" fill="none" viewBox="0 0 24 24"><path d="M5 12l5 5l10 -10"/></svg>');
}

/* Minus Icon */
.icon.minus {
    background-color: var(--text-muted);
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" stroke="white" stroke-width="2" fill="none" viewBox="0 0 24 24"><path d="M5 12h14"/></svg>');
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" stroke="white" stroke-width="2" fill="none" viewBox="0 0 24 24"><path d="M5 12h14"/></svg>');
}

.plan-secondary {
    border-color: var(--border);
    color: var(--text);
}

.plan-secondary:hover {
    background: var(--surface-soft);
}

.plan-btn {
    margin-top: auto;
    width: 100%;
    padding: 10px 14px;
    border-radius: 6px;
    background: var(--accent);
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: opacity .2s;
}

.plan-btn:hover {
    opacity: .85;
}

.bedavatus {
    margin-top: auto;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--accent);
    border-radius: 6px;
    background: transparent;
    color: var(--accent);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: color .2s, background .2s;
}

.bedavatus:hover {
    background: var(--accent);
    color: white;
}

.page-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 6px;
}

.page-desc {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 650px;
    line-height: 1.5;
}

.block { margin-top: 40px; }

.block-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 14px;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step {
    display: flex;
    gap: 12px;
}

.step-num {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--text-muted);
}

.step-title {
    font-size: 14px;
    font-weight: 600;
}

.step-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* TABLO */
.table-scroll {
    overflow-x: auto;
}

.ref-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 500px;
}

.ref-table th,
.ref-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
}

.ref-table thead th {
    text-align: left;
    font-weight: 600;
    color: var(--text-muted);
}

/* REWARDS */
.reward-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 14px;
}

.reward-card {
    border: 1px solid var(--border);
    padding: 18px;
    border-radius: 8px;
}

.reward-tier {
    font-size: 14px;
    font-weight: 600;
}

.reward-detail {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* CTA */
.cta {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.cta-title {
    font-size: 14px;
    margin-bottom: 12px;
}

.cta-btn {
    padding: 10px 14px;
    border-radius: 6px;
    background: var(--accent);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 14px;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 16px;
    margin-top: 12px;
}

.support-card {
    border: 1px solid var(--border);
    padding: 18px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.support-title {
    font-size: 15px;
    font-weight: 600;
}

.support-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
    flex-grow: 1;
}

.support-btn {
    padding: 9px 12px;
    border-radius: 6px;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    cursor: pointer;
    font-size: 13px;
    transition: border .2s ease;
}

.support-btn:hover {
    border-color: var(--text-muted);
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.info-item {
    font-size: 14px;
    display: flex;
    gap: 6px;
}

.info-label {
    color: var(--text-muted);
}

.info-value {
    font-weight: 500;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px,1fr));
    gap: 16px;
    margin-top: 10px;
}

.why-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 18px;
}

.why-title {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.why-icon {
    width: 18px;
    height: 18px;
    stroke-width: 1.5;
    stroke: var(--accent);
    fill: none;
}

.why-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}


.block-text {
    font-size: 14px;
    color: var(--text);
    max-width: 650px;
    line-height: 1.5;
}

.list {
    margin-top: 10px;
    padding-left: 18px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

.list li {
    margin-bottom: 6px;
}

.legal-text {
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
    max-width: 780px;
    margin-top: 6px;
}

.legal-list {
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
    max-width: 780px;
    padding-left: 18px;
    margin-top: 8px;
}

.legal-list li {
    margin-bottom: 6px;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.blog-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 18px;
    cursor: pointer;
    transition: border .2s, background .2s;
}

.blog-card:hover {
    border-color: var(--text-muted);
    background: var(--surface-hover);
}

.blog-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-title {
    font-size: 15px;
    font-weight: 600;
}

.blog-date {
    font-size: 12px;
    color: var(--text-muted);
}

.blog-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
    line-height: 1.4;
}

.blog-foot {
    margin-top: 12px;
}

.blog-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid var(--border);
    color: var(--text);
}

/* ERROR PAGE — MODERN, MINIMAL, PREMIUM */

.error-body {
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.error-wrapper {
    text-align: center;
    padding: 40px 28px;
    border-radius: 18px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    max-width: 480px;
}

.error-icon svg {
    color: var(--text);
    opacity: .85;
    margin-bottom: 24px;
}

.error-code {
    font-size: 54px;
    font-weight: 700;
    margin: 0;
    color: var(--text);
}

.error-title {
    font-size: 20px;
    margin-top: 6px;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text);
}

.error-text {
    margin: 0 0 24px 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--subtext);
}

.error-btn {
    display: inline-block;
    padding: 12px 22px;
    background: var(--btn-bg);
    color: var(--btn-text);
    text-decoration: none;
    border-radius: 10px;
    font-size: 15px;
    transition: opacity .25s;
}

.error-btn:hover {
    opacity: .85;
}


/* ======================
   RESPONSIVE — MOBIL TASARIM
   ====================== */

@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2 {
        grid-template-columns: repeat(1, 1fr);
    }

    .plan-card {
        min-width: unset;
    }

    .nav a {
        margin: 0 8px;
    }
}

@media (max-width: 768px) {

    .header-inner {
        display: flex;
        gap: 12px;
    }

    .nav {
        display: none; /* İsteğe göre burger menü yapılabilir */
    }

    .logo-text {
        font-size: 17px;
    }

    .section-header h1 {
        font-size: 22px;
    }

    .section {
        padding: 32px 0;
    }

    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }

    .compare-table {
        font-size: 12px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {

    body {
        font-size: 14px;
    }

    .theme-toggle svg {
        width: 18px;
        height: 18px;
    }

    .plan-header h3 {
        font-size: 15px;
    }

    .plan-list li {
        font-size: 13px;
    }

    .logo-icon {
        width: 20px;
        height: 20px;
    }

    .logo-text {
        font-size: 16px;
    }
}
