/* DevFob product page — design language after replay.software/echo:
   system fonts, opacity hierarchy, hairline insets over drop shadows,
   one rationed accent (#2EDEA6), alternating overlapped bands, pills,
   real device-framed screenshots, scroll-reveal transitions. */

:root {
  --accent: #2EDEA6;
  --accent-dim: rgba(46, 222, 166, 0.12);
  --accent-border: rgba(46, 222, 166, 0.28);
  --dark: #0D0E10;
  --green-black: #04130C;
  --gray-band: #F4F4F5;
  --card: #F7F7F8;
  --bezel: #0a0a0b;
  --hairline-dark: rgba(255, 255, 255, 0.10);
  --hairline-light: rgba(0, 0, 0, 0.06);
  --shadow-lift: 0 30px 60px -28px rgba(0,0,0,0.55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  background: #fff; color: #000;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
code, kbd {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.9em; background: rgba(0,0,0,0.06);
  padding: 0.1em 0.4em; border-radius: 6px;
}
.band-dark code, .band-green code, .card-dark code { background: rgba(255,255,255,0.12); }
img { display: block; max-width: 100%; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }

/* ---------- bands ---------- */
.band { padding: 7rem 1.5rem; position: relative; }
.band-dark  { background: var(--dark); color: #fff; }
.band-green { background: var(--green-black); color: #fff; }
.band-gray  { background: var(--gray-band); }
.band-white { background: #fff; }
.container { max-width: 64rem; margin: 0 auto; }
.container.narrow { max-width: 44rem; }
.center { text-align: center; }

/* ---------- type ---------- */
h1 {
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.02;
  background: linear-gradient(180deg, #fff 30%, #999);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
h2 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; max-width: 22ch;
}
.center h2 { margin: 0 auto; }
h3 { font-size: 1.05rem; font-weight: 650; letter-spacing: -0.01em; }
.eyebrow {
  display: block; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(0,0,0,0.4); margin-bottom: 1rem;
}
.eyebrow-green, .band-dark .eyebrow, .band-green .eyebrow { color: var(--accent); }
.section-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(0,0,0,0.6); max-width: 42rem; margin-top: 1.25rem;
}
.center .section-sub { margin-left: auto; margin-right: auto; }
.sub-dark { color: rgba(255,255,255,0.66); }
.sub-dark strong { color: rgba(255,255,255,0.92); }

/* ---------- nav ---------- */
.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.6rem; color: #fff;
}
.nav-brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 1rem; }
.nav-brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 0.25rem; }
.nav-links a {
  padding: 0.45rem 0.95rem; border-radius: 999px;
  font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.75);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.nav-gh { box-shadow: inset 0 0 0 1px var(--hairline-dark); }

/* ---------- device frames ---------- */
.macshot {
  border-radius: 16px; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--hairline-dark), var(--shadow-lift);
  width: 340px; background: #161719;
}
.band-white .macshot { box-shadow: inset 0 0 0 1px var(--hairline-light), var(--shadow-lift); }
.macshot img { width: 100%; display: block; }
.macshot.small { width: 270px; }

.phone {
  width: 248px; padding: 7px; border-radius: 38px; background: var(--bezel);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12), var(--shadow-lift);
}
.phone img { width: 100%; border-radius: 31px; display: block; }

.watch {
  width: 168px; padding: 6px; border-radius: 46px; background: var(--bezel);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14), var(--shadow-lift);
}
.watch img { width: 100%; border-radius: 40px; display: block; }

