/* ============================================================
   PsykoLink — Geliştirici Günlüğü (Developer Daily) 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-purple-blue:   linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-manifesto:     linear-gradient(135deg, #f093fb 0%, #f5576c 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
   ============================================================ */

.daily-hero {
  padding: 8rem 0 5rem;
  background: var(--gradient-purple-blue);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.daily-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(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.daily-hero .inner {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.18);
  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(255, 255, 255, 0.3);
  letter-spacing: 0.03em;
}

.daily-hero h1 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.daily-hero .hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  opacity: 0.9;
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

.hero-meta-item i {
  font-size: 1rem;
  opacity: 0.75;
}

/* ============================================================
   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%);
}

.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-number.purple {
  background: var(--gradient-purple-blue);
}

.section-body {
  min-width: 0;
}

.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--purple { background: rgba(108, 99, 255, 0.12);  color: #5B50E0; }

.section-body h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--dark-navy);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.section-body-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-black);
  margin-bottom: 1rem;
}

/* ============================================================
   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.15);
}

/* ============================================================
   PRINCIPLE CARDS
   ============================================================ */

.principle-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.principle-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px -8px rgba(14, 22, 40, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.principle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px -12px rgba(14, 22, 40, 0.18);
}

.principle-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.icon--green  { background: rgba(16, 185, 129, 0.12); color: #059669; }
.icon--blue   { background: rgba(59, 130, 246, 0.12);  color: #2563EB; }
.icon--purple { background: rgba(108, 99, 255, 0.12);  color: #5B50E0; }

.principle-card__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light-gray);
  margin-bottom: 0.4rem;
}

.principle-card h3 {
  font-size: 1.15rem;
  color: var(--dark-navy);
  margin-bottom: 0.75rem;
  border-bottom: none;
  padding-bottom: 0;
  margin-top: 0;
}

.principle-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   MANIFESTO / QUOTE SECTION
   ============================================================ */

.manifesto-section {
  padding: 5rem 0;
  background: var(--gradient-purple-blue);
  position: relative;
  overflow: hidden;
}

.manifesto-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1.5" fill="rgba(255,255,255,0.12)"/></pattern></defs><rect width="60" height="60" fill="url(%23dots)"/></svg>');
}

.manifesto-section .inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.manifesto-quote-wrap {
  max-width: 760px;
  margin: 0 auto;
  color: white;
}

.manifesto-quote-icon {
  font-size: 3rem;
  opacity: 0.25;
  margin-bottom: 1.25rem;
  line-height: 1;
}

.manifesto-quote-text {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.manifesto-quote-author {
  font-size: 0.95rem;
  opacity: 0.78;
  font-style: italic;
}

/* ============================================================
   TECH APPROACH / FLOW DIAGRAM
   ============================================================ */

.flow-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 2rem 0;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(59, 130, 246, 0.07);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-black);
  width: 100%;
  max-width: 400px;
}

.flow-step i {
  color: var(--primary-blue);
  font-size: 1rem;
  flex-shrink: 0;
}

.flow-arrow {
  font-size: 1.1rem;
  color: var(--text-light-gray);
  margin: 0.3rem 0;
}

/* ============================================================
   FEATURE 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--purple { background: rgba(108, 99, 255, 0.12);  color: #5B50E0; }

.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
   ============================================================ */

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.bullet-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 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;
}

/* ============================================================
   PROTOTYPE / STATUS CARDS
   ============================================================ */

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.status-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);
}

.status-card__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot--green  { background: var(--success-green); box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
.status-dot--blue   { background: var(--primary-blue); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); }
.status-dot--orange { background: var(--warning-orange); box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2); }

.status-card__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-navy);
}

.status-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ============================================================
   DEVELOPER NOTE HIGHLIGHT (Final section)
   ============================================================ */

.dev-note-highlight {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%);
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 1.5rem;
}

.dev-note-highlight h3 {
  font-size: 1.25rem;
  color: var(--accent-purple);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.dev-note-highlight p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-black);
}

.dev-note-highlight strong {
  color: var(--accent-purple);
}

/* ============================================================
   SECTION TAG COL
   ============================================================ */

.section-tag-col {
  display: flex;
  justify-content: center;
  padding-top: 0.2rem;
}

/* ============================================================
   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;
  }

  .daily-hero {
    padding: 6rem 0 4rem;
  }

  .hero-meta {
    gap: 1rem;
  }

  .principle-cards {
    grid-template-columns: 1fr;
  }

  .status-grid {
    grid-template-columns: 1fr;
  }

  .manifesto-section {
    padding: 4rem 0;
  }
}
