/**
 * Date: 2025-01-27, Update: 2025-01-27
 * Author Name: Alok
 * File Name: styles.css
 * Purpose: Campaign landing page styles - Automate Invoice Processing (Brand aligned)
 */

:root {
     --yellow:#f9d949;
    --yellow-hover: #e6c200;
    --accent: #d4a03a;
    --accent-hover: #b8892f;
    --black: #000;
    --dark: #111;
    --dark-soft: #1c1c1c;
    --white: #fff;
    --offwhite:#eeece9;
    --grey: #f8f8f8;
    --border: #e3e3e3;
    --text: #111;
    --text-muted: #555;
    --radius: 999px;
    --radius-sm: 12px;
    --shadow: 0 4px 12px rgba(0,0,0,.08);
    --shadow-hover: 0 8px 24px rgba(0,0,0,.12);
    --success: #16a34a;
    --danger: #dc2626;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, sans-serif; color: var(--text); line-height: 1.55; background: #fff; -webkit-font-smoothing: antialiased; }
@media(min-width:992px) { body { padding-bottom: 0; } }

/* Typography */
.section-title { font-size: 2rem; font-weight: 700; color: var(--black); margin-bottom: 0.5rem; }
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; }
.text-highlight { color: var(--accent); }

/* Buttons */
.btn { border: none; border-radius: var(--radius); padding: 0.75rem 1.75rem; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; text-decoration: none; transition: all 0.2s; }
.btn-primary, .btn-accent { background: var(--accent); color: var(--black); --bs-btn-hover-bg: var(--accent-hover); --bs-btn-hover-color: var(--black); --bs-btn-hover-border-color: transparent; --bs-btn-active-bg: var(--accent-hover); --bs-btn-active-color: var(--black); }
.btn-primary:hover, .btn-accent:hover { background: var(--accent-hover); color: var(--black); box-shadow: var(--shadow); transform: translateY(-1px); }
.btn-outline-dark { border: 2px solid var(--black); background: transparent; color: var(--black); }
.btn-outline-dark:hover { background: var(--black); color: var(--white); }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: var(--grey); box-shadow: var(--shadow); }
.btn-outline-light { border: 2px solid var(--white); background: transparent; color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--black); }
.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; }
/* Disabled button styling (override Bootstrap defaults) */
.btn:disabled,.btn.disabled{opacity:1;cursor:not-allowed;transform:none;box-shadow:none;}
.btn-primary:disabled{background:var(--grey);color:var(--black);}
.btn-primary:disabled:hover{background:var(--grey);color:var(--black);box-shadow:none;}

/* Logo bar */
.lp-logo-bar{padding:.75rem 1.5rem;background:transparent}
.lp-logo-bar a{display:inline-flex;align-items:center;text-decoration:none}
.lp-logo-bar img{display:block}

