@import 'tailwindcss';
@import 'tw-animate-css';
@import 'shadcn/tailwind.css';

:root {
  color-scheme: dark;
  --background: #0d0d0f;
  --foreground: #f5f5f7;
  --muted: #97979f;
  --hairline: rgba(255,255,255,.12);
  --blue: #0a84ff;
  --red: #ff3b30;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #1b1b1e; }
body { margin: 0; min-width: 320px; background: #1b1b1e; color: var(--foreground); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif; }
button { font: inherit; }

.app-shell { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; background: radial-gradient(circle at 50% 20%, #34343a 0, #1b1b1e 48%, #101012 100%); }
.phone-frame { width: min(390px, calc(100vw - 32px)); aspect-ratio: 390 / 844; padding: 9px; border-radius: 48px; background: linear-gradient(135deg, #8daca9, #4e6766 32%, #192020 75%, #89aaa6); box-shadow: 0 28px 70px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.22); }
.phone-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 40px; background: #101012; isolation: isolate; transition: background .45s ease; }
.phone-screen.is-dimmed { background: #020203; }
.view { height: 100%; overflow: auto; padding: 0 20px 42px; scrollbar-width: none; }
.view::-webkit-scrollbar { display: none; }
.status-bar { height: 38px; display: flex; align-items: end; justify-content: space-between; padding: 0 22px 4px; font-size: 13px; font-weight: 650; letter-spacing: -.2px; transform: translateY(-2px); }
.status-icons { display: flex; gap: 7px; align-items: center; color: #f5f5f7; }
.wifi-icon { display: block; width: 15px; height: 11px; }
.battery-icon { display: block; width: 25px; height: 12px; }
.nav-header { height: 52px; display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; }
.nav-header h1 { margin: 0; text-align: center; font-size: 17px; font-weight: 650; letter-spacing: -.35px; }
.back-button { width: 34px; height: 34px; display: grid; place-items: center; border: 0; background: transparent; color: #f5f5f7; cursor: pointer; }
.back-button:disabled { opacity: .9; }
.chevron { width: 9px; height: 9px; display: inline-block; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: .8; }
.chevron-left { transform: rotate(-135deg); }
.nav-spacer { width: 34px; }
.settings-content { padding-top: 17px; }
.inset-card { overflow: hidden; border-radius: 27px; background: #1c1c1e; }
.display-card { margin-top: 2px; }
.display-card .setting-block { padding-inline: 20px; }
.info-card { margin-top: 22px; }
.privacy-card { margin-top: 22px; }
.inset-card .setting-block:last-child { border-bottom: 0; }
.inset-card .always-on { padding: 20px; }
.inset-card .privacy-group { padding: 20px; }
.inset-card .privacy-row { padding-top: 16px; }
.settings-view { background: #000; }
.eyebrow { margin: 0 0 16px 2px; color: var(--muted); font-size: 16px; font-weight: 650; }
.brightness-row { height: 33px; display: flex; align-items: center; gap: 12px; margin: 0 5px 18px; }
.sun { color: #bdbdc3; font-size: 22px; line-height: 1; }.sun-small { font-size: 16px; }
.slider { flex: 1; height: 5px; border-radius: 5px; background: #36363b; }.slider span { display: block; width: 51%; height: 100%; border-radius: inherit; background: var(--blue); }
.setting-block { border-bottom: 1px solid var(--hairline); padding: 17px 0; }.setting-row { min-height: 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 16px; font-weight: 570; }.trailing { display: flex; align-items: center; gap: 12px; color: #a2a2aa; font-size: 15px; font-weight: 450; }.setting-description { max-width: 325px; margin: 9px 0 -2px; color: #8b8b92; font-size: 13px; line-height: 1.32; }.toggle { width: 51px; height: 31px; padding: 2px; display: flex; justify-content: flex-end; border-radius: 18px; background: #3b3b43; }.toggle span { width: 27px; height: 27px; border-radius: 50%; background: #e7e7e9; }
.always-on { padding: 21px 0 15px; }.setting-group h2 { margin: 0; font-size: 16px; font-weight: 600; }.setting-group p { margin: 9px 0 0; color: #898990; font-size: 13px; line-height: 1.35; }.privacy-group { padding-top: 20px; border: 0; }.privacy-row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 17px 0 0; border: 0; color: inherit; text-align: left; background: transparent; cursor: pointer; }.privacy-row div { display: flex; flex-direction: column; gap: 6px; }.privacy-row strong { font-size: 16px; font-weight: 600; }.privacy-row span { color: #898990; font-size: 13px; font-weight: 450; }
.privacy-content { display: flex; flex-direction: column; min-height: calc(100% - 95px); padding: 22px 0 0; }.preview-window { height: 265px; display: grid; place-items: center; overflow: hidden; border-radius: 16px; background: linear-gradient(145deg, #1d1d22, #0e0e11); box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }.preview-card { position: relative; width: 137px; height: 166px; padding: 25px 18px; border-radius: 12px; background: #28282e; box-shadow: 0 18px 42px rgba(0,0,0,.45); }.preview-lines { display: flex; flex-direction: column; gap: 9px; }.preview-lines i { display: block; height: 7px; border-radius: 4px; background: #72727a; }.preview-lines i:nth-child(2) { width: 75%; }.preview-lines i:nth-child(3) { width: 87%; }.preview-lines i:nth-child(4) { width: 52%; }.preview-label { position: absolute; left: 18px; bottom: 21px; color: #aaaab1; font-size: 9px; }.side-fade { position: absolute; width: 90px; height: 220px; margin-left: 205px; opacity: .52; background: linear-gradient(90deg, transparent, #060608); filter: blur(12px); }
.privacy-copy { padding: 25px 2px 0; }.title-line { display: flex; align-items: center; gap: 9px; }.privacy-copy h2 { margin: 0; font-size: 21px; letter-spacing: -.5px; }.beta-badge { padding: 4px 7px; border-radius: 5px; background: #efeff1; color: #3a3a40; font-size: 9px; font-weight: 800; letter-spacing: 1.5px; }.privacy-copy p { margin: 10px 0 0; color: #9b9ba2; font-size: 15px; line-height: 1.47; }
.start-panel { margin-top: auto; padding-top: 26px; }.action-button { width: 100%; height: 53px; border: 0; border-radius: 15px; color: white; font-size: 17px; font-weight: 650; cursor: pointer; transition: filter .2s, transform .2s; }.action-button:active { transform: scale(.98); }.start-button { background: var(--blue); }.stop-button { background: var(--red); }.start-panel p { margin: 12px 8px 0; color: #77777f; font-size: 12px; line-height: 1.4; text-align: center; }.demo-panel { margin-top: auto; padding-top: 23px; }.demo-status { display: flex; align-items: center; justify-content: center; gap: 7px; margin-bottom: 13px; color: #a2a2aa; font-size: 13px; }.demo-status.active { color: #f2f2f3; }.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #66666d; }.active .status-dot { background: #30d158; box-shadow: 0 0 0 4px rgba(48,209,88,.12); }.permission-copy { margin: 10px 10px 0; color: #8c8c93; font-size: 12px; line-height: 1.35; text-align: center; }.manual-button { width: 100%; margin-top: 13px; padding: 8px; border: 0; background: transparent; color: var(--blue); font-size: 13px; cursor: pointer; }.privacy-shade { position: absolute; inset: 0; z-index: 5; pointer-events: none; background: rgba(0,0,0,.58); animation: shade-in .4s ease both; }.home-indicator { position: absolute; z-index: 8; bottom: 8px; left: 50%; width: 133px; height: 5px; transform: translateX(-50%); border-radius: 5px; background: #f5f5f7; }
.outside-note { margin: 0; color: #87878d; font-size: 12px; letter-spacing: .4px; }
@keyframes shade-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-height: 900px) and (min-width: 600px) { .phone-frame { height: calc(100svh - 58px); width: auto; } }
@media (max-width: 500px) { .app-shell { padding: 12px 0; gap: 9px; }.phone-frame { width: min(390px, 100vw); border-radius: 0; padding: 0; box-shadow: none; }.phone-screen { border-radius: 0; }.outside-note { display: none; } }
