/* ============================================================
   Abylora website — tema
   Renk paleti uygulama ile aynı (01_URUN_VIZYONU Bölüm 5)
   ============================================================ */
:root {
  --midnight-navy: #071d49;
  --deep-steel-blue: #12356b;
  --ocean-blue: #0d4faf;
  --signal-blue: #2e8eff;
  --soft-glow-blue: #8cc7ff;
  --ice-white: #eaf4ff;
  --pure-white: #ffffff;
  --ok-green: #1fae6b;
  --warn-red: #e0455b;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(7, 29, 73, 0.1);
  --maxw: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", sans-serif;
  color: var(--midnight-navy);
  background: var(--pure-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

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

h1,
h2,
h3 {
  line-height: 1.2;
}

/* --- Navigasyon --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ice-white);
}

.nav-inner,
.section-inner,
.hero-inner,
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--signal-blue), var(--ocean-blue));
  color: var(--pure-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a:not(.nav-cta):hover {
  color: var(--ocean-blue);
}

.nav-cta {
  background: var(--signal-blue);
  color: var(--pure-white);
  padding: 9px 18px;
  border-radius: 10px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--ocean-blue);
}

/* --- Butonlar --- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.15s, transform 0.05s, box-shadow 0.15s;
}

.btn:active {
  transform: scale(0.985);
}

.btn-primary {
  background: var(--signal-blue);
  color: var(--pure-white);
  box-shadow: 0 8px 22px rgba(46, 142, 255, 0.32);
}

.btn-primary:hover {
  background: var(--ocean-blue);
}

.btn-ghost {
  background: var(--pure-white);
  color: var(--ocean-blue);
  border: 1.5px solid var(--soft-glow-blue);
}

.btn-ghost:hover {
  border-color: var(--signal-blue);
}

.btn-block {
  display: block;
  width: 100%;
  margin-top: 14px;
}

.btn-lg {
  padding: 17px 38px;
  font-size: 17px;
}

.btn-disabled {
  background: var(--soft-glow-blue);
  box-shadow: none;
  cursor: not-allowed;
}

.btn:disabled {
  background: var(--soft-glow-blue);
  box-shadow: none;
  cursor: not-allowed;
}

/* --- Hero --- */
.hero {
  background: linear-gradient(160deg, var(--midnight-navy), var(--deep-steel-blue));
  color: var(--pure-white);
  text-align: center;
}

.hero-inner {
  padding-top: 96px;
  padding-bottom: 104px;
}

.hero h1 {
  font-size: 46px;
  font-weight: 700;
  max-width: 720px;
  margin: 0 auto;
}

.hero-sub {
  margin: 20px auto 0;
  max-width: 560px;
  font-size: 18px;
  color: var(--soft-glow-blue);
}

.hero-cta {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--soft-glow-blue);
  opacity: 0.8;
}

/* --- Bölümler --- */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--ice-white);
}

.section-inner.narrow {
  max-width: 620px;
}

.section-inner.center {
  text-align: center;
}

.section h2 {
  font-size: 32px;
  text-align: center;
}

.section-lead {
  margin: 12px auto 0;
  max-width: 560px;
  text-align: center;
  color: var(--deep-steel-blue);
  font-size: 16px;
}

/* --- Kart --- */
.card {
  background: var(--pure-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

/* --- Adımlar --- */
.steps,
.plans {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--ice-white);
  color: var(--ocean-blue);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.step h3,
.plan-name {
  font-size: 19px;
}

.step p {
  margin-top: 8px;
  color: var(--deep-steel-blue);
  font-size: 15px;
}

/* --- Paketler --- */
.plan {
  text-align: center;
  position: relative;
}

.plan-featured {
  border: 2px solid var(--signal-blue);
}

.plan-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--signal-blue);
  color: var(--pure-white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 8px;
}

.plan-price {
  font-size: 40px;
  font-weight: 700;
  color: var(--signal-blue);
  margin: 6px 0 2px;
}

.plan-days {
  color: var(--deep-steel-blue);
  font-size: 14px;
}

/* --- Hesap oluştur --- */
.create-card {
  margin-top: 32px;
}

.warn-box {
  background: rgba(224, 69, 91, 0.09);
  color: var(--warn-red);
  font-size: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  line-height: 1.5;
}

.warn-box-strong {
  font-weight: 600;
  margin-top: 18px;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  font-size: 14px;
  color: var(--deep-steel-blue);
  cursor: pointer;
}

.consent input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--signal-blue);
  flex-shrink: 0;
  cursor: pointer;
}

.form-error {
  margin-top: 14px;
  background: rgba(224, 69, 91, 0.09);
  color: var(--warn-red);
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 10px;
}

.create-loading {
  text-align: center;
  padding: 24px 0;
  color: var(--deep-steel-blue);
}

.create-loading p {
  margin-top: 14px;
}

#create-result {
  text-align: center;
}

.result-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(145deg, #22c07a, var(--ok-green));
  color: var(--pure-white);
  font-size: 34px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-lead {
  margin-top: 8px;
  color: var(--deep-steel-blue);
  font-size: 15px;
}

.key-display {
  margin-top: 16px;
  padding: 18px 12px;
  background: var(--midnight-navy);
  color: var(--pure-white);
  border-radius: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  user-select: all;
  word-break: break-all;
}

/* --- Spinner --- */
.spinner {
  width: 32px;
  height: 32px;
  margin: 0 auto;
  border: 3px solid var(--soft-glow-blue);
  border-top-color: var(--signal-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* --- İndir --- */
.download-note {
  margin-top: 16px;
  color: var(--deep-steel-blue);
  font-size: 14px;
}

#download-btn {
  margin-top: 28px;
}

/* --- Footer --- */
.footer {
  background: var(--midnight-navy);
  color: var(--soft-glow-blue);
  padding: 44px 0;
}

.footer-inner {
  text-align: center;
}

.footer .logo {
  justify-content: center;
  color: var(--pure-white);
}

.footer-note {
  margin: 16px auto 0;
  max-width: 460px;
  font-size: 14px;
}

.footer-copy {
  margin-top: 14px;
  font-size: 13px;
  opacity: 0.7;
}

/* --- Duyarlı --- */
@media (max-width: 720px) {
  .nav-links {
    gap: 14px;
    font-size: 14px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero-inner {
    padding-top: 64px;
    padding-bottom: 72px;
  }
  .steps,
  .plans {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 56px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