/* Hero Section with Noise */
.hero-section { padding: 2rem 1rem 4rem; min-height: 65vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-section > .container { position: relative; z-index: 1; }
.hero-title { font-size: 2.5rem; font-weight: 800; line-height: 1.15; color: var(--black); }
@media(min-width:768px) { .hero-title { font-size: 3.25rem; } }
.hero-subtitle { font-size: 1.2rem; color: var(--text-muted); margin: 1.5rem 0; max-width: 500px; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2rem 0; }

/* India tag */
.india-tag{display:inline-flex;align-items:center;gap:.5rem;background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:.4rem 1rem .4rem .6rem;font-size:.82rem;font-weight:600;color:var(--text);margin-bottom:.75rem;width:fit-content}
.india-flag{font-size:1rem;line-height:1;flex-shrink:0}
.india-label{}

.trust-line { display: flex; flex-wrap: wrap; gap: 0.75rem; color: var(--text-muted); font-size: 0.9rem; margin-top: 1.5rem; align-items: center; }
.trust-line i { color: var(--accent); }

/* Hero Visual */
.hero-visual { background: var(--offwhite); border-radius: var(--radius-sm); padding: 2rem; box-shadow: var(--shadow-hover); margin-top: 0.5rem; }
.flow-diagram { display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
.flow-step { text-align: center; padding: 1.5rem 1.25rem; border-radius: var(--radius-sm); background: #fafafa; border: 1px solid #eeeeee; min-width: 120px; }
.flow-step i { font-size: 2.75rem; color: var(--text-muted); display: block; margin-bottom: 0.75rem; }
.flow-step span { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.flow-step.active { background: var(--accent); border-color: var(--accent); }
.flow-step.active i, .flow-step.active span { color: var(--black); }
.flow-arrow i { font-size: 1.25rem; color: var(--accent); }

/* Solution Section (Combined Problem + Solution) */
.solution-section { padding: 5rem 1rem; background: #fff; }
.solution-card { background: var(--grey); border-radius: var(--radius-sm); overflow: hidden; height: 100%; }
.problem-block, .solution-block { padding: 1.5rem; }
.problem-block { background: #fef7f7; border-bottom: 1px solid #fecaca; }
.solution-block { background: #fffdf0; }
.block-icon { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 0.75rem; }
.block-icon.problem { background: #fee2e2; color: var(--danger); }
.block-icon.solution { background: #dcfce7; color: var(--success); }
.block-icon i { font-size: 0.9rem; font-weight: bold; }
.problem-block h4, .solution-block h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--black); }
.problem-block p, .solution-block p { color: var(--text-muted); margin: 0; font-size: 0.85rem; line-height: 1.5; }

/* Intelligence Studio (merged demo + output) */
.studio-section{padding:5rem 1rem;background:var(--grey)}
.studio-wrap{display:flex;align-items:stretch;gap:0;background:#f0efec;border:1px solid #ddd;border-radius:16px;overflow:hidden;min-height:480px}

/* Left panel */
.studio-left{display:flex;flex-direction:column;flex:1;max-width:420px;border-right:1px solid #2a2a2a}
.studio-invoice-body{flex:1;position:relative;overflow:hidden;background:#e8e6e1;min-height:380px}
.studio-invoice-img{width:100%;height:100%;object-fit:cover;object-position:top;display:block;opacity:.9;transition:opacity .3s}

/* Upload overlay — always present */
.studio-upload-overlay{position:absolute;inset:0;pointer-events:none}

/* Hint state — always visible at bottom */
.studio-overlay-hint{position:absolute;bottom:0;left:0;right:0;padding:1.5rem;background:linear-gradient(to top,rgba(0,0,0,.75) 0%,rgba(0,0,0,.45) 30%,rgba(0,0,0,.15) 60%,transparent 100%);display:flex;flex-direction:column;align-items:center;justify-content:flex-end;opacity:1;pointer-events:auto}
.studio-try-btn{background:var(--accent);color:#000;border:1.5px solid var(--accent);border-radius:var(--radius);padding:.65rem 1.5rem;font-size:.9rem;font-weight:600;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:.25rem;min-width:220px;transition:background .2s,box-shadow .2s;box-shadow:0 0 10px 2px rgba(212,160,58,.4)}
.studio-try-btn:hover{background:var(--accent-hover);box-shadow:0 0 14px 4px rgba(212,160,58,.5)}
.studio-try-btn-main{display:flex;align-items:center;gap:.5rem;font-size:.9rem;font-weight:700;color:#000}
.studio-try-btn-sub{font-size:.72rem;font-weight:400;color:rgba(0,0,0,.6);letter-spacing:.01em}

/* Expanded state — full overlay panel */
.studio-overlay-expanded{position:absolute;inset:0;background:rgba(255,255,255,.97);backdrop-filter:blur(4px);display:flex;flex-direction:column;gap:.85rem;padding:1.25rem;pointer-events:auto;animation:overlayIn .2s ease}
@keyframes overlayIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
.studio-overlay-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.25rem}
.studio-overlay-header span{font-size:.85rem;font-weight:600;color:#444}
.studio-back-btn{background:rgba(0,0,0,.06);border:1px solid #ddd;color:#888;border-radius:6px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:1rem;transition:all .2s;flex-shrink:0}
.studio-back-btn:hover{color:#000;background:rgba(0,0,0,.1)}

/* Center arrow */
.studio-arrow{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 1rem;background:#f0efec;flex-shrink:0;gap:.4rem}
.studio-arrow i{font-size:1.4rem;color:#bbb}
.studio-arrow span{font-size:.65rem;color:#aaa;font-weight:600;text-transform:uppercase;letter-spacing:.06em;writing-mode:vertical-rl;transform:rotate(180deg)}

/* Right panel */
.studio-right{flex:1.4;display:flex;flex-direction:column;background:#111}
.studio-right .json-display{background:transparent;border:none;color:#a9dc76}

/* Badges */
.studio-live-badge{margin-left:auto;background:rgba(212,160,58,.15);color:var(--accent);border:1px solid rgba(212,160,58,.3);border-radius:4px;padding:.15rem .5rem;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}

/* Sample note */
.studio-sample-note{padding:.65rem 1.25rem;border-top:1px solid #2a2a2a;font-size:.78rem;color:#555;display:flex;align-items:center;gap:.4rem}
.studio-try-inline{background:none;border:none;color:var(--accent);font-size:.78rem;font-weight:600;cursor:pointer;padding:0;text-decoration:underline}

/* Field tags */
.studio-fields{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}
.studio-fields-label{font-size:.75rem;font-weight:700;color:#aaa;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap}
.studio-fields-tags{display:flex;flex-wrap:wrap;gap:.4rem}
.studio-fields-tags span{background:#f8f8f8;border:1px solid #eee;border-radius:20px;padding:.2rem .65rem;font-size:.75rem;color:#999}

@media(max-width:767px){
  .studio-wrap{flex-direction:column}
  .studio-left{max-width:100%;border-right:none;border-bottom:1px solid #2a2a2a}
  .studio-invoice-body{min-height:220px}
  .studio-arrow{flex-direction:row;padding:.5rem;}
  .studio-arrow span{writing-mode:horizontal-tb;transform:none}
}

/* Header */
.demo-badge{display:inline-flex;align-items:center;gap:.4rem;background:rgba(212,160,58,.12);color:var(--accent);border:1px solid rgba(212,160,58,.25);border-radius:20px;padding:.35rem .9rem;font-size:.78rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;margin-bottom:1rem}
.demo-title{color:var(--text);font-size:clamp(1.6rem,3vw,2.25rem);font-weight:700;margin-bottom:.5rem}
.demo-subtitle{color:var(--text-muted);font-size:1rem;max-width:560px;margin:0 auto}

/* Panels wrapper */
.demo-panels{display:flex;align-items:stretch;gap:0;background:#161616;border:1px solid #2a2a2a;border-radius:16px;overflow:hidden;min-height:460px}

/* Panel shared */
.demo-panel{display:flex;flex-direction:column;flex:1}

/* Panel header (editor bar) */
.demo-panel-header{display:flex;align-items:center;gap:.75rem;padding:.65rem 1.1rem;background:#1e1e1e;border-bottom:1px solid #2a2a2a;flex-shrink:0}
.demo-dots{display:flex;gap:.4rem}
.demo-dots span{width:11px;height:11px;border-radius:50%;background:#3a3a3a}
.demo-dots span:nth-child(1){background:#ff5f57}
.demo-dots span:nth-child(2){background:#febc2e}
.demo-dots span:nth-child(3){background:#28c840}
.demo-panel-label{font-size:.75rem;color:#666;font-family:'SF Mono',Monaco,monospace;flex:1}

/* Upload panel */
.demo-panel--upload{border-right:1px solid #2a2a2a;max-width:420px}
.demo-panel-body{flex:1;padding:1.5rem;display:flex;flex-direction:column}
.upload-area{flex:1;border:1.5px dashed #333;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:2rem 1rem;cursor:pointer;transition:border-color .25s,background .25s;gap:.4rem}
.upload-area:hover,.upload-area.drag-over{border-color:var(--accent);background:rgba(212,160,58,.04)}
.upload-icon-wrap{width:52px;height:52px;border-radius:12px;background:rgba(212,160,58,.12);display:flex;align-items:center;justify-content:center;margin-bottom:.5rem}
.upload-icon-wrap i{font-size:1.6rem;color:var(--accent)}
.upload-area h5{font-size:.95rem;font-weight:700;color:#e0e0e0;margin:0}
.upload-area p{font-size:.85rem;color:#666;margin:0}
.upload-browse{color:var(--accent);text-decoration:underline;cursor:pointer}
.upload-hint{font-size:.75rem;color:#444;display:flex;align-items:center;gap:.35rem;margin-top:.25rem}
.file-info{display:flex;align-items:center;gap:.75rem;background:#1e1e1e;border:1px solid #2a2a2a;padding:.65rem 1rem;border-radius:8px;margin-top:.75rem}
.file-info i{font-size:1.25rem;color:var(--danger)}
.file-info span{font-size:.85rem;color:#ccc;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.btn-remove{background:none;border:none;color:#555;cursor:pointer;padding:0;font-size:1.1rem;line-height:1;transition:color .2s}
.btn-remove:hover{color:var(--danger)}
.demo-error{background:rgba(220,38,38,.1);color:#f87171;border:1px solid rgba(220,38,38,.25);border-radius:8px;padding:.6rem .9rem;font-size:.82rem;margin-top:.75rem}

/* Panel footer (button row) */
.demo-panel-footer{padding:1rem 1.5rem;border-top:1px solid #2a2a2a;flex-shrink:0;background:#1a1a1a}

/* Divider */
.demo-divider{display:flex;align-items:center;justify-content:center;padding:0 .5rem;background:#161616;flex-shrink:0}
.demo-divider i{font-size:1.4rem;color:#2e2e2e}

/* Result panel */
.demo-panel--result{flex:1.4}
.result-panel-body{padding:0;overflow:hidden;position:relative}
.result-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#2e2e2e;gap:.75rem;padding:2rem}
.result-placeholder i{font-size:3.5rem}
.result-placeholder p{font-size:.875rem;color:#3a3a3a;margin:0}
.result-content{height:100%}
.json-display{margin:0;padding:1.25rem 1.5rem;background:transparent;color:#a9dc76;font-size:.75rem;font-family:'SF Mono',Monaco,monospace;overflow:auto;height:100%;max-height:380px;border:none}
.demo-copy-btn{margin-left:auto;background:rgba(255,255,255,.06);border:1px solid #333;color:#888;border-radius:6px;padding:.2rem .65rem;font-size:.72rem;cursor:pointer;display:inline-flex;align-items:center;gap:.35rem;transition:all .2s}
.demo-copy-btn:hover{background:rgba(255,255,255,.1);color:#ccc}
.result-footer-bar{display:flex;align-items:center;justify-content:space-between;padding:.6rem 1.1rem;border-top:1px solid #2a2a2a;background:#1a1a1a;flex-shrink:0}
.result-badge{display:inline-flex;align-items:center;gap:.4rem;background:rgba(22,163,74,.15);color:#4ade80;border-radius:4px;padding:.2rem .6rem;font-size:.75rem;font-weight:500}
.result-footer-bar small{color:#444;font-size:.75rem}

@media(max-width:767px){
  .demo-panels{flex-direction:column}
  .demo-panel--upload{max-width:100%;border-right:none;border-bottom:1px solid #2a2a2a}
  .demo-divider{display:none}
  .result-card{margin-top:0}
}

/* Sample Output Section */
.output-section { padding: 5rem 1rem; background: var(--grey); }
.sample-invoice, .sample-json { background: var(--white); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.invoice-header, .json-header { background: var(--dark); color: var(--white); padding: 0.75rem 1rem; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 0.85rem; }
.invoice-body { padding: 0; font-size: 0.875rem; }
.invoice-body p { margin: 0.4rem 0; color: var(--text); }
.invoice-body hr { border: none; border-top: 1px dashed var(--border); margin: 0.75rem 0; }
.invoice-image { width: 100%; height: auto; display: block; }
.json-body { margin: 0; padding: 1rem; background: var(--dark); color: #a9dc76; font-size: 0.75rem; font-family: 'SF Mono', Monaco, monospace; min-height: 260px; overflow-x: auto; }
.transform-arrow { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.transform-arrow i { font-size: 2rem; color: var(--accent); animation: pulse 2s infinite; }
.transform-arrow span { font-size: 0.8rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.5px; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: translateX(0); } 50% { opacity: 0.6; transform: translateX(5px); } }

/* Why Section */
.why-section { padding: 5rem 1rem; background: #fff; }
.why-card { text-align: center; padding: 2rem 1.25rem; border-radius: var(--radius-sm); background: var(--grey); height: 100%; }
.why-icon { width: 64px; height: 64px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.why-icon i { font-size: 1.5rem; color: var(--black); }
.why-card h5 { font-weight: 700; margin-bottom: 0.5rem; color: var(--black); }
.why-card p { color: var(--text-muted); margin: 0; font-size: 0.9rem; line-height: 1.5; }

/* Pain Points Section */
.pain-section{padding:5rem 1rem;background:var(--white)}
.pain-title{color:var(--text);font-size:clamp(1.5rem,2.5vw,2rem);font-weight:700}
.pain-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.25rem}
@media(max-width:575px){.pain-grid{grid-template-columns:1fr}}
.pain-card{background:var(--grey);border:1px solid var(--border);border-radius:var(--radius-sm);padding:2rem 1.5rem;display:flex;flex-direction:column;align-items:center;text-align:center;gap:1.25rem}
.pain-card i{font-size:2.25rem;color:var(--text);flex-shrink:0}
.pain-card p{color:var(--text);font-size:.95rem;line-height:1.7;margin:0;max-width:260px}

.whydx-section{padding:5rem 1rem;background:var(--grey)}
.whydx-brand{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--text-muted);margin-bottom:.75rem}
.whydx-title{font-size:clamp(1.25rem,2.2vw,1.75rem);font-weight:700;color:var(--text);line-height:1.45;margin:0}
.whydx-tags{display:flex;flex-direction:column;gap:.75rem;margin-top:calc(0.8rem * 1.55 + 0.75rem)}
@media(max-width:991px){.whydx-tags{margin-top:0}}
.whydx-tag{display:flex;align-items:center;gap:.75rem;padding:.85rem 1.25rem;background:var(--white);border:1px solid var(--border);border-radius:var(--radius-sm);font-size:.9rem;font-weight:500;color:var(--text)}
.whydx-tag i{font-size:1rem;color:var(--accent);flex-shrink:0}

/* How Section */
.how-section { padding: 5rem 1rem; background: var(--white); }
.step-card { text-align: center; padding: 2rem 1rem; position: relative; }
.step-number { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 32px; height: 32px; background: var(--accent); color: var(--black); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; }
.step-icon { width: 72px; height: 72px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0.75rem auto 1rem; border: 1px solid var(--border); }
.step-icon i { font-size: 1.75rem; color: var(--accent); }
.step-card h5 { font-weight: 700; margin: 0.75rem 0 0.5rem; color: var(--black); }
.step-card p { color: var(--text-muted); margin: 0; font-size: 0.9rem; }
.integration-note { background: var(--white); display: inline-block; padding: 0.75rem 1.5rem; border-radius: var(--radius); color: var(--text); font-weight: 500; font-size: 0.9rem; box-shadow: var(--shadow); }
.integration-note i { color: var(--accent); margin-right: 0.5rem; }

/* Fields Section */
.fields-section{padding:5rem 1rem;background:var(--grey)}
.fields-json-card{background:var(--dark);border:1px solid var(--dark-border);border-radius:var(--radius-sm);overflow:hidden;height:100%}
.fields-json-header{display:flex;align-items:center;gap:.75rem;padding:.65rem 1rem;background:var(--dark-surface);border-bottom:1px solid var(--dark-border);font-size:.75rem;color:var(--dark-text-muted);font-family:'SF Mono',Monaco,monospace}
.fields-json-body{margin:0;padding:1.25rem;background:transparent;color:#a9dc76;font-size:.72rem;font-family:'SF Mono',Monaco,monospace;line-height:1.6;overflow:auto;max-height:420px;white-space:pre}
.fields-group-label{font-size:.85rem;font-weight:700;color:var(--text);margin-bottom:.75rem}
.fields-tags{display:grid;grid-template-columns:repeat(5,auto);gap:.6rem;justify-content:start}
.fields-tag{display:inline-flex;align-items:center;padding:.5rem 1rem;background:var(--white);border:1px solid var(--border);border-radius:6px;font-size:.875rem;color:var(--text)}

/* LP Integrations Section */
.lp-integrations-section{padding:5rem 1rem;background:var(--white)}
.lp-int-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;margin-bottom:2rem}
@media(max-width:767px){.lp-int-grid{grid-template-columns:1fr}}
.lp-int-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius-sm);padding:2rem 1.5rem;display:flex;flex-direction:column;gap:1.25rem}
.lp-int-title{font-size:1.05rem;font-weight:700;color:var(--text);margin:0;text-align:center}
.lp-int-tag{background:var(--white);border:1px solid var(--border);border-radius:6px;padding:.6rem 1rem;font-size:.875rem;color:var(--text-muted);text-align:center;font-weight:500}
.lp-int-api-note{text-align:center;font-size:.95rem;font-weight:600;color:var(--text);margin:1.5rem 0 0}
.lp-int-api-note i{color:var(--accent);margin-right:.4rem}

/* Testimonial (matches global partial) */
.lp-testimonial{padding:2rem 1rem;background:var(--grey)}
.testi-track-wrap{overflow:hidden;max-width:800px;margin:0 auto}
.testi-track{display:flex;transition:transform .6s ease;will-change:transform}
.testi-slide{min-width:100%;flex-shrink:0;box-sizing:border-box}
.testimonial{max-width:800px;margin:auto;text-align:center;font-style:italic;padding:2rem 1rem}
.testi-dots{display:flex;justify-content:center;gap:.5rem;margin-top:1rem}
.testi-dot{width:8px;height:8px;border-radius:50%;background:var(--border);transition:background .3s,transform .3s;cursor:pointer}
.testi-dot--active{background:var(--accent);transform:scale(1.25)}

/* Book Demo Modal styles (mirrors bookdemo.php partial) */
.demo-benefits{background:#f8f9fa;border-radius:12px;padding:1.25rem}
.demo-benefits h6{color:#333}
.benefit-item{display:flex;align-items:flex-start;font-size:.95rem;line-height:1.5}
.benefit-item i{flex-shrink:0;margin-top:2px}
.hs-skeleton{padding:1rem 0}
.hs-field{margin-bottom:1rem}
.hs-field label{display:block;font-size:.9rem;font-weight:600;margin-bottom:.5rem;color:#333}
.hs-input{height:42px;background:#f0f0f0;border-radius:6px}
.hs-field-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}
.hs-phone-group{display:grid;grid-template-columns:140px 1fr;gap:.5rem}
.hs-phone-country{height:42px;background:#f0f0f0;border-radius:6px}
.hs-phone-number{height:42px;background:#f0f0f0;border-radius:6px}
.hs-recaptcha{height:76px;background:#f0f0f0;border-radius:6px;margin-bottom:1rem}
.hs-submit{height:48px;background:var(--accent);border-radius:30px;opacity:.7}
.skeleton-pulse{animation:skeleton-pulse 1.5s ease-in-out infinite}
@keyframes skeleton-pulse{0%,100%{opacity:1}50%{opacity:.5}}
#hsBookDemo .hs-submit input[type="submit"],#hsBookDemo .hs-button{background:var(--accent)!important;border:none!important;color:var(--black)!important;font-weight:600!important;padding:.75rem 2rem!important;border-radius:var(--radius)!important;width:100%}
#hsBookDemo .hs-submit input[type="submit"]:hover,#hsBookDemo .hs-button:hover{background:var(--accent-hover)!important;box-shadow:var(--shadow)!important}

/* CTA Section */
.cta-section { padding: 4rem 1rem; background: var(--accent); color: var(--black); }
.cta-card { text-align: center; }
.cta-card h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.5rem; }
.cta-card p { font-size: 1rem; opacity: 0.85; margin-bottom: 1.5rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-buttons .btn-light { background: var(--white); color: var(--black); }
.cta-buttons .btn-light:hover { background: var(--grey); }
.cta-buttons .btn-outline-light { border-color: var(--black); color: var(--black); }
.cta-buttons .btn-outline-light:hover { background: var(--black); color: var(--white); }

/* Footer */
.minimal-footer { background: var(--dark); color: rgba(255,255,255,0.6); padding: 1.25rem 1rem; font-size: 0.85rem; }
.minimal-footer a { color: rgba(255,255,255,0.6); text-decoration: none; margin-left: 1.25rem; transition: color 0.2s; }
.minimal-footer a:hover { color: var(--white); }

/* Sticky Mobile CTA */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); padding: 0.75rem 1rem; box-shadow: 0 -4px 20px rgba(0,0,0,0.1); display: flex; gap: 0.75rem; z-index: 1000; }
.sticky-cta .btn { flex: 1; padding: 0.7rem; font-size: 0.9rem; }
.sticky-cta .btn-primary { background: var(--accent); color: var(--black); }

/* Modal */
.modal-content { border-radius: var(--radius-sm); border: none; }
.modal-header { border-bottom: 1px solid var(--border); padding: 1.25rem 1.5rem; }
.modal-title { font-weight: 700; color: var(--black); }
.modal-body { padding: 1.5rem; }
.modal-body .form-label { font-weight: 500; color: var(--text); margin-bottom: 0.35rem; }
.modal-body .form-control, .modal-body .form-select { border-radius: 8px; border: 1px solid var(--border); padding: 0.65rem 0.9rem; }
.modal-body .form-control:focus, .modal-body .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212,160,58,0.15); }
.modal-body .btn-primary { background: var(--accent); color: var(--black); border: none; }
.modal-body .btn-primary:hover { background: var(--accent-hover); }

/* Responsive */
@media(max-width:991px) { body { padding-bottom: 70px; } }
@media(max-width:767px) {
    .hero-section { padding: 3rem 1rem; min-height: auto; }
    .hero-title { font-size: 2rem; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
    .trust-line { justify-content: center; text-align: center; }
    .section-title { font-size: 1.5rem; }
    .demo-section, .output-section, .why-section, .how-section, .proof-section, .cta-section, .solution-section { padding: 3rem 1rem; }
    .result-card { margin-top: 1.5rem; min-height: 280px; }
    .proof-card { padding: 2rem 1.5rem; }
    .proof-stats { flex-direction: row; justify-content: center; gap: 2rem; margin-top: 1.5rem; }
    .proof-quote { font-size: 1.05rem; }
    .cta-card h2 { font-size: 1.5rem; }
    .flow-diagram { flex-wrap: wrap; gap: 0.5rem; }
    .flow-step { min-width: 90px; padding: 1rem 0.75rem; }
    .flow-arrow { display: none; }
}
.site-footer{background:#111;color:#ddd;font-size:.85rem;text-align:center;padding:2rem 1rem}
.site-footer a{color:var(--yellow);text-decoration:none}
@media(max-width:575px) {
    .hero-title { font-size: 1.75rem; }
    .stat-value { font-size: 1.75rem; }
}

/* Accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

/* OVERRIDES: What Your ERP Receives (fixed equal height + centered image) */
:root{--output-card-h:420px;--output-head-h:44px;}
.sample-invoice,.sample-json{height:var(--output-card-h);display:flex;flex-direction:column;}
.invoice-header,.json-header{flex:0 0 var(--output-head-h);}
.invoice-body{flex:1;display:flex;align-items:center;justify-content:center;padding:1rem;}
.invoice-image{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block;margin:0 auto;}
.json-body{flex:1;overflow:auto;min-height:0;}


