/* ============================================
   Online Türkçe — Bağımsız mobil internet rehberi
   ============================================ */

:root {
  --bg: #F7F8FB;
  --bg-alt: #ECEFF6;
  --bg-card: #FFFFFF;
  --ink: #0E1726;
  --ink-soft: #2E3A52;
  --ink-mute: #6B7689;
  --accent: #0A6BD9;       /* TR Telekom mavisi tonu */
  --accent-deep: #074EA3;
  --accent-soft: #E5F0FE;
  --signal: #16A34A;       /* yeşil — sinyal güçlü */
  --signal-weak: #D97706;  /* turuncu — sinyal orta */
  --signal-bad: #DC2626;   /* kırmızı — sinyal zayıf */
  --line: #DDE3EE;
  --shadow-sm: 0 1px 2px rgba(14, 23, 38, 0.04), 0 2px 6px rgba(14, 23, 38, 0.04);
  --shadow-md: 0 4px 14px rgba(14, 23, 38, 0.06), 0 12px 28px rgba(14, 23, 38, 0.06);
  --shadow-lg: 0 20px 60px rgba(14, 23, 38, 0.10);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(at 5% 0%, rgba(10, 107, 217, 0.05) 0%, transparent 35%),
    radial-gradient(at 95% 100%, rgba(10, 107, 217, 0.04) 0%, transparent 35%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-deep); }

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1.1em; }

::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 760px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 248, 251, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 24px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem; font-weight: 700;
  letter-spacing: -0.02em; color: var(--ink);
}
.brand .brand-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: var(--accent); color: #fff;
  border-radius: 8px; font-size: 1rem;
  box-shadow: 0 4px 12px rgba(10, 107, 217, 0.35);
}
.brand:hover { color: var(--ink); }

.nav-links { display: flex; list-style: none; gap: 28px; }
.nav-links a {
  color: var(--ink-soft); font-size: 0.94rem;
  font-weight: 500; position: relative; padding: 6px 0;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--accent); border-radius: 1px;
}

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: var(--transition); }

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: '';
  position: absolute; top: -100px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(10, 107, 217, 0.10) 0%, transparent 65%);
  z-index: 0;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 60px; align-items: center;
  position: relative; z-index: 1;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
  padding: 6px 14px; background: var(--accent-soft);
  border-radius: 100px;
}
.eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 30px;
}

.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; background: var(--ink); color: #fff;
  border-radius: var(--radius); font-weight: 600;
  font-size: 0.95rem; transition: var(--transition);
}
.hero-cta:hover {
  background: var(--accent); color: #fff;
  transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.hero-cta-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; background: transparent; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem;
  transition: var(--transition);
}
.hero-cta-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Hero stat panel ---------- */
.stat-panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.stat-panel-title {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 18px;
  display: flex; align-items: center; justify-content: space-between;
}
.stat-panel-title .badge {
  font-size: 0.7rem; font-weight: 600;
  background: var(--signal); color: #fff;
  padding: 3px 8px; border-radius: 4px;
  letter-spacing: 0.04em;
}
.stat-row {
  display: grid; grid-template-columns: 1fr auto auto;
  gap: 12px; align-items: center;
  padding: 14px 0; border-top: 1px solid var(--line);
}
.stat-row:first-of-type { border-top: 0; padding-top: 0; }
.stat-op {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 0.96rem;
}
.stat-op .op-mark {
  width: 28px; height: 28px; border-radius: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  color: #fff; display: inline-flex;
  align-items: center; justify-content: center;
}
.op-tc { background: #FFB400; color: #1A1A1A; }
.op-tt { background: #00A4DC; }
.op-vf { background: #E60000; }
.stat-bar {
  width: 110px; height: 6px;
  background: var(--bg-alt); border-radius: 3px;
  position: relative; overflow: hidden;
}
.stat-bar::after {
  content: ''; position: absolute; left: 0; top: 0;
  height: 100%; background: var(--accent);
  border-radius: 3px;
}
.stat-bar.b-90::after { width: 90%; background: var(--signal); }
.stat-bar.b-78::after { width: 78%; background: var(--signal); }
.stat-bar.b-72::after { width: 72%; background: var(--signal-weak); }
.stat-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.96rem; font-weight: 700;
  color: var(--ink); min-width: 70px; text-align: right;
}
.stat-panel-foot {
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem; color: var(--ink-mute);
  display: flex; justify-content: space-between;
}

/* ---------- Section ---------- */
.section { padding: 80px 0; }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 48px; padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.section-head h2 { margin: 0; }
.section-head .meta {
  font-size: 0.85rem; color: var(--ink-mute);
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* ---------- Featured + grid ---------- */
.featured {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 50px; align-items: center; margin-bottom: 70px;
}
.featured-img {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16/10; box-shadow: var(--shadow-lg);
  display: block;
}
.featured-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.featured:hover .featured-img img { transform: scale(1.04); }

.featured-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.featured-tag::before {
  content: ''; width: 16px; height: 1.5px;
  background: var(--accent);
}

.featured h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 16px; line-height: 1.18;
}
.featured h2 a { color: var(--ink); }
.featured h2 a:hover { color: var(--accent); }
.featured p { color: var(--ink-soft); font-size: 1.04rem; margin-bottom: 22px; }

.post-meta {
  display: flex; align-items: center; gap: 14px;
  font-size: 0.86rem; color: var(--ink-mute);
}
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-mute); }

