/* ============================================================
   PsykoLink — CBT Hakkında 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);
  --soft-gray: #F9FAFB;
  --dark-navy: #0C0F1A;
  --text-black: #1F2937;
  --text-light-gray: #9CA3AF;
  --white: #FFFFFF;
  --surface: rgba(255, 255, 255, 0.6);
  --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;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text-black);
  background: var(--soft-gray);
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

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;
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.15);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo-img {
  width: 2.6rem;
  height: 2.6rem;
  object-fit: cover;
  border-radius: 25%;
  box-shadow:
    0 4px 14px -2px rgba(59, 130, 246, 0.45),
    0 2px 6px -1px rgba(14, 22, 40, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.1);
  box-shadow:
    0 8px 22px -4px rgba(59, 130, 246, 0.55),
    0 4px 10px -2px rgba(14, 22, 40, 0.3);
}

.logo-text {
  font-size: 1.1rem;
  color: var(--text-black);
  font-family: "Poppins", sans-serif;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  letter-spacing: 0.01em;
  transition: color 0.3s ease, background-color 0.3s ease, transform 0.25s ease;
  color: var(--text-black);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--primary-blue);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 0.55rem 1.2rem !important;
  background: var(--primary-green) !important;
  color: white !important;
  box-shadow: 0 12px 30px -18px var(--primary-green);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--success-green) !important;
  color: white !important;
  box-shadow: 0 16px 40px -20px rgba(16, 185, 129, 0.6) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.4rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-black);
  margin-bottom: 5px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Nav backdrop (mobile drawer overlay) */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 500;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-backdrop.is-open { display: block; }

/* ============================================================
   BADGE & TAG
   ============================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary-green);
  font-family: "Inter", sans-serif;
}

.tag {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-green);
  font-family: "Inter", sans-serif;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  transition: transform 0.25s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.btn.primary {
  background: var(--primary-green);
  color: white;
  box-shadow: 0 20px 40px -25px var(--primary-green);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background: var(--success-green);
  transform: translateY(-2px);
  box-shadow: 0 24px 44px -22px rgba(16, 185, 129, 0.6);
}

.btn.ghost {
  position: relative;
  overflow: hidden;
  background-color: var(--white);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--primary-blue);
  transition: color 0.35s ease, transform 0.25s ease;
  z-index: 0;
}

.btn.ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #27AE60, #10B981, #3498DB, #3B82F6);
  background-size: 250% 100%;
  background-position: 0% 50%;
  animation: ghostSweep 3s ease-in-out infinite alternate;
  animation-play-state: paused;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.btn.ghost:hover::before,
.btn.ghost:focus-visible::before {
  opacity: 1;
  animation-play-state: running;
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  color: white;
  transform: translateY(-2px);
}

@keyframes ghostSweep {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.btn.purple {
  background: linear-gradient(135deg, var(--accent-purple), #9c95ff);
  color: white;
  box-shadow: 0 20px 40px -25px rgba(108, 99, 255, 0.5);
}

.btn.purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px -22px rgba(108, 99, 255, 0.6);
}

.btn.exercises {
  background: linear-gradient(135deg, #F59E0B, #EF4444);
  color: white;
  box-shadow: 0 14px 36px -16px rgba(245, 158, 11, 0.55);
}

.btn.exercises:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -18px rgba(245, 158, 11, 0.65);
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.CBT-hero {
  padding: 7rem 0 5rem;
  background:
    radial-gradient(circle at 8% 20%, rgba(108, 99, 255, 0.12), transparent 55%),
    radial-gradient(circle at 85% 5%, rgba(59, 130, 246, 0.15), transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(16, 185, 129, 0.1), transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1.2rem;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-top: 0.4rem;
  background: linear-gradient(135deg, var(--text-black) 40%, var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-black);
  max-width: 36rem;
  margin: 0;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-light-gray);
  max-width: 36rem;
  margin: 0;
}

.hero-message {
  padding: 1.2rem 1.6rem;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.08), rgba(59, 130, 246, 0.1));
  border-left: 3px solid var(--accent-purple);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-black);
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 2rem;
}

.glass-card {
  width: 100%;
  max-width: 22rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.glass-card h3 {
  font-size: 1.15rem;
  margin-bottom: 1.4rem;
  color: var(--text-black);
}

/* CBT Cycle Visual */
.CBT-cycle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cycle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.7rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(59, 130, 246, 0.15);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cycle-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -30px rgba(59, 130, 246, 0.3);
}

.cycle-item .cycle-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.cycle-item.thought .cycle-icon {
  background: rgba(108, 99, 255, 0.18);
  color: #5B21B6;
}

.cycle-item.emotion .cycle-icon {
  background: rgba(16, 185, 129, 0.18);
  color: #047857;
}

