:root {
    --demo-ink: #102033;
    --demo-muted: #667680;
    --demo-line: #dce7e7;
    --demo-teal: #0f766e;
    --demo-teal-dark: #0a5651;
    --demo-mint: #dff4ef;
}

body.app-body { margin: 0; background: #f4f8f7; }

.demo-page {
    position: relative;
    display: grid;
    grid-template-columns: minmax(430px, .95fr) minmax(500px, 1.05fr);
    min-height: 100vh;
    color: var(--demo-ink);
    font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
}

.demo-brand { position: absolute; z-index: 2; top: 32px; left: 42px; }
.demo-brand img { display: block; width: 165px; max-height: 48px; object-fit: contain; }
.demo-value { display: flex; justify-content: center; flex-direction: column; gap: 38px; padding: 120px clamp(40px, 7vw, 105px) 60px; color: #fff; background: radial-gradient(circle at 0 0, rgba(78,196,173,.2), transparent 28%), linear-gradient(145deg, #102033, #133e46); }
.demo-value-copy { max-width: 630px; }
.demo-kicker { margin: 0 0 12px; color: #6fd4c0; font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.demo-kicker.dark { color: var(--demo-teal); }
.demo-value h1 { margin: 0; max-width: 650px; font-size: clamp(2.7rem, 5vw, 4.45rem); line-height: .99; letter-spacing: -.055em; }
.demo-value-copy > p:last-child { max-width: 600px; margin: 20px 0 0; color: rgba(255,255,255,.72); font-size: 1rem; line-height: 1.65; }

.demo-preview { max-width: 570px; overflow: hidden; background: #f7f9fa; border: 1px solid rgba(255,255,255,.2); border-radius: 17px; box-shadow: 0 28px 60px rgba(0,0,0,.25); transform: rotate(-1deg); }
.demo-preview-top { display: flex; align-items: center; gap: 5px; height: 35px; padding: 0 13px; color: #77848e; background: #fff; border-bottom: 1px solid var(--demo-line); font-size: .55rem; text-transform: uppercase; }
.demo-preview-top span { width: 6px; height: 6px; background: #dbe2e5; border-radius: 50%; }
.demo-preview-top span:first-child { background: #e58279; }
.demo-preview-top span:nth-child(2) { background: #e7b451; }
.demo-preview-top span:nth-child(3) { background: #64b989; }
.demo-preview-top b { margin-left: auto; }
.demo-preview-content { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 16px; }
.demo-preview article { display: grid; gap: 10px; min-height: 112px; padding: 15px; color: var(--demo-ink); background: #fff; border: 1px solid var(--demo-line); border-radius: 10px; }
.demo-preview article i { display: grid; place-items: center; width: 30px; height: 30px; color: var(--demo-teal); background: var(--demo-mint); border-radius: 9px; font-size: .58rem; font-style: normal; font-weight: 900; }
.demo-preview article strong, .demo-preview article small { display: block; }
.demo-preview article strong { font-size: .7rem; }
.demo-preview article small { margin-top: 5px; color: #7a8791; font-size: .56rem; line-height: 1.4; }
.demo-benefits { display: flex; flex-wrap: wrap; gap: 10px 20px; color: rgba(255,255,255,.76); font-size: .72rem; font-weight: 700; }
.demo-benefits span { display: flex; align-items: center; gap: 7px; }
.demo-benefits i { display: grid; place-items: center; width: 18px; height: 18px; color: #74d7c4; background: rgba(116,215,196,.12); border-radius: 50%; font-size: .55rem; font-style: normal; }

.demo-contact-panel { display: grid; place-items: center; padding: 70px clamp(30px, 7vw, 100px); background: #f4f8f7; }
.demo-contact-card { width: min(100%, 500px); box-sizing: border-box; padding: 44px; background: #fff; border: 1px solid var(--demo-line); border-radius: 22px; box-shadow: 0 25px 65px rgba(16,32,51,.1); }
.demo-contact-card h2 { margin: 0; font-size: 2.15rem; line-height: 1.08; letter-spacing: -.04em; }
.demo-intro { margin: 14px 0 0; color: var(--demo-muted); font-size: .9rem; line-height: 1.65; }
.demo-actions { display: grid; gap: 12px; margin-top: 29px; }
.demo-action { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 13px; min-height: 72px; box-sizing: border-box; padding: 12px 16px; border-radius: 12px; text-decoration: none; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.demo-action:hover { transform: translateY(-2px); }
.demo-action-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; font-size: 1rem; }
.demo-action small, .demo-action strong { display: block; }
.demo-action small { margin-bottom: 4px; font-size: .63rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.demo-action strong { font-size: .88rem; }
.demo-action b { font-size: 1rem; }
.demo-action-primary { color: #fff; background: var(--demo-teal); box-shadow: 0 12px 28px rgba(15,118,110,.22); }
.demo-action-primary:hover { background: var(--demo-teal-dark); box-shadow: 0 16px 34px rgba(15,118,110,.28); }
.demo-action-primary .demo-action-icon { background: rgba(255,255,255,.13); }
.demo-action-primary small { color: rgba(255,255,255,.7); }
.demo-action-secondary { color: var(--demo-ink); background: #f8fbfa; border: 1px solid var(--demo-line); }
.demo-action-secondary:hover { border-color: #b7d7d3; box-shadow: 0 12px 28px rgba(16,32,51,.08); }
.demo-action-secondary .demo-action-icon { color: var(--demo-teal); background: var(--demo-mint); }
.demo-action-secondary small { color: var(--demo-teal); }
.demo-contact-detail { display: flex; justify-content: space-between; gap: 20px; margin-top: 17px; padding: 0 3px; color: var(--demo-muted); font-size: .72rem; }
.demo-contact-detail a { color: var(--demo-teal); font-weight: 800; text-decoration: none; }
.demo-reassurance { margin-top: 27px; padding: 18px; background: #f2f8f6; border-radius: 12px; }
.demo-reassurance strong { font-size: .78rem; }
.demo-reassurance p { margin: 7px 0 0; color: var(--demo-muted); font-size: .72rem; line-height: 1.55; }
.demo-login { margin-top: 25px; padding-top: 20px; color: var(--demo-muted); border-top: 1px solid var(--demo-line); font-size: .76rem; text-align: center; }
.demo-login a { color: var(--demo-teal); font-weight: 800; text-decoration: none; }

@media (max-width: 950px) {
    .demo-page { grid-template-columns: 1fr; }
    .demo-brand { top: 24px; left: 28px; }
    .demo-value { min-height: auto; padding: 105px 28px 55px; }
    .demo-value h1 { max-width: 720px; }
    .demo-preview { display: none; }
    .demo-contact-panel { padding: 45px 20px 65px; }
    .demo-contact-card { width: min(100%, 550px); }
}

@media (max-width: 560px) {
    .demo-brand img { width: 140px; }
    .demo-value { gap: 25px; }
    .demo-value h1 { font-size: 2.5rem; }
    .demo-value-copy > p:last-child { font-size: .9rem; }
    .demo-benefits { display: grid; }
    .demo-contact-panel { padding-right: 14px; padding-left: 14px; }
    .demo-contact-card { padding: 29px 22px; border-radius: 17px; }
    .demo-contact-card h2 { font-size: 1.75rem; }
    .demo-contact-detail { display: grid; gap: 4px; }
}
