/* ======================================
   Langnite Szkoła — style.css
   Brand: Poppins + #FFAD23 accent
====================================== */

:root {
  --accent: #FFAD23;
  --accent-dark: #e69500;
  --dark: #0f1117;
  --dark-2: #1a1d27;
  --gray-bg: #f8fafc;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Scroll padding for fixed nav ── */
html { scroll-padding-top: 72px; }


/* ══════════════════════════════════
   NAVBAR
══════════════════════════════════ */
#navbar {
  background: transparent;
}
#navbar.scrolled {
  background: rgba(15, 17, 23, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}

.nav-logo-text { color: white; }
#navbar.scrolled .nav-logo-text { color: white; }

.nav-link {
  color: rgba(255,255,255,0.75);
}
.nav-link:hover { color: white; background: rgba(255,255,255,0.08); }
#navbar.scrolled .nav-link { color: rgba(255,255,255,0.7); }
#navbar.scrolled .nav-link:hover { color: white; }

.logo-mark {
  background: linear-gradient(135deg, #FFAD23, #ff8c00);
}

.btn-accent {
  background: var(--accent);
  color: #0f1117;
  box-shadow: 0 4px 14px rgba(255,173,35,0.35);
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,173,35,0.45);
}

/* Hamburger */
.hamburger { width: 22px; display: flex; flex-direction: column; gap: 5px; }
.hamburger span {
  display: block; height: 2px; background: white;
  border-radius: 2px; transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mob-menu-panel {
  background: rgba(15, 17, 23, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mob-link { color: rgba(255,255,255,0.75); transition: color 0.2s, background 0.2s; }
.mob-link:hover { color: white; background: rgba(255,255,255,0.06); }


/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
.hero-section {
  background: var(--dark);
}
.hero-bg-overlay {
  background: radial-gradient(ellipse at 30% 50%, rgba(79,70,229,0.3) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 20%, rgba(255,173,35,0.12) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 80%, rgba(124,58,237,0.2) 0%, transparent 50%);
}

.btn-accent-lg {
  background: var(--accent);
  color: #0f1117;
  box-shadow: 0 6px 24px rgba(255,173,35,0.4);
  transition: all 0.25s;
}
.btn-accent-lg:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255,173,35,0.5);
}

.scroll-indicator { opacity: 0.6; }


/* ══════════════════════════════════
   SECTION TYPOGRAPHY
══════════════════════════════════ */
.section-tag {
  display: inline-block;
  background: rgba(255,173,35,0.1);
  color: var(--accent-dark);
  border: 1px solid rgba(255,173,35,0.25);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.section-tag-light {
  display: inline-block;
  background: rgba(255,173,35,0.15);
  color: var(--accent);
  border: 1px solid rgba(255,173,35,0.3);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  color: #0f1117;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.section-sub {
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.7;
}


/* ══════════════════════════════════
   BENEFIT CARDS
══════════════════════════════════ */
.benefit-card {
  background: white;
  border: 1px solid #f1f5f9;
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: var(--shadow-sm);
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.benefit-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(255,173,35,0.12), rgba(255,173,35,0.06));
  border: 1px solid rgba(255,173,35,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-dark);
  margin-bottom: 16px;
}
.benefit-icon svg { width: 22px; height: 22px; }


/* ══════════════════════════════════
   FOUNDER BIO
══════════════════════════════════ */
.founder-card {
  display: flex;
  flex-direction: column;
  gap: 32px;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 40px;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .founder-card { flex-direction: row; align-items: center; }
}
.founder-photo {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4F46E5, #7C3AED);
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(79,70,229,0.3);
  align-self: center;
}
.founder-content { flex: 1; }
.founder-tag {
  display: inline-block;
  background: white;
  border: 1px solid #e2e8f0;
  color: #475569;
  border-radius: 100px;
  padding: 3px 12px;
  font-size: 0.72rem;
  font-weight: 600;
}


/* ══════════════════════════════════
   METHOD SECTION
══════════════════════════════════ */
.method-step {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.method-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,173,35,0.4);
  line-height: 1;
}

