/* ============================================
   DYNI — Apple-like, mostly B&W with orange accent
   ============================================ */

:root {
  --black: #000000;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --ink-3: #6e6e73;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --bg: #ffffff;
  --bg-alt: #fbfbfd;
  --bg-dark: #000000;
  --paper: #ffffff;
  --paper-dim: #f5f5f7;
  --paper-muted: #86868b;
  --orange: #FF5B1F;
  --orange-soft: rgba(255, 91, 31, 0.08);

  --nav-bg: rgba(255, 255, 255, 0.72);
  --nav-border: rgba(0, 0, 0, 0.08);
  --card-bg: var(--bg-alt);
  --card-border: var(--line-soft);
}

[data-theme="dark"] {
  --ink: #f5f5f7;
  --ink-2: #c8c8cd;
  --ink-3: #86868b;
  --line: #2a2a2e;
  --line-soft: #1f1f23;
  --bg: #0a0a0b;
  --bg-alt: #131316;
  --bg-dark: #000000;
  --paper: #ffffff;
  --paper-dim: #d2d2d7;
  --paper-muted: #86868b;
  --orange-soft: rgba(255, 91, 31, 0.14);

  --nav-bg: rgba(10, 10, 11, 0.72);
  --nav-border: rgba(255, 255, 255, 0.08);
  --card-bg: #131316;
  --card-border: #232327;
}

  /* Typography — Apple-like (SF Pro Display style via system fallback) */
  --sans: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --text: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'SF Mono', 'JetBrains Mono', ui-monospace, monospace;

  --pad-x: clamp(22px, 6vw, 88px);
  --section-y: clamp(120px, 18vh, 240px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-cinema: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--text);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.47;
  overflow-x: hidden;
  letter-spacing: -0.01em;
  transition: background .35s var(--ease-out), color .35s var(--ease-out);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img { display: block; max-width: 100%; }

/* Type system — Apple style */
h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
h1.display {
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
}
h2.section-title {
  font-size: clamp(40px, 5.6vw, 80px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
h3.feature-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--orange);
  letter-spacing: -0.005em;
  text-transform: none;
}

