/* ============================================================
   Qreate — qreate.cc
   Faithful reproduction of qreatestudio.fr (Framer) in static HTML.
   Palette: electric-blue #0099FF · near-black #0A0A0A · Geist
   ============================================================ */

/* ---------- Fonts (Geist, self-hosted) ---------- */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/css/fonts/geist-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/css/fonts/geist-mono-variable.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --blue: rgb(0, 153, 255);
  --blue-ink: rgb(0, 122, 214);
  --black: rgb(10, 10, 10);
  --ink: rgb(10, 10, 10);
  --pure-black: rgb(0, 0, 0);
  --grey: rgb(110, 110, 110);
  --grey-2: rgb(117, 117, 117);
  --grey-3: rgb(153, 153, 153);
  --line: rgb(234, 234, 234);
  --line-2: rgb(239, 239, 239);
  --bg: #ffffff;
  --bg-soft: rgb(248, 249, 250);
  --bg-soft-2: rgb(247, 247, 247);
  --white: #ffffff;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.04), 0 4px 16px rgba(10, 10, 10, 0.04);
  --shadow-md: 0 10px 40px rgba(10, 10, 10, 0.08);
  --shadow-blue: 0 8px 24px rgba(0, 153, 255, 0.28);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: -0.018em;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

/* ---------- Pills / tags ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: 13px; font-weight: 500; color: var(--grey);
  letter-spacing: -0.02em;
  box-shadow: var(--shadow-sm);
}
.tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(0,153,255,0.18); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  font-weight: 500; font-size: 15px; letter-spacing: -0.02em;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { transform: translateY(-2px); background: #000; box-shadow: 0 10px 26px rgba(10,10,10,0.28); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-blue:hover { transform: translateY(-2px); background: var(--blue-ink); }
.btn-ghost { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { transform: translateY(-2px); border-color: #d6d6d6; box-shadow: var(--shadow-sm); }
.btn .arrow { width: 13px; height: 10px; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 14px 0;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(234,234,234,0.7);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 26px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu a { font-size: 15px; font-weight: 500; color: var(--ink); opacity: .82; transition: opacity .2s; letter-spacing: -0.02em; }
.nav-menu a:hover { opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-toggle-lang { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-pill); overflow: hidden; background: var(--white); }
.nav-toggle-lang a { padding: 7px 12px; font-size: 13px; font-weight: 600; color: var(--grey-2); letter-spacing: -0.01em; transition: background .2s, color .2s; }
.nav-toggle-lang a.active { background: var(--black); color: #fff; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }

/* mobile menu */
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 56px; text-align: center; position: relative; }
.hero-badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-bottom: 26px; }
.rating { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--white); box-shadow: var(--shadow-sm); }
.rating .stars { color: var(--blue); font-size: 13px; letter-spacing: 1px; }
.rating .stars-label { font-size: 13px; font-weight: 500; color: var(--grey); letter-spacing: -0.02em; }
.rating .stars-label b { color: var(--ink); font-weight: 600; }

h1, .h1 {
  font-size: clamp(38px, 6.4vw, 76px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.hero h1 { max-width: 16ch; margin: 0 auto; }
.hero .lede {
  max-width: 56ch; margin: 22px auto 0;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--grey); line-height: 1.55; letter-spacing: -0.02em;
}
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 30px; }

