/* ============================================================
   FuckMeetings — landing (light, clean, violet accent)
   ============================================================ */

:root {
  --accent: #7c3aed;
  --accent-strong: #6d28d9;
  --accent-soft: #f3efff;
  --accent-ring: rgba(124, 58, 237, 0.25);
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --bg-tint: #f6f4ff;
  --text: #101014;
  --text-muted: #6b6b76;
  --border: #e8e8ee;
  --shadow-sm: 0 1px 2px rgba(16, 16, 20, 0.05);
  --shadow-md: 0 8px 30px rgba(16, 16, 20, 0.09);
  --shadow-lg: 0 24px 70px rgba(84, 46, 176, 0.16);
  --radius: 14px;
  --radius-lg: 20px;
  --font: ui-sans-serif, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 800px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 20px var(--accent-ring), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover {
  background: var(--accent-strong);
  box-shadow: 0 10px 28px var(--accent-ring);
  transform: translateY(-1px);
}

.btn-dark {
  background: #101014;
  color: #fff;
  box-shadow: 0 6px 20px rgba(16, 16, 20, 0.18);
}
.btn-dark:hover { background: #2a2a33; transform: translateY(-1px); }

.btn-ghost {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: #cfcfda; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; padding: 13px 20px; font-size: 15px; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(16, 16, 20, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -0.01em;
}
.brand-logo { border-radius: 8px; }

.nav {
  display: flex;
  gap: 26px;
  margin-left: 8px;
}
.nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--text); }

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.gh-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.gh-link:hover { border-color: #cfcfda; transform: translateY(-1px); }
.gh-stars {
  font-size: 12.5px;
  color: var(--text-muted);
  padding-left: 8px;
  border-left: 1px solid var(--border);
}

.lang-switch {
  display: inline-flex;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 3px;
  cursor: pointer;
}
.lang-opt {
  padding: 4px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 7px;
  transition: all 0.15s ease;
}
.lang-opt.active {
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 9px 8px;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 8px 24px 16px;
  border-top: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 12px 24px rgba(16, 16, 20, 0.06);
}
.mobile-nav a {
  padding: 12px 4px;
  text-decoration: none;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--bg-alt);
}
.mobile-nav a:last-child { border-bottom: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 10%, var(--bg-tint) 0%, transparent 60%),
    radial-gradient(circle at 12% 88%, rgba(124, 58, 237, 0.05) 0%, transparent 45%),
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(16, 16, 20, 0.055) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, black 0%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border: 1px solid rgba(124, 58, 237, 0.18);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
  animation: pulse 2.2s ease infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15); }
  50% { box-shadow: 0 0 0 7px rgba(124, 58, 237, 0.07); }
}

h1 {
  font-size: clamp(38px, 5.2vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 20px;
}
.accent {
  color: var(--accent);
  position: relative;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 30px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 500;
  font-family: var(--mono);
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 4px 11px;
  border-radius: 999px;
}
.chip-lg { font-size: 13.5px; padding: 7px 16px; font-family: var(--font); }

/* hero visual */
.hero-visual {
  position: relative;
}
.overlay-frame {
  max-width: 420px;
  margin-left: auto;
  box-shadow: var(--shadow-lg);
  transform: rotate(0.6deg);
  transition: transform 0.3s ease;
}
.overlay-frame:hover { transform: rotate(0deg) translateY(-3px); }

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 9px 15px;
  box-shadow: var(--shadow-md);
  animation: floaty 5s ease-in-out infinite;
}
.float-chip-1 { top: -16px; left: -18px; color: #16a34a; animation-delay: 0.4s; }
.float-chip-2 { bottom: -16px; right: -14px; color: var(--accent-strong); }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ---------- Window frame ---------- */
.window-frame {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dcdce4;
}
.window-title {
  margin-left: 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--mono);
}

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--border); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 26px 24px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13.5px;
}
.trust-item strong { font-size: 14.5px; letter-spacing: -0.01em; }
.trust-item span { color: var(--text-muted); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}
.section-sub { color: var(--text-muted); font-size: 17px; margin-top: 14px; }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 750;
}

/* features */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-grid-rev .feature-text { order: 2; }
.feature-grid-rev .feature-visual { order: 1; }

.feature-sub { color: var(--text-muted); font-size: 16.5px; margin: 16px 0 22px; }

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-list li {
  position: relative;
  padding-left: 32px;
  font-size: 15.5px;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%237c3aed" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / 12px no-repeat;
}

.note {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 12px 16px;
  max-width: 520px;
}

/* ---------- How it works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 64px;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 16px;
}
.step h3 { font-size: 17px; letter-spacing: -0.01em; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-muted); }

.providers { text-align: center; }
.providers-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.providers-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* ---------- Privacy ---------- */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 30px;
}
.privacy-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.privacy-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.privacy-icon { font-size: 26px; margin-bottom: 14px; }
.privacy-card h3 { font-size: 17px; margin-bottom: 8px; letter-spacing: -0.01em; }
.privacy-card p { font-size: 14.5px; color: var(--text-muted); }

/* ---------- Download ---------- */
.section-download {
  background:
    radial-gradient(ellipse 70% 80% at 50% 110%, var(--bg-tint) 0%, transparent 65%),
    var(--bg);
}
.dl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 860px;
  margin: 0 auto;
}
.dl-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.dl-head { display: flex; align-items: center; gap: 16px; }
.dl-os-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  flex-shrink: 0;
}
.dl-card h3 { font-size: 19px; letter-spacing: -0.01em; }
.dl-req { font-size: 13px; color: var(--text-muted); font-family: var(--mono); }
.dl-note { font-size: 13px; color: var(--text-muted); }
.dl-more {
  text-align: center;
  margin-top: 28px;
  font-size: 14.5px;
}
.dl-more a { color: var(--accent-strong); font-weight: 600; text-decoration: none; }
.dl-more a:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 22px;
  transition: border-color 0.15s ease;
}
.faq-list details[open] { border-color: rgba(124, 58, 237, 0.35); }
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  padding: 18px 0;
  list-style: none;
  position: relative;
  padding-right: 36px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p {
  padding: 0 0 20px;
  color: var(--text-muted);
  font-size: 15px;
}

.tg-line {
  margin-top: 34px;
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
}
.tg-line a { color: var(--accent-strong); font-weight: 600; text-decoration: none; }
.tg-line a:hover { text-decoration: underline; }
.tg-sep { margin: 0 10px; color: var(--text-muted); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 52px 0 34px; }
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand img { border-radius: 10px; }
.footer-name { font-weight: 700; font-size: 16px; }
.footer-tag { font-size: 13.5px; color: var(--text-muted); max-width: 320px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-muted);
}
.footer-bottom p:first-child { max-width: 640px; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
  .overlay-frame { margin: 0 auto; }
  .float-chip-1 { left: 6px; top: -12px; }
  .float-chip-2 { right: 6px; bottom: -12px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid-rev .feature-text { order: 1; }
  .feature-grid-rev .feature-visual { order: 2; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-grid { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .burger { display: flex; }
  .gh-link span:not(.gh-stars) { display: none; }
  .mobile-nav:not([hidden]) { display: flex; }
}

@media (max-width: 560px) {
  .section { padding: 68px 0; }
  .hero { padding: 56px 0 48px; }
  .steps-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  #header-cta { display: none; }
  .brand-name { display: none; }
  .gh-stars { display: none; }
  .header-inner { gap: 14px; }
  .header-actions { gap: 8px; }
  .hero-cta .btn { width: 100%; }
  .footer-grid { flex-direction: column; }
}
