/* =========================================
   GLOBAL VARIABLES
========================================= */
:root {
  --bg: #05060a;
  --bg-alt: #0b0d14;
  --bg-highlight: #101322;
  --card: #141726;
  --accent: #ff4b6e;
  --accent-soft: rgba(255, 75, 110, 0.12);
  --text: #f5f5f7;
  --muted: #a0a4b8;
  --border: #262a3d;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --transition: 0.25s ease;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* =========================================
   RESET
========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #15182a 0, #05060a 55%);
  color: var(--text);
  font-family: var(--font-sans);
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

/* =========================================
   HEADER & NAVIGATION
========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(5, 6, 10, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 40%;
  background: radial-gradient(circle at 30% 20%, #ffffff, #ff4b6e 55%, #ff1f4f 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #05060a;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: #f9fafb;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.9rem;
}

.main-nav a {
  color: var(--muted);
  transition: color var(--transition);
}

.main-nav a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 60;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #f5f5f7;
  margin: 4px 0;
  border-radius: 999px;
  transition: var(--transition);
}

/* Animacja burgera w krzyżyk przy otwartym menu */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* =========================================
   HERO
========================================= */
.hero {
  padding: 3.5rem 0 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  line-height: 1.15;
  margin: 0 0 0.8rem;
}

.hero-subtitle {
  margin: 0 0 1.4rem;
  color: var(--muted);
  max-width: 32rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, #ff4b6e, #ff9b4b);
  color: #05060a;
  font-weight: 600;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(10, 12, 20, 0.8);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-highlights li {
  margin-bottom: 0.3rem;
}

/* =========================================
   HERO VISUAL (Prawa kolumna - Poprawiona szerokość)
========================================= */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
}

.mentor-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: radial-gradient(circle at top left, rgba(255, 75, 110, 0.18), rgba(10, 12, 20, 0.95));
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
}

.mentor-avatar img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.mentor-info h2 {
  margin: 0;
  font-size: 1.2rem;
}

.mentor-info p {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.mentor-info .mentor-tagline {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--text);
  margin-top: 6px;
}

.hero-image-stack {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 0.7rem;
  width: 100%;
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
}

/* =========================================
   SECTIONS
========================================= */
.section {
  padding: 3rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, #15182a 0, #05060a 55%);
}

.section-highlight {
  background: linear-gradient(135deg, #15182a, #05060a);
}

.section-header {
  text-align: left;
  margin-bottom: 1.8rem;
}

.section-header h2 {
  margin: 0 0 0.4rem;
  font-size: 1.6rem;
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

/* =========================================
   GRID & CARDS
========================================= */
.grid {
  display: grid;
  gap: 1.4rem;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--border);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.card-accent {
  border-color: rgba(255, 75, 110, 0.4);
  background: radial-gradient(circle at top left, rgba(255, 75, 110, 0.18), #141726);
}

.quote-card {
  border-left: 3px solid #ff4b6e;
}

.quote {
  font-style: italic;
  margin: 0 0 0.6rem;
}

.quote-author {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* =========================================
   LISTS
========================================= */
.checklist,
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-size: 0.8rem;
  color: #4ade80;
}

.bullet-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #ff9b4b;
}

.steps {
  padding-left: 0;
  list-style: none;
}

.steps li {
  margin-bottom: 0.6rem;
}

.note {
  margin-top: 0.7rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.small {
  font-size: 0.85rem;
  color: var(--muted);
}

/* =========================================
   TIMELINE
========================================= */
.timeline {
  display: grid;
  gap: 1.2rem;
}

.timeline-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.timeline-badge {
  flex-shrink: 0;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: #ff9b9b;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.timeline-content h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
}

.timeline-content p {
  margin: 0.2rem 0;
  color: var(--muted);
}

/* =========================================
   INFO BOX
========================================= */
.info-box {
  margin-top: 1.6rem;
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  background: rgba(10, 12, 20, 0.9);
}

.info-box h3 { margin-top: 0; }

/* =========================================
   FORM
========================================= */
.form-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-row label {
  font-size: 0.9rem;
  color: #e5e7eb;
}

input[type="text"],
input[type="email"],
textarea {
  background: #05060a;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 0.6rem 0.7rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

input::placeholder,
textarea::placeholder {
  color: #6b7280;
}

input:focus,
textarea:focus {
  border-color: #ff4b6e;
  box-shadow: 0 0 0 1px rgba(255, 75, 110, 0.4);
  background: #050713;
}

textarea {
  resize: vertical;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
}

.checkbox input {
  margin-top: 0.1rem;
}

.btn-full {
  width: 100%;
  margin-top: 0.4rem;
}

.form-note {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.form-success {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: #4ade80;
  min-height: 1.1rem;
}

/* =========================================
   FOOTER
========================================= */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.2rem 0 1.4rem;
  background: #05060a;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-links a {
  color: var(--muted);
  font-size: 0.85rem;
  margin-left: 1rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--text);
}

/* =========================================
   COOKIE BANNER
========================================= */
.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  z-index: 9998;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: none;
  z-index: 9999;
  padding: 1rem;
}

.cookie-box {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  max-width: 500px;
  margin: 0 auto;
  box-shadow: var(--shadow-soft);
}

.cookie-box p { margin-top: 0; color: var(--muted); font-size: 0.9rem; }
.cookie-buttons { display: flex; gap: 0.5rem; justify-content: flex-end; }


/* =========================================
   RESPONSIVE DESIGN (Czysty, poprawny CSS)
========================================= */

/* DUŻE TABLETY / MAŁE LAPTOPY */
@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }
}

/* WERSJA TABLETOWA iPAD */
@media (max-width: 1024px) {
  .main-nav {
    position: absolute;
    inset: 56px 0 auto;
    padding: 1.5rem;
    background: rgba(5, 6, 10, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: block;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-image-stack {
    grid-template-columns: 1fr 1fr;
  }
}

/* SMARTFONY */
@media (max-width: 768px) {
  .hero-inner {
    display: flex;
    flex-direction: column;
  }

  .hero-visual {
    order: -1; /* Obrazki i lektorka lądują nad tekstem na telefonie */
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .footer-links a {
    margin: 0 0.5rem;
  }
}

/* MAŁE TELEFONY */
@media (max-width: 600px) {
  .hero {
    padding-top: 2rem;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-image-stack {
    grid-template-columns: 1fr;
  }
}