/* =========================================================
   Satoshi School — Ücretsiz iki haftalık kripto para maratonu
   Dark / purple theme, Orbitron display font
   ========================================================= */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

:root {
  --bg: #0a0612;
  --bg-2: #110a1e;
  --bg-card: #1a1230;
  --bg-card-2: #1f1638;
  --border: rgba(139, 92, 246, 0.18);
  --border-strong: rgba(139, 92, 246, 0.35);
  --purple: #8B5CF6;
  --purple-bright: #A584FF;
  --purple-soft: #C4B5FD;
  --purple-deep: #6D28D9;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.55);
  --text-soft: rgba(255, 255, 255, 0.75);
  --green: #22c55e;
  --radius: 14px;
  --radius-lg: 20px;
}

body {
  background: #07040d;
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 1200px 700px at 50% 20%, rgba(109, 40, 217, 0.35) 0%, rgba(7, 4, 13, 0) 60%),
    radial-gradient(ellipse 1000px 600px at 50% 80%, rgba(76, 29, 149, 0.25) 0%, rgba(7, 4, 13, 0) 60%);
  background-attachment: fixed;
}

a { color: var(--purple-bright); text-decoration: none; }
a:hover { color: var(--purple-soft); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.anchor {
  display: block;
  height: 0;
  scroll-margin-top: 80px;
}

/* ---------- Header ---------- */
.site-header {
  background: #000;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.logo-wrap { display: inline-flex; }

.logo-text {
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  color: #ffffff;
  font-size: 26px;
  letter-spacing: 1px;
  line-height: 0.85;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-transform: lowercase;
  position: relative;
}
.logo-row1, .logo-row2 {
  display: block;
  position: relative;
}
.logo-row1::after,
.logo-row2::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  height: 2px;
  background: #ffffff;
}
.logo-row1::after { bottom: -2px; }
.logo-row2::before { top: -2px; }
.logo-row2 { margin-top: 4px; transform: translateX(8px); }

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

.hero-title {
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin: 0 0 22px;
  text-transform: lowercase;
}

.hero-sub {
  color: var(--text-soft);
  font-size: 16px;
  margin: 0 0 36px;
}

.timer-card {
  max-width: 520px;
  margin: 0 auto 36px;
  padding: 22px 24px 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(26, 18, 48, 0.85) 0%, rgba(15, 9, 28, 0.85) 100%);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.05) inset;
}

.timer-label {
  font-family: "Orbitron", sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.timer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.timer-cell { text-align: center; min-width: 100px; }

.timer-num {
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  color: var(--purple-soft);
  letter-spacing: 1px;
}

.timer-name {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.timer-sep {
  font-family: "Orbitron", sans-serif;
  font-size: 36px;
  color: var(--purple-bright);
  margin-bottom: 26px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 12px;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.btn:hover { filter: brightness(1.1); }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(180deg, #8B5CF6 0%, #7C3AED 100%);
  color: #ffffff;
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}

.btn-cta {
  min-width: 280px;
}

/* ---------- Sections ---------- */
.section {
  padding: 50px 0;
}

.section-title {
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  font-size: 36px;
  letter-spacing: 1px;
  color: #ffffff;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
  margin: 0 0 36px;
  padding-bottom: 6px;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70%;
  height: 3px;
  background: var(--purple);
  border-radius: 2px;
}

/* ---------- Card grids ---------- */
.grid {
  display: grid;
  gap: 22px;
}
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(180deg, #5B21B6 0%, #4C1D95 100%);
  font-size: 22px;
  line-height: 1;
}
.card-icon.icon-green {
  background: linear-gradient(180deg, #15803d 0%, #166534 100%);
}

.card-title {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--purple-soft);
  text-transform: uppercase;
  margin: 0;
}

.card-text {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- KURS YAPISI / Stages ---------- */
.stages {
  display: flex;
  flex-direction: column;
}

.stage {
  position: relative;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px 26px 26px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.stage-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(180deg, #5B21B6 0%, #4C1D95 100%);
  font-size: 22px;
}

.stage-body { flex: 1 1 auto; min-width: 0; padding-right: 60px; }

.stage-title {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--purple-soft);
  margin: 0 0 10px;
}

.stage-text {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.stage-num {
  position: absolute;
  top: 18px;
  right: 28px;
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  font-size: 48px;
  color: rgba(139, 92, 246, 0.85);
  line-height: 1;
  letter-spacing: 2px;
}

.stage-line {
  width: 2px;
  height: 28px;
  background: rgba(139, 92, 246, 0.4);
  margin: 0 auto;
}

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 14px; }

.faq-item {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item.is-open {
  border-color: var(--border-strong);
}

.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-toggle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  background: #fff;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.faq-toggle::before { width: 10px; height: 2px; }
.faq-toggle::after  { width: 2px;  height: 10px; transition: transform 0.2s ease; }
.faq-item.is-open .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 22px;
}
.faq-item.is-open .faq-a {
  max-height: 400px;
  padding: 0 22px 18px;
}
.faq-a p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ---------- Form section ---------- */
.section-form { padding-top: 30px; padding-bottom: 60px; }

.form-card {
  max-width: 540px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 36px 36px 32px;
}

.form-title {
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  font-size: 24px;
  text-align: center;
  margin: 0 0 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
}

.form-sub {
  text-align: center;
  color: var(--purple-soft);
  margin: 0 0 24px;
  font-size: 14px;
}

.form-group { margin-bottom: 14px; }

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
._form input[type="text"],
._form input[type="tel"],
._form input[type="email"] {
  width: 100%;
  height: 52px;
  background: rgba(15, 9, 28, 0.7) !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  font-family: "Inter", sans-serif !important;
  font-size: 15px !important;
  padding: 14px 16px !important;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
  box-shadow: none !important;
}
._form input[type="tel"] {
  padding-left: 90px !important;
}
.form-group input::placeholder,
._form input::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
  opacity: 1 !important;
}
.form-group input:focus,
._form input:focus {
  border-color: var(--purple) !important;
  background: rgba(20, 12, 38, 0.9) !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18) !important;
}
._form input.correct,
._form input.valid {
  background: rgba(15, 9, 28, 0.7) !important;
  border-color: var(--green) !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18) !important;
}
._form input.error,
._form input.invalid {
  background: rgba(15, 9, 28, 0.7) !important;
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18) !important;
}

