/* Hisse Analizcisi — mobil öncelikli, sade borsa eğitimi */

:root {
  --bg: #f8f9fb;
  --surface: #ffffff;
  --text: #1a2332;
  --text-muted: #5c6b7a;
  --accent: #0d4f8b;
  --accent-light: #e8f1fa;
  --border: #e2e8f0;
  --success: #0f766e;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(26, 35, 50, 0.06);
  --shadow-lg: 0 8px 24px rgba(26, 35, 50, 0.08);
  --font: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --font-display: "Libre Baskerville", Georgia, serif;
  --max-width: 720px;
  --content-width: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  line-height: 1.3;
}

.logo span {
  color: var(--accent);
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  color: var(--text);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--accent-light);
  color: var(--accent);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .site-header {
    position: static;
  }

  .site-nav {
    display: block;
    position: static;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .site-nav ul {
    display: flex;
    gap: 0.25rem;
  }

  .site-nav a {
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius);
  }
}

/* Hero */
.hero {
  background: linear-gradient(165deg, #0d4f8b 0%, #1a6bb5 55%, #2d8fd4 100%);
  color: #fff;
  padding: 2.5rem 1.25rem 3rem;
}

.hero-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 1rem;
  max-width: 18ch;
}

.hero p {
  font-size: 1.125rem;
  opacity: 0.92;
  margin: 0 0 1.5rem;
  max-width: 42ch;
}

.hero-cta {
  display: inline-block;
  background: #fff;
  color: var(--accent);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: var(--shadow-lg);
}

.hero-cta:hover {
  background: var(--accent-light);
  text-decoration: none;
}

/* Layout */
main {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 1.25rem;
  color: var(--text);
}

/* Cards grid */
.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
  text-decoration: none;
}

.card h3 {
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
  color: var(--accent);
}

.card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--success);
  margin-bottom: 0.5rem;
}

/* Article */
.article-header {
  margin-bottom: 2rem;
}

.breadcrumb {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.3;
  margin: 0 0 0.75rem;
}

.article-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.article-body {
  max-width: var(--max-width);
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

.article-body h3 {
  font-size: 1.0625rem;
  margin: 1.5rem 0 0.5rem;
}

.article-body p,
.article-body li {
  color: var(--text);
}

.article-body ul,
.article-body ol {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.article-body li {
  margin-bottom: 0.35rem;
}

.callout {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

.callout strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--accent);
}

.callout--warn {
  background: #fef9ec;
  border-left-color: #b45309;
}

.callout--warn strong {
  color: #b45309;
}

/* FAQ */
.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.faq-list strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent);
}

/* Footer */
.site-footer {
  background: var(--text);
  color: #cbd5e1;
  padding: 2.5rem 1.25rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.site-footer a {
  color: #e2e8f0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.site-footer h3 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin: 0 0 0.75rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.footer-disclaimer {
  font-size: 0.8125rem;
  line-height: 1.5;
  border-top: 1px solid #334155;
  padding-top: 1.5rem;
  color: #94a3b8;
}

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-muted {
  color: var(--text-muted);
}

.next-read {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.next-read h2 {
  font-size: 1rem;
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin: 0 0 1rem;
}