.method-callout {
  background: linear-gradient(135deg, #1a1d27, #0f1117);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.stat-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
}
.stat-num {
  font-size: 1.5rem; font-weight: 900; color: var(--accent);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.7rem; color: rgba(255,255,255,0.4);
  margin-top: 3px; font-weight: 500;
}


/* ══════════════════════════════════
   TEACHER CARDS
══════════════════════════════════ */
.teacher-card {
  background: white;
  border: 1px solid #f1f5f9;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: var(--shadow-sm);
}
.teacher-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.teacher-photo {
  height: 120px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; font-weight: 900; color: white;
}
.teacher-body { padding: 20px; }
.level-badge {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  border-radius: 100px;
  padding: 2px 9px;
  font-size: 0.65rem;
  font-weight: 600;
}
.teacher-join { opacity: 0.5; }
.teacher-join:hover { opacity: 0.8; }


/* ══════════════════════════════════
   PRICING CARDS
══════════════════════════════════ */
.pricing-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.pricing-featured {
  background: linear-gradient(135deg, #0f1117, #1a1d27);
  border-color: rgba(255,173,35,0.3);
  box-shadow: 0 0 0 1px rgba(255,173,35,0.2), var(--shadow-lg);
  transform: scale(1.03);
}
.pricing-featured:hover { transform: scale(1.03) translateY(-4px); }

.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: #0f1117;
  font-size: 0.7rem; font-weight: 800;
  padding: 4px 14px; border-radius: 100px;
  letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
}

.pricing-icon {
  width: 48px; height: 48px;
  background: rgba(255,173,35,0.1);
  border: 1px solid rgba(255,173,35,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-dark);
  margin-bottom: 20px;
}
.pricing-icon svg { width: 22px; height: 22px; }

.pricing-title {
  font-size: 1.2rem; font-weight: 800;
  color: #0f1117; margin-bottom: 12px;
}
.pricing-featured .pricing-title { color: white; }

.pricing-price { margin-bottom: 20px; }
.price-amount { font-size: 1.75rem; font-weight: 900; color: var(--accent); }
.price-period { font-size: 0.8rem; color: #94a3b8; font-weight: 400; }

.pricing-features {
  list-style: none; padding: 0; margin: 0 0 28px;
  space-y: 10px;
}
.pricing-features li {
  font-size: 0.85rem; color: #475569;
  padding: 6px 0; border-bottom: 1px solid #f1f5f9;
  display: flex; align-items: center; gap: 8px;
}
.pricing-features li::before {
  content: '✓';
  color: var(--accent); font-weight: 700; font-size: 0.8rem;
  flex-shrink: 0;
}
.pricing-featured .pricing-features li { color: rgba(255,255,255,0.65); border-bottom-color: rgba(255,255,255,0.06); }

.pricing-btn {
  display: block; text-align: center; width: 100%;
  background: #f1f5f9; color: #0f1117;
  font-weight: 700; font-size: 0.9rem;
  padding: 13px; border-radius: 12px;
  transition: all 0.2s; text-decoration: none;
}
.pricing-btn:hover { background: var(--accent); color: #0f1117; transform: none; }

.pricing-btn-featured {
  display: block; text-align: center; width: 100%;
  background: var(--accent); color: #0f1117;
  font-weight: 700; font-size: 0.9rem;
  padding: 13px; border-radius: 12px;
  transition: all 0.2s; text-decoration: none;
  box-shadow: 0 4px 14px rgba(255,173,35,0.4);
}
.pricing-btn-featured:hover { background: var(--accent-dark); box-shadow: 0 6px 20px rgba(255,173,35,0.5); }


/* ══════════════════════════════════
   REVIEWS
══════════════════════════════════ */
.review-card {
  background: white;
  border: 1px solid #f1f5f9;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.review-stars { color: var(--accent); font-size: 1rem; letter-spacing: 2px; margin-bottom: 14px; }
.review-text {
  color: #374151; font-size: 0.9rem; line-height: 1.7;
  font-style: italic; margin-bottom: 20px;
}
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: white;
  flex-shrink: 0;
}


/* ══════════════════════════════════
   FAQ ACCORDION
══════════════════════════════════ */
.faq-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item:focus-within { box-shadow: 0 0 0 2px rgba(255,173,35,0.4); }

.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  font-size: 0.95rem; font-weight: 600; color: #1e293b;
  background: transparent; border: none; cursor: pointer;
  text-align: left; gap: 16px;
  transition: background 0.2s;
}
.faq-question:hover { background: #fafafa; }
.faq-question[aria-expanded="true"] { color: var(--accent-dark); }

.faq-icon {
  width: 18px; height: 18px; flex-shrink: 0;
  transition: transform 0.3s; color: #94a3b8;
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg); color: var(--accent);
}

.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), padding 0.35s;
  padding: 0 20px;
}
.faq-answer.open {
  max-height: 200px;
  padding: 0 20px 18px;
}
.faq-answer p {
  font-size: 0.875rem; color: #475569; line-height: 1.7;
}


/* ══════════════════════════════════
   FORM SECTION
══════════════════════════════════ */
.form-section {
  background: linear-gradient(135deg, #1a1d27 0%, #0f1117 100%);
  position: relative;
}
.form-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,173,35,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.langlion-form-wrapper {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
}
@media (max-width: 640px) { .langlion-form-wrapper { padding: 28px 20px; } }

.signup-form label {
  display: block;
  font-size: 0.8rem; font-weight: 600; color: #374151;
  margin-bottom: 6px;
}
.signup-form .optional { color: #94a3b8; font-weight: 400; }

.signup-form input,
.signup-form select,
.signup-form textarea {
  width: 100%;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.875rem;
  font-family: 'Poppins', sans-serif;
  color: #1e293b;
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.signup-form input::placeholder,
.signup-form textarea::placeholder { color: #c0c9d8; }
.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,173,35,0.15);
  background: white;
}

.form-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-group { margin-bottom: 16px; }

.form-checkbox {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 20px;
}
.form-checkbox input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0;
  margin-top: 1px; cursor: pointer;
  accent-color: var(--accent);
  border-radius: 4px;
}
.form-checkbox label {
  font-size: 0.75rem; color: #64748b;
  font-weight: 400; cursor: pointer; line-height: 1.5;
  margin: 0;
}

.form-submit {
  width: 100%;
  background: var(--accent);
  color: #0f1117;
  font-family: 'Poppins', sans-serif;
  font-weight: 800; font-size: 1rem;
  padding: 16px;
  border: none; border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(255,173,35,0.35);
}
.form-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255,173,35,0.45);
}
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-note { font-size: 0.72rem; color: #94a3b8; text-align: center; margin-top: 12px; }

.form-success {
  text-align: center;
  padding: 40px 20px;
}
.hidden { display: none !important; }


/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.social-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s;
}
.social-icon:hover { background: var(--accent); color: #0f1117; border-color: var(--accent); }
.social-icon svg { width: 16px; height: 16px; }


/* ══════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════ */
.fade-in, .fade-up {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up { transform: translateY(24px); }

.fade-in.visible { opacity: 1; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Hero fires immediately */
.hero-section .fade-in { animation: fadeIn 0.9s ease forwards; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