._form.form {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  text-align: left;
}
._form .form-group {
  margin-bottom: 14px;
}

.btn-submit,
._form .reg-btn {
  width: 100% !important;
  margin-top: 8px !important;
  padding: 16px 24px !important;
  border-radius: 12px !important;
  font-family: "Orbitron", sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  cursor: pointer;
  border: none !important;
  background: linear-gradient(180deg, #8B5CF6 0%, #7C3AED 100%) !important;
  color: #fff !important;
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.35) !important;
  transition: filter 0.15s ease !important;
  animation: none !important;
  height: auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px;
}
.btn-submit:hover,
._form .reg-btn:hover:not(:disabled) {
  filter: brightness(1.08) !important;
  transform: none !important;
}
._form .reg-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
._form .reg-btn::after { content: '' !important; }

/* intl-tel-input compatibility (phone field) */
.iti { width: 100%; }
.iti__selected-flag { background: transparent !important; }
.iti__selected-dial-code { color: #fff !important; }
.iti__country-list {
  background: #15102a !important;
  color: #fff !important;
  border: 1px solid var(--border-strong) !important;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 40px 0 50px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: #050309;
}

.footer-line {
  margin: 8px 0;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-link {
  color: var(--purple-bright);
  text-decoration: underline;
}

.footer-copy {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.25);
  font-size: 12px;
}

/* ---------- Loader (form submit) ---------- */
.loader {
  display: none;
  margin: 16px auto 0;
  width: 28px;
  height: 28px;
  border: 3px solid rgba(139, 92, 246, 0.25);
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
.loader.is-active { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   Responsive — tablet
   ========================================================= */
@media (max-width: 1024px) {
  .hero-title { font-size: 48px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timer-num { font-size: 52px; }
}

/* =========================================================
   Responsive — mobile (matches the screenshot)
   ========================================================= */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }

  .site-header { padding: 16px; }
  .logo-text { font-size: 20px; }

  .hero { padding: 36px 0 30px; }
  .hero-title {
    font-size: 28px;
    line-height: 1.15;
    margin-bottom: 14px;
  }
  .hero-sub { font-size: 13px; margin-bottom: 22px; }

  .timer-card { padding: 16px 12px 14px; max-width: 100%; }
  .timer-label { font-size: 9px; letter-spacing: 1.4px; margin-bottom: 10px; }
  .timer-row { gap: 4px; }
  .timer-cell { min-width: 0; flex: 1 1 0; }
  .timer-num { font-size: 36px; }
  .timer-name { font-size: 9px; letter-spacing: 1.2px; margin-top: 4px; }
  .timer-sep { font-size: 22px; margin-bottom: 18px; }

  .btn-cta { width: 100%; min-width: 0; padding: 14px 20px; font-size: 12px; }

  .section { padding: 28px 0; }
  .section-title {
    font-size: 22px;
    margin-bottom: 22px;
  }
  .section-title::after { height: 2px; }

  .grid { gap: 14px; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }

  .card { padding: 20px 18px; gap: 12px; }
  .card-title { font-size: 13px; }
  .card-text { font-size: 13px; }
  .card-icon { width: 40px; height: 40px; font-size: 20px; }

  .stage {
    padding: 20px 18px 22px;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
  }
  .stage-num {
    position: static;
    margin-left: auto;
    font-size: 28px;
  }
  .stage-icon { width: 40px; height: 40px; font-size: 20px; }
  .stage-title { font-size: 15px; margin-bottom: 8px; }
  .stage-text { font-size: 13px; }
  .stage-line { height: 18px; }
  .stage-body { flex: 1 1 100%; order: 3; padding-right: 0; }
  .stage > .stage-icon { order: 1; }
  .stage > .stage-num { order: 2; }

  .faq-q { padding: 14px 16px; font-size: 13px; }
  .faq-toggle { width: 22px; height: 22px; }
  .faq-toggle::before { width: 8px; }
  .faq-toggle::after { height: 8px; }
  .faq-a { padding: 0 16px; }
  .faq-item.is-open .faq-a { padding: 0 16px 14px; }
  .faq-a p { font-size: 13px; }

  .form-card { padding: 24px 18px 22px; }
  .form-title { font-size: 18px; }
  .form-sub { font-size: 12px; margin-bottom: 18px; }
  .form-group input { padding: 12px 14px; font-size: 14px; }
  .btn-submit { font-size: 12px; padding: 14px 18px; }

  .site-footer { padding: 26px 0 30px; }
  .footer-line { font-size: 11px; }
  .footer-copy { font-size: 11px; }
}