/* ---------- Posts grid ---------- */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 32px;
}

.post-card {
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
}

.post-card-img {
  aspect-ratio: 16/10; overflow: hidden;
  display: block;
}
.post-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.post-card:hover .post-card-img img { transform: scale(1.05); }

.post-card-body { padding: 24px 26px 28px; }
.post-card .featured-tag { margin-bottom: 10px; font-size: 0.72rem; }
.post-card h3 { font-size: 1.25rem; margin-bottom: 12px; line-height: 1.3; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--accent); }
.post-card p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 16px; }

/* ---------- Stat strip ---------- */
.stat-strip {
  background: var(--ink); color: #fff;
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative; overflow: hidden;
  margin: 80px 0;
}
.stat-strip::before {
  content: ''; position: absolute; top: -120px; right: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(10, 107, 217, 0.35) 0%, transparent 70%);
}
.stat-item { position: relative; z-index: 1; }
.stat-item .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
  color: #fff; line-height: 1; letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.stat-item .num span { font-size: 0.5em; color: var(--accent-soft); margin-left: 4px; }
.stat-item .lbl {
  font-size: 0.84rem; color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
}

/* ---------- About / Trust strip ---------- */
.trust-strip {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 44px; align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
}
.trust-avatar {
  width: 200px; height: 200px;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md);
}
.trust-avatar img { width: 100%; height: 100%; object-fit: cover; }
.trust-strip h3 { font-size: 1.55rem; margin-bottom: 10px; }
.trust-strip p { color: var(--ink-soft); margin-bottom: 14px; max-width: 620px; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); font-weight: 600;
}
.text-link:hover { gap: 10px; }

/* ---------- Article ---------- */
.article { padding: 50px 0 80px; }
.article-header { text-align: center; margin-bottom: 44px; }
.article-header .featured-tag { margin-bottom: 16px; }
.article-header h1 { max-width: 820px; margin: 0 auto 18px; }
.article-header .post-meta { justify-content: center; }

.article-hero {
  border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: 50px; aspect-ratio: 16/9;
  box-shadow: var(--shadow-md);
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; }

.article-body { font-size: 1.06rem; line-height: 1.78; color: var(--ink-soft); }
.article-body > p:first-of-type { font-size: 1.18rem; color: var(--ink); }
.article-body h2 {
  margin-top: 2em; margin-bottom: 0.6em; color: var(--ink);
  padding-top: 0.4em; border-top: 1px solid var(--line);
}
.article-body h3 { margin-top: 1.6em; margin-bottom: 0.4em; color: var(--ink); }
.article-body blockquote {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: 18px 22px; margin: 1.8em 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.08em; color: var(--ink);
}
.article-body ul, .article-body ol { margin: 1em 0 1.4em 1.4em; }
.article-body li { margin-bottom: 0.45em; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body img { border-radius: var(--radius); margin: 2em 0; box-shadow: var(--shadow-sm); }

/* ---------- Data table ---------- */
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2em 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.95rem;
}
.data-table thead th {
  background: var(--bg-alt);
  text-align: left;
  padding: 14px 18px;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.data-table tbody td {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: middle;
}
.data-table tbody tr:first-child td { border-top: 0; }
.data-table tbody tr:hover { background: rgba(10, 107, 217, 0.03); }
.data-table .signal-strong { color: var(--signal); font-weight: 600; }
.data-table .signal-mid { color: var(--signal-weak); font-weight: 600; }
.data-table .signal-weak { color: var(--signal-bad); font-weight: 600; }
.data-table .num-cell {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; color: var(--ink);
}

/* ---------- Info box ---------- */
.info-box {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.8em 0;
}
.info-box strong { color: var(--accent-deep); display: block; margin-bottom: 6px; font-size: 0.92rem; letter-spacing: 0.04em; text-transform: uppercase; }
.info-box p:last-child { margin-bottom: 0; }

.article-footer {
  margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 18px;
}
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  font-size: 0.78rem; padding: 4px 12px;
  background: var(--bg-alt); border-radius: 100px;
  color: var(--ink-soft); border: 1px solid var(--line);
}