/* hero visual — stacked showcase */
.hero-visual {
  margin-top: 58px;
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 18px;
  align-items: center;
}
.hero-visual figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4628 / 3182;
}
.hero-visual figure.mid { transform: scale(1.04); z-index: 2; box-shadow: 0 24px 60px rgba(10,10,10,0.14); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

/* client logos row */
.logos-row { margin-top: 56px; }
.logos-row .logos-label { text-align: center; font-size: 13px; color: var(--grey-3); font-weight: 500; letter-spacing: -0.01em; margin-bottom: 22px; }
.logos-track { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 44px; }
.logos-track img { height: 26px; width: auto; opacity: .55; filter: grayscale(1); transition: opacity .25s, filter .25s; }
.logos-track img:hover { opacity: .9; filter: grayscale(0); }

/* ---------- Section heading ---------- */
.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-label { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--white); font-size: 13px; font-weight: 500; color: var(--blue); letter-spacing: -0.01em; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
h2, .h2 { font-size: clamp(28px, 4vw, 46px); line-height: 1.08; font-weight: 600; letter-spacing: -0.04em; color: var(--ink); }
.sec-head p { margin-top: 16px; font-size: clamp(16px, 1.5vw, 18px); color: var(--grey); line-height: 1.55; }
.sec-head.left { text-align: left; margin-left: 0; }

/* ---------- Problem / comparison ---------- */
.problem { background: var(--bg-soft); }
.compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  max-width: 1000px; margin: 0 auto;
}
.compare-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--white);
}
.compare-card.bad { background: var(--white); }
.compare-card.good { background: var(--ink); color: #fff; border-color: var(--ink); position: relative; overflow: hidden; }
.compare-card.good::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 80% -10%, rgba(0,153,255,0.5) 0%, rgba(0,153,255,0) 55%);
  pointer-events: none;
}
.compare-card h4 { font-size: 19px; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.compare-card.bad h4 { color: var(--grey); }
.compare-card ul { display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; }
.compare-card li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; letter-spacing: -0.02em; }
.compare-card.bad li { color: rgb(90,90,90); }
.compare-card .ic { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; margin-top: 1px; }
.compare-card.bad .ic { background: rgb(239,239,239); color: rgb(150,150,150); }
.compare-card.good .ic { background: var(--blue); color: #fff; }
.compare-card.good li { color: rgba(255,255,255,0.92); }

/* ---------- Method / deliverables ---------- */
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 1040px; margin: 0 auto;
}
.method-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.method-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.method-card .media { background: var(--bg-soft); border-bottom: 1px solid var(--line-2); aspect-ratio: 16 / 10; overflow: hidden; }
.method-card .media img { width: 100%; height: 100%; object-fit: cover; }
.method-card .body { padding: 26px 28px 30px; }
.method-card h4 { font-size: 19px; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 10px; }
.method-card p { font-size: 15px; color: var(--grey); line-height: 1.55; }
.method-card.feature { grid-column: span 2; flex-direction: row; }
.method-card.feature .media { flex: 1.15; border-bottom: none; border-right: 1px solid var(--line-2); aspect-ratio: auto; min-height: 300px; }
.method-card.feature .body { flex: 1; display: flex; flex-direction: column; justify-content: center; }

