:root{
  --container:1200px;
  --blue:#2DA8DB;
  --blue2:#0876e7;
  --blue3:#0b84d8;
  --hero-dark:#05205f;
  --hero-mid:#063d91;
  --hero-light:#0a6ede;
  --pink:#FF2575;
  --pink2:#ff4f94;
  --navy:#071b4f;
  --text:#102044;
  --muted:#657a94;
  --line:#e2edf8;
  --soft:#f5f9ff;
  --green:#22a447;
  --shadow:0 18px 45px rgba(7,27,79,.11);
  --shadow-sm:0 12px 28px rgba(7,27,79,.08);
  --radius:22px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--text);background:#fff;line-height:1.45}
button,a{font:inherit}a{text-decoration:none;color:inherit}button{cursor:pointer}.container{width:min(var(--container),calc(100% - 48px));margin-inline:auto}.privacy-bar{display:none}.hidden{display:none!important}.view{display:none}.view.active{display:block}

svg{display:block}.btn-icon,.primary-btn svg,.header-cta svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

.site-header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.97);border-bottom:1px solid rgba(226,237,248,.88);backdrop-filter:blur(14px) saturate(1.15)}
.header-inner{height:86px;display:flex;align-items:center;gap:34px}.brand{display:flex;align-items:center;line-height:0;min-width:245px}.brand-logo{display:block;width:273px;height:auto;max-height:64px;object-fit:contain;object-position:left center}.top-nav{margin-left:auto;display:flex;align-items:center;gap:54px}.top-nav a{font-size:15px;font-weight:900;color:#0b1c43;transition:.18s color}.top-nav a:hover{color:var(--blue2)}
.header-cta,.primary-btn,.pink-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;color:#fff;background:linear-gradient(135deg,var(--pink),var(--pink2));border-radius:12px;padding:15px 27px;font-weight:900;box-shadow:0 14px 28px rgba(255,37,117,.28);transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}.header-cta{margin-left:28px;min-width:190px}.header-cta:hover,.primary-btn:hover,.pink-btn:hover{transform:translateY(-1px);box-shadow:0 18px 36px rgba(255,37,117,.34);filter:saturate(1.06)}.primary-btn.small,.pink-btn.small{padding:10px 16px;border-radius:10px;font-size:14px}.outline-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fff;border:1.5px solid #bad7f4;color:#0d58a9;border-radius:10px;padding:10px 16px;font-weight:900}.outline-btn:hover{background:#f1f9ff;border-color:#7ec5f2}

.hero{position:relative;overflow:hidden;color:#fff;background:radial-gradient(circle at 54% 48%,rgba(45,168,219,.20) 0 15%,rgba(45,168,219,.08) 16% 28%,transparent 48%),radial-gradient(circle at 95% 28%,rgba(255,255,255,.08) 0 10%,rgba(255,255,255,.035) 10% 20%,transparent 42%),linear-gradient(126deg,var(--hero-dark) 0%,#062a72 42%,var(--hero-light) 100%)}
.hero:before{content:"";position:absolute;right:-90px;top:-160px;width:560px;height:560px;border-radius:50%;border:1px solid rgba(255,255,255,.09);box-shadow:0 0 0 82px rgba(255,255,255,.025),0 0 0 170px rgba(255,255,255,.018)}.hero:after{content:"";position:absolute;left:0;right:0;bottom:0;height:112px;background:linear-gradient(160deg,transparent 0 42%,rgba(45,168,219,.24) 43% 56%,transparent 57%);pointer-events:none}.hero-inner{position:relative;z-index:1;display:grid;grid-template-columns:470px minmax(260px,1fr) 390px;column-gap:24px;align-items:center;min-height:537px;padding:42px 0 44px}.hero h1{width:500px;max-width:500px;margin:0 0 22px;color:#fff;font-size:56px;line-height:1.06;letter-spacing:-2.2px;font-weight:950}.hero h1 span{color:var(--pink)}.hero-text{max-width:455px;margin:0 0 28px;font-size:17px;line-height:1.65;color:#f3f8ff;font-weight:650}
.trust-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center;max-width:555px}.trust-pill{display:inline-flex;align-items:center;gap:12px;min-height:58px;background:#fff;color:#12254d;border:1px solid rgba(255,255,255,.82);border-radius:16px;padding:13px 18px;font-size:14px;font-weight:950;box-shadow:0 16px 30px rgba(0,13,58,.22)}.trust-pill i{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#ecf7ff;color:#086ee7;flex:0 0 34px}.trust-pill svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.trust-free i{background:#fff1f7;color:var(--pink)}
.hero-illustration{position:relative;z-index:2;align-self:end;min-height:440px;overflow:visible;pointer-events:none}.hero-glow{position:absolute;z-index:0;pointer-events:none;border-radius:50%}.hero-glow-one{width:430px;height:430px;left:-100px;top:20px;background:rgba(255,255,255,.035);box-shadow:0 0 0 74px rgba(255,255,255,.018),0 0 0 142px rgba(45,168,219,.052)}.hero-glow-two{width:230px;height:230px;right:-70px;top:60px;border:1px solid rgba(255,255,255,.08)}.hero-person-img{position:absolute;z-index:2;left:50%;bottom:-44px;width:430px;max-width:none;height:auto;transform:translateX(-52%);display:block;object-fit:contain;filter:drop-shadow(0 22px 36px rgba(0,13,58,.20))}

.upload-card{position:relative;z-index:2;align-self:center;justify-self:end;width:390px;max-width:100%;background:#fff;border:1px solid #e7effa;border-radius:24px;padding:25px;box-shadow:0 26px 55px rgba(0,15,70,.25)}.drop-zone{min-height:302px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:2px dashed #57b6ff;border-radius:18px;background:#fff;padding:30px 24px;outline:none;transition:.18s background,.18s border-color,.18s transform}.drop-zone:hover,.drop-zone.dragover{background:#fbfdff;border-color:var(--pink);transform:translateY(-1px)}.upload-icon{width:104px;height:104px;margin:0 auto 10px;border-radius:32px;display:grid;place-items:center;background:linear-gradient(180deg,#f8fcff,#eef7ff);box-shadow:inset 0 0 0 1px #dcecff,0 14px 30px rgba(8,118,231,.10)}.upload-icon svg{width:66px;height:66px;fill:none;stroke:#0876e7;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.drop-zone h2{margin:12px 0 4px;color:var(--navy);font-size:23px;letter-spacing:-.25px}.drop-zone p{margin:0 0 25px;color:#3f5270;font-weight:700}.drop-zone .primary-btn{min-width:285px;border-radius:11px;padding:16px 22px;font-size:17px}.secure-note{display:flex;align-items:flex-start;gap:9px;margin:18px 0 0;color:#617692;font-size:14px;font-weight:700;line-height:1.45}.note-icon{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;margin-top:1px}

.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;padding:34px 0}.feature-card{position:relative;background:#fff;border:1px solid #e7eff8;border-radius:20px;box-shadow:var(--shadow-sm);text-align:center;padding:34px 24px 30px;min-height:224px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;overflow:hidden}.feature-card:before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:var(--card-accent,#0b73e8)}.feature-card-blue{--card-accent:#0876e7;--icon-bg:#168edb;--icon-border:#35b8eb}.feature-card-cyan{--card-accent:#2DA8DB;--icon-bg:#219ed7;--icon-border:#65cef0}.feature-card-pink{--card-accent:#FF2575;--icon-bg:#ff5aa0;--icon-border:#0b73e8}.feature-icon{width:78px;height:78px;margin:0 auto 22px;border-radius:50%;display:grid;place-items:center;color:#fff;background:var(--icon-bg);border:5px solid rgba(255,255,255,.78);box-shadow:0 0 0 4px var(--icon-border),0 16px 28px rgba(8,118,231,.18)}.feature-icon svg{width:43px;height:43px;fill:none;stroke:currentColor;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.feature-icon rect{fill:none}.feature-card h3{margin:0 0 10px;color:var(--navy);font-size:19px;line-height:1.2;font-weight:950}.feature-card p{margin:0;color:#637790;font-size:15px;line-height:1.55}

.how-section{padding:30px 0 56px;text-align:center;background:#fff}.how-section h2{font-size:36px;color:var(--navy);line-height:1;margin:0 0 46px;font-weight:950;letter-spacing:-.9px;display:flex;align-items:center;justify-content:center;gap:20px}.how-section h2 span{display:inline-block;width:52px;height:5px;background:radial-gradient(circle,var(--blue2) 0 2px,transparent 3px),radial-gradient(circle,var(--pink) 0 2px,transparent 3px);background-size:14px 5px;background-position:0 0,22px 0}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:78px;position:relative}.steps article{position:relative;overflow:visible;background:linear-gradient(135deg,#0b6be6 0%,#2DA8DB 100%);border:0;border-radius:22px;padding:48px 30px 38px;min-height:228px;box-shadow:0 20px 42px rgba(8,118,231,.20);color:#fff}.steps article:nth-child(2){background:linear-gradient(135deg,#0656d9 0%,#2c9fe8 100%)}.steps article:not(:last-child):after{content:"····→";position:absolute;right:-63px;top:50%;transform:translateY(-50%);color:var(--pink);font-weight:950;letter-spacing:3px;font-size:22px}.steps span{position:absolute;top:-25px;left:50%;transform:translateX(-50%);width:52px;height:52px;border-radius:50%;background:var(--pink);color:#fff;border:5px solid #fff;display:grid;place-items:center;font-weight:950;font-size:20px;box-shadow:0 14px 24px rgba(255,37,117,.26)}.step-icon{width:74px;height:74px;margin:0 auto 20px;border-radius:24px;color:#fff;background:rgba(255,255,255,.12);border:3px solid rgba(255,255,255,.72);display:grid;place-items:center}.step-icon svg{width:48px;height:48px;fill:none;stroke:currentColor;stroke-width:4.6;stroke-linecap:round;stroke-linejoin:round}.steps h3{margin:0 0 10px;color:#fff;font-size:20px;font-weight:950}.steps p{margin:0;color:#eaf6ff;line-height:1.55;font-weight:650}

.split-section{display:grid;grid-template-columns:.82fr 1.32fr;gap:38px;align-items:center;padding:36px 0 46px}.use-copy h2{margin:0 0 28px;font-size:33px;line-height:1.18;letter-spacing:-.9px;color:var(--navy);font-weight:950}.check-list{list-style:none;padding:0;margin:0;display:grid;gap:20px}.check-list li{position:relative;padding-left:38px;font-weight:800;color:#10244e}.check-list li:before{content:"✓";position:absolute;left:0;top:-2px;width:24px;height:24px;border:3px solid #0b73e8;border-radius:50%;display:grid;place-items:center;color:#0b73e8;font-size:13px;background:#fff}.preview-card{background:#fff;border:1px solid #e7eff8;border-radius:22px;box-shadow:var(--shadow);padding:18px}.tabs{display:flex;gap:26px;border-bottom:1px solid #e5eef8}.tabs span,.tabs button{border:0;background:transparent;padding:14px 18px;color:#56708a;font-weight:850;cursor:pointer}.tabs .active,.tabs button.active{color:#0876e7;border-bottom:3px solid #0876e7}.fake-preview{display:grid;grid-template-columns:1fr 235px;gap:20px}.fake-preview .tabs{grid-column:1/-1}.invoice-sample{background:#f8fbff;border:1px solid #dce8f5;border-radius:14px;padding:0 22px 24px;overflow:hidden}.viewer-mini-bar{height:38px;background:#242a31;margin:0 -22px 20px;display:flex;align-items:center;gap:12px;padding:0 15px}.viewer-mini-bar span{width:13px;height:13px;border-radius:2px;background:#e8eef5;opacity:.75}.invoice-sample h3{text-align:center;color:var(--navy);font-size:20px;margin:0 0 18px}.invoice-sample dl{display:grid;grid-template-columns:1fr 1.1fr;gap:9px 16px;background:#fff;border:1px solid #e5eef8;border-radius:10px;padding:16px}.invoice-sample dt{font-weight:900;color:#4f6683;font-size:13px}.invoice-sample dd{margin:0;font-weight:850;color:#162c58;font-size:13px}.fake-preview aside{border-left:1px solid var(--line);padding-left:20px}.fake-preview aside strong{display:block;margin:0 0 12px;color:var(--navy);font-size:18px}.fake-preview aside span{display:inline-flex;align-items:center;gap:6px;background:#e8f8ed;color:#1e7b34;border-radius:999px;padding:7px 11px;font-weight:900;font-size:12px}.fake-preview aside dl{margin:14px 0 18px}.fake-preview aside dt{text-transform:none;color:#7b8fa7;font-size:12px;margin-top:10px;font-weight:900}.fake-preview aside dd{margin:2px 0 6px;font-size:12px;font-weight:850;color:#20355e}.fake-preview aside button{width:100%;border:1.5px solid var(--pink);background:#fff;color:var(--pink);border-radius:10px;padding:11px 12px;font-weight:900}

.result-hero{position:relative;overflow:hidden;background:linear-gradient(126deg,var(--hero-dark) 0%,#062a72 42%,var(--hero-light) 100%);color:#fff}.result-hero:before{content:"";position:absolute;right:10%;top:-120px;width:520px;height:520px;border-radius:50%;border:1px solid rgba(255,255,255,.08);box-shadow:0 0 0 80px rgba(255,255,255,.025),0 0 0 160px rgba(255,255,255,.018)}.result-hero-inner{position:relative;z-index:1;display:grid;grid-template-columns:1fr .7fr;gap:40px;align-items:center;min-height:380px;padding:44px 0 42px}.result-hero h1{font-size:clamp(46px,5vw,70px);line-height:1.02;letter-spacing:-2.3px;margin:0 0 20px;color:#fff}.result-hero h1 span{color:var(--pink)}.result-hero p{font-size:18px;color:#eef6ff;max-width:560px;margin:0 0 24px}.status-pills{display:flex;gap:16px;flex-wrap:wrap}.status-pill{display:inline-flex;align-items:center;gap:9px;color:#fff;font-weight:900}.status-pill.ok{color:#b5ffcf}.result-character{position:relative;width:310px;height:310px;margin:auto}.result-character .ok-hand{position:absolute;left:50px;top:62px;font-size:56px;z-index:5;transform:rotate(-8deg)}.result-character .head{position:absolute;left:116px;top:18px;width:96px;height:112px;background:#ffc28f;border-radius:46%;z-index:4}.result-character .head:before{content:"";position:absolute;left:-14px;top:-20px;width:126px;height:58px;background:#071e56;border-radius:61% 55% 50% 20%;transform:rotate(-8deg);box-shadow:24px -12px 0 #082c72}.result-character .head:after{content:"";position:absolute;left:30px;top:57px;width:43px;height:18px;border-bottom:4px solid #8d3b24;border-radius:0 0 45px 45px}.head span:before,.head span:after{content:"";position:absolute;top:47px;width:8px;height:8px;background:#061b3f;border-radius:50%;z-index:3}.head span:before{left:25px}.head span:after{right:23px}.body-ill{position:absolute;left:88px;top:121px;width:154px;height:164px;background:linear-gradient(135deg,#1496ff,#0554cc);border-radius:48px 48px 18px 18px;box-shadow:0 28px 34px rgba(0,18,79,.22);z-index:2}.laptop{position:absolute;left:138px;top:222px;width:166px;height:108px;background:linear-gradient(135deg,#f4f8fe,#b8c8d9);border-radius:14px 14px 6px 6px;box-shadow:0 26px 28px rgba(0,18,79,.2);z-index:5}.laptop-badge{position:absolute;left:63px;top:35px;width:30px;height:30px;border-radius:50%;background:#fff;display:grid;place-items:center;color:#56667b;font-size:13px;box-shadow:0 6px 13px rgba(0,0,0,.1)}
.file-strip{margin-top:24px;margin-bottom:22px;padding:22px 26px;display:grid;grid-template-columns:1fr .8fr auto;gap:24px;align-items:center;background:#fff;border:1px solid #e7eff8;border-radius:20px;box-shadow:var(--shadow-sm)}.file-main{display:flex;align-items:center;gap:17px}.file-doc{width:56px;height:56px;border-radius:15px;display:grid;place-items:center;background:#eef8ff;color:#0b73e8}.file-doc svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.file-main strong,.file-status strong{display:block;color:var(--navy);font-weight:900}.file-main small,.file-status small{color:#657a94}.file-status{border-left:1px solid var(--line);padding-left:24px}.file-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.file-actions .primary-btn{background:linear-gradient(135deg,var(--pink),var(--pink2));box-shadow:0 12px 26px rgba(255,37,117,.22)}
.result-layout{display:grid;grid-template-columns:minmax(0,1fr) 355px;gap:24px;padding-bottom:28px}.viewer-card,.side-card,.mini-features article{background:#fff;border:1px solid #e7eff8;border-radius:20px;box-shadow:var(--shadow-sm)}.viewer-card{padding:18px}.viewer-toolbar{height:50px;background:#262a2f;color:#fff;border-radius:13px 13px 0 0;display:flex;align-items:center;gap:20px;padding:0 18px;font-weight:800}.tab-panel{display:none}.tab-panel.active{display:block}.invoice-preview{background:#f8fbff;border:1px solid #dce8f5;border-top:0;border-radius:0 0 14px 14px;padding:28px;min-height:500px}.invoice-preview h2{text-align:center;color:var(--navy);margin-top:0}.empty-state{text-align:center;color:#72849a}.invoice-header{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin:28px 0}.info-box{background:#eef7ff;border:1px solid #d6eaff;border-radius:12px;padding:18px;margin:20px 0}.items-table,.data-table-wrap table{width:100%;border-collapse:collapse;background:#fff}.items-table th,.items-table td,.data-table-wrap th,.data-table-wrap td{border-bottom:1px solid #e7eef7;padding:12px;text-align:left}.items-table tfoot td{font-weight:900;background:#eef7ff}.xml-box{white-space:pre-wrap;word-break:break-word;background:#071b4f;color:#dff3ff;border-radius:0 0 14px 14px;padding:22px;min-height:500px;max-height:680px;overflow:auto;font:13px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.side-panels{display:grid;gap:18px;align-content:start}.side-card{padding:22px}.side-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.side-card h3{margin:0 0 18px;color:var(--navy)}.side-card dl{display:grid;gap:0;margin:0}.side-card dt{color:#8194aa;text-transform:uppercase;font-size:12px;font-weight:900;margin-top:12px}.side-card dd{margin:4px 0 8px;font-weight:850;color:#14254d}.side-title span,#certBadge{background:#e8f8ed;color:#1e7b34;padding:7px 10px;border-radius:999px;font-weight:900;font-size:12px}.secure-card{background:linear-gradient(135deg,#eef8ff,#fff)}.mini-features{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;padding-bottom:28px}.mini-features article{padding:22px;text-align:center}.mini-features strong{color:var(--navy)}.mini-features p{margin:7px 0 0;color:#657990;font-size:13px}
.software-cta{margin-top:28px;margin-bottom:22px;background:linear-gradient(135deg,#006ee9,#0a44b8 68%,#082a79);border-radius:18px;color:#fff;display:grid;grid-template-columns:235px 1fr auto;gap:28px;align-items:center;padding:22px 28px;box-shadow:0 18px 34px rgba(7,27,79,.18)}.software-cta img{max-width:205px;display:block}.software-cta h2{margin:0 0 4px;font-size:22px;color:#fff}.software-cta p{margin:0;color:#e5f3ff}.software-cta a{background:linear-gradient(135deg,var(--pink),var(--pink2));color:#fff;font-weight:950;border-radius:10px;padding:14px 21px;white-space:nowrap;box-shadow:0 12px 22px rgba(255,37,117,.24)}.site-footer{background:#061945;color:#eaf3ff}.footer-inner{min-height:82px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}.footer-brand{display:flex;align-items:center;gap:10px}.footer-mark{width:42px;height:42px;border:2px solid currentColor;border-radius:10px;display:inline-block}.footer-brand strong{font-size:21px;color:#fff;letter-spacing:-.3px;display:block}.footer-brand em{color:#c7d8ec;font-size:11px;font-style:normal}.site-footer nav{display:flex;gap:42px}.site-footer nav a{color:#fff;font-weight:700}.site-footer p{text-align:right;margin:0;color:#b9c9da;font-size:13px}.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:80;background:#071b4f;color:#fff;padding:14px 18px;border-radius:12px;box-shadow:var(--shadow);max-width:min(92vw,620px)}

@media(max-width:1220px){.hero-inner{grid-template-columns:430px 1fr 370px;column-gap:16px}.hero h1{font-size:52px;width:450px;max-width:450px}.hero-text{max-width:420px}.hero-person-img{width:400px}.upload-card{width:370px}.drop-zone .primary-btn{min-width:255px}}
@media(max-width:1100px){.top-nav{display:none}.brand{min-width:210px}.brand-logo{width:215px}.header-cta{margin-left:auto;min-width:0}.hero-inner{grid-template-columns:1fr 410px;min-height:auto;row-gap:20px}.hero-copy{grid-column:1/2}.hero-illustration{grid-column:1/2;grid-row:1/2;opacity:.35;min-height:360px}.hero-person-img{left:72%;width:360px}.upload-card{grid-column:2/3;grid-row:1/2;width:410px}.hero h1{width:auto;max-width:520px}.hero-text{max-width:520px}.feature-grid,.mini-features{grid-template-columns:repeat(2,1fr)}.steps{grid-template-columns:1fr;gap:38px}.steps article:not(:last-child):after{display:none}.split-section,.result-layout,.file-strip,.software-cta,.footer-inner{grid-template-columns:1fr}.fake-preview{grid-template-columns:1fr}.fake-preview aside{border-left:0;border-top:1px solid var(--line);padding:18px 0 0}.software-cta a{justify-self:start}.site-footer p{text-align:left}}
@media(max-width:760px){.container{width:min(100% - 32px,var(--container))}.header-inner{height:auto;padding:14px 0}.brand-logo{width:210px}.header-cta{padding:11px 13px;font-size:13px}.hero-inner{display:block;padding:34px 0 38px}.hero h1{font-size:43px;max-width:100%;width:auto}.hero-text{font-size:16px}.trust-row{margin-bottom:26px}.trust-pill{width:100%;max-width:330px}.hero-illustration{display:none}.upload-card{width:100%}.drop-zone .primary-btn{width:100%;min-width:0}.feature-grid,.mini-features{grid-template-columns:1fr}.split-section{gap:24px}.use-copy h2{font-size:29px}.result-hero-inner{grid-template-columns:1fr}.result-character{display:none}.file-actions{justify-content:flex-start}.software-cta{padding:20px}.footer-inner{padding:18px 0}.site-footer nav{gap:24px;flex-wrap:wrap}}

/* =========================================================
   PATCH GRAFICA V7 - icone semplificate, un solo simbolo
   ========================================================= */
.feature-card{
  min-height:220px;
  padding-top:34px;
}
.feature-icon{
  width:82px;
  height:82px;
  margin-bottom:22px;
  border-radius:50%;
  border:0;
  background:linear-gradient(135deg,#0b7bec 0%, #2DA8DB 100%);
  box-shadow:
    inset 0 0 0 5px rgba(255,255,255,.22),
    0 0 0 5px rgba(45,168,219,.20),
    0 18px 30px rgba(8,118,231,.18);
  color:#fff;
}
.feature-card-cyan .feature-icon{
  background:linear-gradient(135deg,#17a0d8 0%, #45c2ec 100%);
  box-shadow:inset 0 0 0 5px rgba(255,255,255,.22),0 0 0 5px rgba(45,168,219,.20),0 18px 30px rgba(45,168,219,.18);
}
.feature-card-pink .feature-icon{
  background:linear-gradient(135deg,#FF2575 0%, #ff6aa7 100%);
  box-shadow:inset 0 0 0 5px rgba(255,255,255,.22),0 0 0 5px rgba(255,37,117,.18),0 18px 30px rgba(255,37,117,.18);
}
.feature-icon svg{
  width:48px;
  height:48px;
  fill:none;
  stroke:currentColor;
  stroke-width:5;
  stroke-linecap:round;
  stroke-linejoin:round;
  display:block;
}
.feature-icon svg rect,
.feature-icon svg circle,
.feature-icon svg path{
  fill:none;
  stroke:currentColor;
}
.feature-icon .euro-symbol{
  stroke:none;
  fill:#fff;
}
.feature-icon .euro-symbol text{
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size:42px;
  font-weight:950;
  fill:#fff;
  stroke:none;
}

/* La sezione "Come funziona" mantiene i box blu, ma le icone sono più essenziali: niente riquadri dentro riquadri. */
.steps article{
  padding-top:52px;
}
.step-icon{
  width:78px;
  height:78px;
  margin:0 auto 20px;
  border:0;
  background:rgba(255,255,255,.12);
  border-radius:50%;
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.20);
  color:#fff;
}
.step-icon svg{
  width:56px;
  height:56px;
  fill:none;
  stroke:currentColor;
  stroke-width:4.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  display:block;
}
.step-icon svg path,
.step-icon svg circle{
  fill:none;
  stroke:currentColor;
}

/* piccoli badge hero: più leggibili e meno compressi */
.trust-row .trust-pill{
  min-height:48px;
  padding:13px 18px;
  border-radius:14px;
}
.trust-row .trust-pill i{
  width:30px;
  height:30px;
}
.trust-row .trust-pill svg{
  width:17px;
  height:17px;
}


/* =========================================================
   PATCH GRAFICA V8 - risultato: pulsanti, certificato, mini card e toolbar pulita
   ========================================================= */
.result-layout{
  gap:28px;
  padding-bottom:34px;
}
.file-strip{
  padding:24px 28px;
  gap:28px;
  margin-top:28px;
  margin-bottom:26px;
}
.file-actions{
  gap:12px;
  align-items:center;
}
.file-actions .btn-icon,
.viewer-tool-btn .btn-icon{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex:0 0 18px;
}
.file-actions .outline-btn,
.file-actions .primary-btn,
.file-actions .pink-btn{
  min-height:44px;
  padding:11px 16px;
  gap:8px;
  border-radius:12px;
  white-space:nowrap;
}
.file-actions .outline-btn[data-action="new-file"]{
  border-color:#8fc7f1;
  background:#f8fcff;
}
.file-actions .outline-btn[data-action="new-file"]:hover{
  background:#eef8ff;
}

/* Badge certificato con spunta semplice */
.side-title span,
#certBadge{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:34px;
  padding:7px 12px;
  border-radius:999px;
  background:#e8f8ed;
  color:#1e7b34;
  font-weight:950;
  line-height:1;
}
#certBadge::before{
  content:"✓";
  width:18px;
  height:18px;
  border-radius:50%;
  display:inline-grid;
  place-items:center;
  background:#22a447;
  color:#fff;
  font-size:12px;
  font-weight:950;
  flex:0 0 18px;
}
.side-card{
  padding:26px;
}
.side-panels{
  gap:22px;
}

/* Toolbar anteprima: rimossi strumenti finti, lasciate solo azioni utili */
.viewer-toolbar.viewer-toolbar-actions{
  height:auto;
  min-height:58px;
  border-radius:13px 13px 0 0;
  background:#252b34;
  padding:12px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}
.viewer-toolbar-title{
  color:#fff;
  font-weight:900;
  font-size:14px;
  letter-spacing:.1px;
}
.viewer-toolbar-buttons{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.viewer-tool-btn{
  border:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:38px;
  padding:9px 13px;
  border-radius:10px;
  color:#fff;
  font-weight:900;
  font-size:13px;
  box-shadow:0 10px 18px rgba(0,0,0,.14);
}
.viewer-tool-xml{
  background:linear-gradient(135deg,#0876e7,#2DA8DB);
}
.viewer-tool-pdf{
  background:linear-gradient(135deg,var(--pink),var(--pink2));
}
.viewer-tool-btn:hover{
  transform:translateY(-1px);
}

/* Mini feature card con icone semplici */
.mini-features{
  gap:22px;
  padding-top:2px;
  padding-bottom:34px;
}
.mini-features article{
  min-height:150px;
  padding:26px 22px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
}
.mini-icon{
  width:54px;
  height:54px;
  border-radius:18px;
  display:grid;
  place-items:center;
  color:#0876e7;
  background:linear-gradient(180deg,#ffffff 0%,#eef8ff 100%);
  box-shadow:inset 0 0 0 2px #0b73e8,0 12px 24px rgba(8,118,231,.10);
  margin-bottom:2px;
}
.mini-icon-svg{
  width:31px;
  height:31px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.mini-features strong{
  font-size:16px;
  line-height:1.2;
}
.mini-features p{
  max-width:220px;
  margin:0;
  line-height:1.55;
}

/* Più respiro nella zona risultato */
.viewer-card{
  padding:18px;
  border-radius:22px;
}
.invoice-preview{
  padding:32px;
}

@media(max-width:1100px){
  .file-actions{justify-content:flex-start;}
  .viewer-toolbar.viewer-toolbar-actions{align-items:flex-start;flex-direction:column;}
  .viewer-toolbar-buttons{justify-content:flex-start;}
}
@media(max-width:760px){
  .file-strip{padding:20px;}
  .file-actions .outline-btn,
  .file-actions .primary-btn,
  .file-actions .pink-btn,
  .viewer-tool-btn{width:100%;}
  .viewer-toolbar-buttons{width:100%;}
}

/* =========================================================
   PATCH GRAFICA V9 - pagina risultato: status, toolbar dinamica e lock card
   ========================================================= */
.status-pills{
  gap:14px;
  align-items:center;
}
.status-pill{
  min-height:46px;
  padding:11px 16px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#fff !important;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 14px 26px rgba(0,13,58,.18);
  line-height:1;
}
.status-pill::before{
  content:"";
  width:22px;
  height:22px;
  border-radius:50%;
  display:inline-grid;
  place-items:center;
  flex:0 0 22px;
  background:rgba(255,255,255,.18);
  color:#fff;
  font-size:13px;
  font-weight:950;
}
.status-signature::before,
#signatureStatus::before{
  content:"✓";
  background:#22a447;
  color:#fff;
}
.status-local::before{
  content:"";
  border-radius:7px;
  background-color:#fff;
  opacity:.96;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='10' width='14' height='10' rx='3' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M8 10V7.5a4 4 0 0 1 8 0V10' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M12 14v2' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='10' width='14' height='10' rx='3' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M8 10V7.5a4 4 0 0 1 8 0V10' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M12 14v2' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
}
.viewer-toolbar-title{
  min-width:170px;
  color:#fff;
  font-weight:950;
  font-size:15px;
}
.viewer-card .tabs button[data-toolbar-title]{
  transition:color .18s ease,border-color .18s ease,background .18s ease;
}
.cert-badge-read,
#certBadge{
  white-space:nowrap;
}
.secure-card{
  position:relative;
  overflow:hidden;
  padding:24px 24px 25px;
}
.secure-card::after{
  content:"";
  position:absolute;
  right:-38px;
  top:-38px;
  width:112px;
  height:112px;
  border-radius:50%;
  background:rgba(8,118,231,.06);
  pointer-events:none;
}
.secure-card-title{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 12px !important;
  color:var(--navy);
  line-height:1.2;
}
.secure-card-icon{
  width:44px;
  height:44px;
  border-radius:15px;
  display:grid;
  place-items:center;
  flex:0 0 44px;
  color:#0876e7;
  background:linear-gradient(180deg,#fff 0%,#eef8ff 100%);
  box-shadow:inset 0 0 0 2px #bde4ff,0 12px 24px rgba(8,118,231,.10);
}
.secure-card-icon svg{
  width:25px;
  height:25px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.file-strip,
.result-layout,
.mini-features{
  scroll-margin-top:110px;
}
.file-actions .outline-btn,
.file-actions .primary-btn,
.file-actions .pink-btn,
.viewer-tool-btn{
  font-size:14px;
}
@media(max-width:760px){
  .status-pill{width:100%;justify-content:center;}
  .viewer-toolbar-title{min-width:0;}
}

/* =========================================================
   PATCH GRAFICA V10 - result hero con immagine PNG esterna
   ========================================================= */
.result-hero-inner{
  grid-template-columns:minmax(0,1fr) 430px;
  gap:48px;
  align-items:center;
}
.result-character-media{
  position:relative;
  width:430px;
  max-width:100%;
  height:360px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  pointer-events:none;
  isolation:isolate;
}
.result-character-media::before{
  content:"";
  position:absolute;
  z-index:-1;
  left:50%;
  top:50%;
  width:330px;
  height:330px;
  border-radius:50%;
  transform:translate(-50%,-50%);
  background:rgba(255,255,255,.055);
  box-shadow:
    0 0 0 72px rgba(255,255,255,.024),
    0 0 0 140px rgba(45,168,219,.050);
}
.result-ok-img{
  display:block;
  width:min(420px,100%);
  height:100%;
  object-fit:contain;
  object-position:center bottom;
  filter:drop-shadow(0 26px 38px rgba(0,14,64,.24));
}
/* Disattiva definitivamente il vecchio omino CSS, se qualche markup residuo resta in cache. */
.result-character{display:none!important;}
@media(max-width:1100px){
  .result-hero-inner{grid-template-columns:1fr 340px;gap:28px;}
  .result-character-media{width:340px;height:310px;}
  .result-character-media::before{width:260px;height:260px;}
  .result-ok-img{width:min(340px,100%);}
}
@media(max-width:760px){
  .result-hero-inner{grid-template-columns:1fr;}
  .result-character-media{display:none;}
}


/* =========================================================
   PATCH GRAFICA V11 - pagina risultato: immagine 60% + CTA Software Semplice in hero
   ========================================================= */
.result-hero{
  min-height:430px;
}
.result-hero-inner{
  grid-template-columns:minmax(360px, .40fr) minmax(0, .60fr) !important;
  gap:42px !important;
  min-height:430px;
  padding:42px 0 44px;
  align-items:center;
}
.result-copy{
  position:relative;
  z-index:4;
}
.result-visual-column{
  position:relative;
  min-height:380px;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  overflow:visible;
  isolation:isolate;
}
.result-visual-column::before{
  content:"";
  position:absolute;
  z-index:-2;
  right:-160px;
  top:-150px;
  width:660px;
  height:660px;
  border-radius:50%;
  background:rgba(255,255,255,.035);
  box-shadow:
    0 0 0 95px rgba(255,255,255,.018),
    0 0 0 190px rgba(45,168,219,.055);
  pointer-events:none;
}
.result-character-media{
  position:relative;
  z-index:1;
  width:min(760px, 100%);
  height:390px;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  pointer-events:none;
}
.result-character-media::before{
  display:none !important;
}
.result-ok-img{
  display:block;
  width:min(760px, 100%);
  height:100%;
  object-fit:contain;
  object-position:right bottom;
  filter:drop-shadow(0 30px 42px rgba(0,14,64,.24));
}
.result-hero-cta{
  position:absolute;
  z-index:3;
  top:22px;
  left:0;
  width:min(430px, 62%);
  padding:22px 24px;
  border-radius:22px;
  background:linear-gradient(135deg, rgba(7,27,79,.78), rgba(6,55,132,.72));
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 24px 50px rgba(0,13,58,.26);
  backdrop-filter:blur(10px) saturate(1.18);
  color:#fff;
}

.result-hero-cta h2{
  margin:0 0 8px;
  color:#fff;
  font-size:24px;
  line-height:1.12;
  letter-spacing:-.5px;
  font-weight:950;
}
.result-hero-cta p{
  margin:0 0 16px;
  color:#e8f5ff;
  font-size:14.5px;
  line-height:1.55;
  font-weight:650;
}
.result-cta-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:46px;
  padding:12px 18px;
  border-radius:12px;
  color:#fff;
  background:linear-gradient(135deg,var(--pink),var(--pink2));
  box-shadow:0 15px 30px rgba(255,37,117,.30);
  font-size:14px;
  font-weight:950;
  white-space:nowrap;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.result-cta-button:hover{
  transform:translateY(-1px);
  box-shadow:0 20px 38px rgba(255,37,117,.36);
  filter:saturate(1.06);
}
.result-cta-button .btn-icon{
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex:0 0 19px;
}
@media(max-width:1220px){
  .result-hero-inner{
    grid-template-columns:minmax(330px, .42fr) minmax(0, .58fr) !important;
    gap:28px !important;
  }
  .result-hero-cta{width:min(390px,66%);padding:20px;}
  .result-hero-cta h2{font-size:22px;}
  .result-character-media{height:360px;}
  .result-ok-img{width:min(680px,100%);}
}
@media(max-width:1100px){
  .result-hero-inner{
    grid-template-columns:1fr !important;
    gap:28px !important;
    padding:38px 0 42px;
  }
  .result-visual-column{
    min-height:360px;
    justify-content:center;
  }
  .result-hero-cta{
    position:relative;
    top:auto;
    left:auto;
    width:min(100%,560px);
    margin:0 auto 18px;
  }
  .result-character-media{
    width:min(100%,680px);
    height:330px;
    margin-inline:auto;
    justify-content:center;
  }
  .result-ok-img{object-position:center bottom;}
}
@media(max-width:760px){
  .result-hero{min-height:auto;}
  .result-visual-column{min-height:auto;display:block;}
  .result-character-media{display:none;}
  .result-hero-cta{
    display:block;
    width:100%;
    margin-top:24px;
    padding:20px;
  }
  .result-cta-button{width:100%;white-space:normal;text-align:center;}
}

/* =========================================================
   PATCH GRAFICA V12 - result hero a 3 colonne: testo / immagine / CTA
   ========================================================= */
.result-hero{
  min-height:470px;
  background:
    radial-gradient(circle at 68% 40%, rgba(45,168,219,.14) 0 13%, rgba(45,168,219,.06) 14% 25%, transparent 44%),
    radial-gradient(circle at 92% 45%, rgba(255,255,255,.055) 0 14%, transparent 36%),
    linear-gradient(126deg,var(--hero-dark) 0%,#062a72 43%,var(--hero-light) 100%);
}
.result-hero-inner{
  display:grid !important;
  grid-template-columns:minmax(330px,.34fr) minmax(440px,.42fr) minmax(300px,.24fr) !important;
  gap:22px !important;
  min-height:470px !important;
  padding:38px 0 40px !important;
  align-items:center !important;
}
.result-copy{
  grid-column:1;
  position:relative;
  z-index:5;
  align-self:center;
}
.result-copy h1{
  font-size:clamp(48px,4.4vw,66px);
  max-width:470px;
}
.result-copy p{
  max-width:500px;
}
.result-character-media{
  grid-column:2;
  position:relative !important;
  z-index:2;
  width:100% !important;
  height:430px !important;
  display:flex !important;
  align-items:flex-end !important;
  justify-content:center !important;
  pointer-events:none;
  isolation:isolate;
}
.result-character-media::before{
  display:block !important;
  content:"";
  position:absolute;
  z-index:-1;
  left:50%;
  top:50%;
  width:520px;
  height:520px;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:rgba(255,255,255,.035);
  box-shadow:
    0 0 0 84px rgba(255,255,255,.018),
    0 0 0 168px rgba(45,168,219,.045);
}
.result-ok-img{
  width:min(660px, 122%) !important;
  max-width:none !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center bottom !important;
  filter:drop-shadow(0 30px 42px rgba(0,14,64,.28));
}
.result-hero-cta{
  grid-column:3;
  position:relative !important;
  z-index:6;
  top:auto !important;
  left:auto !important;
  width:100% !important;
  max-width:360px;
  justify-self:end;
  align-self:center;
  padding:24px 24px 22px !important;
  border-radius:22px;
  background:linear-gradient(135deg, rgba(7,27,79,.88), rgba(6,55,132,.78));
  border:1px solid rgba(255,255,255,.20);
  box-shadow:0 24px 50px rgba(0,13,58,.30);
  backdrop-filter:blur(10px) saturate(1.18);
}
.result-hero-cta h2{
  font-size:25px !important;
  line-height:1.08 !important;
  margin-bottom:10px !important;
}
.result-hero-cta p{
  font-size:14.5px !important;
  line-height:1.5 !important;
}
.result-cta-button{
  min-height:48px;
  width:100%;
  white-space:normal;
  text-align:center;
}
.result-visual-column{display:contents !important;}

@media(max-width:1220px){
  .result-hero-inner{
    grid-template-columns:minmax(300px,.36fr) minmax(360px,.38fr) minmax(270px,.26fr) !important;
    gap:18px !important;
  }
  .result-character-media{height:400px !important;}
  .result-ok-img{width:min(600px,124%) !important;}
  .result-hero-cta{padding:20px !important;}
  .result-hero-cta h2{font-size:22px !important;}
}
@media(max-width:1100px){
  .result-hero-inner{
    grid-template-columns:1fr !important;
    min-height:auto !important;
    gap:24px !important;
    padding:38px 0 44px !important;
  }
  .result-copy{grid-column:auto;}
  .result-character-media{
    grid-column:auto;
    height:360px !important;
    order:2;
  }
  .result-hero-cta{
    grid-column:auto;
    order:3;
    justify-self:start;
    max-width:560px;
    width:100% !important;
  }
  .result-ok-img{width:min(680px,100%) !important;}
}
@media(max-width:760px){
  .result-character-media{display:none !important;}
  .result-hero-cta{margin-top:0;}
}

/* =========================================================
   PATCH GRAFICA V13 - CTA risultato a destra, immagine centrale, status file allineato
   ========================================================= */
.result-hero{
  min-height:500px;
  overflow:hidden;
}
.result-hero-inner{
  grid-template-columns:minmax(380px,.34fr) minmax(430px,.38fr) minmax(380px,.28fr) !important;
  gap:18px !important;
  min-height:500px !important;
  padding:34px 0 38px !important;
  align-items:center !important;
}
.result-copy{
  grid-column:1 !important;
  align-self:center !important;
  z-index:6;
}
.result-copy h1{
  max-width:440px;
  font-size:clamp(50px,4.65vw,72px) !important;
}
.result-copy p{
  max-width:480px;
}
.result-character-media{
  grid-column:2 !important;
  width:100% !important;
  height:455px !important;
  justify-content:center !important;
  align-items:flex-end !important;
  z-index:3;
}
.result-character-media::before{
  width:560px !important;
  height:560px !important;
  opacity:.9;
}
.result-ok-img{
  width:min(720px, 135%) !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center bottom !important;
}
.result-hero-cta{
  grid-column:3 !important;
  justify-self:end !important;
  align-self:center !important;
  width:100% !important;
  max-width:430px !important;
  min-height:300px;
  padding:30px 30px 28px !important;
  border-radius:24px !important;
  background:linear-gradient(135deg, rgba(7,27,79,.94), rgba(7,47,116,.84)) !important;
  border:1px solid rgba(255,255,255,.22) !important;
  box-shadow:0 28px 64px rgba(0,13,58,.36) !important;
  backdrop-filter:blur(11px) saturate(1.18);
}
.result-hero-cta h2{
  font-size:29px !important;
  line-height:1.06 !important;
  letter-spacing:-.8px;
  margin:16px 0 14px !important;
}
.result-hero-cta p{
  font-size:15.5px !important;
  line-height:1.55 !important;
  margin-bottom:20px !important;
}

.p7m-result-main-btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:60px;
  padding:15px 48px 15px 22px;
  border:0;
  border-radius:13px;
  color:#fff;
  background:linear-gradient(135deg,var(--pink),var(--pink2));
  font-weight:950;
  font-size:15.5px;
  line-height:1.2;
  text-align:center;
  box-shadow:0 16px 30px rgba(255,37,117,.30);
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.p7m-result-main-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 20px 38px rgba(255,37,117,.38);
  filter:saturate(1.06);
}
.p7m-result-main-btn:after{
  content:"";
  width:30px;
  height:30px;
  background:url(/assets/attiva.png) no-repeat 0 0;
  background-size:30px 30px;
  position:absolute;
  top:50%;
  right:12px;
  transform:translateY(-50%);
  display:inline-block;
}
.file-strip{
  grid-template-columns:minmax(420px,1fr) minmax(150px,190px) auto !important;
  align-items:center !important;
  column-gap:24px !important;
}
.file-status{
  justify-self:end !important;
  text-align:left;
  min-width:160px;
  padding-left:24px;
  border-left:1px solid var(--line);
}
.file-actions{
  justify-self:end !important;
  justify-content:flex-end !important;
  align-items:center;
}
.file-actions .outline-btn[data-action="new-file"]{
  margin-left:auto;
}

@media(max-width:1220px){
  .result-hero-inner{
    grid-template-columns:minmax(285px,.32fr) minmax(360px,.36fr) minmax(310px,.32fr) !important;
    gap:14px !important;
  }
  .result-copy h1{font-size:clamp(46px,4.4vw,64px) !important;}
  .result-character-media{height:420px !important;}
  .result-ok-img{width:min(650px,132%) !important;}
  .result-hero-cta{max-width:390px !important;padding:24px !important;}
  .result-hero-cta h2{font-size:25px !important;}
}
@media(max-width:1100px){
  .result-hero-inner{
    grid-template-columns:1fr !important;
    min-height:auto !important;
    padding:38px 0 44px !important;
  }
  .result-copy,.result-character-media,.result-hero-cta{grid-column:auto !important;}
  .result-character-media{height:360px !important;order:2;}
  .result-ok-img{width:min(680px,100%) !important;}
  .result-hero-cta{order:3;justify-self:start !important;max-width:560px !important;}
  .file-strip{grid-template-columns:1fr !important;}
  .file-status{justify-self:start !important;border-left:0;padding-left:0;text-align:left;}
  .file-actions{justify-self:start !important;justify-content:flex-start !important;}
}
@media(max-width:760px){
  .result-character-media{display:none !important;}
  .result-hero-cta{min-height:auto;}
  .p7m-result-main-btn{width:100%;}
}

/* =========================================================
   PATCH V12 - correzione risultato: pulsanti + altezza XML
   Modifiche richieste:
   1) Scarica PDF allineato nel gruppo pulsanti a destra.
   2) Eliminato lo spazio vuoto sotto la visualizzazione XML.
   ========================================================= */

/* La card del risultato non deve stirarsi per seguire l'altezza della sidebar. */
.result-layout{
  align-items:start !important;
}
.viewer-card{
  align-self:start !important;
}
.side-panels{
  align-self:start !important;
}

/* Layout stabile della fascia file: dati a sinistra, azioni ordinate e allineate a destra. */
.file-strip{
  grid-template-columns:minmax(350px,1fr) minmax(155px,190px) minmax(390px,440px) !important;
  align-items:center !important;
  column-gap:24px !important;
}
.file-main{
  min-width:0 !important;
}
.file-main > div{
  min-width:0 !important;
}
.file-main strong{
  max-width:100% !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
.file-status{
  justify-self:end !important;
  min-width:155px !important;
}
.file-actions,
.file-actions.file-actions-updated{
  justify-self:end !important;
  width:100% !important;
  display:grid !important;
  grid-template-columns:max-content max-content !important;
  justify-content:end !important;
  align-items:center !important;
  gap:12px !important;
}
.file-actions .outline-btn,
.file-actions .primary-btn,
.file-actions .pink-btn{
  margin:0 !important;
}
.file-actions .outline-btn[data-action="new-file"]{
  margin-left:0 !important;
}
.file-actions #downloadOriginal{
  grid-column:1;
  grid-row:1;
}
.file-actions #downloadXml{
  grid-column:2;
  grid-row:1;
}
.file-actions #downloadPdf{
  grid-column:1;
  grid-row:2;
  justify-self:start;
}
.file-actions .outline-btn[data-action="new-file"]{
  grid-column:2;
  grid-row:2;
}

/* Il pannello XML deve chiudersi subito dopo il box blu, senza area bianca vuota sotto. */
#tab-xml.tab-panel.active{
  display:block !important;
}
#tab-xml{
  margin:0 !important;
  padding:0 !important;
}
.xml-box{
  display:block !important;
  width:100% !important;
  min-height:260px !important;
  height:auto !important;
  max-height:420px !important;
  margin:0 !important;
  overflow:auto !important;
  border-radius:0 0 14px 14px !important;
}

/* Se il contenuto XML è breve, evita comunque che la viewer-card mantenga altezze ereditate. */
.viewer-card:has(#tab-xml.active){
  height:auto !important;
  min-height:0 !important;
}
.viewer-card:has(#tab-xml.active) .viewer-toolbar,
.viewer-card:has(#tab-xml.active) .tabs{
  flex-shrink:0;
}

@media(max-width:1220px){
  .file-strip{
    grid-template-columns:minmax(300px,1fr) minmax(145px,175px) minmax(360px,410px) !important;
    column-gap:18px !important;
  }
  .file-actions,
  .file-actions.file-actions-updated{
    gap:10px !important;
  }
  .file-actions .outline-btn,
  .file-actions .primary-btn,
  .file-actions .pink-btn{
    padding-left:13px !important;
    padding-right:13px !important;
    font-size:13.5px !important;
  }
}

@media(max-width:1100px){
  .file-strip{
    grid-template-columns:1fr !important;
  }
  .file-status{
    justify-self:start !important;
    min-width:0 !important;
    border-left:0 !important;
    padding-left:0 !important;
  }
  .file-actions,
  .file-actions.file-actions-updated{
    width:auto !important;
    justify-self:start !important;
    justify-content:start !important;
  }
}

@media(max-width:760px){
  .file-actions,
  .file-actions.file-actions-updated{
    width:100% !important;
    grid-template-columns:1fr !important;
  }
  .file-actions #downloadOriginal,
  .file-actions #downloadXml,
  .file-actions #downloadPdf,
  .file-actions .outline-btn[data-action="new-file"]{
    grid-column:1 !important;
    grid-row:auto !important;
    width:100% !important;
    justify-self:stretch !important;
  }
  .xml-box{
    min-height:220px !important;
    max-height:360px !important;
  }
}

/* =========================================================
   PATCH GRAFICA V15 - anteprima fattura con fogli XSL Agenzia Entrate
   ========================================================= */
.ae-preview-loading{
  min-height:520px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-align:center;
  color:var(--navy);
  background:#f8fbff;
  border:1px solid #dce8f5;
  border-top:0;
  border-radius:0 0 14px 14px;
  padding:32px;
}
.ae-preview-loading strong{font-size:20px;font-weight:950;}
.ae-preview-loading span{color:#657a94;font-weight:700;}
.ae-preview-frame-wrap{
  background:#fff;
  border:1px solid #dce8f5;
  border-top:0;
  border-radius:0 0 14px 14px;
  overflow:hidden;
  min-height:680px;
}
.ae-preview-frame{
  display:block;
  width:100%;
  min-height:760px;
  height:78vh;
  border:0;
  background:#fff;
}
.ae-preview-fallback-note{
  margin:0 0 18px;
  padding:12px 14px;
  border-radius:12px;
  background:#eef8ff;
  color:#36516f;
  font-weight:700;
}
@media(max-width:760px){
  .ae-preview-frame{height:70vh;min-height:620px;}
  .ae-preview-frame-wrap{min-height:620px;}
}


/* =========================================================
   PATCH GRAFICA V18 - FAQ SEO con fisarmonica elegante
   ========================================================= */
.faq-section{
  padding:54px 0 66px;
  scroll-margin-top:110px;
}
.faq-heading{
  max-width:760px;
  margin:0 auto 30px;
  text-align:center;
}
.section-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:32px;
  padding:7px 14px;
  border-radius:999px;
  color:#0876e7;
  background:#eef8ff;
  border:1px solid #d7ecff;
  font-weight:950;
  font-size:13px;
  letter-spacing:.2px;
}
.faq-heading h2{
  margin:15px 0 12px;
  color:var(--navy);
  font-size:clamp(30px,3vw,42px);
  line-height:1.08;
  letter-spacing:-1.1px;
  font-weight:950;
}
.faq-heading p{
  margin:0;
  color:#60768f;
  font-size:17px;
  line-height:1.65;
}
.faq-accordion{
  max-width:980px;
  margin:0 auto;
  display:grid;
  gap:14px;
}
.faq-item{
  background:#fff;
  border:1px solid #e2edf8;
  border-radius:18px;
  box-shadow:0 14px 34px rgba(7,27,79,.07);
  overflow:hidden;
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.faq-item:hover{
  border-color:#c7e5fb;
  box-shadow:0 18px 42px rgba(7,27,79,.10);
  transform:translateY(-1px);
}
.faq-item.active{
  border-color:#9ed7fb;
  box-shadow:0 22px 48px rgba(8,118,231,.12);
}
.faq-question{
  width:100%;
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:22px 24px;
  border:0;
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);
  color:var(--navy);
  text-align:left;
  font-weight:950;
  font-size:18px;
  line-height:1.25;
}
.faq-question i{
  width:34px;
  height:34px;
  border-radius:50%;
  flex:0 0 34px;
  background:linear-gradient(135deg,var(--pink),var(--pink2));
  box-shadow:0 10px 20px rgba(255,37,117,.22);
  position:relative;
}
.faq-question i:before,
.faq-question i:after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:14px;
  height:3px;
  border-radius:999px;
  background:#fff;
  transform:translate(-50%,-50%);
  transition:transform .18s ease, opacity .18s ease;
}
.faq-question i:after{
  transform:translate(-50%,-50%) rotate(90deg);
}
.faq-item.active .faq-question i:after{
  opacity:0;
  transform:translate(-50%,-50%) rotate(0deg);
}
.faq-answer{
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows .24s ease;
}
.faq-answer > p{
  overflow:hidden;
  margin:0;
  padding:0 24px;
  color:#5f748f;
  font-size:16px;
  line-height:1.7;
}
.faq-item.active .faq-answer{
  grid-template-rows:1fr;
}
.faq-item.active .faq-answer > p{
  padding:0 24px 24px;
}
@media(max-width:760px){
  .faq-section{padding:42px 0 54px;}
  .faq-heading{text-align:left;}
  .faq-question{font-size:16px;padding:18px 18px;min-height:64px;}
  .faq-answer > p{padding:0 18px;font-size:15px;}
  .faq-item.active .faq-answer > p{padding:0 18px 20px;}
}


/* =========================================================
   PATCH V19 - richieste finali: icone, Come funziona, footer CTA e popup
   ========================================================= */
/* 1) CTA in basso con icona attiva.png */
.software-cta .p7m-footer-main-btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:52px;
  padding:14px 52px 14px 22px;
  border-radius:12px;
  background:linear-gradient(135deg,var(--pink),var(--pink2));
  color:#fff;
  font-weight:950;
  line-height:1.15;
  box-shadow:0 12px 22px rgba(255,37,117,.24);
  white-space:nowrap;
}
.software-cta .p7m-footer-main-btn:after{
  content:"";
  width:30px;
  height:30px;
  background:url("assets/attiva.png") no-repeat center center;
  background-size:30px 30px;
  position:absolute;
  top:50%;
  right:12px;
  transform:translateY(-50%);
  display:inline-block;
}

/* 2) Pagina risultato: icona file semplificata con solo lucchetto */
.file-doc.file-doc-lock{
  width:58px;
  height:58px;
  border-radius:16px;
  background:#eef8ff;
  color:#0876e7;
  box-shadow:inset 0 0 0 1px #d9efff;
}
.file-doc.file-doc-lock svg{
  width:34px;
  height:34px;
  fill:none;
  stroke:currentColor;
  stroke-width:4.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.file-doc.file-doc-lock svg rect,
.file-doc.file-doc-lock svg path{
  fill:none;
  stroke:currentColor;
}

/* 3) Come funziona: niente pallini/frecce, alternativa semplice e moderna */
.how-section{
  padding-top:44px;
}
.how-section h2{
  position:relative;
  display:block;
  width:max-content;
  max-width:100%;
  margin:0 auto 54px;
  padding-bottom:16px;
}
.how-section h2 span{
  display:none !important;
}
.how-section h2:after{
  content:"";
  position:absolute;
  left:50%;
  bottom:0;
  width:92px;
  height:5px;
  border-radius:999px;
  transform:translateX(-50%);
  background:linear-gradient(90deg,var(--blue2),var(--blue),var(--pink));
  box-shadow:0 8px 18px rgba(8,118,231,.18);
}
.steps{
  gap:56px;
}
.steps:before{
  content:"";
  position:absolute;
  left:13%;
  right:13%;
  top:50%;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,rgba(8,118,231,.08),rgba(45,168,219,.28),rgba(255,37,117,.16));
  transform:translateY(-50%);
  z-index:0;
}
.steps article{
  z-index:1;
  border:1px solid rgba(255,255,255,.20);
}
.steps article:not(:last-child):after{
  display:none !important;
  content:none !important;
}

/* 4) Popup semplici per Privacy e Contatti */
.site-modal{
  position:fixed;
  inset:0;
  z-index:1000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.site-modal:target{
  display:flex;
}
.site-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(5,18,52,.68);
  backdrop-filter:blur(7px);
}
.site-modal-panel{
  position:relative;
  z-index:1;
  width:min(540px,100%);
  background:#fff;
  color:var(--text);
  border:1px solid #dcecff;
  border-radius:22px;
  padding:30px 32px;
  box-shadow:0 30px 80px rgba(7,27,79,.28);
}
.site-modal-panel h2{
  margin:0 0 14px;
  color:var(--navy);
  font-size:28px;
  line-height:1.12;
  letter-spacing:-.5px;
}
.site-modal-panel p{
  margin:12px 0 0;
  color:#5d718b;
  line-height:1.65;
  font-size:16px;
}
.site-modal-panel a:not(.site-modal-close){
  color:#0876e7;
  font-weight:900;
}
.site-modal-close{
  position:absolute;
  right:16px;
  top:14px;
  width:38px;
  height:38px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#eef8ff;
  color:#0876e7;
  font-size:28px;
  line-height:1;
  font-weight:800;
}
@media(max-width:1100px){
  .steps:before{display:none;}
}
@media(max-width:760px){
  .software-cta .p7m-footer-main-btn{width:100%;white-space:normal;text-align:center;}
  .site-modal-panel{padding:26px 22px;}
  .site-modal-panel h2{font-size:24px;}
}


/* =========================================================
   PATCH V22 - Gestione cookie e consenso Analytics
   ========================================================= */
.site-footer nav{gap:30px;flex-wrap:wrap;justify-content:center;}
.site-modal-panel-wide{width:min(760px,100%);}
.cookie-inline-btn{
  border:0;
  border-radius:11px;
  padding:12px 16px;
  background:linear-gradient(135deg,var(--pink),var(--pink2));
  color:#fff;
  font-weight:950;
  box-shadow:0 12px 22px rgba(255,37,117,.20);
}
.cookie-banner{
  position:fixed;
  left:50%;
  bottom:22px;
  transform:translateX(-50%);
  z-index:1200;
  width:min(1120px,calc(100% - 36px));
}
.cookie-banner[hidden]{display:none!important;}
.cookie-banner-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  padding:18px 20px;
  border-radius:20px;
  background:#fff;
  color:var(--text);
  border:1px solid #dcecff;
  box-shadow:0 24px 70px rgba(7,27,79,.22);
}
.cookie-copy strong{display:block;color:var(--navy);font-size:18px;font-weight:950;margin-bottom:4px;}
.cookie-copy p{margin:0;color:#5f738d;font-size:14px;line-height:1.5;max-width:660px;font-weight:650;}
.cookie-actions,.cookie-preferences-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end;}
.cookie-btn{
  border:0;
  border-radius:12px;
  padding:12px 16px;
  font-weight:950;
  white-space:nowrap;
}
.cookie-btn-primary{
  color:#fff;
  background:linear-gradient(135deg,var(--pink),var(--pink2));
  box-shadow:0 12px 24px rgba(255,37,117,.22);
}
.cookie-btn-light{
  color:#0d58a9;
  background:#f2f9ff;
  border:1.5px solid #c9e4fb;
}
.cookie-preferences{
  position:fixed;
  inset:0;
  z-index:1300;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.cookie-preferences.is-open{display:flex;}
.cookie-preferences-backdrop{
  position:absolute;
  inset:0;
  background:rgba(5,18,52,.68);
  backdrop-filter:blur(7px);
}
.cookie-preferences-panel{
  position:relative;
  z-index:1;
  width:min(720px,100%);
  max-height:calc(100vh - 48px);
  overflow:auto;
  background:#fff;
  border:1px solid #dcecff;
  border-radius:24px;
  padding:30px 32px;
  box-shadow:0 30px 80px rgba(7,27,79,.28);
}
.cookie-preferences-close{
  position:absolute;
  right:16px;
  top:14px;
  width:38px;
  height:38px;
  border:0;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#eef8ff;
  color:#0876e7;
  font-size:28px;
  line-height:1;
  font-weight:800;
}
.cookie-preferences-panel h2{margin:0 46px 12px 0;color:var(--navy);font-size:28px;line-height:1.12;letter-spacing:-.5px;}
.cookie-preferences-intro{margin:0 0 18px;color:#5d718b;line-height:1.62;}
.cookie-choice{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:18px;
  margin:12px 0;
  border:1px solid #dcecff;
  border-radius:16px;
  background:#f8fcff;
}
.cookie-choice strong{display:block;color:var(--navy);font-weight:950;margin-bottom:4px;}
.cookie-choice p{margin:0;color:#637790;font-size:14px;line-height:1.5;}
.cookie-choice span{display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;border-radius:999px;background:#e8f8ed;color:#1e7b34;font-size:12px;font-weight:950;white-space:nowrap;}
.cookie-choice input{width:48px;height:26px;accent-color:var(--pink);flex:0 0 auto;}
.cookie-preferences-actions{margin-top:18px;}
@media(max-width:760px){
  .cookie-banner{bottom:12px;width:calc(100% - 24px);}
  .cookie-banner-inner{display:block;padding:18px;}
  .cookie-actions{justify-content:stretch;margin-top:14px;}
  .cookie-actions .cookie-btn{flex:1 1 100%;}
  .cookie-preferences-panel{padding:26px 20px;}
  .cookie-choice{align-items:flex-start;}
  .cookie-preferences-actions .cookie-btn{flex:1 1 100%;}
}

/* =========================================================
   PATCH V25 - nota discreta anteprima Agenzia delle Entrate
   ========================================================= */
.ae-style-footnote{
  display:flex;
  align-items:flex-start;
  gap:7px;
  width:100%;
  margin:9px 2px 0;
  padding:0;
  color:#7a8da6;
  font-size:11.5px;
  line-height:1.45;
  font-weight:650;
  text-align:left;
}
.ae-style-footnote::before{
  content:"i";
  display:inline-grid;
  place-items:center;
  width:15px;
  height:15px;
  margin-top:1px;
  border-radius:50%;
  background:#eef6ff;
  color:#2DA8DB;
  font-size:10px;
  font-weight:950;
  flex:0 0 15px;
}

/* =========================================================
   PATCH UX - documento P7M estratto ma non visualizzabile
   ========================================================= */
.unsupported-preview{
  max-width: 660px;
  margin: 72px auto;
  text-align: center;
  color: #425a78;
}
.unsupported-preview-icon{
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #eef8ff;
  color: #0876e7;
  font-size: 28px;
  font-weight: 950;
  box-shadow: inset 0 0 0 2px #cfe9fb;
}
.unsupported-preview h2{
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: -.4px;
}
.unsupported-preview p{
  margin: 8px 0;
  font-size: 15px;
  line-height: 1.65;
}
.unsupported-preview strong{
  color: var(--navy);
  font-weight: 950;
}
@media(max-width:760px){
  .unsupported-preview{
    margin: 42px auto;
  }
  .unsupported-preview h2{
    font-size: 23px;
  }
}
