:root {
  --bg: #050712;
  --bg-alt: #070a18;
  --card-bg: #0d101f;
  --card-border: rgba(255, 255, 255, 0.06);
  --accent: #31e37b;
  --accent-soft: #133b29;
  --accent-ghost: rgba(49, 227, 123, 0.12);
  --text-main: #f5f7ff;
  --text-muted: #a2a7c4;
  --text-soft: #7e829d;
  --danger-bg: #2b1217;
  --danger-border: #ff6b81;
  --danger-text: #ffd6dd;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 14px 35px rgba(0, 0, 0, 0.45);
  --transition-fast: 0.18s ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #151b3c 0, #050712 45%, #020309 100%);
  color: var(--text-main);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(
      to bottom,
      rgba(5, 7, 18, 0.92),
      rgba(5, 7, 18, 0.9),
      rgba(5, 7, 18, 0.85),
      transparent
    );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: radial-gradient(circle at 20% 20%, #55ffb3, #21a960 45%, #0b3521);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #03040b;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  font-size: 18px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 15px;
  font-weight: 600;
}

.logo-sub {
  font-size: 11px;
  color: var(--text-soft);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.header-right::after {
  content: "";
  position: absolute;
  right: 13px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-soft);
  border-bottom: 2px solid var(--text-soft);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}

.lang-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
}

.lang-select {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 7px 34px 7px 12px;
  font-size: 13px;
  background-color: rgba(6, 9, 24, 0.96);
  color: var(--text-main);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.6);
}

.lang-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(49, 227, 123, 0.4),
    0 12px 26px rgba(0, 0, 0, 0.7);
}

/* Select açılırken arka plan ve yazı rengi */
.lang-select option {
  background-color: #050712;
  color: #f5f7ff;
}

/* Notice */

.notice {
  max-width: 1080px;
  margin: 18px auto 10px auto;
  padding: 12px 16px;
  border-radius: 16px;
  background: radial-gradient(circle at top left, #3b151b, var(--danger-bg));
  border: 1px solid var(--danger-border);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}

.notice-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px 0;
  font-size: 14px;
}

.notice-title::before {
  content: "!";
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ff6b81;
  color: #1b0306;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.notice-text {
  margin: 0;
  font-size: 13px;
  color: var(--danger-text);
}

/* Layout */

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 16px 24px 16px;
}

/* Hero */

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: stretch;
}

.hero-main {
  padding: 22px 22px 24px 22px;
  border-radius: 22px;
  background: radial-gradient(
      circle at top left,
      rgba(49, 227, 123, 0.06),
      transparent 52%
    ),
    linear-gradient(145deg, #090c1a, #050711);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
}

.hero-title {
  margin: 0 0 10px 0;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.hero-subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-primary,
.btn-ghost {
  border-radius: 999px;
  font-size: 14px;
  padding: 9px 18px;
  border: none;
  outline: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast), background var(--transition-fast),
    color var(--transition-fast), border-color var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #4dffb0);
  color: #041008;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
}

.btn-ghost {
  background: var(--accent-ghost);
  border: 1px solid rgba(49, 227, 123, 0.5);
  color: var(--accent);
}

.btn-ghost:hover {
  background: rgba(49, 227, 123, 0.18);
}

.hero-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--text-soft);
}

/* Codes */

.codes-card {
  padding: 20px 18px;
  border-radius: 22px;
  background: radial-gradient(circle at top, #151a34, #050712 60%);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.codes-title {
  margin: 0;
  font-size: 18px;
}

.codes-subtitle {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.code-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.code-card {
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #090c18, #0b0f21);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 10px 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.code-info {
  display: flex;
  flex-direction: column;
}

.code-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-soft);
}

.code-value {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo,
    Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 15px;
  margin-top: 2px;
  letter-spacing: 0.12em;
}

.copy-btn {
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 17, 34, 0.92);
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.copy-btn::before {
  content: "⧉";
  font-size: 11px;
}

.copy-btn:hover {
  background: rgba(49, 227, 123, 0.14);
  border-color: rgba(49, 227, 123, 0.7);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  transform: translateY(-1px);
}

.codes-footnote {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-soft);
}

.codes-footnote .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

/* Section headers */

.section-header {
  margin-bottom: 16px;
}

.section-title {
  margin: 0 0 4px 0;
  font-size: 20px;
}

.section-subtitle {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* Steps */

.steps {
  padding-top: 8px;
}

.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-card {
  border-radius: 20px;
  background: linear-gradient(
      135deg,
      rgba(49, 227, 123, 0.04),
      rgba(49, 227, 123, 0.01)
    ),
    radial-gradient(circle at top right, #1a203d, #050712 60%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 12px;
  padding: 14px 14px 14px 16px;
  align-items: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
}

.step-text {
  padding-right: 6px;
}

.step-title {
  margin: 0 0 4px 0;
  font-size: 16px;
}

.step-body {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.step-body strong {
  color: #e4e6ff;
}

.step-image {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #000;
}

.step-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* FAQ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: 16px;
  background: linear-gradient(145deg, #070a18, #050712);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 14px;
}

.faq-question {
  margin: 0 0 4px 0;
  font-size: 14px;
}

.faq-answer {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  margin-top: auto;
  padding: 14px 16px 18px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: radial-gradient(circle at top, #0e1225, #020309 70%);
}

.site-footer .footer-text {
  max-width: 1080px;
  margin: 0 auto;
  font-size: 11px;
  color: var(--text-soft);
}

/* Copy toast */

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(20px);
  padding: 8px 16px;
  border-radius: 999px;
  background: #0c120f;
  border: 1px solid rgba(49, 227, 123, 0.6);
  color: var(--accent);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7);
  transition: opacity var(--transition-fast),
    transform var(--transition-fast);
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .codes-card {
    order: -1;
  }

  .step-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-image {
    order: -1;
  }
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .hero-main,
  .codes-card {
    padding: 16px 14px 17px 14px;
  }

  .step-card {
    padding: 12px 11px 12px 12px;
  }

  .hero-title {
    font-size: 22px;
  }

  .container {
    padding-inline: 14px;
  }
}

.guide-hero {
  margin-top: 26px;
}

.guide-hero-lead {
  font-size: 15px;
}

.guide-hero-note {
  margin-top: 10px;
}

.guide-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 10px;
  text-decoration: none;
}

.guide-back::before {
  content: "←";
  font-size: 13px;
}

.guide-back:hover {
  color: var(--accent);
}

.guide-steps {
  padding-top: 8px;
}