/* ==========================================================================
   1. CORE VARIABLES & GLOBAL SETTINGS
   ========================================================================== */
:root {
  --background: #0f172a;
  --card: rgba(30, 41, 59, 0.75);
  --card-alt: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --text: #cbd5e1;
  --text-bright: #ffffff;
  --muted: #94a3b8;
  --primary: #60a5fa;
  --secondary: #22d3ee;
  --code-bg: #020617;
}

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

html, body {
  width: 100%;
  min-height: 100%;
  background: radial-gradient(circle at top left, #1e3a8a 0%, transparent 40%),
  radial-gradient(circle at bottom right, #0891b2 0%, transparent 40%),
  var(--background);
  background-attachment: fixed;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.8;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ==========================================================================
   2. TYPOGRAPHY & LINKS
   ========================================================================== */
h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 35px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 2rem;
  margin: 40px 0 20px 0;
  color: var(--text-bright);
  font-weight: 700;
  letter-spacing: -0.5px;
}

h3 {
  color: #93c5fd;
  margin: 20px 0 10px 0;
}

p { margin-bottom: 16px; font-size: 1.05rem; }

ul, ol { margin-bottom: 20px; padding-right: 25px; }

li { margin-bottom: 8px; }

a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}

a:hover { text-decoration: underline; color: var(--primary); }

/* ==========================================================================
   3. LAYOUT CONTAINERS (Cards & Sections)
   ========================================================================== */
section, .article, .profile-card-wrapper {
  background: var(--card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  margin: 40px auto;
  max-width: 1200px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
  position: relative;
}

.profile-card-wrapper { padding: 45px; overflow: hidden; }

/* ==========================================================================
   4. CONTENT CARDS & GRIDS
   ========================================================================== */
.docs-grid, .pc-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.pc-pillars { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); margin-bottom: 40px; }

.card, .pc-pillar-card, .explain-card {
  position: relative;
  background: var(--card-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.3s ease;
}

.card { text-align: center; }

.explain-card { background: rgba(2, 6, 23, 0.4); border-radius: 16px; padding: 20px; margin-bottom: 16px; }

.card:hover, .pc-pillar-card:hover , .explain-card:hover{
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.1);
}

/* Card Decorative Elements */
.card::before, .pc-pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 0 0 4px 4px;
}

.card::before { left: 50%; transform: translateX(-50%); }
.pc-pillar-card::before { right: 28px; }
.pc-pillar-card.alt::before { background: var(--secondary); }

/* Card Inner Elements */
.card-header { margin-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); padding-bottom: 8px; }
.card-title { font-size: 1.2rem; font-weight: 700; color: #93c5fd; }
.card ul { list-style: none; padding: 0; }
.card li { padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.04); font-size: 0.95rem; }