.subline {
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

body[data-density="compact"] { --section-y: clamp(80px, 12vh, 150px); --pad-x: clamp(18px, 4vw, 56px); }

/* ============ NAV (Apple style) ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 22px;
  height: 48px;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--nav-border);
  transition: background .35s var(--ease-out), border-color .35s var(--ease-out);
  display: flex; justify-content: center;
}
.nav-inner {
  width: 100%;
  max-width: 1024px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px;
  color: var(--ink);
}
.nav-brand { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; }
.nav-brand .mark {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 13px; opacity: 0.85; transition: opacity .25s; }
.nav-links a:hover { opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 24px; font-size: 13px; }
.lang-toggle { display: inline-flex; gap: 0; font-size: 12px; color: var(--ink-3); }
.lang-toggle button { padding: 4px 6px; transition: color .2s; }
.lang-toggle button.active { color: var(--ink); font-weight: 500; }
.nav-cta {
  color: var(--ink);
  font-weight: 500;
}
.nav-cta:hover { color: var(--orange); }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ============ HERO (Apple-style centered) ============ */
.hero {
  min-height: 100vh;
  position: relative;
  padding: 100px var(--pad-x) 40px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  background: var(--bg);
}
.hero-eyebrow {
  font-size: 21px;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.hero-headline {
  margin-top: 24px;
  position: relative;
  z-index: 2;
  max-width: 1100px;
}
.hero-headline h1 .accent {
  color: var(--ink-3);
  font-weight: 600;
}
.hero-sub {
  margin-top: 24px;
  max-width: 720px;
  margin-left: auto; margin-right: auto;
  font-size: clamp(19px, 2vw, 24px);
  color: var(--ink-2);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.hero-actions {
  display: flex; gap: 24px; align-items: center; justify-content: center;
  margin-top: 32px;
  font-size: 17px;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  background: var(--orange);
  color: #fff;
  border-radius: 980px;
  font-weight: 500;
  font-size: 15px;
  transition: background .25s;
}
.btn-primary:hover { background: #ff7340; }
.btn-link {
  color: var(--orange);
  font-size: 15px;
  font-weight: 400;
  display: inline-flex; align-items: center; gap: 4px;
}
.btn-link:hover { text-decoration: underline; }
.btn-link::after {
  content: '›';
  margin-left: 2px;
  transition: transform .2s;
}
.btn-link:hover::after { transform: translateX(2px); }

.hero-meta {
  margin-top: 16px;
  font-size: 12px;
  color: var(--paper-muted);
  letter-spacing: 0;
}

/* MacBook stage */
.macbook-stage {
  position: relative;
  width: 100%;
  margin-top: 60px;
  perspective: 2000px;
  z-index: 1;
}

/* Hide previous hero radio waves entirely */
.hero-radio { display: none; }

.notch-hint {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--paper-muted);
  letter-spacing: 0;
  opacity: 0;
  transition: opacity .6s ease;
  white-space: nowrap;
  pointer-events: none;
}
.notch-hint.show { opacity: 0.85; }
.notch-hint::before {
  content: '↓';
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  text-align: center;
  animation: hintbob 1.6s var(--ease-in-out) infinite;
}
@keyframes hintbob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ============ Section structure ============ */
section { position: relative; }
.section-pad { padding: var(--section-y) var(--pad-x); }

.section-head {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 96px;
}
.section-head .eyebrow { display: block; margin-bottom: 6px; }
.section-head .subline { margin-top: 24px; }

.bg-alt { background: var(--bg-alt); }
.bg-dark { background: var(--bg-dark); color: var(--paper); }
.bg-dark .section-head .subline { color: var(--paper-muted); }

/* ============ Sticky features (mostly white) ============ */
.features {
  background: var(--bg);
}
.features-track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.features-sticky {
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.features-list { display: flex; flex-direction: column; gap: 0; }
.feature-block {
  min-height: 80vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 40px 0;
}
.feature-block .num {
  font-size: 13px;
  font-weight: 500;
  color: var(--orange);
  margin-bottom: 16px;
  letter-spacing: -0.005em;
}
.feature-block .feature-title { margin-bottom: 20px; color: var(--ink); }
.feature-block p {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 44ch;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.feature-block .tags {
  display: flex; gap: 8px; margin-top: 28px; flex-wrap: wrap;
}
.feature-block .tag {
  font-size: 12px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 980px;
  color: var(--ink-3);
  font-weight: 400;
}

@media (max-width: 960px) {
  .features-track { grid-template-columns: 1fr; gap: 24px; }
  .features-sticky { position: relative; height: auto; padding: 40px 0; }
  .feature-block { min-height: auto; padding: 60px 0; }
}

/* ============ Roadmap (clean grid) ============ */
.roadmap {
  background: var(--bg-alt);
}
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.roadmap-item {
  padding: 56px;
  background: var(--card-bg);
  border-radius: 22px;
  position: relative;
  border: 1px solid var(--card-border);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background .35s var(--ease-out), border-color .35s var(--ease-out);
}
.roadmap-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.04);
}
.roadmap-item .status {
  position: absolute; top: 28px; right: 28px;
  font-size: 12px;
  color: var(--orange);
  font-weight: 500;
  display: flex; align-items: center; gap: 6px;
}
.roadmap-item .status .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s var(--ease-in-out) infinite;
}
.roadmap-item .roadmap-num {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 24px;
}
.roadmap-item h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  color: var(--ink);
}
.roadmap-item p {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.01em;
}

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

@media (max-width: 720px) {
  .roadmap-grid { grid-template-columns: 1fr; }
  .roadmap-item { padding: 36px 28px; }
}

/* ============ Vision (black, clean Apple quote) ============ */
.vision {
  padding: clamp(140px, 20vh, 260px) var(--pad-x);
  background: #000;
  color: #fff;
  text-align: center;
}
.vision-inner {
  max-width: 980px;
  margin: 0 auto;
}
.vision .eyebrow { color: var(--orange); margin-bottom: 32px; display: block; }
.vision-quote {
  font-family: var(--sans);
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: #fff;
}
.vision-quote .accent { color: var(--orange); }
.vision-quote .muted { color: var(--paper-muted); }
.vision-credit {
  margin-top: 56px;
  font-size: 13px;
  color: var(--paper-muted);
  font-weight: 400;
}

/* ============ Pricing (Apple style cards) ============ */
.pricing {
  background: var(--bg);
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.price-card {
  padding: 40px 36px 36px;
  border-radius: 22px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .35s var(--ease-out), background .35s var(--ease-out), border-color .35s var(--ease-out);
}
.price-card:hover { transform: translateY(-2px); }
.price-card.featured {
  background: #000;
  color: #fff;
  border-color: #000;
}
[data-theme="dark"] .price-card.featured {
  background: #1c1c1f;
  border-color: #2d2d33;
}
.price-card.featured .price-name { color: #fff; }
.price-card.featured .price-sub { color: var(--paper-muted); }
.price-card.featured .price-meta { color: var(--paper-muted); }
.price-card.featured .price-feat { color: var(--paper-dim); }
.price-card.featured .price-amount .period { color: var(--paper-muted); }

.price-tag {
  position: absolute; top: 24px; right: 24px;
  font-size: 11px;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--orange);
  background: var(--orange-soft);
  padding: 4px 10px;
  border-radius: 980px;
}
.price-card.featured .price-tag {
  background: rgba(255, 91, 31, 0.18);
}
.price-name {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: var(--ink);
}
.price-sub {
  font-size: 14px;
  color: var(--ink-3);
  font-weight: 400;
  margin-bottom: 32px;
}
.price-amount {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 8px;
}
.price-amount .num {
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-amount .currency {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.price-amount .period {
  font-size: 14px;
  color: var(--ink-3);
  margin-left: 6px;
  font-weight: 400;
}
.price-meta {
  font-size: 13px;
  color: var(--ink-3);
  min-height: 18px;
  margin-bottom: 32px;
  font-weight: 400;
}
.price-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 36px;
  flex-grow: 1;
}
.price-feat {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px;
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: -0.005em;
}
.price-feat .check {
  color: var(--orange);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}
.price-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 22px;
  background: var(--orange);
  color: #fff;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  transition: background .25s;
}
.price-cta:hover { background: #ff7340; }
.price-card:not(.featured) .price-cta {
  background: var(--ink);
  color: var(--bg);
}
.price-card:not(.featured) .price-cta:hover { background: #2d2d30; }
[data-theme="dark"] .price-card:not(.featured) .price-cta:hover { background: #e8e8ed; }

@media (max-width: 900px) {
  .pricing-cards { grid-template-columns: 1fr; }
}

/* ============ FAQ ============ */
.faq {
  background: var(--bg-alt);
}
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 4px;
  cursor: pointer;
}
.faq-item .q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  transition: color .3s;
}
.faq-item:hover .q { color: var(--orange); }
.faq-item .toggle {
  font-size: 18px;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--ink-3);
  transition: transform .4s var(--ease-out), color .3s;
}
.faq-item.open .toggle {
  transform: rotate(45deg);
  color: var(--orange);
}
.faq-item .a {
  max-height: 0; overflow: hidden;
  transition: max-height .5s var(--ease-out), margin .5s var(--ease-out);
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 60ch;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.faq-item.open .a {
  max-height: 300px;
  margin-top: 16px;
}

/* ============ Final CTA ============ */
.final-cta {
  padding: clamp(160px, 24vh, 300px) var(--pad-x);
  background: var(--bg);
  text-align: center;
}
.final-cta h2 {
  font-size: clamp(40px, 6vw, 88px);
  letter-spacing: -0.035em;
  font-weight: 600;
  line-height: 1.05;
  max-width: 16ch;
  margin: 0 auto;
}
.final-cta p {
  margin-top: 20px;
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: -0.015em;
}
.final-cta .hero-actions { margin-top: 36px; }

/* ============ Footer ============ */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line-soft);
  padding: 48px var(--pad-x) 32px;
  font-size: 12px;
  color: var(--ink-3);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-soft);
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--ink-3); transition: color .25s; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; }
.footer-tag {
  font-size: 13px;
  color: var(--ink-2);
  max-width: 36ch;
  line-height: 1.5;
  font-weight: 400;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  font-size: 12px;
  color: var(--ink-3);
  flex-wrap: wrap; gap: 12px;
}

