/* ==========================================================
   Clean, Premium Modern Educator Portfolio
   Spoken English & Global Geography Focus
   Fonts: Plus Jakarta Sans + Space Mono
   ========================================================== */

:root {
  --bg: #f6f5f2;             /* Премиальный текстурированный off-white */
  --surface: #ffffff;
  --surface-alt: #eeebe5;
  --surface-card: #ffffff;

  --text-main: #11141a;      /* Глубокий графит */
  --text-muted: #525660;
  --text-sub: #828692;

  --border: #e3e0da;
  --border-focus: #11141a;

  --accent-lime: #d4e968;    /* Чистый лайм */
  --accent-orange: #ff5c35;  /* Коралл */
  --accent-green: #16a34a;

  --font-primary: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 4px rgba(17, 20, 26, 0.03);
  --shadow-card: 0 10px 28px -4px rgba(17, 20, 26, 0.05);
  --shadow-hover: 0 18px 36px -4px rgba(17, 20, 26, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ------------------- Navigation ------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(246, 245, 242, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-monogram {
  width: 36px;
  height: 36px;
  background-color: var(--text-main);
  color: var(--accent-lime);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  letter-spacing: -0.02em;
}

.brand-meta {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.nav-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

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

/* ------------------- Buttons ------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-nav {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-large {
  padding: 16px 30px;
  font-size: 1rem;
}

.btn-black {
  background-color: var(--text-main);
  color: #ffffff;
}

.btn-black:hover {
  background-color: #272c36;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-accent {
  background-color: var(--accent-lime);
  color: var(--text-main);
  border-color: #c2d854;
}

.btn-accent:hover {
  background-color: #c6dc57;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 233, 104, 0.3);
}

.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-main);
}

.btn-ghost:hover {
  border-color: var(--text-main);
  background-color: var(--surface-alt);
}

/* ------------------- Hero Section ------------------- */
.hero {
  padding: 70px 0 85px;
}

.hero-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.tag-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.timezone-pill {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

.hero-display {
  font-size: clamp(2.8rem, 6vw, 5.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-main);
  margin-bottom: 40px;
}

.highlight-word {
  position: relative;
  display: inline-block;
  background: linear-gradient(120deg, var(--accent-lime) 0%, #cae54d 100%);
  padding: 0 14px;
  border-radius: 10px;
  color: var(--text-main);
}

.hero-bottom-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.05fr;
  gap: 44px;
  align-items: center;
}

.hero-lead-text p {
  font-size: 1.25rem;
  line-height: 1.62;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 34px;
}

.hero-lead-text p strong {
  color: var(--text-main);
  font-weight: 700;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ------------------- World Map Card (Interactive) ------------------- */
.hero-map-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex;
  flex-direction: column;
}

.map-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.map-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-mini {
  background: var(--text-main);
  color: var(--accent-lime);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.map-card-title {
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

.map-counter {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.world-map-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  background: #fbfbfa;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.world-map-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-continent {
  fill: #e8e5de;
  stroke: #dbd7cf;
  stroke-width: 1.5;
  transition: fill 0.3s ease;
}

.flight-path {
  stroke: rgba(212, 233, 104, 0.7);
  stroke-width: 1.5;
  stroke-dasharray: 4, 4;
  fill: none;
}

/* Map Pins */
.map-pin {
  position: absolute;
  cursor: pointer;
  z-index: 10;
}

.pin-dot {
  width: 10px;
  height: 10px;
  background-color: var(--text-main);
  border: 2px solid var(--accent-lime);
  border-radius: 50%;
  display: block;
  position: relative;
  z-index: 2;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.pin-pulse {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: rgba(212, 233, 104, 0.6);
  animation: pinPulse 2s infinite ease-out;
  z-index: 1;
}

.pin-tag {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-main);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.map-pin:hover .pin-tag {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

.map-pin:hover .pin-dot {
  transform: scale(1.3);
  background-color: var(--accent-orange);
}

/* Specific Pin Coordinates on the Map */
.pin-london { top: 28%; left: 47%; }
.pin-amsterdam { top: 26%; left: 52%; }
.pin-berlin { top: 29%; left: 56%; }
.pin-dubai { top: 48%; left: 63%; }
.pin-tbilisi { top: 38%; left: 61%; }
.pin-toronto { top: 32%; left: 24%; }

@keyframes pinPulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

.map-footer-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--bg);
  padding: 8px 14px;
  border-radius: var(--radius-full);
}

.footer-dot-green {
  width: 6px;
  height: 6px;
  background-color: var(--accent-green);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ------------------- Marquee Ticker ------------------- */
.marquee-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 32px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--text-main);
  animation: marquee 25s linear infinite;
}

.marquee-track .star {
  color: var(--accent-orange);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ------------------- Section Commons ------------------- */
.section {
  padding: 100px 0;
}

.section-title-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: flex-end;
  margin-bottom: 54px;
}

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.section-heading {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-main);
}

.section-intro {
  font-size: 1.14rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ------------------- Bento Grid (Speaking & Fluency) ------------------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bento-cell:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.bento-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-sub);
  margin-bottom: 14px;
}

.bento-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.bento-text {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.bento-barrier-box {
  grid-column: span 7;
}

.bento-stat-box {
  grid-column: span 5;
  background: var(--text-main);
  color: #fff;
}
.bento-stat-box .text-light {
  color: #9ea3b0;
}
.bento-stat-box .bento-text {
  color: #a0a5b2;
}
.bento-stat-box .huge-number {
  font-size: 4.8rem;
  font-weight: 800;
  color: var(--accent-lime);
  line-height: 1;
  letter-spacing: -0.03em;
}
.bento-stat-box .stat-caption {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.bento-media-box {
  grid-column: span 6;
}

.bento-app-box {
  grid-column: span 6;
  background: linear-gradient(180deg, #ffffff 0%, #f7f6f3 100%);
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.step {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}
.step.strike {
  background: #fee2e2;
  color: #991b1b;
  text-decoration: line-through;
}
.step.active {
  background: #ecfdf5;
  color: #065f46;
  font-weight: 700;
  border: 1px solid #a7f3d0;
}

.app-ui-mini {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: auto;
}

.app-ui-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-sub);
  margin-bottom: 12px;
}
.app-ui-bar .circle {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent-orange);
}

.app-ui-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--bg);
  padding: 10px 14px;
  border-radius: 8px;
}
.pill-done {
  background: var(--accent-lime);
  color: var(--text-main);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.pill-cloud {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}
.cloud-tag {
  background: var(--surface-alt);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
}

/* ------------------- Tracks Section ------------------- */
.tracks-section {
  background: #eeebe5;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.track-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.track-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease;
}

.track-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.track-card.highlighted-track {
  border: 2px solid var(--text-main);
  position: relative;
}

.track-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.track-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.badge-lime {
  background: var(--accent-lime);
  color: var(--text-main);
}
.badge-orange {
  background: #ffebe6;
  color: var(--accent-orange);
}

.track-duration {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-sub);
}

.track-name {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.track-description {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 26px;
}

.track-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 34px;
}

.feature-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
}
.feature-line span {
  font-weight: 700;
  color: var(--accent-green);
}

.track-footer {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.track-price {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ------------------- Reviews Section ------------------- */
.reviews-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.quote-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.quote-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.score-tag {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.quote-platform {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-sub);
}

.quote-body {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-main);
  margin-bottom: 26px;
}

.quote-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--text-main);
  color: var(--accent-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.user-name {
  font-weight: 700;
  font-size: 0.96rem;
}

.user-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ------------------- Contact Card ------------------- */
.contact-section {
  padding-bottom: 110px;
}

.contact-card-modern {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}

.pill-contact {
  display: inline-block;
  margin-bottom: 16px;
}

.contact-heading {
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.contact-subtext {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 34px;
}

.contact-stats {
  display: flex;
  gap: 36px;
}

.c-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.c-lbl {
  font-size: 0.85rem;
  color: var(--text-sub);
}

.channel-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 22px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.action-btn:hover {
  background: var(--text-main);
  color: #fff;
  border-color: var(--text-main);
  transform: translateX(4px);
}

.action-btn:hover .arrow {
  transform: translateX(4px);
  color: var(--accent-lime);
}

.action-btn:hover .desc {
  color: #9ea3b0;
}

.action-btn .icon {
  font-size: 1.5rem;
}

.action-info {
  flex-grow: 1;
}

.action-info .title {
  display: block;
  font-weight: 700;
  font-size: 1rem;
}

.action-info .desc {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.action-btn .arrow {
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.slots-available {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
  background: var(--surface-alt);
  padding: 10px 16px;
  border-radius: var(--radius-full);
}

.blink-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(255, 92, 53, 0.25);
}

/* ------------------- Footer ------------------- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 46px 0 28px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-brand {
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 0.98rem;
}

.footer-left p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer-social-links {
  display: flex;
  gap: 24px;
}

.footer-social-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
  transition: color 0.15s ease;
}

.footer-social-links a:hover {
  color: var(--accent-orange);
}

.footer-sub {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-sub);
}

/* ------------------- Responsive ------------------- */
@media (max-width: 992px) {
  .hero-bottom-grid {
    grid-template-columns: 1fr;
  }
  .bento-barrier-box, .bento-stat-box, .bento-media-box, .bento-app-box {
    grid-column: span 12;
  }
  .track-cards {
    grid-template-columns: 1fr;
  }
  .contact-card-modern {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }
}

@media (max-width: 768px) {
  .nav-right .nav-link, .nav-status-pill {
    display: none;
  }
  .section-title-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-sub {
    flex-direction: column;
    gap: 8px;
  }
}