/* ---------- hero ---------- */
.hero { padding-top: 7.5rem; padding-bottom: 8rem; text-align: center; overflow: hidden; }
.hero-collage { position: relative; height: 520px; max-width: 60rem; margin: 0 auto 3.5rem; }
.hero-collage > div { position: absolute; left: 50%; }
.hero-mac   { width: 300px; transform: translateX(-88%) rotate(-2.5deg); top: 40px; z-index: 1; }
.hero-phone { transform: translateX(-50%); top: 0; z-index: 3; }
.hero-watch { transform: translateX(132%) rotate(5deg); top: 300px; z-index: 2; }
.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: rgba(255,255,255,0.66);
  max-width: 40rem; margin: 1.75rem auto 0;
}
.hero-sub em { font-style: normal; color: rgba(255,255,255,0.9); }
.hero-cta { margin-top: 2.5rem; display: flex; gap: 1rem; align-items: center; justify-content: center; flex-wrap: wrap; }
.appstore-badge { display: inline-block; transition: transform 0.15s ease; }
.appstore-badge:hover { transform: scale(1.03); }
.appstore-badge img { height: 50px; width: auto; display: block; }
.badge-note { margin-top: 0.7rem; font-size: 0.85rem; color: rgba(0,0,0,0.45); }
.split-copy .appstore-badge { margin-top: 1.8rem; }
.cta-pill {
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: #fff; color: #000; font-weight: 600; font-size: 1.05rem;
  height: 3.4rem; padding: 0 0.55rem 0 1.5rem; border-radius: 999px;
  transition: transform 0.15s ease;
}
.cta-pill:hover { transform: scale(1.03); }
.cta-price { background: #000; color: #fff; font-size: 0.9rem; font-weight: 600; padding: 0.45rem 0.9rem; border-radius: 999px; }
.hero-foot { margin-top: 1.6rem; font-size: 0.85rem; color: rgba(255,255,255,0.4); }

/* ---------- mac showcase + terminal split ---------- */
.mac-showcase { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; margin-top: 3rem; }
.mac-menu { width: 360px; }
.mac-menu img { width: 100%; }
.term-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; margin-top: 4.5rem; }
.term-split .term { border-radius: 14px; box-shadow: inset 0 0 0 1px var(--hairline-light), var(--shadow-lift); width: 100%; }
.term-copy h3 { font-size: 1.3rem; }
.term-copy p { margin-top: 0.7rem; color: rgba(0,0,0,0.62); font-size: 1rem; }
.seg { display: inline-flex; background: rgba(0,0,0,0.05); border-radius: 999px; padding: 3px; gap: 2px; }
.seg-btn {
  font: inherit; font-size: 0.82rem; font-weight: 600; border: none; cursor: pointer;
  background: transparent; color: rgba(0,0,0,0.55); padding: 0.4rem 1.1rem; border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.seg-btn.is-on { background: #fff; color: #000; box-shadow: 0 1px 2px rgba(0,0,0,0.08); }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.card { background: var(--card); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--hairline-light); padding: 1.6rem; }
.card p { margin-top: 0.5rem; font-size: 0.95rem; color: rgba(0,0,0,0.62); }

/* ---------- notch ---------- */
.notch-wrap { margin-top: 3rem; display: flex; justify-content: center; }
.notch-stage { position: relative; padding-top: 26px; }
.notch-pill {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 180px; height: 26px; background: #000; border-radius: 0 0 16px 16px;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.06);
}
.notch-hud {
  border-radius: 22px; overflow: hidden; width: 390px;
  box-shadow: inset 0 0 0 1px var(--hairline-dark), 0 40px 80px -30px rgba(0,0,0,0.7);
}
.notch-hud img { width: 100%; display: block; }
.center-aside { margin: 2rem auto 0; max-width: 36rem; }

/* ---------- split sections ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center; }
.split-rev .split-copy { order: 1; }
.split-rev .split-shots { order: 2; }
.feature-list { margin-top: 1.8rem; display: grid; gap: 0.85rem; }
.feature-list li { font-size: 0.97rem; color: rgba(0,0,0,0.6); padding-left: 1.4rem; position: relative; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 0.48em; width: 7px; height: 7px; border-radius: 99px; background: var(--accent); }
.feature-list li strong { color: rgba(0,0,0,0.88); font-weight: 650; }
.split-shots { display: flex; gap: 1.4rem; justify-content: center; align-items: center; perspective: 1200px; }
.tilt-l { transform: rotateY(9deg) rotateX(1deg); }
.tilt-r { transform: rotateY(-9deg) rotateX(1deg) translateY(1.6rem); }

/* ---------- watch grid ---------- */
.watch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.watch-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.4rem; }
.watch-card .watch { margin-bottom: 1.1rem; }
.watch-card h3 { color: #fff; }
.watch-card p { font-size: 0.92rem; color: rgba(255,255,255,0.6); max-width: 22ch; }
.complication-row { margin-top: 3.5rem; display: flex; gap: 2rem; align-items: center; justify-content: center; flex-wrap: wrap; }
.complication-row img { width: 200px; }
.aside { font-size: 0.95rem; color: rgba(255,255,255,0.5); font-style: italic; max-width: 28rem; }
.band-white .aside, .band-gray .aside { color: rgba(0,0,0,0.5); }

/* ---------- nomad ---------- */
.big-statement { font-size: clamp(2.4rem, 7vw, 4.5rem); line-height: 1.02; margin: 0 auto; }
.nomad-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 3rem auto 0; max-width: 52rem; text-align: left; }
.nomad-step { background: rgba(255,255,255,0.05); border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07); padding: 1.5rem; }
.nomad-step p { margin-top: 0.8rem; font-size: 0.95rem; color: rgba(255,255,255,0.7); }
.nomad-step em { font-style: normal; color: var(--accent); }
.nomad-num { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 999px; background: var(--accent-dim); color: var(--accent); font-weight: 700; box-shadow: inset 0 0 0 1px var(--accent-border); }

