/* ===============================
   🌟HocAlm — Global Theme
   Font: Montserrat (AI Coach style)
   =============================== */

/* 1) Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

/* 2) Global değişkenler */
:root{
  --app-font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Renk paleti */
  --text: #0b1220;
  --muted: #475569;
  --border: #e5e7eb;
  --card: #ffffff;
  --bg: #fffdf7;
  --blue: #3b82f6;
  --green: #16a34a;
  --amber: #f59e0b;

  /* Radius & Shadow */
  --radius: 18px;
  --shadow: 0 10px 24px rgba(0,0,0,.06);
}

/* ===============================
   Temel yapı
   =============================== */
html, body{
  font-family: var(--app-font) !important;
  background: var(--bg);
  color: var(--text);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  line-height: 1.7;
}

/* Başlıklar */
h1, h2, h3, h4, h5, h6{
  font-family: var(--app-font) !important;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-top: 0;
  text-rendering: optimizeLegibility;
}
h1{ font-size: clamp(28px, 4vw, 42px); }
h2{ font-size: clamp(22px, 3.2vw, 32px); }
h3{ font-size: clamp(18px, 2.6vw, 26px); }

/* Paragraflar */
p{
  font-weight: 400;
  color: var(--muted);
  margin: 8px 0 16px;
}

/* Linkler */
a{
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}
a:hover{ text-decoration: underline; }

/* Container */
.container{
  max-width: 1120px;
  margin: auto;
  padding: 24px;
}

/* Kart */
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

/* ===============================
   Butonlar
   =============================== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid var(--text);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .18s ease;
  text-decoration: none;
  font-family: var(--app-font) !important;
}

.btn.primary{
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 6px 16px rgba(59,130,246,.22);
}
.btn.primary:hover{ background:#2563eb; transform: translateY(-1px); }

.btn.ok{
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: 0 6px 16px rgba(22,163,74,.22);
}
.btn.ok:hover{ background:#15803d; transform: translateY(-1px); }

.btn.ghost{
  border: 1.5px dashed var(--border);
  color: var(--muted);
  background: #fff;
}
.btn.ghost:hover{ border-color: var(--text); color: var(--text); }

/* NAVBAR özel stilleri */
.navbar{
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  font-family: var(--app-font) !important;
}
.nav .brand{
  font-weight: 800;
  font-size: 20px;
}
.nav .links{
  display: flex;
  gap: 12px;
  align-items: center;
}
.nav .links a{
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--text);
  font-family: var(--app-font) !important;
}
.nav .links a:hover{ background:#f1f5f9; }

/* 🔹 Navbar "Get started" — mavi CTA */
.navbar .btn.nav-main{
  background:#3b82f6;
  border-color:#3b82f6;
  color:#fff;
  box-shadow:0 4px 10px rgba(59,130,246,.25);
}
.navbar .btn.nav-main:hover{ background:#2563eb; }

/* 🔹 Navbar "Giriş Yap" — ghost görünür */
.navbar .btn.btn-ghost{
  background:#fff;
  border-color:#cbd5e1;
  color:#0b1220;
}
.navbar .btn.btn-ghost:hover{ background:#f1f5f9; }

/* ===============================
   Responsive
   =============================== */
@media (max-width: 768px){
  h1{ font-size: 24px; }
  .container{ padding: 16px; }
}
/* === HOW IT WORKS — Final Override (4→2→1 grid, rozet, hover) === */
#how{ padding:48px 0 !important; }
#how .title{ text-align:center !important; margin:0 0 8px !important; }
#how .muted{ text-align:center !important; margin:0 0 24px !important; color:var(--muted) !important; }

/* Grid: Desktop 4, Tablet 2, Mobile 1 */
#how .how-steps{
  display:grid !important;
  grid-template-columns:repeat(4, minmax(220px,1fr)) !important;
  gap:24px !important;
  align-items:stretch !important;
}
@media (max-width:1100px){
  #how .how-steps{ grid-template-columns:repeat(2, minmax(240px,1fr)) !important; }
}
@media (max-width:640px){
  #how .how-steps{ grid-template-columns:1fr !important; }
}

/* Kart */
#how .step{
  position:relative !important;
  background:#fff !important;
  border:1px solid var(--border) !important;
  border-radius:18px !important;
  box-shadow:var(--shadow) !important;
  padding:40px 24px 24px !important; /* rozet için üst boşluk */
  transition:transform .18s ease, box-shadow .18s ease !important;
  overflow:visible !important;
}
#how .step:hover{
  transform:translateY(-6px) !important;
  box-shadow:0 16px 32px rgba(0,0,0,.10) !important;
}

