/* Projectsmate — shared site styles */
:root {
  --teal: #2F6F73;
  --teal-deep: #244F52;
  --teal-soft: #3F8589;
  --ivory: #F5F2ED;
  --ivory-deep: #ECE7DE;
  --beige: #E5E1DC;
  --paper: #FBFAF6;
  --ink: #1A1A1A;
  --ink-2: #2A2A2A;
  --muted: #6B6B6B;
  --hair: #DBD6CC;
  --hair-2: #E8E3D9;
  --rule: rgba(26,26,26,0.10);

  --sans: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --max: 1200px;
  --pad: clamp(20px, 4vw, 40px);
  --shadow-card: 0 1px 0 rgba(26,26,26,0.04), 0 1px 2px rgba(26,26,26,0.04);
  --shadow-screen: 0 30px 70px -20px rgba(26,26,26,0.18), 0 12px 28px -12px rgba(26,26,26,0.12), 0 0 0 1px rgba(26,26,26,0.06);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 14px; height: 1px; background: var(--muted); display: block; }

h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.08; letter-spacing: -0.025em; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; color: var(--ink-2); }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
section { position: relative; }
.rule { height: 1px; background: var(--rule); width: 100%; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 8px; font-weight: 500; font-size: 15px; border: 1px solid transparent; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease; white-space: nowrap; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); }
.btn-secondary { background: transparent; color: var(--ink); border-color: rgba(26,26,26,0.18); }
.btn-secondary:hover { background: rgba(26,26,26,0.04); border-color: rgba(26,26,26,0.28); }
.btn-ghost { background: transparent; color: var(--ink); padding: 0 12px; height: 38px; font-size: 14px; }
.btn-ghost:hover { color: var(--teal); }
.btn-on-teal { background: #fff; color: var(--teal-deep); }
.btn-on-teal:hover { background: var(--ivory); }
.btn-on-teal-out { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-on-teal-out:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(245,242,237,0.85); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--hair-2); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 28px; width: auto; display: block; }
.foot-brand .brand img { height: 26px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 6px 12px; font-size: 14.5px; color: var(--ink-2); border-radius: 6px; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.hamburger { display: none; width: 38px; height: 38px; border-radius: 6px; border: 1px solid var(--hair); background: transparent; align-items: center; justify-content: center; }
.hamburger span { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; }
.hamburger span::before, .hamburger span::after { content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--ink); }
.hamburger span::before { top: -5px; }
.hamburger span::after { top: 5px; }

/* Footer */
footer { background: #131C1D; color: rgba(255,255,255,0.7); padding: 70px 0 28px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand b { color: #fff; font-weight: 500; font-size: 16px; display: block; margin-top: 12px; }
.foot-brand p { color: rgba(255,255,255,0.6); margin-top: 12px; max-width: 32ch; line-height: 1.55; font-size: 14px; }
.foot-col h5 { color: rgba(255,255,255,0.5); font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 16px; font-weight: 500; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { color: rgba(255,255,255,0.75); font-size: 14px; }
.foot-col a:hover { color: #fff; }
.foot-bot { margin-top: 60px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.10); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,0.5); }
.socials { display: flex; gap: 8px; }
.socials a { width: 36px; height: 36px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.12); display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); }
.socials a:hover { color: #fff; border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.04); }

/* Page hero shared */
.page-hero { padding: 90px 0 70px; text-align: center; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); max-width: 18ch; margin: 18px auto 0; }
.page-hero .sub { max-width: 60ch; margin: 22px auto 0; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); line-height: 1.5; }

/* Section paddings */
.section { padding: clamp(60px, 9vw, 110px) 0; }