.cycle-item.behavior .cycle-icon {
  background: rgba(59, 130, 246, 0.18);
  color: #1D4ED8;
}

.cycle-item.physical .cycle-icon {
  background: rgba(245, 158, 11, 0.18);
  color: #92400E;
}

.cycle-item span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-black);
  font-family: "Inter", sans-serif;
}

.cycle-caption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light-gray);
  font-style: italic;
}

/* Hero Floating Badge */
.hero-floating-badge {
  padding: 1.2rem 1.6rem;
  background: linear-gradient(120deg, rgba(108, 99, 255, 0.1), rgba(59, 130, 246, 0.12));
  border-radius: var(--radius-md);
  border: 1px solid rgba(108, 99, 255, 0.2);
  box-shadow: 0 20px 45px -35px rgba(14, 22, 40, 0.5);
  text-align: center;
  max-width: 22rem;
  width: 100%;
}

.hero-floating-badge strong {
  display: block;
  font-size: 1rem;
  color: var(--accent-purple);
  font-family: "Poppins", sans-serif;
  margin-bottom: 0.3rem;
}

.hero-floating-badge span {
  font-size: 0.85rem;
  color: var(--text-light-gray);
}

/* ============================================================
   SECTION COMMON
   ============================================================ */

.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 0.8rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-light-gray);
  max-width: 44rem;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   CBT INTRO SECTION (3-card grid)
   ============================================================ */

.CBT-intro {
  padding: 5rem 0;
  background: white;
}

.intro-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  margin-top: 3rem;
}

.intro-card {
  padding: 2.2rem;
  background: var(--soft-gray);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(59, 130, 246, 0.12);
  box-shadow: 0 30px 60px -50px rgba(14, 22, 40, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: grid;
  gap: 1rem;
}

.intro-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 80px -55px rgba(59, 130, 246, 0.35);
}

.intro-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
}

.intro-card-icon.green {
  background: rgba(16, 185, 129, 0.18);
  color: #047857;
}

.intro-card-icon.blue {
  background: rgba(59, 130, 246, 0.18);
  color: #1D4ED8;
}

.intro-card-icon.purple {
  background: rgba(108, 99, 255, 0.18);
  color: #5B21B6;
}

.intro-card h3 {
  font-size: 1.15rem;
}

.intro-card p {
  font-size: 0.95rem;
  color: var(--text-light-gray);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   MODEL SECTION (Düşünce-Duygu-Davranış-Fiziksel)
   ============================================================ */

.CBT-model {
  padding: 5rem 0;
  background: linear-gradient(180deg, rgba(249, 250, 251, 0.8), rgba(108, 99, 255, 0.06));
}

.model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

.model-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  position: relative;
}

.model-visual::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.06), rgba(59, 130, 246, 0.08));
  z-index: -1;
}

.model-item {
  padding: 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.model-item:hover {
  transform: translateY(-3px);
}

.model-item.thought {
  background: rgba(108, 99, 255, 0.06);
  border-color: rgba(108, 99, 255, 0.2);
}

.model-item.emotion {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.2);
}

.model-item.behavior {
  background: rgba(59, 130, 246, 0.06);
  border-color: rgba(59, 130, 246, 0.2);
}

.model-item.physical {
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.2);
}

.model-item-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.model-item-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.model-item.thought .model-item-icon { background: rgba(108, 99, 255, 0.18); color: #5B21B6; }
.model-item.emotion .model-item-icon { background: rgba(16, 185, 129, 0.18); color: #047857; }
.model-item.behavior .model-item-icon { background: rgba(59, 130, 246, 0.18); color: #1D4ED8; }
.model-item.physical .model-item-icon { background: rgba(245, 158, 11, 0.18); color: #92400E; }

.model-item h4 {
  font-size: 0.95rem;
  color: var(--text-black);
}

.model-item p {
  font-size: 0.85rem;
  color: var(--text-light-gray);
  margin: 0;
  line-height: 1.6;
}

.model-copy {
  display: grid;
  gap: 1.4rem;
}

.model-copy h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}

.model-copy p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light-gray);
}

.model-copy .highlight-box {
  padding: 1.4rem 1.8rem;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.08), rgba(59, 130, 246, 0.08));
  border-radius: var(--radius-md);
  border: 1px solid rgba(108, 99, 255, 0.2);
}

.model-copy .highlight-box p {
  font-size: 0.95rem;
  color: var(--text-black);
  font-style: italic;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   CBT DIFFERENCE SECTION
   ============================================================ */

.CBT-difference {
  padding: 5rem 0;
  background: white;
}

.difference-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}

.difference-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.difference-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.2rem 1.4rem;
  background: var(--soft-gray);
  border-radius: var(--radius-md);
  border: 1px solid rgba(59, 130, 246, 0.1);
  font-size: 0.95rem;
  line-height: 1.6;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.difference-list li:hover {
  transform: translateX(4px);
  border-color: rgba(59, 130, 246, 0.25);
}