/* ---------- Projects ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.project-card .thumb { aspect-ratio: 4 / 3; background: var(--bg-soft); overflow: hidden; border-bottom: 1px solid var(--line-2); display: grid; place-items: center; }
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-card .pbody { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.project-card h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.03em; }
.project-card .pdesc { font-size: 14.5px; color: var(--grey); margin-top: 8px; line-height: 1.55; flex: 1; }
.project-meta { display: flex; gap: 0; margin-top: 22px; border-top: 1px solid var(--line-2); padding-top: 18px; }
.project-meta .col { flex: 1; }
.project-meta .col + .col { border-left: 1px solid var(--line-2); padding-left: 18px; }
.project-meta .k { font-size: 12px; color: var(--grey-3); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 500; }
.project-meta .v { font-size: 14.5px; color: var(--ink); font-weight: 500; margin-top: 4px; }
.projects-cta { text-align: center; margin-top: 44px; }

/* ---------- Quote / CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 130% at 50% -20%, rgba(0,153,255,0.42) 0%, rgba(0,153,255,0) 60%);
}
.cta-band .container { position: relative; z-index: 1; text-align: center; }
.cta-band .quote {
  max-width: 22ch; margin: 0 auto;
  font-size: clamp(30px, 4.6vw, 56px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.06; color: #fff;
}
.cta-band .quote .hl { color: var(--blue); }
.cta-band .sub { max-width: 60ch; margin: 22px auto 0; font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,0.72); line-height: 1.55; }
.cta-band .cta-row { margin-top: 34px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.faq-aside { position: sticky; top: 100px; }
.faq-aside .sec-label { margin-bottom: 18px; }
.faq-aside h2 { margin-bottom: 18px; }
.faq-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); }
.faq-card img { width: 100%; height: auto; display: block; }
.faq-card .wa { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-top: 1px solid var(--line-2); }
.faq-card .wa .wa-ic { width: 38px; height: 38px; border-radius: 50%; background: #25D366; display: grid; place-items: center; flex: 0 0 38px; }
.faq-card .wa .wa-ic svg { width: 20px; height: 20px; }
.faq-card .wa .wa-txt { font-size: 14px; font-weight: 500; color: var(--ink); letter-spacing: -0.02em; }
.faq-card .wa .arrow { margin-left: auto; width: 14px; opacity: .4; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: #d8d8d8; box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 17px; font-weight: 500; letter-spacing: -0.025em; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chev { flex: 0 0 22px; width: 22px; height: 22px; position: relative; transition: transform .3s var(--ease); }
.faq-item .chev::before, .faq-item .chev::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 2px; background: var(--ink); border-radius: 2px; transform: translate(-50%,-50%); transition: transform .3s var(--ease); }
.faq-item .chev::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item[open] .chev::after { transform: translate(-50%,-50%) rotate(0); }
.faq-item .answer { padding: 0 24px 24px; font-size: 15.5px; color: var(--grey); line-height: 1.6; max-width: 60ch; }

/* ---------- cal.com embed ---------- */
.booking { background: var(--bg-soft); }
.booking .sec-head { margin-bottom: 36px; }
#cal-embed { width: 100%; min-height: 640px; border-radius: var(--radius-lg); overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 40px; border-top: 1px solid var(--line); background: var(--white); }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand img { height: 26px; margin-bottom: 14px; }
.footer-brand p { max-width: 38ch; font-size: 14px; color: var(--grey); line-height: 1.6; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--grey-3); margin-bottom: 14px; font-weight: 600; }
.footer-col a, .footer-col span { display: block; font-size: 14.5px; color: var(--ink); opacity: .8; margin-bottom: 10px; transition: opacity .2s; letter-spacing: -0.02em; }
.footer-col a:hover { opacity: 1; color: var(--blue); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom .legal { font-size: 13px; color: var(--grey-3); letter-spacing: -0.01em; }
.footer-bottom .legal b { color: var(--grey); font-weight: 600; }
.footer-bottom .quip { font-size: 13px; color: var(--grey-3); font-style: italic; }

/* ---------- reveal animation ---------- */
/* Hidden state applies ONLY when JS is active (html.js) so no-JS users always see content. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .faq-wrap { grid-template-columns: 1fr; gap: 36px; }
  .faq-aside { position: static; }
  .method-card.feature { flex-direction: column; }
  .method-card.feature .media { border-right: none; border-bottom: 1px solid var(--line-2); min-height: 240px; }
}
@media (max-width: 860px) {
  .nav-menu { display: none; }
  .nav-burger { display: flex; }
  .nav-right .btn { display: none; }
  .mobile-menu { display: none; position: fixed; inset: 60px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); padding: 18px 24px 26px; z-index: 49; box-shadow: var(--shadow-md); }
  .mobile-menu.open { display: block; }
  .mobile-menu a { display: block; padding: 12px 0; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line-2); }
  .mobile-menu .btn { display: inline-flex; margin-top: 16px; width: 100%; }
  .section { padding: 72px 0; }
  .hero-visual { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .hero-visual figure.mid { transform: none; }
  .compare { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .method-grid { grid-template-columns: 1fr; }
  .method-card.feature { grid-column: span 1; }
}
@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .section { padding: 60px 0; }
  .logos-track { gap: 28px; }
  .compare-card, .method-card .body, .project-card .pbody { padding: 24px; }
}