@media (max-width: 800px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

/* Selection */
::selection { background: var(--orange); color: #fff; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-cinema), transform 1s var(--ease-cinema); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Hide things from old design we don't need */
.marquee { display: none; }
.footer-mega { display: none; }
.hero-meta { display: block; }

/* ============ Theme Toggle ============ */
.theme-toggle {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  position: relative;
  transition: color .25s, background .25s;
}
.theme-toggle:hover { color: var(--orange); background: var(--orange-soft); }
.theme-toggle svg {
  width: 16px; height: 16px;
  transition: transform .5s var(--ease-cinema), opacity .3s ease;
  position: absolute;
}
.theme-toggle .icon-sun { opacity: 1; transform: rotate(0deg) scale(1); }
.theme-toggle .icon-moon { opacity: 0; transform: rotate(-90deg) scale(0.6); }
[data-theme="dark"] .theme-toggle .icon-sun { opacity: 0; transform: rotate(90deg) scale(0.6); }
[data-theme="dark"] .theme-toggle .icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }

/* ============ Pricing — Enterprise card ============ */
.pricing-cards { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1180px) { .pricing-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pricing-cards { grid-template-columns: 1fr; } }

.price-card.enterprise {
  background: transparent;
  border: 1px dashed var(--line);
}
[data-theme="dark"] .price-card.enterprise {
  border-color: #3a3a40;
}
.price-card.enterprise .price-amount {
  align-items: baseline;
}
.price-card.enterprise .price-amount .num {
  font-size: 36px;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.price-card.enterprise .price-cta {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.price-card.enterprise .price-cta:hover {
  background: var(--ink);
  color: var(--bg);
}
[data-theme="dark"] .price-card.enterprise .price-cta {
  border-color: var(--ink);
  color: var(--ink);
}
.price-card.enterprise .enterprise-mark {
  position: absolute; top: 24px; right: 24px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.price-card.enterprise .enterprise-mark::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-3);
}

/* ============ Contact Modal ============ */
.contact-overlay {
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease-out);
}
.contact-overlay.open { opacity: 1; pointer-events: auto; }
.contact-modal {
  width: 100%;
  max-width: 560px;
  background: var(--bg);
  color: var(--ink);
  border-radius: 22px;
  padding: 40px 40px 32px;
  border: 1px solid var(--card-border);
  box-shadow: 0 40px 80px rgba(0,0,0,0.25);
  transform: translateY(16px) scale(0.98);
  transition: transform .45s var(--ease-cinema);
  position: relative;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
.contact-overlay.open .contact-modal { transform: translateY(0) scale(1); }
.contact-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-3);
  font-size: 18px;
  transition: background .2s, color .2s;
}
.contact-close:hover { background: var(--bg-alt); color: var(--ink); }
.contact-modal .modal-eyebrow {
  font-size: 12px;
  font-weight: 500;
  color: var(--orange);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.contact-modal h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 8px;
}
.contact-modal .modal-sub {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
  margin-bottom: 28px;
  max-width: 44ch;
}
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
  letter-spacing: 0;
}
.field input,
.field textarea,
.field select {
  font-family: var(--text);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 11px 14px;
  letter-spacing: -0.005em;
  transition: border-color .2s, background .2s;
  width: 100%;
  outline: none;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--orange);
  background: var(--bg);
}
.contact-modal .submit-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 12px; gap: 16px; flex-wrap: wrap;
}
.contact-modal .submit-note {
  font-size: 12px;
  color: var(--ink-3);
  max-width: 28ch;
  line-height: 1.45;
}
.contact-modal .submit-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  background: var(--orange);
  color: #fff;
  border-radius: 980px;
  font-weight: 500;
  font-size: 15px;
  transition: background .25s;
}
.contact-modal .submit-btn:hover { background: #ff7340; }
.contact-success {
  text-align: center;
  padding: 8px 0 4px;
}
.contact-success .ok {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}
/* MacBook + Notch — drawn in pure CSS+SVG */

.macbook {
  width: min(90vw, 1100px);
  margin: 0 auto;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Outer body / lid */
.mb-lid {
  position: relative;
  background: linear-gradient(180deg, #2A2826 0%, #1A1816 100%);
  border-radius: 22px 22px 6px 6px;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 60px 120px rgba(0,0,0,0.6),
    0 30px 60px rgba(0,0,0,0.4);
}
.mb-screen {
  position: relative;
  background: #000;
  border-radius: 12px;
  aspect-ratio: 16 / 10.4;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.03);
}
/* Wallpaper */
.mb-wallpaper {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,91,31,0.18), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255,91,31,0.10), transparent 60%),
    linear-gradient(135deg, #1a1411 0%, #0a0908 50%, #100806 100%);
}
.mb-wallpaper::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0.5;
}

