/* FREEREELS 官网 —— 由画布设计「FreeReels官网复刻」手写成的语义化、响应式页面。
   设计值（颜色、字号、间距、渐变）沿用设计里的设计变量。 */

:root {
  --ink: #0a0c12;
  --dark: #05090c;
  --dark-2: #11141b;
  --page: #fafbfc;
  --white: #ffffff;
  --muted: #6b7280;
  --muted-2: #8a90a0;
  --line: #e6e8ee;
  --purple: #7c5cf0;
  --purple-soft: #ede9ff;
  --pink: #f0527d;
  --pink-soft: #fde8ee;
  --blue: #3b82f6;
  --blue-soft: #e3eefe;
  --green: #10b981;
  --on-dark: rgba(255, 255, 255, 0.88);
  --on-dark-2: rgba(255, 255, 255, 0.62);
  --glass: rgba(255, 255, 255, 0.075);
  --glass-line: rgba(255, 255, 255, 0.07);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --radius: 20px;
}

*,
*::before,
*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--page);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.ic { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 通用 ---------- */
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase; color: var(--muted); }
.h2 { font-size: clamp(30px, 3.1vw, 44px); line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; }
.lead { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; color: var(--muted); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 32px; border-radius: 999px; font-size: 17px; font-weight: 600; line-height: 1.3; white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn .ic { font-size: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--white); box-shadow: 0 10px 24px rgba(10, 12, 18, 0.18); }
.btn--sm { padding: 12px 24px; font-size: 16px; }
.btn--black { background: #000; color: var(--white); border: 1px solid rgba(255, 255, 255, 0.14); }

.logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 29px; letter-spacing: 0.015em; line-height: 1; }
.logo .ic { font-size: 34px; fill: currentColor; stroke-width: 1.5; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
  min-height: 683px; padding: 0 var(--gutter); color: var(--white);
  border-radius: var(--radius);
  background: linear-gradient(100deg, #05090c, #0b0f16);
}
.hero__media {
  position: absolute; inset: 0 0 0 auto; z-index: -1; width: 56%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.1) 8%, rgba(0, 0, 0, 0.32) 22%, rgba(0, 0, 0, 0.62) 40%, #000 70%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.1) 8%, rgba(0, 0, 0, 0.32) 22%, rgba(0, 0, 0, 0.62) 40%, #000 70%);
}
.hero__media { background: linear-gradient(90deg, #2e3c55, #475471 17%, #495a7b 33%, #596a8e 50%, #636e92 67%, #6b7295 83%, #6a7092) top / 100% 76px no-repeat; }
.hero__media img { width: 100%; height: calc(100% - 69px); margin-top: 69px; object-fit: cover; object-position: left top; }
.hero__media::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 150px; background: linear-gradient(180deg, rgba(5, 9, 12, 0.6), transparent); }

.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 80px; }
.nav__links { display: flex; gap: 40px; font-weight: 500; font-size: 16px; color: var(--on-dark); }
.nav__links a { position: relative; padding: 4px 0; }
.nav__links a:hover { color: var(--white); }
.nav__links a[aria-current="page"] { color: var(--white); font-weight: 600; }
.nav__links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--white); border-radius: 2px; }
.nav .btn { justify-self: end; }

