/* ══════════════════════════════════════
   ENGLISHzONE — style.css
   ══════════════════════════════════════ */

/* ── ЗМІННІ ── */
:root {
  --purple: #2d1f5e;
  --purple-mid: #3d2a7a;
  --purple-light: #4a3490;
  --amber: #f0a820;
  --amber-dark: #c8880a;
  --cream: #f5f3ff;
  --white: #ffffff;
  --text: #1a1228;
  --text-muted: #7a6e9e;
  --border: #e2dcf8;
}

/* ── BASE ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(45, 31, 94, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(240,168,32,0.15);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  text-decoration: none;
}
.nav-logo span { color: var(--amber); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--amber); }
.nav-links .nav-cta { color: var(--amber); font-weight: 600; }

.nav-social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-social a {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}
.nav-social a:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: rgba(240,168,32,0.1);
}
.nav-social svg {
  width: 15px; height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  background: var(--purple);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 48px 80px;
  position: relative;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-blob-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(240,168,32,0.07) 0%, transparent 65%);
  top: -150px; right: -150px;
}
.hero-blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(74,52,144,0.45) 0%, transparent 70%);
  bottom: -100px; left: -80px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240,168,32,0.1);
  border: 1px solid rgba(240,168,32,0.22);
  color: var(--amber);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
  width: fit-content;
  position: relative;
  z-index: 1;
}
.hero-tag::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  max-width: 700px;
  position: relative;
  z-index: 1;
}
.hero-title span { color: var(--amber); }

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.hero-stats {
  position: absolute;
  bottom: 52px; right: 52px;
  display: flex;
  gap: 36px;
  z-index: 1;
}
.hero-stat { text-align: right; }
.hero-stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--amber);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ── КНОПКИ ── */
.btn-primary {
  background: var(--amber);
  color: var(--purple);
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover { background: var(--amber-dark); transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.28);
  padding: 14px 28px;
  border-radius: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--amber); color: var(--amber); }

/* ── СЕКЦІЇ — ЗАГАЛЬНЕ ── */
section { padding: 96px 48px; }

.section-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 52px;
}

/* ── ПЕРЕВАГИ ── */
#features { background: var(--cream); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.feature-card:hover {
  border-color: rgba(240,168,32,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(45,31,94,0.08);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 44px; height: 44px;
  background: rgba(45,31,94,0.06);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg {
  width: 20px; height: 20px;
  stroke: var(--purple);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 8px;
}
.feature-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* ── ПРО НАС ── */
#about { background: var(--white); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 72px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: 24px;
  border: 1px solid var(--border);
  aspect-ratio: 1;
  min-height: 280px;
}

.about-logo-inner {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -1px;
  text-align: center;
  line-height: 1.2;
}
.about-logo-inner span { color: var(--amber); }
.about-logo-inner small {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
}

.about-text p {
  font-size: 0.95rem;
  color: #4a4060;
  line-height: 1.85;
  margin-bottom: 16px;
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.about-value {
  background: rgba(45,31,94,0.06);
  color: var(--purple);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(45,31,94,0.1);
}

/* ── КУРСИ ── */
#courses { background: var(--cream); }

.courses-header { max-width: 1100px; margin: 0 auto 48px; }

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.course-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.25s;
  text-decoration: none;
  display: block;
  color: inherit;
}
.course-card:hover {
  border-color: rgba(240,168,32,0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(45,31,94,0.08);
}

.course-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.badge-free { background: rgba(45,31,94,0.08); color: var(--purple); }
.badge-soon { background: rgba(240,168,32,0.12); color: var(--amber-dark); }

.course-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 8px;
  line-height: 1.3;
}
.course-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 20px; }

.course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.course-level { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); }
.course-arrow {
  width: 28px; height: 28px;
  background: var(--amber);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.course-arrow svg {
  width: 13px; height: 13px;
  stroke: var(--purple);
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.courses-cta { text-align: center; max-width: 1100px; margin: 0 auto; }

/* ── ТАРИФИ (закоментовано) ──
#pricing { background: var(--white); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
*/

/* ── FOOTER ── */
footer {
  background: var(--purple);
  padding: 60px 48px 40px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.footer-logo span { color: var(--amber); }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.4); line-height: 1.75; max-width: 260px; }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s;
  text-decoration: none;
}
.footer-social a:hover { border-color: var(--amber); color: var(--amber); background: rgba(240,168,32,0.1); }
.footer-social svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 0.875rem; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--amber); }

.footer-bottom {
  max-width: 1100px;
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.25); }

/* ── АНІМАЦІЇ ── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── АДАПТИВ ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  #hero { padding: 96px 24px 130px; }
  .hero-stats { right: 24px; bottom: 28px; gap: 20px; }
  .hero-stat-num { font-size: 1.6rem; }
  section { padding: 64px 24px; }
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-logo-wrap { min-height: 200px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  footer { padding: 40px 24px 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