/* Menu bar */
.mb-menubar {
  position: absolute; top: 0; left: 0; right: 0;
  height: 28px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  z-index: 5;
  background: linear-gradient(180deg, rgba(0,0,0,0.4), transparent);
}
.mb-menubar .left, .mb-menubar .right { display: flex; gap: 14px; align-items: center; }
.mb-menubar .apple { font-size: 13px; }
.mb-menubar .item { opacity: 0.85; }
.mb-menubar .icon { width: 14px; height: 14px; opacity: 0.8; display: inline-block; }

/* Bottom edge */
.mb-base {
  position: relative;
  height: 14px;
  margin: 0 auto;
  width: 102%;
  margin-left: -1%;
  background: linear-gradient(180deg, #1f1d1b 0%, #0e0d0c 100%);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.mb-base::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 18%; height: 4px;
  background: linear-gradient(180deg, #0a0908 0%, #1a1816 100%);
  border-radius: 0 0 6px 6px;
}

/* ==================== NOTCH ==================== */
.notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 28px;
  width: 180px;
  background: #000;
  border-radius: 0 0 14px 14px;
  z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: width 0.9s var(--ease-cinema), height 0.9s var(--ease-cinema), border-radius 0.9s var(--ease-cinema);
  overflow: hidden;
  box-shadow:
    inset 0 -1px 0 rgba(255,255,255,0.04),
    0 0 30px rgba(0,0,0,0.6);
}

/* Camera dot */
.notch .camera {
  position: absolute;
  top: 9px; right: 36px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #0a0a0a;
  box-shadow: inset 0 0 2px rgba(255,255,255,0.1);
  transition: opacity .3s;
}
.notch .camera::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,91,31,0.6) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .5s;
}
.notch.active .camera::after { opacity: 1; }