/* Rozet */
#how .step .step-badge{
  position:absolute !important; left:50% !important; top:0 !important;
  transform:translate(-50%,-50%) !important;
  width:44px !important; height:44px !important; border-radius:999px !important;
  background:var(--blue) !important; color:#fff !important; font-weight:800 !important;
  display:grid !important; place-items:center !important; z-index:2 !important;
  border:4px solid #fff !important; box-shadow:0 6px 16px rgba(59,130,246,.25) !important;
}

/* İçerik hizaları */
#how .step h3{ text-align:center !important; margin:8px 0 10px !important; font-weight:800 !important; color:var(--text) !important; }
#how .step p{ margin:6px auto 10px !important; max-width:48ch !important; color:var(--muted) !important; }
#how .step ul{ margin:6px auto 0 !important; padding-left:18px !important; max-width:50ch !important; list-style:disc !important; }
#how .step li{ margin:6px 0 !important; }

/* İkon */
#how .step .icon{ width:64px !important; height:64px !important; margin:6px auto 10px !important; display:block !important; }

/* Erişilebilirlik */
@media (prefers-reduced-motion: reduce){
  #how .step{ transition:none !important }
  #how .step:hover{ transform:none !important; box-shadow:var(--shadow) !important; }
}
/* icons */
#how .icon{
  display:block; margin:6px auto 10px;
  width:64px; height:64px;
  color: var(--blue); /* stroke için */
  fill: var(--blue);  /* brain/chart için */
}
/* === HOW IT WORKS — 2x2 Konsept (brand uyumlu) === */
.hiw-2col{
  display:grid;
  grid-template-columns:repeat(2, minmax(280px,1fr));
  gap:28px;
  align-items:stretch;
  padding-block: 8px;
}
@media (max-width:900px){ .hiw-2col{ grid-template-columns:1fr; } }

.hiw-card{
  position:relative;
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow: var(--shadow);
  padding:28px 22px 24px;
  text-align:center;
  transition: transform .18s ease, box-shadow .18s ease;
}
.hiw-card:hover{ transform: translateY(-6px); box-shadow: 0 16px 32px rgba(0,0,0,.10); }

/* Üstte yuvarlak numara rozeti */
.hiw-badge{
  position:absolute; left:50%; top:0; transform: translate(-50%, -50%);
  width:46px; height:46px; border-radius:999px;
  background: var(--blue); /* marka mavisi */
  color:#fff; font-weight:800; display:grid; place-items:center;
  border:4px solid #fff; box-shadow: 0 8px 18px rgba(59,130,246,.25);
  font-size: 1rem;
}

/* Ortadaki yuvarlak görsel/ikon */
.hiw-thumb{
  width:92px; height:92px; margin:6px auto 14px;
  border-radius:999px; overflow:hidden; display:grid; place-items:center;
  background: radial-gradient(120px 120px at 30% 30%, #eef2ff, #ffffff);
  border: 1px solid #e7eaf0;
  box-shadow: 0 6px 16px rgba(11,18,32,.06) inset;
}
.hiw-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.hiw-thumb svg{ width:40px; height:40px; color: var(--blue); fill: var(--blue); }

/* Metinler */
.hiw-title{ font-weight:800; font-size: clamp(18px, 2.4vw, 22px); margin: 8px 0 8px; color: var(--text); }
.hiw-text{ color: var(--muted); margin:0 0 10px; }
.hiw-list{ margin: 8px auto 0; padding-left: 18px; text-align:left; max-width: 52ch; }
.hiw-list li{ margin: 6px 0; }
