/* ═══════════════════════════════════════════════════════
   SCHICHTWERK – WEBSITE
   ═══════════════════════════════════════════════════════ */

/* ── Reset & Custom Properties ─────────────────────── */
:root {
  --primary: #35506f;
  --primary-dark: #1e2a3a;
  --primary-light: #4a7ab5;
  --text: #111827;
  --text-secondary: #6b7280;
  --text-tertiary: #9ca3af;
  --bg: #ffffff;
  --bg-subtle: #f9fafb;
  --bg-muted: #f3f4f6;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.1);
  --shadow-xl: 0 20px 50px rgba(0,0,0,.12);
  --max-w: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
}

.hidden { display: none !important; }
img { max-width: 100%; height: auto; display: block; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s, opacity .15s;
  line-height: 1.4;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-light); }
.btn--secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn--secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn--ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--ghost:hover { background: var(--primary); color: #fff; }
.btn--white { background: #fff; color: var(--primary-dark); }
.btn--white:hover { background: #f0f2f5; }
.btn--lg { padding: 16px 36px; font-size: 16px; }
.btn--full { width: 100%; }
.btn--outline { background: transparent; color: var(--primary); border-color: var(--border); }
.btn--outline:hover { border-color: var(--primary); }

/* ── Navigation ────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background .2s, box-shadow .2s, padding .2s;
}
.nav--scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  padding: 10px 0;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img { width: 32px; height: 32px; border-radius: 8px; }
.nav-center { display: flex; align-items: center; gap: 32px; }
.nav-center a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color .15s;
}
.nav-center a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
#nav-login-btn {
  background: none; border: none; font-family: inherit;
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  cursor: pointer; padding: 8px 4px; transition: color .15s;
}
#nav-login-btn:hover { color: var(--text); }
.nav-cta-btn {
  display: inline-flex; align-items: center;
  padding: 8px 20px; background: var(--primary); color: #fff;
  border-radius: var(--radius); font-size: 14px; font-weight: 600;
  text-decoration: none; transition: background .15s;
}
.nav-cta-btn:hover { background: var(--primary-light); }

/* Nav User */
.nav-user {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; padding: 6px 12px;
  border-radius: var(--radius); transition: background .12s;
}
.nav-user:hover { background: var(--bg-subtle); }
.nav-user-avatar {
  width: 30px; height: 30px; background: var(--primary); color: #fff;
  border-radius: 50%; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.nav-user-name { font-size: 14px; font-weight: 600; color: var(--text); }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; background: none; border: none; cursor: pointer;
}
.nav-hamburger span {
  display: block; width: 20px; height: 2px;
  background: var(--text); border-radius: 1px;
}

/* Mobile Nav */
.nav-mobile {
  position: fixed; top: 56px; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  padding: 16px 24px 20px;
  display: flex; flex-direction: column; gap: 4px; z-index: 99;
}
.nav-mobile a, .nav-mobile button {
  display: block; padding: 12px 8px; font-size: 16px; font-weight: 500;
  color: var(--text); text-decoration: none; background: none; border: none;
  font-family: inherit; cursor: pointer; text-align: left;
  border-radius: var(--radius); transition: background .12s;
}
.nav-mobile a:hover, .nav-mobile button:hover { background: var(--bg-subtle); }
.nav-mobile .btn--primary { margin-top: 8px; text-align: center; color: #fff; padding: 14px; }

/* ── Hero ──────────────────────────────────────────── */
.hero {
  padding: 140px 24px 40px;
  text-align: center;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.hero-content {
  max-width: 640px;
  margin: 0 auto 56px;
}
.hero-title {
  font-size: 56px; font-weight: 800; line-height: 1.08;
  letter-spacing: -1.5px; color: var(--primary-dark); margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 19px; color: var(--text-secondary);
  line-height: 1.6; margin-bottom: 36px;
}
.hero-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

/* Hero Product (Browser Frame) */
.hero-product {
  max-width: 100%;
  margin: 0 auto;
}

/* ── Browser Frame ─────────────────────────────────── */
.browser-frame {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}
.browser-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--border);
}
.browser-url {
  flex: 1;
  background: #fff;
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-left: 12px;
  max-width: 280px;
  font-family: inherit;
}
.browser-body {
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}
.browser-body:not(:has(img)) {
  min-height: 520px;
}
.browser-body img {
  width: 100%;
  display: block;
}
.browser-frame--compact .browser-body:not(:has(img)) {
  min-height: 280px;
}
.browser-placeholder {
  text-align: center;
  padding: 60px 24px;
  color: var(--text-tertiary);
}
.browser-placeholder svg {
  width: 48px; height: 48px;
  stroke: var(--border);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin: 0 auto 16px;
}
.browser-placeholder p {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.browser-placeholder span {
  font-size: 13px;
}

.browser-frame--compact .browser-bar { padding: 10px 14px; }
.browser-frame--compact .browser-dot { width: 9px; height: 9px; }
.browser-frame--compact .browser-url { font-size: 12px; padding: 4px 12px; }
.browser-frame--compact .browser-body { min-height: 280px; }

/* ── Section Basics ────────────────────────────────── */
.section {
  padding: 120px 24px;
}
.section--subtle { background: var(--bg-subtle); }
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-title {
  font-size: 36px; font-weight: 700; letter-spacing: -0.5px;
  color: var(--primary-dark); margin-bottom: 16px;
}
.section-subtitle {
  font-size: 18px; color: var(--text-secondary);
  line-height: 1.6; max-width: 560px;
}
.section-header {
  text-align: center; margin-bottom: 64px;
}
.section-header .section-subtitle { margin: 0 auto; }

/* ── Features Intro ────────────────────────────────── */
.features-intro {
  padding: 100px 24px 20px;
  text-align: center;
}
.features-intro p {
  font-size: 14px; font-weight: 600; color: var(--text-tertiary);
  text-transform: uppercase; letter-spacing: 1.5px;
}

/* ── Feature Cards ─────────────────────────────────── */
.feature {
  padding: 24px 24px;
}
.feature-card {
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: center;
}
.feature-card--reversed {
  grid-template-columns: 1.3fr 1fr;
}
.feature-card--reversed .feature-text { order: 2; }
.feature-card--reversed .feature-media { order: 1; }

.feature-text h2 {
  font-size: 26px; font-weight: 700; color: var(--primary-dark);
  margin-bottom: 14px; letter-spacing: -0.3px;
}
.feature-text p {
  font-size: 16px; color: var(--text-secondary); line-height: 1.7;
}
.feature-media {
  display: flex;
  justify-content: center;
}

/* ── Worker App Showcase ───────────────────────────── */
.worker-showcase {
  padding: 120px 24px;
  background: var(--primary-dark);
  overflow: hidden;
}
.worker-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.worker-header {
  text-align: center;
  margin-bottom: 56px;
}
.worker-header h2 {
  font-size: 32px; font-weight: 700; color: #fff;
  margin-bottom: 14px; letter-spacing: -0.3px;
}
.worker-header p {
  font-size: 17px; color: rgba(255,255,255,.55);
  line-height: 1.6; max-width: 520px; margin: 0 auto;
}
.worker-phones {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
}
.worker-phone {
  width: 220px;
  flex-shrink: 0;
}
.worker-phone img {
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.worker-phone:nth-child(even) {
  margin-top: 32px;
}

/* ── Problem / Solution ────────────────────────────── */
.problem {
  padding: 120px 24px;
  background: var(--bg-subtle);
}
.problem-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.problem-title {
  font-size: 32px; font-weight: 700; color: var(--primary-dark);
  margin-bottom: 16px; letter-spacing: -0.3px;
}
.problem-text {
  font-size: 17px; color: var(--text-secondary); line-height: 1.7;
}
.problem-points {
  display: flex; flex-direction: column; gap: 16px;
}
.problem-point {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  font-size: 15px; font-weight: 500; color: var(--text);
}
.problem-point svg {
  width: 22px; height: 22px; stroke: #22c55e;
  stroke-width: 2.5; fill: none; flex-shrink: 0; margin-top: 1px;
}

/* ── Audience ──────────────────────────────────────── */
.audience {
  padding: 120px 24px;
}
.audience-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}
.audience-title {
  font-size: 32px; font-weight: 700; color: var(--primary-dark);
  margin-bottom: 16px; letter-spacing: -0.3px;
}
.audience-text {
  font-size: 17px; color: var(--text-secondary);
  line-height: 1.7; margin-bottom: 40px;
  max-width: 560px; margin-left: auto; margin-right: auto;
}
.audience-tags {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}
.audience-tag {
  padding: 14px 28px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: 15px; font-weight: 600; color: var(--text);
}

/* ── Trust ─────────────────────────────────────────── */
.trust {
  padding: 80px 24px;
  background: var(--bg-subtle);
}
.trust-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.trust-item {
  text-align: center;
  padding: 28px 16px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}
.trust-icon {
  width: 44px; height: 44px;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-subtle);
  border-radius: 10px;
}
.trust-icon svg {
  width: 24px; height: 24px; stroke: var(--primary);
  stroke-width: 1.5; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.trust-label {
  font-size: 14px; font-weight: 600; color: var(--text);
}

/* ── Apps / Downloads ──────────────────────────────── */
.apps {
  padding: 120px 24px;
  background: var(--bg-subtle);
}
.apps-inner {
  max-width: 860px;
  margin: 0 auto;
}
.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
}
.apps-card {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px 28px;
  text-align: center;
  transition: border-color .15s, box-shadow .15s;
}
.apps-card--recommended {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.apps-badge {
  display: none;
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--primary);
  color: #fff;
  font-size: 12px; font-weight: 600;
  letter-spacing: .2px;
  padding: 4px 14px;
  border-radius: 999px;
}
.apps-card--recommended .apps-badge { display: block; }
.apps-os-icon {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-muted);
  border-radius: var(--radius-lg);
  color: var(--primary-dark);
}
.apps-os-icon svg {
  width: 30px; height: 30px;
  fill: currentColor; stroke: none;
}
.apps-card-title {
  font-size: 18px; font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.2px;
  margin-bottom: 6px;
}
.apps-card-meta {
  font-size: 14px; color: var(--text-secondary);
  margin-bottom: 22px;
}
.apps-card-req {
  font-size: 13px; color: var(--text-tertiary);
  margin-top: 12px;
}
.apps-browser {
  text-align: center;
  font-size: 15px; color: var(--text-secondary);
  margin-top: 32px;
}
.apps-browser a {
  color: var(--primary); font-weight: 600; text-decoration: none;
}
.apps-browser a:hover { text-decoration: underline; }
.apps-note {
  max-width: 620px;
  margin: 24px auto 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px 18px;
}
.apps-note summary {
  font-size: 14px; font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  list-style: none;
}
.apps-note summary::-webkit-details-marker { display: none; }
.apps-note summary::before {
  content: "";
  display: inline-block;
  width: 0; height: 0;
  margin-right: 9px;
  vertical-align: 2px;
  border-left: 5px solid var(--text-tertiary);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transition: transform .15s;
}
.apps-note[open] summary::before { transform: rotate(90deg); }
.apps-note p {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 10px;
}

/* ── Pricing ───────────────────────────────────────── */
.pricing {
  padding: 120px 24px;
}
.pricing-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: box-shadow .15s;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-card--popular { border-color: var(--primary); }
.pricing-badge {
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary); color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 4px 16px; border-radius: 20px; white-space: nowrap;
}
.pricing-header { text-align: center; margin-bottom: 24px; }
.pricing-header h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.pricing-price {
  font-size: 40px; font-weight: 800; color: var(--primary-dark); line-height: 1;
}
.pricing-price span { font-size: 16px; font-weight: 500; color: var(--text-secondary); }
.pricing-per { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }
.pricing-min { font-size: 12px; color: var(--text-tertiary); margin-top: 4px; }
.pricing-features { list-style: none; margin: 24px 0; }
.pricing-features li {
  padding: 7px 0; font-size: 14px; color: var(--text);
  border-bottom: 1px solid var(--border-light);
  display: flex; align-items: center; gap: 8px;
}
.pricing-features li::before {
  content: '';
  width: 16px; height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat; flex-shrink: 0;
}
.pricing-features li:has(strong)::before { background: none; width: 0; }
.pricing-features li:last-child { border-bottom: none; }
.pricing-note {
  text-align: center; font-size: 13px;
  color: var(--text-tertiary); margin-top: 32px;
}

/* ── FAQ ───────────────────────────────────────────── */
.faq {
  padding: 120px 24px;
  background: var(--bg-subtle);
}
.faq-inner {
  max-width: 800px;
  margin: 0 auto;
}
.faq-title {
  font-size: 32px; font-weight: 700; color: var(--primary-dark);
  text-align: center; margin-bottom: 48px; letter-spacing: -0.3px;
}
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 22px 0; font-family: inherit; font-size: 16px;
  font-weight: 600; color: var(--text); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q::after {
  content: '+'; font-size: 20px; color: var(--text-tertiary);
  flex-shrink: 0; transition: transform .2s;
}
.faq-item.active .faq-q::after { content: '\2212'; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  font-size: 15px; color: var(--text-secondary); line-height: 1.7;
}
.faq-item.active .faq-a { max-height: 200px; padding-bottom: 22px; }

/* ── Final CTA ─────────────────────────────────────── */
.cta-final {
  padding: 100px 24px;
  background: var(--primary-dark);
  text-align: center;
}
.cta-final-inner {
  max-width: 560px;
  margin: 0 auto;
}
.cta-final h2 {
  font-size: 32px; font-weight: 700; color: #fff;
  margin-bottom: 12px; letter-spacing: -0.3px;
}
.cta-final p {
  font-size: 17px; color: rgba(255,255,255,.55); margin-bottom: 32px;
}

/* ── Footer ────────────────────────────────────────── */
.footer {
  background: var(--primary-dark);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 56px 24px 40px;
  color: rgba(255,255,255,.5);
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top {
  display: flex; justify-content: space-between;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand { flex-shrink: 0; }
.footer-brand-name {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 4px;
}
.footer-brand-name img { width: 28px; height: 28px; border-radius: 7px; }
.footer-brand-sub { font-size: 13px; color: rgba(255,255,255,.3); }
.footer-columns { display: flex; gap: 64px; }
.footer-col h4 {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .5px; color: rgba(255,255,255,.3); margin-bottom: 14px;
}
.footer-col a {
  display: block; color: rgba(255,255,255,.55); text-decoration: none;
  font-size: 14px; padding: 3px 0; transition: color .15s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 24px; font-size: 12px; color: rgba(255,255,255,.25);
}

/* ── Modals ────────────────────────────────────────── */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal.hidden { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.modal-card {
  position: relative; background: #fff;
  border-radius: var(--radius-lg); padding: 32px;
  max-width: 440px; width: 100%; box-shadow: var(--shadow-lg);
}
.modal-card h2 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.modal-sub { color: var(--text-secondary); font-size: 14px; margin-bottom: 20px; }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; font-size: 24px; cursor: pointer;
  color: var(--text-tertiary); width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background .12s;
}
.modal-close:hover { background: var(--bg-subtle); }

/* ── Forms ─────────────────────────────────────────── */
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 5px;
}
.form-group input {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: 15px;
  font-family: inherit; outline: none; transition: border-color .15s;
}
.form-group input:focus { border-color: var(--primary); }
.form-error {
  background: #fef2f2; color: #b91c1c; font-size: 13px;
  padding: 8px 12px; border-radius: var(--radius); margin-bottom: 12px;
}
.signup-summary {
  background: var(--bg-subtle); border-radius: var(--radius);
  padding: 12px 16px; font-size: 14px; margin: 16px 0; text-align: center;
}
.signup-summary span { font-size: 12px; color: var(--text-secondary); }
.signup-legal {
  font-size: 12px; color: var(--text-tertiary);
  text-align: center; margin-top: 12px;
}
.signup-legal a { color: var(--primary); }
.signup-checkbox {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: var(--text-secondary);
  line-height: 1.5; cursor: pointer; margin: 16px 0 16px;
  user-select: none;
}
.signup-checkbox input[type="checkbox"] {
  flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px;
  accent-color: var(--primary); cursor: pointer;
}
.signup-checkbox a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
#signup-submit:disabled { opacity: .45; cursor: not-allowed; }

/* ── Account Panel ─────────────────────────────────── */
.account-overlay {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.4); animation: fadeIn .15s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.account-overlay.hidden { display: none; }
.account-panel {
  display: flex; width: 820px; max-width: 95vw;
  height: 560px; max-height: 85vh;
  background: #fff; border-radius: 14px;
  box-shadow: 0 16px 64px rgba(0,0,0,.18); overflow: hidden;
  animation: panelIn .2s ease;
}
@keyframes panelIn { from { transform: scale(.97); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.account-sidebar {
  width: 240px; background: var(--bg-subtle);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; flex-shrink: 0;
}
.account-sidebar-header { padding: 24px 20px 20px; border-bottom: 1px solid var(--border); }
.account-sidebar-avatar {
  width: 40px; height: 40px; background: var(--primary); color: #fff;
  border-radius: 50%; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-bottom: 10px;
}
.account-sidebar-name { font-size: 15px; font-weight: 700; color: var(--text); }
.account-sidebar-email { font-size: 12px; color: var(--text-secondary); margin-top: 2px; word-break: break-all; }
.account-sidebar-nav { flex: 1; padding: 12px 10px; display: flex; flex-direction: column; gap: 2px; }
.account-nav-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border: none; background: none;
  border-radius: var(--radius); font-family: inherit;
  font-size: 14px; font-weight: 600; color: var(--text-secondary);
  cursor: pointer; transition: background .12s, color .12s; text-align: left;
}
.account-nav-btn svg {
  width: 18px; height: 18px; stroke: currentColor; stroke-width: 2;
  fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0;
}
.account-nav-btn:hover { background: #fff; color: var(--text); }
.account-nav-btn--active { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.account-sidebar-footer {
  padding: 12px 10px 16px; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 6px;
}
.account-app-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--radius);
  font-size: 13px; font-weight: 600; color: var(--primary);
  text-decoration: none; transition: background .12s;
}
.account-app-link:hover { background: #fff; }
.account-app-link svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.account-logout-link {
  padding: 8px 14px; border: none; background: none;
  font-family: inherit; font-size: 12px; color: var(--text-tertiary);
  cursor: pointer; text-align: left; border-radius: var(--radius);
}
.account-logout-link:hover { color: var(--text); background: #fff; }
.account-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.account-main-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
}
.account-main-header h2 { font-size: 17px; font-weight: 700; margin: 0; }
.account-panel-close {
  background: none; border: none; font-size: 22px; cursor: pointer;
  color: var(--text-tertiary); width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.account-panel-close:hover { background: var(--bg-subtle); }
.account-main-body { flex: 1; overflow-y: auto; padding: 24px; }
.account-section { margin-bottom: 24px; }
.account-section:last-child { margin-bottom: 0; }
.account-section-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; color: var(--text-secondary); margin-bottom: 10px;
}
.account-field {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--border-light); font-size: 14px;
}
.account-field:last-child { border-bottom: none; }
.account-field-label { color: var(--text-secondary); }
.account-field-value { font-weight: 600; text-align: right; }
.account-badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 20px;
}
.account-badge--active { background: #dcfce7; color: #166534; }
.account-badge--trial { background: #fef3c7; color: #92400e; }
.account-badge--canceled { background: #fee2e2; color: #991b1b; }
.account-input-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.account-input-row label { font-size: 12px; font-weight: 600; color: var(--text-secondary); }
.account-input-row input {
  padding: 9px 12px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: 14px; font-family: inherit; outline: none;
}
.account-input-row input:focus { border-color: var(--primary); }
.account-msg { font-size: 13px; padding: 8px 12px; border-radius: var(--radius); margin-top: 8px; }
.account-msg--success { background: #dcfce7; color: #166534; }
.account-msg--error { background: #fee2e2; color: #991b1b; }
.account-invoice-list { display: flex; flex-direction: column; }
.account-invoice {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--border-light); font-size: 13px;
}
.account-invoice:last-child { border-bottom: none; }
.account-invoice-date { color: var(--text-secondary); }
.account-invoice-amount { font-weight: 700; }
.account-invoice-link { color: var(--primary); text-decoration: none; font-weight: 600; }
.account-invoice-link:hover { text-decoration: underline; }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-center, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }

  .apps { padding: 72px 20px; }
  .apps-grid { grid-template-columns: 1fr; gap: 32px; }

  .hero { padding: 110px 20px 32px; }
  .hero-title { font-size: 36px; letter-spacing: -1px; }
  .hero-subtitle { font-size: 17px; }
  .hero-content { margin-bottom: 40px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; }

  .browser-body { min-height: 220px; }
  .browser-frame--compact .browser-body { min-height: 180px; }

  .features-intro { padding: 60px 20px 10px; }

  .feature { padding: 12px 16px; }
  .feature-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 28px;
    text-align: center;
  }
  .feature-card--reversed .feature-text { order: 1; }
  .feature-card--reversed .feature-media { order: 2; }
  .feature-text h2 { font-size: 22px; }

  .worker-showcase { padding: 80px 20px; }
  .worker-header h2 { font-size: 26px; }
  .worker-phones {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .worker-phone {
    width: 180px;
    scroll-snap-align: center;
  }
  .worker-phone:nth-child(even) { margin-top: 0; }

  .problem { padding: 80px 20px; }
  .problem-inner { grid-template-columns: 1fr; gap: 40px; }
  .problem-title { font-size: 26px; }

  .section { padding: 80px 20px; }
  .section-title { font-size: 28px; }

  .audience { padding: 80px 20px; }
  .audience-title { font-size: 26px; }
  .audience-tags { gap: 10px; }
  .audience-tag { padding: 12px 20px; font-size: 14px; }

  .trust { padding: 60px 20px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  .pricing { padding: 80px 20px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

  .faq { padding: 80px 20px; }
  .faq-title { font-size: 26px; }

  .cta-final { padding: 80px 20px; }
  .cta-final h2 { font-size: 26px; }

  .footer { padding: 40px 20px 32px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-columns { gap: 32px; }

  .nav-user-name { display: none; }
  .account-panel { flex-direction: column; height: 95vh; }
  .account-sidebar {
    width: 100%; flex-direction: row; flex-wrap: wrap;
    border-right: none; border-bottom: 1px solid var(--border);
  }
  .account-sidebar-header { display: none; }
  .account-sidebar-nav { flex-direction: row; padding: 8px; overflow-x: auto; }
  .account-sidebar-footer { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 30px; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-columns { flex-direction: column; gap: 24px; }
  .worker-phone { width: 160px; }
}