/* When opened */
.notch.expanded {
  width: min(82%, 880px);
  height: 220px;
  border-radius: 0 0 28px 28px;
}
.notch.expanded .camera { opacity: 0; }

/* Notch content (per-feature) */
.notch-content {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .6s var(--ease-cinema);
  padding: 24px 32px;
}
.notch.expanded .notch-content { opacity: 1; transition-delay: .4s; }

/* Idle pulse on the closed notch */
.notch:not(.expanded) .notch-pulse {
  position: absolute;
  bottom: 6px; left: 50%;
  transform: translateX(-50%);
  width: 30%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0.6;
  border-radius: 2px;
  animation: notchpulse 2.4s var(--ease-in-out) infinite;
}
.notch.expanded .notch-pulse { display: none; }
@keyframes notchpulse {
  0%, 100% { opacity: 0.2; transform: translateX(-50%) scaleX(0.6); }
  50% { opacity: 0.9; transform: translateX(-50%) scaleX(1); }
}

/* ==================== Notch content variants ==================== */

/* PLANNING */
.nc-planning {
  display: grid;
  grid-template-columns: 56px 1fr 1fr;
  gap: 18px;
  width: 100%;
  height: 100%;
  align-items: stretch;
  color: #fff;
  font-family: -apple-system, system-ui, sans-serif;
}
.nc-sidebar { display: flex; flex-direction: column; gap: 10px; align-items: center; padding-top: 4px; }
.nc-sidebar .ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  transition: background .3s;
}
.nc-sidebar .ico.active {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 0 20px rgba(255,91,31,0.5);
}
.nc-col h4 {
  font-size: 13px; font-weight: 500;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.95);
  display: flex; justify-content: space-between; align-items: center;
}
.nc-col h4 .badge {
  font-size: 10px; padding: 2px 8px; border-radius: 100px;
  background: rgba(255,91,31,0.2); color: var(--orange);
  font-weight: 500;
}
.nc-task { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 12px; }
.nc-task .check {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  flex-shrink: 0;
}
.nc-task.done .check { background: var(--orange); border-color: var(--orange); }
.nc-task.done span { color: rgba(255,255,255,0.4); text-decoration: line-through; }
.nc-task .badge-sm {
  font-size: 9px; padding: 2px 6px; border-radius: 6px;
  background: rgba(255,91,31,0.2); color: var(--orange);
  margin-left: auto;
}