/* ---------- privacy ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; text-align: left; }
.trust-card { background: rgba(255,255,255,0.05); border-radius: 20px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07); padding: 1.7rem; }
.trust-card p { margin-top: 0.55rem; font-size: 0.93rem; color: rgba(255,255,255,0.6); }
.trust-card h3 { color: #fff; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; margin-top: 3rem; align-items: stretch; }
.price-card { background: var(--card); border-radius: 22px; box-shadow: inset 0 0 0 1px var(--hairline-light); padding: 1.8rem 1.5rem; position: relative; display: flex; flex-direction: column; }
.price-featured { background: var(--dark); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); }
.badge-top { position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%); background: var(--accent); color: #04130C; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; padding: 0.25rem 0.7rem; border-radius: 999px; }
.price { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; margin-top: 0.4rem; }
.price-tag { font-size: 0.86rem; color: rgba(0,0,0,0.55); margin-bottom: 1.1rem; min-height: 2.4em; }
.price-featured .price-tag { color: rgba(255,255,255,0.6); }
.price-card ul { display: grid; gap: 0.5rem; margin-bottom: 1.6rem; flex: 1; }
.price-card li { font-size: 0.86rem; color: rgba(0,0,0,0.62); padding-left: 1.3rem; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.price-featured li { color: rgba(255,255,255,0.68); }
.price-featured li strong, .price-card li strong { font-weight: 650; }
.price-featured li strong { color: rgba(255,255,255,0.92); }
.buy { font: inherit; font-weight: 600; font-size: 0.92rem; border: none; cursor: pointer; border-radius: 999px; height: 2.8rem; padding: 0 1.2rem; width: 100%; transition: transform 0.15s ease, background 0.2s; }
.buy:hover { transform: scale(1.02); }
.buy-solid { background: #fff; color: #000; }
.buy-ghost { background: rgba(0,0,0,0.06); color: #000; box-shadow: inset 0 0 0 1px var(--hairline-light); }
.buy-ghost:hover { background: rgba(0,0,0,0.1); }
.team-strip { margin-top: 1.1rem; background: var(--card); border-radius: 22px; box-shadow: inset 0 0 0 1px var(--hairline-light); padding: 1.7rem 2rem; display: flex; gap: 2rem; align-items: center; justify-content: space-between; }
.team-strip p { font-size: 0.92rem; color: rgba(0,0,0,0.6); margin-top: 0.3rem; max-width: 40rem; }
.team-strip .buy { width: auto; flex-shrink: 0; }

/* ---------- FAQ ---------- */
#faq details { background: #fff; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--hairline-light); padding: 1.1rem 1.4rem; margin-top: 0.8rem; }
#faq details:first-of-type { margin-top: 2.4rem; }
#faq summary { font-weight: 600; cursor: pointer; list-style: none; position: relative; padding-right: 2rem; }
#faq summary::-webkit-details-marker { display: none; }
#faq summary::after { content: "+"; position: absolute; right: 0.2rem; top: 0; font-weight: 500; color: rgba(0,0,0,0.4); transition: transform 0.2s; }
#faq details[open] summary::after { transform: rotate(45deg); }
#faq details p { margin-top: 0.7rem; font-size: 0.95rem; color: rgba(0,0,0,0.62); }

/* ---------- footer ---------- */
.footer { padding-top: 4rem; padding-bottom: 2.5rem; }
.footer-row { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; border-top: 1px solid var(--hairline-dark); padding-top: 2.5rem; }
.foot-note { font-size: 0.9rem; color: rgba(255,255,255,0.45); max-width: 26rem; flex: 1; }
.foot-links { display: flex; gap: 0.3rem; }
.foot-links a { padding: 0.4rem 0.9rem; border-radius: 999px; font-size: 0.88rem; color: rgba(255,255,255,0.7); }
.foot-links a:hover { background: rgba(255,255,255,0.1); }
.copyright { text-align: center; margin-top: 2.5rem; font-size: 0.8rem; color: rgba(255,255,255,0.3); }

/* ---------- floating dock ---------- */
.dock {
  position: fixed; bottom: 1.2rem; left: 50%;
  transform: translateX(-50%) translateY(120px) scale(0.9); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 0.8rem;
  background: rgba(10,10,12,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: 999px; padding: 0.55rem 0.6rem 0.55rem 0.9rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12), 0 8px 30px rgba(0,0,0,0.35);
  transition: transform 0.35s cubic-bezier(0.2,0.9,0.3,1.2), opacity 0.3s; z-index: 50;
}
.dock.show { transform: translateX(-50%) translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.dock img { border-radius: 7px; }
.dock-name { color: #fff; font-weight: 650; font-size: 0.95rem; }
.cta-small { height: 2.5rem; font-size: 0.9rem; padding: 0 0.35rem 0 1rem; }
.cta-small .cta-price { padding: 0.3rem 0.7rem; font-size: 0.8rem; }

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 5.5rem; left: 50%; transform: translateX(-50%) translateY(10px);
  background: #fff; color: #000; font-size: 0.92rem; font-weight: 500;
  border-radius: 14px; padding: 0.9rem 1.3rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25), inset 0 0 0 1px var(--hairline-light);
  opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s; z-index: 60;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast a { color: #000; font-weight: 650; text-decoration: underline; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2,0.7,0.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .band { padding: 4.5rem 1.2rem; }
  .nav-links a:not(.nav-gh) { display: none; }
  .hero-collage { height: auto; display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
  .hero-collage > div { position: static; transform: none !important; }
  .hero-watch { display: none; }
  .mac-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .mac-split-copy { text-align: center; }
  .bento { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-rev .split-copy { order: 0; }
  .tilt-l, .tilt-r { transform: none; }
  .notch-hud { width: 90vw; max-width: 390px; }
  .watch-grid, .trust-grid, .nomad-steps { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .team-strip { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .price-grid { grid-template-columns: 1fr; }
  .split-shots { flex-direction: column; }
}