.hero__body { display: flex; flex: 1; flex-direction: column; padding: 54px 0 40px; }
.hero h1 { font-size: clamp(46px, 6.46vw, 93px); line-height: 1.02; font-weight: 800; letter-spacing: -0.024em; }
.hero h1 span { display: block; }
.hero h1 .grad { display: inline-block; padding-bottom: 0.06em; }
.grad {
  background: linear-gradient(90deg, #f49ca7, #e494d7 20%, #c898ed 40%, #aea7f5 60%, #75bcf8 80%, #54b8f5);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { max-width: 660px; margin-top: 22px; font-size: clamp(16px, 1.46vw, 21px); line-height: 1.38; color: var(--on-dark); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 30px; }
.watch { display: inline-flex; align-items: center; gap: 14px; font-weight: 600; font-size: 15px; }
.watch__icon { display: grid; place-items: center; width: 52px; height: 52px; border: 2px solid var(--white); border-radius: 50%; }
.watch__icon .ic { font-size: 18px; fill: currentColor; }

.stats { display: flex; flex-wrap: wrap; gap: 20px 0; margin-top: auto; padding-top: 48px; }
.stats > div { padding-right: 36px; }
.stats > div + div { padding-left: 36px; border-left: 1px solid rgba(255, 255, 255, 0.18); }
.stats dt { order: 2; margin-top: 4px; font-size: 18px; color: var(--on-dark); }
.stats dd { order: 1; font-size: 27px; font-weight: 700; line-height: 1.2; }
.stats > div { display: flex; flex-direction: column; }

/* ---------- What We Do ---------- */
.what {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 24px;
  padding: 64px 0 28px var(--gutter); overflow: hidden;
}
.what__text { display: grid; gap: 20px; max-width: 700px; }
.what__text .h2 { font-size: clamp(30px, 3.05vw, 44px); line-height: 1.12; margin-top: 14px; }
.what__text .lead { max-width: 640px; font-size: 17px; line-height: 1.55; }
.what__text .btn { justify-self: start; margin-top: 8px; }
.what__art { position: relative; min-height: 456px; }
.what__panel { position: absolute; inset: 22px 0 -6px 0; border-radius: 44px 0 0 44px; background: linear-gradient(135deg, #f6f1ff, #e9f0ff); }
.what__phone {
  position: absolute; top: -18px; right: 0; width: min(462px, 74%); height: auto;
  mix-blend-mode: multiply; /* the photo’s near-white backdrop drops out over the lavender panel */
}
.chips { position: absolute; left: 0; top: 40px; display: grid; gap: 24px; width: max-content; min-width: 196px; }
.chip {
  display: flex; align-items: center; gap: 16px; height: 56px; padding: 0 22px;
  background: var(--white); border-radius: 18px; font-size: 16px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 8px 28px rgba(80, 90, 140, 0.1);
}
.chip .ic { font-size: 24px; color: var(--blue); }
.chip--purple .ic { color: var(--purple); }

/* ---------- Create Without Limits ---------- */
.create {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius);
  padding: 32px var(--gutter) 28px; background: #0c0f15; color: var(--white);
}
.create__media {
  position: absolute; inset: 0 0 0 auto; z-index: -1; width: 52%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.3) 25%, rgba(0, 0, 0, 0.75) 55%, #000 80%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.3) 25%, rgba(0, 0, 0, 0.75) 55%, #000 80%);
}
.create__media img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.create .eyebrow { color: var(--on-dark-2); font-size: 13px; }
.create .h2 { margin-top: 16px; font-size: clamp(28px, 2.6vw, 37px); }
.create .lead { max-width: 590px; margin-top: 16px; color: var(--on-dark); font-size: 18px; line-height: 1.5; }
.audience { display: grid; grid-template-columns: repeat(3, minmax(0, 228px)); gap: 20px; margin-top: 28px; }
.card-dark {
  display: grid; align-content: start; gap: 12px; padding: 20px; min-height: 176px;
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: 18px; backdrop-filter: blur(6px);
}
.tile { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 13px; color: var(--white); }
.tile .ic { font-size: 24px; }
.tile--purple { background: linear-gradient(135deg, #9b7bff, #6d4ee8); }
.tile--blue { background: linear-gradient(135deg, #4c9bff, #2f6fed); }
.tile--green { background: linear-gradient(135deg, #3ddba5, #12b886); }
.card-dark h3 { font-size: 19px; font-weight: 700; line-height: 1.3; }
.card-dark p { font-size: 14px; line-height: 1.45; color: var(--on-dark-2); }

/* ---------- Our Product ---------- */
.product {
  margin-top: 24px; padding: 72px var(--gutter) 0; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(180deg, #fbfcfe, #f7f9fd 50%, #dde8fc);
}
.product__head { display: grid; justify-items: center; gap: 16px; text-align: center; }
.product__head .eyebrow { justify-self: start; }
.product__head .h2 { font-size: clamp(28px, 2.9vw, 42px); }
.product__head .lead { max-width: 820px; font-size: clamp(16px, 1.32vw, 19px); }
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 56px; }
.feature { display: flex; gap: 20px; align-items: flex-start; min-height: 128px; padding: 28px 24px; border-radius: 22px; }
.feature--blue { background: #f2f6ff; }
.feature--pink { background: #fff3f6; }
.feature--purple { background: #f6f3ff; }
.tile-soft { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; }
.tile-soft .ic { font-size: 24px; }
.tile-soft--blue { background: var(--blue-soft); color: var(--blue); }
.tile-soft--pink { background: var(--pink-soft); color: var(--pink); }
.tile-soft--purple { background: var(--purple-soft); color: var(--purple); }
.feature h3 { font-size: 21px; font-weight: 700; line-height: 1.3; }
.feature p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.product__shot { display: block; width: min(1180px, 100%); margin: 56px auto 0; }

/* ---------- Why FREEREELS ---------- */
.why { padding: 64px var(--gutter) 72px; }
.why .h2 { margin-top: 14px; font-size: clamp(28px, 2.9vw, 42px); }
.why .lead { max-width: 780px; margin-top: 16px; font-size: clamp(16px, 1.32vw, 19px); }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; margin-top: 56px; }
.pillar { display: grid; gap: 16px; justify-items: start; }
.tile-lg { display: grid; place-items: center; width: 90px; height: 90px; border-radius: 24px; }
.tile-lg .ic { font-size: 40px; }
.pillar h3 { font-size: 23px; font-weight: 700; line-height: 1.3; }
.pillar p { font-size: 17px; color: var(--muted); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 0.41fr) minmax(0, 0.59fr); align-items: stretch; overflow: hidden; border-radius: var(--radius); background: var(--white); }
.about__photo { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.about__text { display: grid; align-content: center; justify-items: start; gap: 24px; padding: 48px var(--gutter) 48px clamp(28px, 4.5vw, 66px); }
.about__text .h2 { font-size: clamp(28px, 3.05vw, 44px); line-height: 1.18; }
.about__text .lead { max-width: 740px; font-size: clamp(16px, 1.32vw, 19px); }

/* ---------- Footer ---------- */
.footer {
  margin-top: 0; padding: 60px var(--gutter) 28px; border-radius: 24px;
  color: var(--white); background: #05080c;
}
.footer__grid { display: grid; grid-template-columns: 1.15fr 0.7fr 0.8fr 0.65fr 1.3fr; gap: 40px; }
.footer__tagline { margin-top: 24px; font-size: 17px; line-height: 1.55; color: var(--on-dark-2); }
.social { display: flex; gap: 22px; margin-top: 24px; }
.social a { display: grid; place-items: center; width: 28px; height: 28px; color: var(--white); opacity: 0.92; }
.social a:hover { opacity: 1; }
.social svg { width: 100%; height: 100%; fill: currentColor; }
.footer h3 { font-size: 16px; font-weight: 700; }
.footer ul { display: grid; gap: 20px; margin-top: 20px; }
.footer li a { font-size: 16px; color: var(--on-dark-2); }
.footer li a:hover { color: var(--white); }
.contact { display: grid; gap: 20px; margin-top: 20px; font-style: normal; font-size: 17px; line-height: 1.85; color: var(--on-dark); }
.contact p { display: flex; align-items: flex-start; gap: 16px; }
.contact .ic { font-size: 22px; margin-top: 6px; color: var(--on-dark-2); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 15px; color: var(--on-dark-2); }
.footer__bottom ul { display: flex; gap: 44px; margin: 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 36px; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand, .footer__contact { grid-column: span 3; }
  .what { grid-template-columns: 1fr; padding-right: var(--gutter); }
  .what__art { min-height: 440px; }
  .what__panel { border-radius: 44px; }
  .what__phone { right: 0; }
}
@media (max-width: 820px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .hero__media { width: 100%; opacity: 0.55; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 70%); mask-image: linear-gradient(180deg, transparent 0, #000 70%); }
  .hero__body { padding-top: 36px; }
  .stats > div { padding-right: 20px; }
  .stats > div + div { padding-left: 20px; }
  .stats dd { font-size: 24px; }
  .stats dt { font-size: 15px; }
  .create__media { width: 100%; opacity: 0.5; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 60%); mask-image: linear-gradient(180deg, transparent 0, #000 60%); }
  .audience { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__photo { min-height: 240px; max-height: 320px; }
  .product__head .eyebrow { justify-self: center; }
  .chips { position: static; width: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 12px; }
  .what__art { min-height: 0; padding-top: 12px; }
  .what__panel { display: none; }
  .what__phone { position: static; width: min(420px, 100%); margin: 24px auto 0; }
}
@media (max-width: 600px) {
  .features, .pillars { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand, .footer__contact { grid-column: span 2; }
  .footer__bottom ul { gap: 24px; }
  .btn { padding: 14px 24px; font-size: 16px; }
  .hero__actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