.difference-list li .li-icon {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(59, 130, 246, 0.15));
  color: var(--primary-green);
  margin-top: 0.05rem;
}

.difference-highlight {
  padding: 2.6rem;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.08), rgba(59, 130, 246, 0.1));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(108, 99, 255, 0.2);
  box-shadow: 0 30px 70px -55px rgba(14, 22, 40, 0.35);
}

.difference-highlight .tag {
  margin-bottom: 1.2rem;
}

.difference-highlight blockquote {
  margin: 1.2rem 0 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-black);
}

.difference-highlight blockquote strong {
  color: var(--accent-purple);
}

.difference-highlight blockquote footer {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-green);
}

/* ============================================================
   COGNITIVE TRIAD SECTION
   ============================================================ */

.cognitive-triad {
  padding: 5rem 0;
  background: linear-gradient(180deg, rgba(14, 22, 40, 0.04) 0%, rgba(108, 99, 255, 0.05) 100%);
}

.triad-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  margin-top: 3rem;
}

.triad-card {
  padding: 2.4rem;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(59, 130, 246, 0.12);
  box-shadow: 0 30px 60px -50px rgba(14, 22, 40, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  text-align: center;
}

.triad-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 40px 80px -50px rgba(108, 99, 255, 0.3);
}

.triad-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.12), rgba(59, 130, 246, 0.12));
  font-size: 1.4rem;
  margin: 0 auto;
}

.triad-card h3 {
  font-size: 1.2rem;
  color: var(--text-black);
}

.triad-card p {
  font-size: 0.95rem;
  color: var(--text-light-gray);
  line-height: 1.7;
  margin: 0;
}

.triad-card .triad-example {
  padding: 0.9rem 1.1rem;
  background: rgba(108, 99, 255, 0.06);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--accent-purple);
  border-left: 3px solid rgba(108, 99, 255, 0.3);
  text-align: left;
}

/* ============================================================
   CORE CONCEPTS SECTION (Feature Grid)
   ============================================================ */

.CBT-concepts {
  padding: 5rem 0;
  background: white;
}

.concepts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.concept-card {
  background: var(--soft-gray);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 25px 55px -45px rgba(14, 22, 40, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: grid;
  gap: 1rem;
}

.concept-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 35px 70px -50px rgba(59, 130, 246, 0.35);
  border-color: rgba(59, 130, 246, 0.2);
}

.concept-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(59, 130, 246, 0.12));
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-blue);
  font-family: "Inter", sans-serif;
}

.concept-card h3 {
  font-size: 1.05rem;
  color: var(--text-black);
}

.concept-card p {
  font-size: 0.9rem;
  color: var(--text-light-gray);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   HOW CBT WORKS SECTION (Tree-style steps)
   ============================================================ */

.CBT-how {
  padding: 5rem 0;
  background: linear-gradient(180deg, rgba(249, 250, 251, 0.9), rgba(16, 185, 129, 0.07));
}

.how-tree {
  display: grid;
  gap: 3.5rem;
  justify-items: center;
  margin-top: 3rem;
}

.how-root {
  position: relative;
  padding: 2.4rem 3rem;
  max-width: 32rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.12), rgba(59, 130, 246, 0.1));
  border: 1px solid rgba(108, 99, 255, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 35px 80px -65px rgba(14, 22, 40, 0.5);
}

.how-root::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2.2rem;
  width: 2px;
  height: 2.2rem;
  background: linear-gradient(180deg, rgba(108, 99, 255, 0.5), rgba(59, 130, 246, 0.1));
}

.how-root h3 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.how-root p {
  font-size: 0.95rem;
  color: var(--text-light-gray);
  margin: 0;
}

.how-branches {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.how-branches::before {
  content: "";
  position: absolute;
  top: -2.2rem;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, rgba(108, 99, 255, 0.15), rgba(59, 130, 246, 0.4), rgba(108, 99, 255, 0.15));
}

.how-node {
  position: relative;
  padding: 2rem;
  background: white;
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px -60px rgba(14, 22, 40, 0.4);
  display: grid;
  gap: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.how-node:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 85px -60px rgba(59, 130, 246, 0.4);
  border-color: rgba(59, 130, 246, 0.3);
}

.how-node::before {
  content: "";
  position: absolute;
  top: -2.2rem;
  left: 50%;
  width: 2px;
  height: 2.2rem;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.4), rgba(16, 185, 129, 0.1));
}

.how-node-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.how-node-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(59, 130, 246, 0.15));
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary-blue);
  flex-shrink: 0;
  font-family: "Inter", sans-serif;
}

.how-node h3 {
  font-size: 1rem;
}

