/* ══════════════════════════════════════════════════════════════════════════
   LANDING.CSS — Marketing page + Legal pages
   ════════════════════════════════════════════════════════════════════════ */

/* ── Sticky Nav ─────────────────────────────────────────────────────────── */
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 2rem;
  height: 3.75rem;
  background: rgba(255,255,255,0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  flex: 1;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color var(--t) var(--ease);
}
.nav-links a:hover { color: var(--primary); }

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

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 6rem 2rem 5rem;
  min-height: calc(100dvh - 3.75rem);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid #c7d2fe;
  border-radius: 99px;
  padding: 0.3rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  letter-spacing: 0.01em;
}

.hero-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.1;
  margin-bottom: 1.1rem;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #7c3aed 45%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.trust-item .material-symbols-outlined {
  font-size: 1rem;
  color: var(--success);
}

/* ── Hero Mockup (CSS-only meeting UI) ──────────────────────────────────── */
.hero-visual {
  animation: fadeUp 0.6s var(--ease) 0.15s both;
}

.meeting-mockup {
  background: #13131a;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 80px #6366f120;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  position: relative;
}

.mockup-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  background: rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.mockup-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}

.mockup-brand-mark {
  background: linear-gradient(135deg, #818cf8, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1rem;
}

.mockup-pills {
  display: flex;
  gap: 0.4rem;
}

.mockup-pill {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 99px;
  padding: 0.15rem 0.5rem;
}

.mockup-pill.live {
  color: #34d399;
  background: rgba(52,211,153,0.12);
  border-color: rgba(52,211,153,0.25);
}

.mockup-content {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 0.6rem;
  padding: 0.6rem;
  flex: 1;
  min-height: 0;
}

.mockup-videos {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0.5rem;
}

.mockup-tile {
  border-radius: 0.75rem;
  overflow: hidden;
  position: relative;
  background: #1e1e2a;
}

.mockup-tile-1 {
  background: linear-gradient(135deg, #2d1b69 0%, #1a1040 50%, #0f0826 100%);
}

.mockup-tile-2 {
  background: linear-gradient(135deg, #1a2744 0%, #0d1a35 50%, #060e1f 100%);
}

.mockup-tile-avatar {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-avatar-ring {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #a78bfa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: 0 0 20px #6366f150;
}

.mockup-tile-label {
  position: absolute;
  bottom: 0.45rem;
  left: 0.5rem;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.8);
  background: rgba(0,0,0,0.5);
  border-radius: 0.3rem;
  padding: 0.1rem 0.4rem;
  backdrop-filter: blur(4px);
}

.mockup-chat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  padding: 0.55rem;
  gap: 0.4rem;
  overflow: hidden;
}

.mockup-chat-title {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mockup-msg {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.05);
  border-radius: 0.4rem;
  padding: 0.25rem 0.4rem;
  line-height: 1.4;
}

.mockup-msg.mine {
  background: rgba(99,102,241,0.2);
  color: rgba(167,139,250,0.9);
  align-self: flex-end;
}

.mockup-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.mockup-btn {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-btn .material-symbols-outlined {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
}

.mockup-btn.leave {
  background: rgba(239,68,68,0.25);
  border-color: rgba(239,68,68,0.4);
  padding: 0 0.7rem;
  width: auto;
  font-size: 0.65rem;
  color: #fca5a5;
  font-weight: 600;
  border-radius: 0.4rem;
}

/* ── Features ───────────────────────────────────────────────────────────── */
.features-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid #c7d2fe;
  border-radius: 99px;
  padding: 0.3rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease), border-color var(--t) var(--ease);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: #c7d2fe;
}

.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-sm);
  background: var(--primary-light);
  border: 1px solid #c7d2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon .material-symbols-outlined {
  font-size: 1.35rem;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Pricing ────────────────────────────────────────────────────────────── */
.pricing-section {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, transparent 0%, #f0ebff30 100%);
}

.pricing-section .section-header { margin-bottom: 1rem; }

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.5rem 0 3rem;
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

.toggle-switch {
  width: 2.6rem;
  height: 1.4rem;
  background: var(--primary);
  border-radius: 99px;
  position: relative;
  cursor: pointer;
  transition: background var(--t);
}

.toggle-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #fff;
  transition: transform var(--t) var(--ease);
}

.toggle-switch.yearly::after { transform: translateX(1.2rem); }

.save-badge {
  background: var(--success-light);
  color: var(--success);
  border: 1px solid #a7f3d0;
  border-radius: 99px;
  padding: 0.15rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-xl);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
  position: relative;
}

.pricing-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-md), 0 0 0 4px var(--primary-glow);
}

.featured-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 99px;
  padding: 0.2rem 0.8rem;
  white-space: nowrap;
}

.pricing-plan-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  margin-bottom: 0.25rem;
}

.price-amount {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}

.price-currency {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-2);
  margin-top: 0.5rem;
}

.price-period {
  font-size: 0.82rem;
  color: var(--muted);
  margin-left: 0.15rem;
}

.pricing-desc {
  font-size: 0.83rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-2);
}

.pricing-features .material-symbols-outlined {
  font-size: 1rem;
  color: var(--success);
  flex-shrink: 0;
}

.pricing-features .muted-feature .material-symbols-outlined { color: var(--muted); }
.pricing-features .muted-feature { color: var(--muted); }

/* ── CTA Section ────────────────────────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: 5rem 2rem;
  max-width: 640px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.cta-section p { color: var(--muted); font-size: 1.05rem; margin-bottom: 2rem; }

/* ── Legal pages ────────────────────────────────────────────────────────── */
.legal-header {
  max-width: 800px;
  margin: 3rem auto 0;
  padding: 0 2rem;
  animation: fadeUp 0.35s var(--ease) both;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 1.5rem;
  transition: color var(--t);
}
.legal-back:hover { color: var(--primary); }
.legal-back .material-symbols-outlined { font-size: 1rem; }

.legal-header h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.legal-header .last-updated {
  font-size: 0.82rem;
  color: var(--muted);
}

.legal-content {
  max-width: 800px;
  margin: 2rem auto 4rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.legal-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 1.75rem 0 0.6rem;
  letter-spacing: -0.02em;
}
.legal-content h2:first-child { margin-top: 0; }

.legal-content p  { color: var(--text-2); line-height: 1.75; margin-bottom: 0.75rem; }
.legal-content ul { padding-left: 1.4rem; color: var(--text-2); line-height: 1.75; margin-bottom: 0.75rem; }
.legal-content li { margin-bottom: 0.35rem; }

.legal-content a   { color: var(--primary); text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding: 4rem 1.5rem 3rem; min-height: auto; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .landing-nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid  { grid-template-columns: 1fr; }
}
