:root{--brand:#00838F;--brand2:#21A9B3;--ink:#0f172a;--muted:#64748b;--line:#dfe8ec;--bg:#f3f7f8;--surface:#fff;--shadow:0 18px 60px rgba(15,23,42,.1)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--ink);background:var(--bg)}a{text-decoration:none;color:inherit}img{display:block;max-width:100%}
.topbar{width:min(1180px,calc(100% - 32px));margin:18px auto 0;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:rgba(255,255,255,.78);backdrop-filter:blur(14px);border:1px solid var(--line);border-radius:18px;position:sticky;top:14px;z-index:10;box-shadow:0 10px 28px rgba(15,23,42,.06)}
.brand{display:flex;align-items:center;gap:9px;font-weight:900}.brand-dot{width:13px;height:13px;border-radius:50%;background:linear-gradient(135deg,var(--brand),var(--brand2));box-shadow:0 0 0 5px rgba(0,131,143,.1)}
.topbar nav{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.topbar nav a{font-weight:750;font-size:14px;color:#334155}.topbar nav .pill{padding:10px 14px;border-radius:999px;background:var(--brand);color:#fff}.ghost{padding:10px 14px;border:1px solid var(--line);border-radius:999px}
.hero,.section{width:min(1180px,calc(100% - 32px));margin:0 auto}.hero{min-height:690px;display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:center;padding:54px 0}
.eyebrow{display:inline-block;margin-bottom:12px;font-size:12px;letter-spacing:.12em;font-weight:900;color:var(--brand)}.eyebrow.light{color:#bff9fb}.hero h1{font-size:clamp(46px,7vw,78px);line-height:.95;margin:0;letter-spacing:-.04em}.hero h1 span{color:var(--brand)}.hero-copy>p{font-size:19px;line-height:1.65;color:#526072;max-width:640px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:13px 18px;border-radius:14px;font-weight:900;border:1px solid transparent;cursor:pointer}.btn.primary{background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;box-shadow:0 12px 28px rgba(0,131,143,.22)}.btn.secondary{background:#fff;border-color:var(--line)}.btn.white{background:#fff;color:var(--ink)}.btn.outline-white{border-color:rgba(255,255,255,.5);color:#fff}
.trust-row{display:flex;gap:18px;flex-wrap:wrap;margin-top:22px;color:#526072;font-size:14px;font-weight:800}
.phone-stage{position:relative;display:flex;justify-content:center}.orb{position:absolute;border-radius:50%;filter:blur(1px)}.orb1{width:300px;height:300px;background:rgba(0,131,143,.14);top:50px;left:20px}.orb2{width:220px;height:220px;background:rgba(43,179,189,.15);bottom:20px;right:10px}
.phone{position:relative;width:330px;padding:12px;border-radius:42px;background:#0d1724;box-shadow:0 30px 80px rgba(15,23,42,.25);transform:rotate(2deg)}.phone-notch{width:110px;height:24px;border-radius:0 0 14px 14px;background:#0d1724;position:absolute;left:50%;top:8px;transform:translateX(-50%);z-index:2}.phone-card{border-radius:32px;overflow:hidden;background:#fff;padding:0 20px 22px;text-align:center}.profile-cover{height:125px;margin:0 -20px;background:linear-gradient(135deg,var(--brand),var(--brand2))}.avatar{width:110px;height:110px;object-fit:cover;border-radius:50%;border:5px solid #fff;margin:-54px auto 12px}.phone-card h3{font-size:26px;margin:0}.accent-text{color:var(--brand);font-weight:900;margin:5px 0}.tiny{color:#64748b;font-size:13px;line-height:1.5}.mini-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.mini-grid span,.save-btn{padding:10px 6px;border-radius:10px;font-size:12px;font-weight:900}.mini-grid span{background:#eef5f6}.save-btn{margin-top:8px;background:var(--brand);color:white}.social-mini{display:flex;justify-content:center;gap:8px;margin-top:13px}.social-mini span{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#f1f5f9;font-size:11px;font-weight:900}
.section{padding:76px 0}.section.soft{background:#eef5f6;width:100%;padding-left:max(16px,calc((100% - 1180px)/2));padding-right:max(16px,calc((100% - 1180px)/2))}.section-head{max-width:760px;margin-bottom:30px}.section-head h2{font-size:clamp(34px,5vw,52px);line-height:1;margin:0 0 10px;letter-spacing:-.03em}.section-head p{color:#64748b;font-size:17px}
.template-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.template-option{position:relative;background:#fff;border:1px solid var(--line);border-radius:24px;padding:18px;box-shadow:var(--shadow)}.template-option.featured{border:2px solid rgba(0,131,143,.45)}.badge{position:absolute;top:14px;right:14px;padding:7px 10px;border-radius:999px;background:var(--brand);color:#fff;font-size:11px;font-weight:900;z-index:1}.mock{height:260px;border-radius:18px;padding:18px;background:#f8fafc;border:1px solid #e4ecef;margin-bottom:16px;overflow:hidden}.modern{background:linear-gradient(180deg,rgba(0,131,143,.14),#fff 37%)}.classic{background:#fafafa}.minimal{background:white}.mcover{height:60px;background:linear-gradient(135deg,var(--brand),var(--brand2));margin:-18px -18px 16px}.mbar{height:36px;background:#e8eef1;margin:-18px -18px 16px}.mavatar{width:68px;height:68px;border-radius:50%;background:#d4e0e4;margin:0 auto 14px}.mavatar.square{border-radius:14px;margin-left:0}.mline{height:10px;border-radius:999px;background:#dce6ea;margin:9px 0}.mline.lg{width:72%}.mline.md{width:52%}.mline.sm{width:34%}.center{margin-left:auto;margin-right:auto}.mbutton{height:34px;border-radius:10px;background:var(--brand);margin-top:13px}.mbutton.light{background:#e8f0f2}.mchips{display:flex;gap:8px;margin-top:16px}.mchips i{width:54px;height:30px;border-radius:9px;background:#e9eef1}.template-option h3{margin:0 0 5px}.template-option p{margin:0;color:#64748b}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.feature-grid article{padding:24px;border-radius:22px;background:#fff;border:1px solid var(--line)}.feature-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:15px;background:#eaf5f6;font-size:24px}.feature-grid h3{margin:14px 0 7px}.feature-grid p{color:#64748b;line-height:1.6;margin:0}
.physical-wrap{display:grid;grid-template-columns:1fr 1fr;gap:30px;perspective:1200px}.card3d{min-height:300px;border-radius:24px;box-shadow:0 26px 60px rgba(15,23,42,.17);padding:28px}.front-card{background:linear-gradient(135deg,#0e1726,#0b3240 45%,var(--brand));color:#fff;transform:rotateY(-5deg) rotateX(2deg)}.back-card{background:#fff;border:1px solid var(--line);display:flex;align-items:center;gap:26px;transform:rotateY(5deg) rotateX(2deg)}.nfc-mark{font-weight:900;letter-spacing:.08em}.front-copy{margin-top:78px}.small-brand{font-size:12px;letter-spacing:.18em;font-weight:900;color:#bff9fb}.front-copy h3{font-size:38px;margin:8px 0 2px}.front-copy p{margin:0 0 20px;color:#d8f7f8}.front-copy span{font-weight:800}.qrbox{flex:0 0 150px;padding:12px;border-radius:18px;background:#f8fafc;border:1px solid var(--line)}.backinfo{display:flex;flex-direction:column;gap:8px}.backinfo strong{font-size:24px}.backinfo span{color:#64748b;font-weight:700}
.cta-box{border-radius:28px;padding:34px;background:linear-gradient(135deg,#063743,var(--brand));color:#fff;display:flex;justify-content:space-between;gap:24px;align-items:center}.cta-box h2{font-size:38px;margin:0}
.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at top right,rgba(0,131,143,.18),transparent 28%),#eef4f5}.auth-card{width:min(100%,440px);padding:32px;background:#fff;border:1px solid var(--line);border-radius:26px;box-shadow:var(--shadow)}.auth-card h1{font-size:38px;margin:26px 0 6px}.auth-card>p{color:#64748b;margin-top:0}.auth-card form{display:grid;gap:15px}.auth-card label{display:grid;gap:7px;font-weight:800}.auth-card input{padding:13px 14px;border:1px solid #d7e2e6;border-radius:12px;font:inherit}.error-box,.demo-note{padding:12px 14px;border-radius:12px;margin:14px 0}.error-box{background:#fff1f2;color:#9f1239}.demo-note{background:#eef7f8;color:#31505a;font-size:13px}
.dashboard-page{display:grid;grid-template-columns:250px 1fr;min-height:100vh;background:#f5f8f9}.sidebar{padding:26px 18px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:28px}.sidebar nav{display:grid;gap:8px}.sidebar nav a{padding:11px 12px;border-radius:11px;font-weight:800;color:#526072}.sidebar nav a.active{background:#eaf5f6;color:var(--brand)}.logout-link{margin-top:auto;color:#a43b4a;font-weight:800;padding:11px 12px}.dashboard-main{padding:34px}.dash-top{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:24px}.dash-top h1{font-size:40px;margin:0}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.panel{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px}.panel h2{margin-top:0}.muted{color:#64748b}.avatar-edit{display:flex;gap:16px;align-items:center;margin-bottom:20px}.avatar-edit img{width:82px;height:82px;object-fit:cover;border-radius:50%}.avatar-edit div{display:flex;flex-direction:column;gap:4px}.avatar-edit span{color:#64748b}.avatar-edit button{align-self:flex-start;border:0;background:#eef5f6;padding:8px 10px;border-radius:9px;font-weight:800}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid label{display:grid;gap:6px;font-weight:800;font-size:13px}.form-grid label.full{grid-column:1/-1}.form-grid input,.form-grid textarea{padding:12px;border:1px solid #dce6e9;border-radius:11px;font:inherit}.form-grid textarea{min-height:90px;resize:vertical}.template-picks{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.template-picks button{border:1px solid #dce6e9;background:#fff;padding:10px;border-radius:12px;font-weight:800}.template-picks button.selected{border:2px solid var(--brand)}.tiny-card{height:60px;border-radius:8px;display:block;margin-bottom:8px;background:#eef2f4}.modern-tiny{background:linear-gradient(180deg,var(--brand) 30%,#fff 31%)}.classic-tiny{background:linear-gradient(90deg,#1e293b 34%,#fff 35%)}.minimal-tiny{background:#fafaf8;border:1px solid #eee}.palette{display:flex;gap:10px}.color{width:34px;height:34px;border-radius:50%;border:3px solid white;background:var(--c);box-shadow:0 0 0 1px #cad7db}.color.selected{box-shadow:0 0 0 3px var(--ink)}.share-box{display:flex;gap:20px;align-items:center}.share-box img{width:130px}.share-box strong{overflow-wrap:anywhere}
@media(max-width:980px){.hero{grid-template-columns:1fr}.template-grid,.feature-grid,.physical-wrap{grid-template-columns:1fr}.dashboard-page{grid-template-columns:1fr}.sidebar{position:static;border-right:0;border-bottom:1px solid var(--line)}.sidebar nav{grid-template-columns:repeat(4,1fr)}.logout-link{margin-top:0}.dashboard-grid{grid-template-columns:1fr}}
@media(max-width:720px){.topbar{position:static;flex-direction:column}.topbar nav{justify-content:center}.hero,.section{width:calc(100% - 24px)}.hero{min-height:auto;padding-top:34px}.hero h1{font-size:52px}.phone{width:min(100%,330px)}.feature-grid{grid-template-columns:1fr}.cta-box{flex-direction:column;align-items:flex-start}.back-card{flex-direction:column;align-items:flex-start}.dashboard-main{padding:20px}.dash-top{align-items:flex-start;flex-direction:column}.sidebar nav{grid-template-columns:1fr 1fr}.form-grid{grid-template-columns:1fr}.template-picks{grid-template-columns:1fr}.share-box{flex-direction:column;align-items:flex-start}}


/* ----------------------------------------------------------
   V2.2 landing preview patch
   Keeps the original V2 styling and only fixes the demo card.
----------------------------------------------------------- */
.phone-card .save-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:42px;
    padding:10px 12px;
    box-sizing:border-box;
    white-space:normal;
    line-height:1.15;
}

.phone-card .avatar{
    background:#ffffff;
}