.how-node p {
  font-size: 0.88rem;
  color: var(--text-light-gray);
  margin: 0;
  line-height: 1.65;
}

/* ============================================================
   SCHEMAS SECTION
   ============================================================ */

.CBT-schemas {
  padding: 5rem 0;
  background: white;
}

.schemas-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}

.schemas-copy {
  display: grid;
  gap: 1.4rem;
}

.schemas-copy p {
  font-size: 1rem;
  color: var(--text-light-gray);
  line-height: 1.7;
  margin: 0;
}

.schema-examples {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.schema-example {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  background: rgba(108, 99, 255, 0.05);
  border-radius: var(--radius-sm);
  border-left: 3px solid rgba(108, 99, 255, 0.3);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-black);
}

.schema-example .quote-mark {
  font-size: 1.5rem;
  color: var(--accent-purple);
  opacity: 0.5;
  line-height: 1;
  flex-shrink: 0;
  margin-top: -0.1rem;
}

.schemas-visual {
  padding: 2.6rem;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.06), rgba(59, 130, 246, 0.08));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(108, 99, 255, 0.15);
  box-shadow: 0 30px 70px -55px rgba(14, 22, 40, 0.35);
}

.schemas-layers {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.schema-layer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid;
}

.schema-layer.surface {
  background: rgba(59, 130, 246, 0.06);
  border-color: rgba(59, 130, 246, 0.2);
}

.schema-layer.mid {
  background: rgba(108, 99, 255, 0.06);
  border-color: rgba(108, 99, 255, 0.2);
}

.schema-layer.deep {
  background: rgba(14, 22, 40, 0.05);
  border-color: rgba(14, 22, 40, 0.15);
}

.schema-layer-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.schema-layer-text {
  display: grid;
  gap: 0.2rem;
}

.schema-layer-text strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-black);
  font-family: "Poppins", sans-serif;
}

.schema-layer-text span {
  font-size: 0.82rem;
  color: var(--text-light-gray);
}

/* ============================================================
   PSYKOLINK + CBT SECTION
   ============================================================ */

.psykolink-CBT {
  padding: 5rem 0 6rem;
}

.psykolink-CBT-card {
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #27AE60, #3498DB);
  color: white;
  box-shadow: 0 50px 90px -70px rgba(14, 22, 40, 0.8);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.psykolink-CBT-copy {
  display: grid;
  gap: 1.2rem;
}

.psykolink-CBT-copy h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: white;
}

.psykolink-CBT-copy p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.psykolink-CBT-copy .badge-white {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  font-family: "Inter", sans-serif;
}

.psykolink-benefits {
  display: grid;
  gap: 1rem;
}

.psykolink-benefit {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  transition: background 0.3s ease, transform 0.3s ease;
}

.psykolink-benefit:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateX(4px);
}

.psykolink-benefit .benefit-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  flex-shrink: 0;
}

.psykolink-benefit-text {
  display: grid;
  gap: 0.2rem;
}

.psykolink-benefit-text strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: white;
  font-family: "Poppins", sans-serif;
}

.psykolink-benefit-text span {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.78);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  padding: 3.5rem 0 2.5rem;
  background-color: var(--dark-navy);
  color: rgba(255, 255, 255, 0.78);
  font-family: "Inter", sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  align-items: flex-start;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 18rem;
  margin: 0;
}

.logo-text-footer {
  font-size: 1.1rem;
  color: white;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

.site-footer h4 {
  margin: 0 0 0.9rem;
  color: white;
  font-size: 1rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.site-footer ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.site-footer ul li a:hover {
  color: var(--primary-green);
}

.footer-note {
  text-align: center;
  margin: 2.5rem 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.footer-note a {
  color: var(--primary-green);
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1100px)
   ============================================================ */

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-items: start;
  }

  .glass-card {
    max-width: 100%;
  }

  .intro-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .model-grid {
    grid-template-columns: 1fr;
  }

  .difference-grid {
    grid-template-columns: 1fr;
  }

  .triad-cards {
    grid-template-columns: 1fr; /* stack on tablet */
  }

  .concepts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .how-branches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schemas-inner {
    grid-template-columns: 1fr;
  }

  .psykolink-CBT-card {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .CBT-hero {
    padding: 5rem 0 3.5rem;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 700px)
   ============================================================ */

@media (max-width: 700px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 15px 30px -10px rgba(14, 22, 40, 0.15);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
  }

  .site-header {
    position: relative;
  }

  .intro-cards {
    grid-template-columns: 1fr;
  }

  .triad-cards {
    grid-template-columns: 1fr;
  }

  .concepts-grid {
    grid-template-columns: 1fr;
  }

  .how-branches {
    grid-template-columns: 1fr;
  }

  .psykolink-CBT-card {
    padding: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 3px solid rgba(108, 99, 255, 0.4);
  outline-offset: 3px;
}