/* ---------- Page header for static pages ---------- */
.page-header { padding: 70px 0 36px; text-align: center; }
.page-content { padding: 24px 0 90px; }
.page-content h2 { margin-top: 1.8em; margin-bottom: 0.6em; }
.page-content p, .page-content li { color: var(--ink-soft); }
.page-content ul { margin: 1em 0 1.4em 1.4em; }
.page-content ul li { margin-bottom: 0.5em; }

.about-portrait {
  width: 100%; max-width: 360px; aspect-ratio: 1;
  border-radius: var(--radius-lg); overflow: hidden;
  margin: 0 auto 40px; box-shadow: var(--shadow-md);
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Contact ---------- */
.contact-form { display: flex; flex-direction: column; gap: 16px; margin-top: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.form-field input, .form-field textarea {
  padding: 13px 16px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--bg-card);
  font-family: inherit; font-size: 0.96rem; color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(10, 107, 217, 0.15);
}
.form-field textarea { min-height: 150px; resize: vertical; }
.btn-submit {
  align-self: flex-start; padding: 13px 30px;
  background: var(--ink); color: #fff; border: 0;
  border-radius: var(--radius); font-family: inherit;
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.btn-submit:hover { background: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.form-note { font-size: 0.86rem; color: var(--ink-mute); margin-top: 6px; }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--ink); color: #fff;
  padding: 64px 36px; text-align: center;
  border-radius: var(--radius-lg); margin: 70px 0;
  position: relative; overflow: hidden;
}
.newsletter::before {
  content: ''; position: absolute; top: -100px; left: -100px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(10, 107, 217, 0.40) 0%, transparent 70%);
}
.newsletter > * { position: relative; }
.newsletter h2 { color: #fff; margin-bottom: 12px; }
.newsletter p { color: rgba(255, 255, 255, 0.75); margin-bottom: 26px; max-width: 520px; margin-left: auto; margin-right: auto; }
.newsletter-form { display: flex; gap: 8px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.newsletter-form input {
  flex: 1; min-width: 220px; padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius); color: #fff;
  font-family: inherit; font-size: 0.94rem;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.5); }
.newsletter-form input:focus { outline: none; border-color: var(--accent); }
.newsletter-form button {
  padding: 13px 26px; background: var(--accent); color: #fff;
  border: 0; border-radius: var(--radius); font-family: inherit;
  font-weight: 600; cursor: pointer; transition: var(--transition);
}
.newsletter-form button:hover { background: #fff; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 28px; margin-top: 0;
  background: var(--bg-card);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 38px; }
.footer-grid h4 {
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 16px;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: var(--ink-soft); font-size: 0.94rem; }
.footer-grid a:hover { color: var(--accent); }
.footer-about p { color: var(--ink-soft); font-size: 0.94rem; max-width: 320px; }

.footer-bottom {
  padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.86rem; color: var(--ink-mute);
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .featured { grid-template-columns: 1fr; gap: 30px; }
  .stat-strip { grid-template-columns: 1fr 1fr; padding: 36px 28px; gap: 24px; }
  .trust-strip { grid-template-columns: 1fr; text-align: center; padding: 28px; }
  .trust-avatar { margin: 0 auto; width: 160px; height: 160px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .data-table { font-size: 0.85rem; }
  .data-table thead th, .data-table tbody td { padding: 10px 12px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .hero { padding: 50px 0 40px; }
  .section { padding: 50px 0; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: var(--bg-card);
    padding: 20px 24px; border-bottom: 1px solid var(--line); gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .article-body { font-size: 1rem; }
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
