/* ============================================================
   PsykoLink — Geliştirici Notları (Developer Notes) Sayfası
   Design System: Psiko Mavi & Mint Paleti
   Fonts: Poppins (headers) + Inter (body)
   ============================================================ */

:root {
  --primary-green:          #10B981;
  --primary-blue:           #3B82F6;
  --accent-purple:          #6C63FF;
  --success-green:          #22C55E;
  --warning-orange:         #F59E0B;
  --gradient-blue-green:    linear-gradient(135deg, #27AE60, #3498DB);
  --gradient-tech:          linear-gradient(135deg, #1e3a5f 0%, #0f2244 100%);
  --gradient-code:          linear-gradient(135deg, #0f2244 0%, #1a3a6b 100%);
  --soft-gray:              #F9FAFB;
  --dark-navy:              #0C0F1A;
  --text-black:             #1F2937;
  --text-muted:             #4B5563;
  --text-light-gray:        #9CA3AF;
  --white:                  #FFFFFF;
  --surface:                rgba(255, 255, 255, 0.65);
  --border:                 rgba(59, 130, 246, 0.3);
  --shadow:                 0 25px 60px -30px rgba(14, 22, 40, 0.6);
  --radius-lg:              28px;
  --radius-md:              18px;
  --radius-sm:              12px;
  --container:              clamp(16rem, 90vw, 1200px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text-black);
  background: var(--soft-gray);
  line-height: 1.6;
  overflow-x: hidden;
}

img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.2;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.inner {
  width: min(var(--container), 100%);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   HERO
   ============================================================ */

.notes-hero {
  padding: 8rem 0 5rem;
  background: var(--gradient-tech);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.notes-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(59,130,246,0.15)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.notes-hero .inner {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(59, 130, 246, 0.4);
  letter-spacing: 0.03em;
  color: #93c5fd;
}

.notes-hero h1 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #fff 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.notes-hero .hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: 0.8;
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.75;
  -webkit-text-fill-color: rgba(255,255,255,0.82);
}

.hero-tech-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #93c5fd;
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */

.content-section {
  padding: 5rem 0;
}

.content-section--light  { background: var(--soft-gray); }
.content-section--white  { background: var(--white); }
.content-section--alt    { background: linear-gradient(180deg, #f0f4f8 0%, var(--soft-gray) 100%); }
.content-section--dark   {
  background: var(--gradient-code);
  color: white;
}

.section-grid {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0 2.5rem;
  align-items: start;
}

.section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--gradient-blue-green);
  color: white;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.section-tag-col {
  display: flex;
  justify-content: center;
  padding-top: 0.2rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.tag--green  { background: rgba(16, 185, 129, 0.12); color: #059669; }
.tag--blue   { background: rgba(59, 130, 246, 0.12);  color: #2563EB; }
.tag--navy   { background: rgba(15, 34, 68, 0.08);    color: #1e3a5f; }

.section-body h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--dark-navy);
  margin-bottom: 1rem;
}

.content-section--dark .section-body h2 {
  color: white;
}

.section-lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.content-section--dark .section-lead {
  color: rgba(255, 255, 255, 0.72);
}

/* ============================================================
   CONTENT BOX
   ============================================================ */

.content-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-top: 1.5rem;
}

.content-box p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-black);
  margin-bottom: 1rem;
}

.content-box strong {
  color: var(--primary-blue);
  font-weight: 600;
}

.content-box h3 {
  font-size: 1.3rem;
  color: var(--dark-navy);
  margin: 1.75rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(59, 130, 246, 0.12);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.content-box h3:first-child {
  margin-top: 0;
}

/* ============================================================
   ARCHITECTURE DIAGRAM
   ============================================================ */

.arch-diagram {
  background: var(--gradient-code);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-top: 1.5rem;
  font-family: 'Courier New', monospace;
  color: #93c5fd;
  font-size: 0.9rem;
  line-height: 1.9;
  position: relative;
  overflow: hidden;
}

.arch-diagram::before {
  content: '// PsykoLink System Architecture';
  display: block;
  color: rgba(147, 197, 253, 0.4);
  margin-bottom: 1rem;
  font-size: 0.82rem;
}

.arch-diagram .arch-level {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  margin: 0.25rem 0;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.18);
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  color: white;
}

.arch-diagram .arch-level i {
  color: #60a5fa;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.arch-diagram .arch-arrow {
  text-align: center;
  color: rgba(147, 197, 253, 0.45);
  font-size: 0.8rem;
  margin: 0.1rem 0;
}

/* ============================================================
   TECH STACK TABLE
   ============================================================ */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.tech-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: var(--radius-sm);
}

.tech-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light-gray);
}

.tech-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-blue);
}

/* ============================================================
   MODULE CARDS
   ============================================================ */

.module-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.module-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px -8px rgba(14, 22, 40, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.module-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px -10px rgba(14, 22, 40, 0.15);
}

.module-card__number {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.module-card h3 {
  font-size: 1.05rem;
  color: var(--dark-navy);
  margin-bottom: 0.6rem;
  padding: 0;
  border: none;
}

.module-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   FEATURE / BULLET LIST
   ============================================================ */

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(59, 130, 246, 0.08);
}

.feature-item:last-child { border-bottom: none; }

.fi-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.fi--green  { background: rgba(16, 185, 129, 0.12); color: #059669; }
.fi--blue   { background: rgba(59, 130, 246, 0.12);  color: #2563EB; }
.fi--navy   { background: rgba(15, 34, 68, 0.1);     color: #1e3a5f; }

.fi-body strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-navy);
  margin-bottom: 0.25rem;
}

.fi-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.bullet-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  font-size: 1rem;
  color: var(--text-black);
  line-height: 1.6;
}

.bullet-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--primary-blue);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   LEARNING PATH
   ============================================================ */

.learning-path {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  margin: 1.75rem 0;
  position: relative;
}

.learning-path::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
  transform: translateY(-50%);
  z-index: 0;
}

.path-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 0.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.path-step__dot {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--primary-blue);
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.2);
}

.path-step__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.3;
  max-width: 100px;
}

/* ============================================================
   FUTURE PLANS
   ============================================================ */

.plan-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.plan-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(59, 130, 246, 0.15);
  box-shadow: 0 2px 12px -4px rgba(14, 22, 40, 0.08);
}

.plan-item i {
  color: var(--primary-blue);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.plan-item span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-black);
  line-height: 1.5;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .section-grid {
    grid-template-columns: 1fr;
  }

  .section-tag-col {
    justify-content: flex-start;
  }

  .section-number {
    width: 2.8rem;
    height: 2.8rem;
    font-size: 1.1rem;
  }

  .content-box {
    padding: 1.5rem;
  }

  .notes-hero {
    padding: 6rem 0 4rem;
  }

  .hero-tech-pills {
    gap: 0.5rem;
  }

  .module-cards {
    grid-template-columns: 1fr;
  }

  .learning-path {
    grid-template-columns: 1fr;
  }

  .learning-path::before {
    display: none;
  }

  .tech-grid {
    grid-template-columns: 1fr 1fr;
  }

  .plan-list {
    grid-template-columns: 1fr;
  }
}