/* Final CTA (shared) */
.cta { background: var(--teal); color: #fff; text-align: center; padding: clamp(70px, 9vw, 110px) 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(255,255,255,0.06), transparent 35%), radial-gradient(circle at 85% 80%, rgba(0,0,0,0.10), transparent 40%); pointer-events: none; }
.cta .mono { color: rgba(255,255,255,0.7); }
.cta .eyebrow::before { background: rgba(255,255,255,0.5); }
.cta h2 { color: #fff; font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.03em; max-width: 18ch; margin: 18px auto 0; }
.cta .sub { color: rgba(255,255,255,0.78); margin-top: 18px; font-size: 17px; }
.cta .ctas { display: flex; gap: 10px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 999px; font-size: 11.5px; }
.badge.green { background: rgba(47,138,85,0.10); color: #1F6E40; }
.badge.amber { background: rgba(178,106,45,0.10); color: #8C5618; }
.badge.gray  { background: var(--ivory-deep); color: var(--muted); }
.badge .d { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.7; }

/* ===== Phone mockup ===== */
.phone {
  position: relative;
  width: 100%;
  max-width: var(--phone-w, 260px);
  aspect-ratio: 9 / 19;
  background: #1A1A1A;
  border-radius: 36px;
  padding: 7px;
  margin: 0 auto;
  box-shadow: 0 30px 60px -22px rgba(26,26,26,0.20), 0 14px 28px -14px rgba(26,26,26,0.14), 0 0 0 1px rgba(0,0,0,0.5);
}
.phone::after { content: ""; position: absolute; right: -2px; top: 26%; width: 3px; height: 44px; background: #2a2a2a; border-radius: 0 2px 2px 0; }
.phone::before { content: ""; position: absolute; left: -2px; top: 22%; width: 3px; height: 28px; background: #2a2a2a; border-radius: 2px 0 0 2px; box-shadow: 0 38px 0 #2a2a2a, 0 72px 0 #2a2a2a; }
.phone-screen { position: relative; background: var(--paper); border-radius: 30px; height: 100%; overflow: hidden; display: flex; flex-direction: column; }
.phone-notch { position: absolute; left: 50%; top: 6px; transform: translateX(-50%); width: 72px; height: 18px; background: #1A1A1A; border-radius: 0 0 12px 12px; z-index: 3; }
.phone-status { display: flex; justify-content: space-between; align-items: center; padding: 9px 22px 4px; font-family: var(--mono); font-size: 9.5px; color: var(--ink); font-weight: 500; }
.phone-status .ind { display: inline-flex; gap: 4px; align-items: center; }
.phone-status svg { display: block; }
.phone-header { padding: 14px 16px 12px; border-bottom: 1px solid var(--hair-2); }
.phone-header .tag { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; color: var(--teal); text-transform: uppercase; font-weight: 500; }
.phone-header b { display: block; margin-top: 5px; font-size: 13.5px; letter-spacing: -0.012em; }
.phone-greeting { display: block; margin-top: 5px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.phone-greeting small { display: block; font-weight: 400; color: var(--muted); font-size: 10.5px; margin-top: 3px; }
.phone-body { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.phone-thumb { height: 64px; border-radius: 8px; background: linear-gradient(135deg, #2F6F73 0%, #4B898D 100%); position: relative; overflow: hidden; flex-shrink: 0; }
.phone-thumb svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.7; }
.phone-card { border: 1px solid var(--hair-2); border-radius: 10px; padding: 10px 12px; background: #fff; }
.phone-card .ttl { font-size: 11.5px; font-weight: 500; }
.phone-card .sub { font-size: 9.5px; color: var(--muted); margin-top: 2px; }
.phone-card .pending { font-family: var(--mono); font-size: 8.5px; color: #8C5618; background: rgba(178,106,45,0.10); padding: 2px 6px; border-radius: 999px; letter-spacing: 0.06em; text-transform: uppercase; display: inline-block; margin-top: 6px; }
.phone-card .actions { display: flex; gap: 5px; margin-top: 10px; }
.phone-card .actions button { flex: 1; height: 28px; border-radius: 6px; font-size: 9.5px; font-weight: 500; border: 1px solid var(--hair); background: #fff; color: var(--ink); cursor: pointer; font-family: inherit; }
.phone-card .actions button.primary { background: var(--teal); color: #fff; border-color: var(--teal); }
.phone-activity { font-size: 10px; padding-top: 2px; }
.phone-activity .ttl-row { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; margin-bottom: 4px; }
.phone-activity .row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--hair-2); }
.phone-activity .row:last-child { border-bottom: 0; }
.phone-activity .dot-g { width: 6px; height: 6px; border-radius: 50%; background: #2F8A55; flex-shrink: 0; }
.phone-activity .row b { display: block; font-weight: 500; font-size: 10.5px; }
.phone-activity .row small { color: var(--muted); font-size: 9px; display: block; margin-top: 1px; }
.phone-cta { width: 100%; height: 40px; border-radius: 10px; background: var(--teal); color: #fff; font-size: 12px; font-weight: 500; border: 0; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-family: inherit; }
.phone-cta .live-dot { width: 6px; height: 6px; border-radius: 50%; background: #4CAF7B; box-shadow: 0 0 0 3px rgba(255,255,255,0.25); }
.phone-tasks-head { display: flex; justify-content: space-between; align-items: baseline; margin-top: 2px; }
.phone-tasks-head .lbl { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.phone-tasks-head .proj { font-size: 10.5px; color: var(--ink); font-weight: 500; }
.phone-task { display: flex; gap: 8px; align-items: flex-start; font-size: 10.5px; padding: 6px 0; border-bottom: 1px dashed var(--hair-2); line-height: 1.35; color: var(--ink-2); }
.phone-task:last-child { border-bottom: 0; }
.phone-task .ck { width: 13px; height: 13px; border-radius: 4px; border: 1.5px solid var(--hair); flex-shrink: 0; margin-top: 1px; }
.phone-status-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: rgba(47,138,85,0.10); color: #1F6E40; font-size: 10px; font-weight: 500; align-self: flex-start; }
.phone-status-chip .d { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.phone-file { display: grid; grid-template-columns: auto 1fr auto; gap: 9px; align-items: center; padding: 8px 10px; border: 1px solid var(--hair-2); border-radius: 8px; background: #fff; }
.phone-file .ext { width: 26px; height: 30px; background: var(--ivory-deep); border-radius: 3px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 8px; color: var(--muted); flex-shrink: 0; }
.phone-file .nm { min-width: 0; }
.phone-file .nm b { display: block; font-size: 10.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-file .nm small { display: block; color: var(--muted); font-size: 8.5px; margin-top: 1px; }
.phone-file .when { font-family: var(--mono); font-size: 8.5px; color: var(--muted); }
.phone-clock { background: linear-gradient(135deg, #2F6F73 0%, #244F52 100%); color: #fff; border-radius: 12px; padding: 14px; }
.phone-clock .lbl { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.1em; color: rgba(255,255,255,0.7); text-transform: uppercase; }
.phone-clock .time { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.phone-clock .meta { font-size: 10px; color: rgba(255,255,255,0.75); margin-top: 4px; }
.phone-clock .live { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 10.5px; font-weight: 500; }
.phone-clock .live .d { width: 6px; height: 6px; border-radius: 50%; background: #4CAF7B; box-shadow: 0 0 0 3px rgba(76,175,123,0.30); }

.phones-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-top: 50px; }
.phone-col { text-align: center; }
.phone-col .phone-caption { margin-top: 22px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.app-badges { display: inline-flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; justify-content: center; }
.app-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 11px; border-radius: 9px; background: #1A1A1A; color: #fff; line-height: 1.1; transition: background 0.15s ease; }
.app-badge:hover { background: #000; }
.app-badge svg { flex-shrink: 0; }
.app-badge .meta { display: flex; flex-direction: column; gap: 1px; text-align: left; }
.app-badge .meta small { font-size: 8.5px; color: rgba(255,255,255,0.65); }
.app-badge .meta b { font-size: 11.5px; font-weight: 500; letter-spacing: -0.01em; }

@media (max-width: 720px) { .phones-row { grid-template-columns: 1fr; gap: 56px; } }

/* Reveal */
.fade-in { opacity: 0; transform: translateY(8px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade-in { opacity: 1; transform: none; transition: none; } }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-cta .btn-secondary,
  .nav-cta .btn-ghost { display: none; }
  .hamburger { display: inline-flex; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 720px) {
  .nav-inner { height: 60px; }
  .brand img { height: 24px; }
  .foot-bot { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 60px 0 48px; }
  .page-hero h1 { font-size: clamp(30px, 7vw, 44px); }
  .page-hero .sub { font-size: 15.5px; margin-top: 16px; }
  .cta .ctas { width: 100%; flex-direction: column; align-items: stretch; }
  .cta .ctas .btn { width: 100%; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; }
  footer { padding: 50px 0 24px; }
  .foot-bot { margin-top: 40px; }
  .nav-cta .btn-primary { height: 38px !important; padding: 0 14px !important; font-size: 13.5px !important; }
}

/* ============== MOBILE MENU DRAWER ============== */
.mobile-menu { position: fixed; inset: 0; z-index: 100; visibility: hidden; pointer-events: none; }
.mobile-menu.is-open { visibility: visible; pointer-events: auto; }
.mobile-menu__overlay { position: absolute; inset: 0; background: rgba(16,24,26,0.45); opacity: 0; transition: opacity 0.25s ease; cursor: pointer; }
.mobile-menu.is-open .mobile-menu__overlay { opacity: 1; }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(86vw, 340px);
  background: var(--ivory);
  padding: 22px 22px 28px;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: -20px 0 60px -20px rgba(0,0,0,0.25);
  overflow-y: auto;
}
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 18px; border-bottom: 1px solid var(--hair-2);
}
.mobile-menu__head img { height: 24px; }
.mobile-menu__close {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--hair); background: transparent;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); cursor: pointer; transition: background 0.15s ease;
}
.mobile-menu__close:hover { background: rgba(26,26,26,0.05); }
.mobile-menu__links { display: flex; flex-direction: column; padding-top: 8px; }
.mobile-menu__links a {
  display: block; padding: 14px 4px;
  font-size: 17px; color: var(--ink);
  border-bottom: 1px solid var(--hair-2);
  transition: color 0.15s ease;
}
.mobile-menu__links a:hover, .mobile-menu__links a.active { color: var(--teal); }
.mobile-menu__actions { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.mobile-menu__actions .btn { width: 100%; height: 48px; }
body.menu-open { overflow: hidden; }

/* ============== DEMO MODAL ============== */
.demo-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity 0.18s ease; }
.demo-modal[hidden] { display: none; }
.demo-modal.is-open { opacity: 1; }
.demo-modal__overlay { position: absolute; inset: 0; background: rgba(16, 24, 26, 0.55); backdrop-filter: blur(2px); cursor: pointer; }
.demo-modal__panel { position: relative; width: 100%; max-width: 620px; max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 16px; box-shadow: 0 30px 80px -10px rgba(16,24,26,0.35), 0 0 0 1px rgba(26,26,26,0.04); transform: translateY(8px) scale(0.98); transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1); }
.demo-modal.is-open .demo-modal__panel { transform: translateY(0) scale(1); }
.demo-modal__close { position: absolute; top: 18px; right: 18px; width: 32px; height: 32px; border: 0; background: transparent; color: var(--ink); border-radius: 50%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background 0.15s ease, color 0.15s ease; }
.demo-modal__close:hover { background: rgba(26,26,26,0.06); }
.demo-modal__body { padding: 40px 44px 36px; }
.demo-modal__title { font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 8px; color: var(--ink); }
.demo-modal__subtitle { font-size: 15px; color: var(--muted); margin: 0 0 24px; }

.demo-form { display: flex; flex-direction: column; gap: 16px; }
.demo-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demo-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.demo-field__label { font-weight: 500; color: var(--ink); font-size: 14px; }
.demo-field__req { color: #c4452f; margin-left: 2px; }
.demo-field input, .demo-field textarea { font-family: inherit; font-size: 15px; color: var(--ink); background: #F4F1EB; border: 1px solid transparent; border-radius: 10px; padding: 12px 14px; transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease; width: 100%; box-sizing: border-box; }
.demo-field input::placeholder, .demo-field textarea::placeholder { color: #a89f90; }
.demo-field input:focus, .demo-field textarea:focus { outline: none; background: #fff; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47, 111, 115, 0.12); }
.demo-field textarea { resize: vertical; min-height: 96px; }
.demo-field input[type="datetime-local"] { color: var(--ink); }

.demo-phone { position: relative; display: flex; align-items: stretch; background: #F4F1EB; border: 1px solid transparent; border-radius: 10px; overflow: visible; transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease; }
.demo-phone:focus-within { background: #fff; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47, 111, 115, 0.12); }
.demo-phone__prefix { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px 0 12px; border: 0; border-right: 1px solid rgba(26,26,26,0.08); background: transparent; font-family: inherit; font-size: 15px; color: var(--ink); white-space: nowrap; cursor: pointer; border-radius: 10px 0 0 10px; transition: background 0.12s ease; }
.demo-phone__prefix:hover { background: rgba(26,26,26,0.04); }
.demo-phone__flag-emoji { font-size: 18px; line-height: 1; }
.demo-phone__dial { font-size: 15px; color: var(--ink); }
.demo-phone__chev { display: block; color: var(--muted); }
.demo-phone input { background: transparent !important; border: 0 !important; box-shadow: none !important; padding-left: 12px; flex: 1; min-width: 0; }

.demo-country__panel { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20; background: #fff; border: 1px solid rgba(26,26,26,0.10); border-radius: 12px; box-shadow: 0 14px 36px -12px rgba(16,24,26,0.20); overflow: hidden; }
.demo-country__search { width: 100%; box-sizing: border-box; border: 0; border-bottom: 1px solid rgba(26,26,26,0.08); padding: 12px 14px; font-family: inherit; font-size: 14px; color: var(--ink); background: #fff; }
.demo-country__search:focus { outline: none; }
.demo-country__list { max-height: 240px; overflow-y: auto; padding: 4px; }
.demo-country__item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; background: transparent; font-family: inherit; font-size: 14px; color: var(--ink); text-align: left; cursor: pointer; border-radius: 8px; }
.demo-country__item:hover { background: rgba(47,111,115,0.08); }
.demo-country__item.is-selected { background: rgba(47,111,115,0.12); font-weight: 500; }
.demo-country__flag { font-size: 18px; line-height: 1; flex-shrink: 0; }
.demo-country__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-country__code { color: var(--muted); font-size: 13px; flex-shrink: 0; }
.demo-country__empty { padding: 16px; text-align: center; color: var(--muted); font-size: 14px; }

.demo-form__submit { margin-top: 8px; height: 52px; border: 0; border-radius: 10px; background: var(--teal-deep); color: #fff; font-family: inherit; font-size: 15px; font-weight: 500; cursor: pointer; transition: background 0.15s ease, transform 0.05s ease; }
.demo-form__submit:hover { background: #1d4144; }
.demo-form__submit:active { transform: translateY(1px); }
.demo-form__submit:disabled { opacity: 0.6; cursor: not-allowed; }
.demo-form__error { margin: 4px 0 0; padding: 10px 12px; border-radius: 8px; background: rgba(196, 69, 47, 0.08); color: #c4452f; font-size: 14px; }

.demo-form__success { text-align: center; padding: 24px 8px 16px; }
.demo-form__success-icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: rgba(47, 111, 115, 0.12); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; }
.demo-form__success h3 { margin: 0 0 8px; font-size: 24px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.demo-form__success p { margin: 0; color: var(--muted); font-size: 15px; }
.demo-modal.is-success .demo-modal__title,
.demo-modal.is-success .demo-modal__subtitle { display: none; }

/* Custom date + time picker */
.demo-datepicker { position: relative; }
.demo-datepicker__display { width: 100%; text-align: left; font-family: inherit; font-size: 15px; color: #a89f90; background: #F4F1EB; border: 1px solid transparent; border-radius: 10px; padding: 12px 14px; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease; }
.demo-datepicker__display:hover { background: #EEE9DF; }
.demo-datepicker__display:focus { outline: none; background: #fff; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47, 111, 115, 0.12); }
.demo-datepicker__display.has-value { color: var(--ink); background: #fff; border-color: rgba(26,26,26,0.18); }
.demo-datepicker__panel { margin-top: 10px; background: #fff; border: 1px solid rgba(26,26,26,0.08); border-radius: 12px; padding: 14px 16px 16px; box-shadow: 0 10px 30px -10px rgba(16,24,26,0.18); }
.demo-datepicker__navrow { display: flex; align-items: center; justify-content: space-between; padding: 4px 0 12px; }
.demo-datepicker__monthlabel { font-weight: 600; color: var(--ink); font-size: 15px; }
.demo-datepicker__nav { width: 28px; height: 28px; border: 0; background: transparent; color: var(--ink); border-radius: 50%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background 0.15s ease; }
.demo-datepicker__nav:hover { background: rgba(26,26,26,0.06); }
.demo-datepicker__dow { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 12px; color: var(--muted); padding: 4px 0 6px; }
.demo-datepicker__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.demo-datepicker__day { height: 38px; border: 0; background: transparent; color: var(--ink); border-radius: 8px; font: inherit; font-size: 14px; cursor: pointer; transition: background 0.12s ease, color 0.12s ease; }
.demo-datepicker__day:hover:not(:disabled) { background: rgba(47,111,115,0.10); }
.demo-datepicker__day--empty { visibility: hidden; cursor: default; }
.demo-datepicker__day--disabled { color: #C4BFB3; cursor: not-allowed; }
.demo-datepicker__day--today:not(.demo-datepicker__day--selected) { color: var(--teal); font-weight: 600; }
.demo-datepicker__day--selected { background: var(--teal-deep); color: #fff; }
.demo-datepicker__day--selected:hover { background: var(--teal-deep) !important; }
.demo-datepicker__timewrap { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(26,26,26,0.06); display: flex; flex-direction: column; gap: 8px; }
.demo-datepicker__timelabel { font-size: 13px; color: var(--muted); font-weight: 500; }
.demo-datepicker__time { font-family: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid rgba(26,26,26,0.18); border-radius: 10px; padding: 12px 14px; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%236B6B6B' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='3 5 6 8 9 5'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }
.demo-datepicker__time:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47, 111, 115, 0.12); }
.demo-datepicker__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.demo-datepicker__btn { height: 44px; border: 0; border-radius: 10px; font-family: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease; }
.demo-datepicker__btn--ghost { background: #F4F1EB; color: var(--ink); }
.demo-datepicker__btn--ghost:hover { background: #EAE5DA; }
.demo-datepicker__btn--primary { background: var(--teal-deep); color: #fff; }
.demo-datepicker__btn--primary:hover { background: #1d4144; }

@media (max-width: 560px) {
  .demo-modal__body { padding: 32px 24px 28px; }
  .demo-modal__title { font-size: 24px; }
  .demo-form__row { grid-template-columns: 1fr; }
  .demo-datepicker__day { height: 34px; font-size: 13px; }
}