.examples-grid-layout{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.text-status-past {
  font-size: 0.95rem;
  color: #fca5a5 !important;
  font-weight: 600;
  margin-bottom: 8px;
}

.text-status-present{
  font-size: 0.95rem;
  color: #86efac !important;
  font-weight: 600;
  margin-bottom: 8px;
}
/* ==========================================================================
   5. UTILITIES (Code, Tables, Badges, Notes)
   ========================================================================== */
pre {
  direction: ltr;
  background: var(--code-bg);
  border: 1px solid var(--border);
  padding: 16px 20px;
  border-radius: 16px;
  overflow-x: auto;
  margin: 0;
  display: block;
  width: 100%;
  text-align: left;
}

code {
  font-family: Consolas, Monaco, monospace;
  font-size: 0.95rem;
  display: block;

}

.code-container {
  display: flex;
  justify-content: center;
  width:fit-content;
  margin: 20px 0;
}

.note { background: rgba(96, 165, 250, 0.1); border-right: 4px solid var(--primary); padding: 20px; border-radius: 12px; margin: 20px 0; }

.memory-diagram {
  background: #020617;
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 12px;
  margin: 20px 0;
  direction: ltr;
  font-family: Consolas, monospace;
  color: var(--secondary);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 14pt;
  background: rgba(2, 6, 23, 0.6);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.article-table th, .article-table td { padding: 14px 18px; text-align: right; }
.article-table th { background-color: #1e293b; color: #93c5fd; border-bottom: 2px solid rgba(255, 255, 255, 0.1); }

.badge { padding: 4px 8px; border-radius: 6px; font-size: 11pt; font-weight: bold; }
.badge-red { background: rgba(239, 68, 68, 0.2); color: #f87171; }
.badge-orange { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.badge-yellow { background: rgba(234, 179, 8, 0.15); color: #fef08a; }

/* ==========================================================================
   6. INTERACTIVE BUTTONS & CTA
   ========================================================================== */
.back-btn, .pc-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s;
}
.pc-footer-cta {
  border-top: 1px solid var(--border);
  padding-top: 35px;
  margin-top: 20px;
}
.pc-btn-cta { padding: 14px 28px; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3); }

.back-btn:hover, .pc-btn-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5); }

/* ==========================================================================
   7. PAGE SPECIFIC COMPONENTS (Overview/Profile)
   ========================================================================== */
.pc-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 35px; border-bottom: 1px solid var(--border); padding-bottom: 30px; }
.pc-tag-mini { font-size: 0.78rem; background: rgba(255, 255, 255, 0.05); padding: 4px 12px; border-radius: 999px; border: 1px solid var(--border); }
.pc-skills-container span {
  background: rgba(96, 165, 250, 0.12);
  color: #93c5fd;
  border: 1px solid rgba(96, 165, 250, 0.3);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.pc-strengths-list li::before { content: "⚡"; margin-left: 10px; }

/* ==========================================================================
   8. RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 900px) {
  .pc-footer-body-wrapper { flex-direction: column; }
}

@media (max-width: 768px) {
  section, .article { padding: 30px 20px; }
  .pc-header { flex-direction: column; text-align: center; }
  .pc-pillars { grid-template-columns: 1fr; }
}

/* ==========================================================================
   9. CONFIDENTIALITY NOTICE BOX and alert box
   ========================================================================== */
.pc-confidentiality-box {
  background: rgba(34, 211, 238, 0.05);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-right: 4px solid var(--secondary);
  border-radius: 12px;
  padding: 20px 25px;
  margin-bottom: 35px;
  box-shadow: 0 4px 20px rgba(34, 211, 238, 0.05);
}

.pc-confidentiality-title {
  color: var(--secondary) !important;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pc-confidentiality-text {
  color: #e2e8f0;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Pillars Structure & Inner Header Fix */
.pc-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.pc-pillar-card {
  background: var(--card-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  transition: all 0.3s ease;
  text-align: right;
}

.pc-pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 10px 30px rgba(96, 165, 250, 0.12);
}

.pc-pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 28px;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 0 0 4px 4px;
}

.pc-pillar-card.alt::before {
  background: var(--secondary);
}

.pc-pillar-card h3 {
  font-size: 1.2rem;
  color: var(--text-bright);
  margin-bottom: 10px;
  font-weight: 700;
}

/* Unique Warning Card & Accept Button */
.pc-pillar-card.warning-highlight {
  background: rgba(245, 158, 11, 0.06) !important;
  border: 2px solid #f59e0b !important;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.15) !important;
}

.pc-pillar-card.warning-highlight::before {
  background: #f59e0b !important;
  width: 60px !important;
  height: 4px !important;
}

.warning-title {
  color: #fbbf24;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  margin-bottom: 15px;
}

.warning-text-primary {
  color: #f8fafc;
  font-weight: 500;
  line-height: 1.7;
}

.warning-strong {
  color: #fbbf24;
  font-weight: 700;
  text-decoration: underline;
}

.warning-text-secondary {
  color: #e2e8f0;
}

.warning-accept-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f59e0b;
  color: #0f172a;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 15px;
  transition: all 0.2s ease;
}

.warning-accept-btn:hover {
  background: #d97706;
  transform: scale(1.02);
}

/* Script Hiding Elements */
#docs-section {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#docs-section.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Alert Boxes */
.success-box, .alert-box { padding: 15px 20px; font-size: 0.95rem; margin-bottom: 20px; }
.success-box {
  background: rgba(52, 211, 153, 0.05);
  border: 1px solid var(--border);
  border-right: 4px solid var(--success);
  padding: 20px;
  border-radius: 4px 12px 12px 4px;
  margin-bottom: 20px;
}
.alert-box { background: rgba(239, 68, 68, 0.06); border-right: 4px solid var(--danger); border-radius: 4px 12px 12px 4px; }
.alert-box-danger { background: rgba(239, 68, 68, 0.08); border: 1px solid rgba(239, 68, 68, 0.2); padding: 15px 20px; border-radius: 12px; font-size: 0.95rem; margin-bottom: 15px; color: #fca5a5; }
.alert-box-danger strong { color: var(--danger); }

.example-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed var(--border);
  padding: 15px;
  border-radius: 8px;
  font-family: 'Inter', monospace;
  color: #22d3ee;
  font-size: 0.95rem;
  margin: 15px 0;
  direction: ltr;
  text-align: left;
  line-height: 1.5;
}
.example-box-reset-margin {
  margin-top: 0;
}
.example-box-heb {
  text-align: right;
}

/* job hunt cards */

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.job-link-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
  text-decoration: none;
  color: var(--text);
}

.job-link-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--secondary);
  transform: translateY(-2px);
}

.job-link-card i {
  color: var(--primary);
  font-size: 1.2rem;
}

.link-card-muted-text {
  color: var(--muted);
  font-size: 0.85rem;
}

.link-card-whatsapp {
  border-color: rgba(52, 211, 153, 0.3);
}

.link-card-whatsapp .icon-success {
  color: var(--success);
}


/* trello bord*/

/* --- עיצוב לוח ה-Trello (קנבן) --- */
.trello-board-demo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 25px 0;
  overflow-x: auto;
  padding-bottom: 10px;
}

.trello-column {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  min-height: 180px;
}

.trello-column h4 {
  color: var(--text-bright);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 12px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.trello-card {
  background: var(--card-alt);
  border: 1px solid var(--border);
  padding: 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.trello-card strong {
  color: var(--text-bright);
  display: block;
}

.list-padding-trello {
  padding-right: 20px;
  font-size: 0.95rem;
  margin-top: 15px;
}