/* QUICKDROP */
.nc-quickdrop {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  width: 100%;
  height: 100%;
  color: #fff;
  font-family: -apple-system, system-ui, sans-serif;
}
.nc-drop-area {
  border: 1.5px dashed rgba(255,91,31,0.4);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  position: relative;
  background: linear-gradient(135deg, rgba(255,91,31,0.05), transparent);
}
.nc-drop-area .label {
  font-size: 13px; color: rgba(255,255,255,0.5);
  text-align: center;
}
.nc-drop-area .files {
  display: flex; gap: 12px; align-items: center;
}
.nc-file {
  width: 48px; height: 60px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 6px;
  font-size: 9px; color: rgba(255,255,255,0.6);
}
.nc-file::before {
  content: '';
  position: absolute; top: 0; right: 0;
  border-style: solid;
  border-width: 0 10px 10px 0;
  border-color: transparent rgba(255,255,255,0.05) transparent transparent;
}
.nc-file.dropping {
  animation: dropIn .8s var(--ease-out);
  border-color: var(--orange);
  box-shadow: 0 0 20px rgba(255,91,31,0.3);
}
@keyframes dropIn {
  0% { transform: translateY(-30px) scale(0.8); opacity: 0; }
  60% { transform: translateY(4px) scale(1.05); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* MUSIC */
.nc-music {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  width: 100%;
  height: 100%;
  color: #fff;
  align-items: center;
  font-family: -apple-system, system-ui, sans-serif;
}
.nc-music-content { display: flex; gap: 16px; align-items: center; }
.nc-album {
  width: 100px; height: 100px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2a1a08, #0a0908);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(255,91,31,0.3);
}
.nc-album::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, var(--orange) 0%, transparent 60%),
    radial-gradient(circle at 70% 70%, #fff 0%, transparent 30%);
  opacity: 0.6;
  mix-blend-mode: screen;
}
.nc-music-info { flex: 1; min-width: 0; }
.nc-music-title { font-size: 16px; font-weight: 600; margin-bottom: 2px; }
.nc-music-artist { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 14px; }
.nc-progress {
  height: 3px; background: rgba(255,255,255,0.1); border-radius: 2px;
  position: relative; margin-bottom: 8px;
}
.nc-progress-fill { height: 100%; background: var(--orange); border-radius: 2px; box-shadow: 0 0 8px var(--orange); }
.nc-music-controls { display: flex; gap: 16px; color: rgba(255,255,255,0.7); font-size: 14px; }
.nc-music-bars { display: flex; gap: 2px; align-items: flex-end; height: 16px; margin-left: auto; }
.nc-music-bars span {
  width: 2px; background: var(--orange); border-radius: 1px;
  animation: bars 0.8s var(--ease-in-out) infinite alternate;
}
.nc-music-bars span:nth-child(1) { animation-delay: 0s; height: 30%; }
.nc-music-bars span:nth-child(2) { animation-delay: 0.15s; height: 70%; }
.nc-music-bars span:nth-child(3) { animation-delay: 0.3s; height: 50%; }
.nc-music-bars span:nth-child(4) { animation-delay: 0.1s; height: 90%; }
.nc-music-bars span:nth-child(5) { animation-delay: 0.25s; height: 40%; }
@keyframes bars {
  from { height: 20%; }
  to { height: 100%; }
}

/* FOCUS */
.nc-focus {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 18px;
  width: 100%;
  height: 100%;
  color: #fff;
  align-items: center;
  font-family: -apple-system, system-ui, sans-serif;
}
.nc-focus-input {
  display: flex; flex-direction: column; gap: 12px;
}
.nc-focus-task {
  font-size: 16px;
  color: rgba(255,255,255,0.95);
}
.nc-focus-task .placeholder { color: rgba(255,255,255,0.4); font-style: italic; }
.nc-focus-task .typing::after {
  content: '|';
  animation: caret 1s steps(2) infinite;
  color: var(--orange);
  margin-left: 1px;
}
@keyframes caret { 50% { opacity: 0; } }
.nc-focus-duration { font-size: 11px; color: rgba(255,255,255,0.5); display: flex; align-items: center; gap: 8px; }
.nc-focus-slider {
  width: 140px; height: 3px; background: rgba(255,255,255,0.1); border-radius: 2px; position: relative;
}
.nc-focus-slider::after {
  content: '';
  position: absolute;
  top: -4px; left: 38%;
  width: 11px; height: 11px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255,91,31,0.6);
}
.nc-focus-apps { display: flex; gap: 6px; margin-top: 8px; }
.nc-focus-apps .app {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.06);
}
.nc-play {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 30px rgba(255,91,31,0.5);
}
.nc-play svg { fill: #000; margin-left: 3px; }

/* Focus progress bar (under closed notch) */
.notch-focus-bar {
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
  border-radius: 0 0 2px 2px;
  transition: width .4s var(--ease-out);
}

/* Notch hint */
.notch-hint {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--paper-muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .6s ease;
  white-space: nowrap;
  pointer-events: none;
}
.notch-hint.show { opacity: 0.8; }
.notch-hint::before {
  content: '↓';
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  text-align: center;
  animation: hintbob 1.6s var(--ease-in-out) infinite;
}
@keyframes hintbob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* Mobile adjustments */
@media (max-width: 720px) {
  .notch.expanded { width: 92%; height: 200px; }
  .nc-planning, .nc-quickdrop, .nc-music, .nc-focus { grid-template-columns: 48px 1fr; gap: 12px; }
  .nc-planning { grid-template-columns: 48px 1fr; }
  .nc-planning .nc-col:nth-child(3) { display: none; }
  .nc-album { width: 70px; height: 70px; }
  .nc-music-title { font-size: 14px; }
  .nc-play { width: 44px; height: 44px; }
}
/* Mini MacBook used inside the sticky features section — Apple-like */

.mini-mac {
  width: 100%;
  max-width: 540px;
}
.mini-mac-frame {
  background: linear-gradient(180deg, #2A2826 0%, #1A1816 100%);
  border-radius: 14px;
  padding: 8px;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.06),
    0 30px 60px rgba(0,0,0,0.12),
    0 12px 24px rgba(0,0,0,0.08);
}
.mini-notch {
  background: #000;
  border-radius: 14px;
  height: 200px;
  overflow: hidden;
  position: relative;
}
.feature-counter {
  display: flex;
  gap: 6px;
  margin-top: 28px;
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
}
.feature-counter .num { color: var(--orange); }
.feature-counter .sep { opacity: 0.4; }

.feature-block { transition: opacity .6s var(--ease-out); opacity: 0.35; }
.feature-block.is-active { opacity: 1; }

@media (max-width: 960px) {
  .mini-mac { max-width: 100%; }
  .feature-block { opacity: 1; }
}
