:root {
      --bg: #f8f9fa;
      --white: #ffffff;
      --text: #4d4d4d;
      --muted: #6b7280;
      --success: #22c55e;
      --danger: #ef4444;
      --primary-dark: #3d3d3d;
      --primary: #5a5a5a;
      --primary-mid: #6b7280;
      --primary-soft: #f3f4f6;
      --border: #e5e7eb;
      --accent: #5a5a5a;
      --accent-soft: #6b7280;
      --blue: #3b82f6;
      --blue-soft: rgba(59, 130, 246, 0.15);
      --section-dark: #4d4d4d;
      --section-dark-2: #6b7280;
      --shadow: 0 20px 50px rgba(31, 41, 55, 0.12);
      --radius-xl: 32px;
      --radius-lg: 24px;
      --radius-md: 18px;
      --max-width: 1200px;
    }
* { box-sizing: border-box; }
    html { scroll-behavior: smooth; min-height: 100vh; }
    body {
      margin: 0;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      font-family: Arial, Helvetica, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      max-width: 100vw;
      overflow-x: hidden;
    }
    a { color: inherit; text-decoration: none; }
    .container { width: min(var(--max-width), calc(100% - 48px)); margin: 0 auto; }
    #site-footer { flex-shrink: 0; }

.hero {
      position: relative;
      overflow: hidden;
      color: var(--white);
      background: linear-gradient(135deg, var(--section-dark) 0%, var(--primary) 50%, var(--primary-mid) 100%);
    }
    .hero::before, .hero::after {
      content: ""; position: absolute; border-radius: 999px; filter: blur(60px); opacity: 0.2; pointer-events: none;
    }
    .hero::before { width: 280px; height: 280px; background: var(--primary); top: 20px; right: -60px; }
    .hero::after { width: 260px; height: 260px; background: var(--primary-mid); bottom: -30px; left: 28%; }

    .topbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 0 0;
      position: relative;
      z-index: 100;
    }
    .brand { display: flex; align-items: center; }
    .brand img { height: 84px; width: auto; display: block; }
    .partner { font-size: 14px; color: rgba(255,255,255,0.78); margin-top: 4px; }

    .topbar-center {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
    }

.topbar-center { display: flex; align-items: center; gap: 12px; }
    .btn-book {
      background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
      color: #fff;
      border: 1px solid #f3920080;
      padding: 12px 28px;
      border-radius: 999px;
      font-weight: 700;
      font-size: 15px;
      cursor: pointer;
      box-shadow: 0 4px 12px rgba(29, 78, 216, 0.35);
      transition: all 0.2s;
    }
    .btn-book:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(29, 78, 216, 0.5); }
    .btn-quote {
      background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
      color: #fff;
      border: 1px solid #f3920080;
      padding: 12px 28px;
      border-radius: 999px;
      font-weight: 700;
      font-size: 15px;
      cursor: pointer;
      transition: all 0.2s;
      box-shadow: 0 4px 12px rgba(29, 78, 216, 0.35);
    }
    .btn-quote:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(29, 78, 216, 0.5); }
    .btn-login {
      background: linear-gradient(135deg, #1e3a8a, #172554);
      color: #fff;
      border: 1px solid #f3920080;
      padding: 10px 20px;
      border-radius: 999px;
      font-weight: 700;
      font-size: 15px;
      text-decoration: none;
      transition: all 0.2s;
      box-shadow: 0 4px 12px rgba(30, 58, 138, 0.35);
    }
    .btn-login:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(30, 58, 138, 0.5); }

    /* Quote wizard modal */
    .qmodal-overlay {
      display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.65);
      z-index: 1000; align-items: center; justify-content: center; padding: 16px;
    }
    .qmodal-overlay.show { display: flex; }
    .qmodal {
      background: #fff; border-radius: 28px; width: 100%; max-width: 620px;
      max-height: 90vh; overflow-y: auto; box-shadow: 0 32px 80px rgba(47,24,78,0.28);
      position: relative;
    }
    .qmodal-header {
      background: linear-gradient(135deg,var(--primary-dark),var(--primary));
      padding: 24px 28px 20px; border-radius: 28px 28px 0 0; color: #fff;
      display: flex; justify-content: space-between; align-items: flex-start;
    }
    .qmodal-header h2 { margin: 0; font-size: 20px; }
    .qmodal-header p  { margin: 4px 0 0; font-size: 13px; opacity: .75; }
    .qmodal-close { background: rgba(255,255,255,.15); border: none; color: #fff; border-radius: 50%; width: 32px; height: 32px; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .qmodal-close:hover { background: rgba(255,255,255,.3); }
    .qsteps { display: flex; gap: 0; padding: 0 28px; background: var(--primary-soft); }
    .qstep-tab {
      padding: 12px 16px; font-size: 13px; font-weight: 700; color: var(--muted);
      border-bottom: 3px solid transparent; cursor: default; display: flex; align-items: center; gap: 6px;
    }
    .qstep-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
    .qstep-tab.done   { color: var(--success); }
    .qstep-num { width: 20px; height: 20px; border-radius: 50%; background: var(--border); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 900; flex-shrink: 0; }
    .qstep-tab.active .qstep-num { background: var(--primary); color: #fff; }
    .qstep-tab.done   .qstep-num { background: var(--success); color: #fff; }
    .qbody { padding: 24px 28px; }
    .qstep { display: none; }
    .qstep.active { display: block; }

    /* Step 1 â€” model cards */
    .model-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
    .model-card {
      border: 2px solid var(--border); border-radius: 18px; padding: 20px; cursor: pointer;
      transition: all .15s; text-align: left; background: #fff; width: 100%;
    }
    .model-card:hover { border-color: var(--primary); background: var(--primary-soft); }
    .model-card.selected { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 3px rgba(90,90,90,.15); }
    .model-card .mc-icon { font-size: 28px; margin-bottom: 8px; }
    .model-card .mc-name { font-weight: 900; font-size: 16px; color: var(--primary-dark); }
    .model-card .mc-sub  { font-size: 13px; color: var(--muted); margin-top: 4px; }
.model-card .mc-tag { display: inline-block; margin-top: 8px; padding: 2px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; background: var(--primary-soft); color: var(--primary); }
    .duration-row { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
    .duration-row label { font-size: 13px; font-weight: 700; color: var(--text); }
    .duration-select { padding: 8px 14px; border: 1.5px solid var(--border); border-radius: 10px; font: inherit; font-size: 14px; }

    /* Step 2 â€” quantities & live price */
    .qty-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 20px; }
    .qty-card { background: var(--primary-soft); border-radius: 16px; padding: 16px; text-align: center; }
    .qty-card label { display: block; font-size: 12px; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
    .qty-input { width: 100%; text-align: center; border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 6px; font-size: 20px; font-weight: 900; color: var(--primary-dark); font-family: inherit; }
    .qty-input:focus { outline: none; border-color: var(--primary); }
    .qty-card .tier-hint { font-size: 11px; color: var(--muted); margin-top: 4px; }
    .price-table { width: 100%; border-collapse: collapse; font-size: 14px; }
    .price-table th { font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; padding: 6px 10px; text-align: left; border-bottom: 1px solid var(--border); }
    .price-table td { padding: 8px 10px; border-bottom: 1px solid var(--border); }
    .price-table tr:last-child td { border-bottom: none; }
    .price-total-row td { font-weight: 900; font-size: 15px; color: var(--primary-dark); background: var(--primary-soft); border-radius: 8px; }
    .price-note { font-size: 12px; color: var(--muted); margin-top: 10px; text-align: center; }

    /* Step 3 â€” details form */
    .qform-group { margin-bottom: 14px; }
    .qform-group label { display: block; font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 5px; text-transform: uppercase; letter-spacing: .04em; }
    .qform-group input { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 12px; font: inherit; font-size: 14px; }
    .qform-group input:focus { outline: none; border-color: var(--primary); }
    .qform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

    /* Quote summary */
    .quote-summary { background: var(--primary-soft); border-radius: 16px; padding: 16px; margin-bottom: 16px; font-size: 14px; }
    .quote-summary .qs-row { display: flex; justify-content: space-between; padding: 4px 0; }
    .quote-summary .qs-total { font-weight: 900; font-size: 16px; color: var(--primary-dark); border-top: 1px solid var(--border); margin-top: 6px; padding-top: 8px; }

    /* Nav buttons */
    .qnav { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; gap: 10px; }
.qbtn-next { background: linear-gradient(135deg, #3b82f6, #2563eb); color: #fff; border: 2px solid #f39200; padding: 12px 28px; border-radius: 12px; font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; flex: 1; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3); }
    .qbtn-next:hover { box-shadow: 0 8px 20px rgba(59, 130, 246, 0.5), 0 0 0 2px rgba(243, 146, 0, 0.2); transform: translateY(-1px); }
    .qbtn-back { background: var(--primary-soft); color: var(--primary); border: none; padding: 12px 20px; border-radius: 12px; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
    .qstep-msg { font-size: 13px; padding: 8px 14px; border-radius: 8px; display: none; margin-top: 10px; }
    .qstep-msg.err  { background: #fee2e2; color: #991b1b; display: block; }
    .qstep-msg.ok   { background: #dcfce7; color: #166534; display: block; }

    /* Success screen */
    .qsuccess { text-align: center; padding: 20px 0; }
    .qsuccess .qs-icon { font-size: 56px; margin-bottom: 12px; }
    .qsuccess h3 { color: var(--primary-dark); margin: 0 0 8px; font-size: 22px; }
    .qsuccess p  { color: var(--muted); font-size: 14px; }
    .qsuccess .qs-price { background: var(--primary-soft); border-radius: 16px; padding: 16px 20px; margin: 16px 0; text-align: left; font-size: 14px; }

    .topbar-right {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .lang-switcher {
      display: flex;
      align-items: center;
      gap: 4px;
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.2);
      border-radius: 8px;
      padding: 4px;
      cursor: pointer;
    }
    .lang-option {
      padding: 6px 8px;
      border-radius: 6px;
      font-size: 13px;
      font-weight: 600;
      color: rgba(255,255,255,0.6);
      transition: all 0.2s;
    }
    .lang-option:hover { color: rgba(255,255,255,0.9); }
    .lang-option.active {
      background: rgba(255,255,255,0.2);
      color: #fff;
    }
    .lang-option img {
      width: 18px;
      height: 13px;
      vertical-align: middle;
      border-radius: 2px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 48px;
      align-items: center;
      padding: 70px 0 90px;
      position: relative;
      z-index: 1;
    }
    .eyebrow { display: inline-block; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); font-size: 14px; font-weight: 700; }
    h1, h2, h3, p { margin-top: 0; }
    h1 { font-size: 60px; line-height: 1.05; margin: 20px 0 0; font-weight: 900; max-width: 760px; }
    .lead { font-size: 20px; color: rgba(255,255,255,0.84); max-width: 720px; margin: 22px 0 0; }
    .button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
    .btn { display: inline-block; padding: 14px 22px; border-radius: 18px; font-weight: 700; font-size: 15px; transition: transform 0.2s; cursor: pointer; }
    .btn:hover { transform: translateY(-2px); }
    .btn-primary { background: linear-gradient(135deg, #1d4ed8, #1e3a8a); color: #fff; box-shadow: 0 8px 24px rgba(29, 78, 216, 0.35); border: 1px solid #f3920080; }
    .btn-primary:hover { box-shadow: 0 12px 32px rgba(29, 78, 216, 0.5); transform: translateY(-2px); }
    .btn-secondary { border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.1); color: var(--white); }

    .stats { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 760px; }
    .stat-card { border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.1); border-radius: 22px; padding: 18px; backdrop-filter: blur(10px); }
    .stat-card strong { display: block; font-size: 18px; margin-bottom: 6px; }
    .stat-card span { font-size: 13px; color: rgba(255,255,255,0.76); }

    .hero-panel { position: relative; background: rgba(255,255,255,0.96); color: var(--text); border-radius: 34px; padding: 24px; box-shadow: 0 24px 60px rgba(0,0,0,0.2); }
    .panel-block { background: var(--primary-soft); border-radius: 28px; padding: 24px; margin-bottom: 18px; }
    .panel-kicker, .section-kicker { text-transform: uppercase; letter-spacing: 0.22em; font-size: 12px; font-weight: 800; color: var(--primary-mid); }
    .panel-block h3, .section-title { color: var(--primary-dark); font-weight: 900; }
    .panel-block h3 { font-size: 32px; margin: 8px 0 12px; }
    .panel-block p, .feature-card p, .section-copy, .contact-copy, .about-copy, .step-card p, .mini-card p { color: var(--muted); }
    .mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .mini-card { border: 1px solid var(--border); border-radius: 24px; padding: 20px; }

    section { padding: 88px 0; }
    .section-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
    .section-title { font-size: 50px; line-height: 1.08; margin: 14px 0 0; }
    .quote-card, .content-card, .contact-card, .steps-right { background: var(--white); border-radius: var(--radius-xl); padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--border); }
    .quote-card strong { display: block; font-size: 38px; line-height: 1.15; margin-top: 10px; color: var(--primary-dark); }
    .solutions { background: var(--white); }
    .features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 38px; }
    .feature-card { background: var(--primary-soft); border: 1px solid var(--border); border-radius: 28px; padding: 28px; box-shadow: 0 10px 24px rgba(31, 41, 55, 0.05); }
    .feature-icon { width: 48px; height: 48px; border-radius: 16px; background: linear-gradient(135deg, var(--primary), var(--accent)); margin-bottom: 20px; }
    .feature-card h3 { margin-bottom: 10px; color: var(--primary-dark); font-size: 24px; font-weight: 900; }

    .steps-grid { display: grid; grid-template-columns: 0.95fr 2fr; gap: 24px; align-items: stretch; }
    .steps-left { background: linear-gradient(180deg, var(--primary-dark), var(--primary)); color: var(--white); border-radius: var(--radius-xl); padding: 32px; box-shadow: var(--shadow); }
    .step-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .step-card { background: var(--primary-soft); border-radius: 24px; padding: 24px; }
    .step-number { width: 44px; height: 44px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: var(--primary); color: var(--white); font-weight: 900; font-size: 18px; margin-bottom: 14px; }

    .dark-section { background: var(--primary-dark); color: var(--white); }
    .dark-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
    .dark-section .section-kicker { color: var(--primary-soft); }
    .dark-copy { font-size: 19px; line-height: 1.8; color: rgba(255,255,255,0.78); margin-top: 18px; }
    .dark-panel { border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); border-radius: var(--radius-xl); padding: 28px; backdrop-filter: blur(8px); }
    .dark-panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .dark-panel-card { background: rgba(255,255,255,0.1); border-radius: 24px; padding: 20px; }
    .dark-panel-card .title { color: var(--primary-soft); font-weight: 700; font-size: 14px; margin-bottom: 8px; }
    .dark-panel-card strong { font-size: 20px; line-height: 1.3; }

    .contact-card { padding: 36px; }
    .contact-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 40px; align-items: center; }
    .form-box { background: var(--bg); border-radius: 28px; padding: 24px; }
    .form-box input, .form-box textarea { width: 100%; border: 1px solid var(--border); background: var(--white); border-radius: 18px; padding: 14px 16px; font: inherit; margin-bottom: 14px; }
    .form-box textarea { min-height: 120px; resize: vertical; }
    .form-box button { width: 100%; border: 1px solid #f3920080; border-radius: 18px; padding: 14px 18px; background: linear-gradient(135deg, #1d4ed8, #1e3a8a); color: var(--white); font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 16px 28px rgba(29, 78, 216, 0.3); }

    /* Popup Modal */
    .modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 1000; align-items: center; justify-content: center; }
    .modal-overlay.show { display: flex; }
    .modal { background: var(--white); border-radius: var(--radius-xl); padding: 32px; max-width: 600px; width: 90%; max-height: 90vh; overflow-y: auto; position: relative; }
    .modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--muted); }
    .modal h2 { color: var(--primary-dark); margin-bottom: 24px; }
    .form-group { margin-bottom: 20px; }
    .form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 14px; }
    .form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 16px; border: 2px solid var(--border); border-radius: 14px; font-size: 15px; font-family: inherit; transition: border-color 0.3s; }
    .form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .availability-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 12px; }
    .time-slot { padding: 10px; text-align: center; border: 2px solid var(--border); border-radius: 8px; cursor: pointer; font-size: 13px; transition: all 0.2s; }
    .time-slot:hover { border-color: var(--primary); }
    .time-slot.selected { background: var(--primary); color: white; border-color: var(--primary); }
    .time-slot.unavailable { background: #f1f5f9; color: #94a3b8; cursor: not-allowed; }
    .calendar-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
    .calendar-nav button { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text); padding: 8px; }
    .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
    .calendar-day-header { font-size: 12px; font-weight: 600; color: #666; padding: 8px; }
    .calendar-day { padding: 10px 4px; border-radius: 8px; cursor: pointer; font-size: 14px; transition: all 0.2s; }
    .calendar-day:hover:not(.disabled) { background: var(--primary-soft); }
    .calendar-day.selected { background: var(--primary); color: white; }
    .calendar-day.disabled { color: #ccc; cursor: not-allowed; }
    .calendar-sm .calendar-day-header { font-size: 10px; padding: 4px; }
    .calendar-sm .calendar-day { padding: 5px 2px; font-size: 12px; border-radius: 6px; }

    .message { padding: 16px; border-radius: 12px; margin-bottom: 16px; display: none; }
    .message.success { background: #dcfce7; color: #166534; display: block; }
    .message.error { background: #fee2e2; color: #991b1b; display: block; }

.floating-contact {
      position: fixed;
      bottom: 24px;
      right: 24px;
      background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
      color: #fff;
      border-radius: 999px;
      padding: 14px 24px;
      display: flex;
      align-items: center;
      gap: 10px;
      box-shadow: 0 8px 24px rgba(29, 78, 216, 0.4), 2px 2px 0 #f3920060;
      z-index: 999;
      font-weight: 700;
      font-size: 15px;
      transition: all 0.2s;
      border: 1px solid #f3920080;
    }
    .floating-contact:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 32px rgba(29, 78, 216, 0.5), 2px 2px 0 #f3920060;
    }
    .floating-contact svg { flex-shrink: 0; }

    .contact-option {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 20px;
      border-radius: 16px;
      border: 1px solid var(--border);
      background: var(--white);
      cursor: pointer;
      transition: all 0.2s;
      width: 100%;
      text-align: left;
      margin-bottom: 12px;
      color: var(--text);
    }
    .contact-option:hover {
      border-color: var(--primary);
      background: var(--primary-soft);
    }
.contact-option.teams { color: var(--primary); }
    .contact-option.teams:hover { background: var(--primary-soft); }
    .contact-option.book { color: var(--primary); }
    .contact-option.book:hover { background: var(--primary-soft); }
    .contact-option.email { color: var(--primary); }
    .contact-option strong { display: block; font-size: 16px; margin-bottom: 2px; }
    .contact-option span { font-size: 13px; color: var(--muted); }

    /* Cookie Consent */
    .cookie-consent { position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); box-shadow: 0 -4px 20px rgba(0,0,0,0.1); padding: 20px 24px; z-index: 9999; font-size: 14px; transform: translateY(100%); transition: transform 0.4s ease; }
    .cookie-consent.show { transform: translateY(0); }
    .cookie-consent-content { max-width: 1200px; margin: 0 auto; }
    .cookie-consent-text { margin-bottom: 16px; }
    .cookie-consent-text p { margin-bottom: 8px; color: var(--text); }
    .cookie-consent-text a { color: var(--primary); }
    .cookie-consent-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
    .cookie-consent-actions .btn { padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; text-decoration: none; display: inline-block; }
.btn-cookie-primary { background: var(--primary); color: var(--white); }
    .btn-cookie-primary:hover { background: var(--primary-mid); }
    .btn-cookie-secondary { background: var(--primary); color: var(--white); }
    .btn-cookie-secondary:hover { background: var(--primary-mid); }
    .btn-cookie-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
    .btn-cookie-outline:hover { background: var(--bg); }
    
    /* Cookie Preferences Panel */
    .cookie-prefs { display: none; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
    .cookie-prefs.show { display: block; }
    .cookie-pref-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
    .cookie-pref-item:last-child { border-bottom: none; }
    .cookie-pref-info h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; color: var(--text); }
    .cookie-pref-info p { font-size: 12px; color: var(--muted); margin: 0; }
    .cookie-pref-info .badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 600; margin-left: 8px; }
    .cookie-pref-info .badge-always { background: #e0e7ff; color: #4338ca; }
    .cookie-pref-info .badge-optional { background: var(--primary-soft); color: var(--primary); }
    
    /* Toggle Switch */
    .toggle { position: relative; width: 44px; height: 24px; }
    .toggle input { opacity: 0; width: 0; height: 0; }
    .toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: #cbd5e1; border-radius: 24px; transition: 0.3s; }
    .toggle-slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background: white; border-radius: 50%; transition: 0.3s; }
    .toggle input:checked + .toggle-slider { background: var(--primary); }
    .toggle input:checked + .toggle-slider:before { transform: translateX(20px); }
    .toggle input:disabled + .toggle-slider { opacity: 0.6; cursor: not-allowed; }

footer { padding: 16px 0; color: var(--muted); font-size: 12px; margin-top: auto; flex-shrink: 0; background: var(--white); border-top: 1px solid var(--border); }
    footer .container { display: flex; justify-content: space-between; align-items: center; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; width: 100%; }
    footer .footer-left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
    footer .footer-brand a { color: var(--primary); font-weight: 600; }
    footer .footer-rights { color: var(--muted); }

    /* Main Navigation Bar */
    .main-nav {
      background: var(--white);
      position: fixed;
      top: 80px;
      left: 0;
      right: 0;
      z-index: 999;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
      border-radius: 0;
      margin: 0;
      max-width: 100%;
      padding: 10px 0;
    }
    .main-nav .container {
      display: flex;
      justify-content: center;
      align-items: stretch;
      gap: 4px;
      padding: 0 24px;
      flex-wrap: nowrap;
      max-width: 1200px;
      margin: 0 auto;
      width: 100%;
      box-sizing: border-box;
    }
    .main-nav a, #mobileMenu a {
      display: inline-flex !important;
      align-items: center;
      padding: 10px 18px;
      color: var(--text);
      font-weight: 600;
      font-size: 15px;
      text-decoration: none;
      transition: all 0.2s;
      white-space: nowrap;
      border-radius: 8px;
      flex-shrink: 0;
      background: white;
      box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }
    .main-nav a:hover {
      color: var(--primary);
      background: var(--primary-soft);
      border-radius: 8px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }
    .main-nav a.active {
      color: var(--primary);
      background: var(--primary-soft);
      border-radius: 8px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }
    .main-nav a.nav-cta {
      background: var(--primary);
      color: var(--white);
      margin-left: auto;
      border-radius: 8px;
      padding: 10px 20px;
      font-weight: 700;
      flex-shrink: 0;
      box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }
    .main-nav a.nav-cta:hover {
      background: var(--primary-mid);
      color: var(--white);
    }
    .main-nav a.active {
      color: var(--primary);
      background: var(--primary-soft);
      border-radius: 8px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }
    .main-nav a.nav-cta {
      background: var(--primary);
      color: var(--white);
      margin-left: auto;
      border-radius: 8px;
      padding: 10px 20px;
      font-weight: 700;
      flex-shrink: 0;
      box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }
    .main-nav a.nav-cta:hover {
      background: var(--primary-mid);
      color: var(--white);
    }

    /* Mobile Hamburger Menu */
    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: space-between;
      width: 28px;
      height: 20px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 0;
      z-index: 1001;
    }
    .hamburger span {
      display: block;
      width: 100%;
      height: 3px;
      background: white;
      border-radius: 2px;
      transition: all 0.3s;
    }
    .hamburger.active span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

    .main-nav .mobile-menu-header {
      display: none;
    }

    @media (max-width: 1100px) {
      .hero-grid, .section-grid, .steps-grid, .dark-grid, .contact-grid, .form-row { grid-template-columns: 1fr; }
      .features-grid, .step-cards, .stats, .mini-grid, .dark-panel-grid { grid-template-columns: repeat(2, 1fr); }
      h1 { font-size: 52px; }
      .section-title { font-size: 42px; }
    }
    @media (max-width: 1100px) {
      .hamburger { display: flex; margin-left: auto; margin-right: 16px; align-self: center; }
      .topbar { flex-wrap: nowrap; }
      .topbar > div:first-child { flex-shrink: 0; }
      .topbar-center { position: static; transform: none; width: auto; order: 1; }
      .topbar-right { flex-shrink: 0; }
      .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        background: white;
        border-radius: 0;
        margin: 0;
        padding: 0;
        box-shadow: -4px 0 24px rgba(0,0,0,0.15);
        transition: right 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
        padding-top: 0;
      }
      .main-nav.active { right: 0; }
      .main-nav .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        background: var(--primary-dark);
        color: white;
        font-weight: 700;
        font-size: 16px;
      }
      .main-nav .mobile-close {
        background: none;
        border: none;
        color: white;
        font-size: 28px;
        cursor: pointer;
        padding: 0;
        line-height: 1;
      }
      .main-nav .container {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
      }
      .main-nav a, .nav-dropdown > span {
        padding: 16px 20px;
        font-size: 16px;
        border-radius: 0;
        border-bottom: 1px solid var(--border);
        background: white;
        box-shadow: none;
      }
      .main-nav a:hover, .nav-dropdown:hover > span {
        border-radius: 0;
        box-shadow: none;
      }
      .main-nav a.nav-cta { display: block; margin: 0; border-radius: 0; }
      .nav-dropdown { flex-direction: column; }
      .nav-dropdown > span::after { content: '+'; margin-left: auto; font-size: 20px; }
      .nav-dropdown.active > span::after { content: '-'; }
      .dropdown-content {
        position: static;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        display: none;
      }
      .nav-dropdown.active .dropdown-content { display: block; }
      .dropdown-content a {
        padding: 14px 20px 14px 32px;
        font-size: 15px;
        border-radius: 0;
        border-bottom: 1px solid var(--border);
      }
      .dropdown-section { padding: 12px 20px 8px 32px; }
      .dropdown-divider { margin: 0 20px; }
      .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
      }
      .nav-overlay.active { display: block; }
    }
    @media (max-width: 700px) {
      .topbar { flex-wrap: wrap; gap: 16px; padding: 12px 0 0; }
      .topbar-center { position: static; transform: none; width: 100%; text-align: center; order: -1; }
      .topbar-center .btn-book, .topbar-center .btn-quote { display: none; }
      h1 { font-size: 40px; }
      .section-title { font-size: 34px; }
      .features-grid, .step-cards, .stats, .mini-grid, .dark-panel-grid { grid-template-columns: 1fr; }
      section { padding: 70px 0; }
    }
    
    /* Page-specific styles for inner pages */
    .pain-section { background: var(--white); }
    .pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 40px; }
    .pain-card { background: var(--bg); padding: 32px; border-radius: var(--radius-lg); border-left: 4px solid var(--accent); }
    .pain-card h3 { font-size: 20px; font-weight: 700; color: var(--primary-dark); margin-bottom: 12px; }
    .pain-card p { color: var(--muted); font-size: 15px; }
    
    .erp-section { background: var(--primary-dark); color: white; }
    .erp-section .section-kicker { color: var(--accent); }
    .erp-section .section-title { color: white; }
    .erp-section .section-copy { color: rgba(255,255,255,0.8); }
    .erp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin-top: 40px; }
    .erp-card { background: rgba(255,255,255,0.08); padding: 28px; border-radius: var(--radius-lg); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.1); }
    .erp-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--accent); }
    .erp-card p { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.7; }
    .erp-card .status { display: inline-block; background: #22c55e; color: white; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; margin-bottom: 12px; }
    
    .who-section { background: var(--white); }
    .who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 50px; }
    .who-card { text-align: center; padding: 40px 32px; background: var(--bg); border-radius: var(--radius-xl); transition: transform 0.3s, box-shadow 0.3s; }
    .who-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
    .who-card .icon { width: 80px; height: 80px; background: var(--primary-soft); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-size: 32px; }
    .who-card h3 { font-size: 24px; font-weight: 700; color: var(--primary-dark); margin-bottom: 12px; }
    .who-card .users { font-size: 14px; color: var(--primary); font-weight: 700; margin-bottom: 16px; }
    .who-card p { font-size: 15px; color: var(--muted); }
    
    .benefits-section { background: var(--bg); }
    .benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 50px; }
    .benefit-card { display: flex; gap: 20px; background: var(--white); padding: 28px; border-radius: var(--radius-lg); }
    .benefit-card .num { width: 48px; height: 48px; background: var(--primary); color: white; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 900; flex-shrink: 0; }
    .benefit-card h3 { font-size: 18px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
    .benefit-card p { font-size: 14px; color: var(--muted); }
    
    .faq-section { background: var(--white); }
    .faq-list { margin-top: 50px; max-width: 800px; margin-left: auto; margin-right: auto; }
    .faq-item { border-bottom: 1px solid var(--border); padding: 24px 0; }
    .faq-item h3 { font-size: 18px; font-weight: 700; color: var(--primary-dark); margin-bottom: 12px; }
    .faq-item p { color: var(--muted); font-size: 15px; line-height: 1.7; }
    
    .cta-section { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); color: white; text-align: center; padding: 100px 0; }
    .cta-section h2 { font-size: 42px; font-weight: 900; margin-bottom: 20px; }
    .cta-section p { font-size: 18px; opacity: 0.9; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
    
    .features-section { background: var(--white); }
    .overview-section { background: var(--bg); }
    .overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 50px; }
    .overview-content h3 { font-size: 28px; font-weight: 700; color: var(--primary-dark); margin-bottom: 20px; }
    .overview-content p { font-size: 16px; color: var(--muted); margin-bottom: 16px; }
    .overview-list { list-style: none; margin-top: 24px; }
    .overview-list li { padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
    .overview-list li::before { content: "✓"; color: #22c55e; font-weight: 700; font-size: 18px; }
    .overview-image { background: var(--primary-soft); border-radius: var(--radius-xl); padding: 40px; text-align: center; }
    .overview-image .placeholder { height: 300px; display: flex; align-items: center; justify-content: center; font-size: 64px; opacity: 0.5; }
    
    .about-section { background: var(--white); }
    .values-section { background: var(--bg); padding: 80px 0; }
    .values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 50px; }
    .value-card { background: var(--white); padding: 36px; border-radius: var(--radius-xl); text-align: center; }
    .value-card .icon { width: 72px; height: 72px; background: var(--primary-soft); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-size: 32px; }
    .value-card h3 { font-size: 20px; font-weight: 700; color: var(--primary-dark); margin-bottom: 12px; }
    .value-card p { font-size: 15px; color: var(--muted); }
    
    .partner-section { background: var(--white); padding: 80px 0; text-align: center; }
    .partner-badge { display: inline-block; background: var(--primary-dark); color: white; padding: 20px 40px; border-radius: var(--radius-lg); }
    .partner-badge .logo { font-size: 28px; font-weight: 900; margin-bottom: 8px; }
    .partner-badge p { font-size: 14px; opacity: 0.8; }
    
    .contact-info { display: flex; justify-content: center; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
    .contact-item { text-align: center; }
    .contact-item .icon { font-size: 32px; margin-bottom: 12px; }
    .contact-item h4 { font-size: 14px; font-weight: 700; color: var(--primary-dark); margin-bottom: 4px; }
    .contact-item p { font-size: 14px; color: var(--muted); }
    .contact-item a { color: var(--primary); }
    
    .coming-soon { background: var(--white); padding: 80px 0; text-align: center; }
    .coming-soon .icon { font-size: 64px; margin-bottom: 24px; }
    .coming-soon h2 { font-size: 32px; font-weight: 900; color: var(--primary-dark); margin-bottom: 16px; }
    .coming-soon p { font-size: 18px; color: var(--muted); max-width: 500px; margin: 0 auto 30px; }
    
    .notify-section { background: var(--primary-dark); padding: 80px 0; color: white; text-align: center; }
    .notify-section h3 { font-size: 24px; font-weight: 900; margin-bottom: 16px; }
    .notify-section p { opacity: 0.8; margin-bottom: 30px; }
    .notify-form { display: flex; gap: 12px; max-width: 500px; margin: 0 auto; }
    .notify-form input { flex: 1; padding: 14px 20px; border: none; border-radius: 12px; font-size: 16px; }
    .notify-form button { white-space: nowrap; }
    .notify-message { margin-top: 20px; }
    
    .intro-section { background: var(--white); padding: 80px 0; }
    .intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
    .intro-content p { font-size: 17px; color: var(--muted); margin-bottom: 16px; line-height: 1.8; }
    .intro-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .intro-stats .stat-card { background: var(--bg); padding: 24px; border-radius: var(--radius-lg); text-align: center; }
    .intro-stats .stat-card .number { font-size: 36px; font-weight: 900; color: var(--primary-dark); margin-bottom: 8px; }
    .intro-stats .stat-card .label { font-size: 14px; color: var(--muted); }
    
    /* Navigation Dropdown */
    .nav-dropdown { position: relative; display: inline-flex; align-items: center; flex-shrink: 0; }
    .nav-dropdown > a, .nav-dropdown > span {
      display: inline-flex; align-items: center; padding: 10px 18px;
      color: var(--text); font-weight: 600; font-size: 15px; text-decoration: none;
      cursor: pointer; transition: all 0.2s;
      white-space: nowrap; border-radius: 8px; background: white; border: none;
      box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }
    .nav-dropdown:hover > a, .nav-dropdown:hover > span {
      color: var(--primary); background: var(--primary-soft);
    }
    .dropdown-content {
      display: none; position: absolute; top: 100%; left: 0;
      background: var(--white); min-width: 240px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.12); border-radius: 12px;
      padding: 8px 0; z-index: 200; margin-top: 4px; border: 1px solid var(--border);
      overflow: visible;
    }
    .nav-dropdown:hover .dropdown-content { display: block; }
    .dropdown-content a {
      display: block; padding: 14px 24px; color: var(--text); font-size: 16px;
      font-weight: 500; text-decoration: none; border-radius: 0; border-bottom: none;
    }
    .dropdown-content a:hover { background: var(--primary-soft); color: var(--primary); }
    .dropdown-section {
      padding: 12px 24px 8px; font-size: 11px; font-weight: 700;
      color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; background: var(--bg);
    }
    .dropdown-divider { height: 1px; background: var(--border); margin: 6px 12px; }
   
   /* Blog page styles */
   .blog-page .blog-hero-inner,
   body[data-page="blog.html"] .blog-hero-inner {
     text-align: center !important;
     padding: 48px 0 40px;
   }
   .blog-page .blog-hero-inner h1,
   body[data-page="blog.html"] .blog-hero-inner h1 {
     text-align: center !important;
     font-size: 36px;
     font-weight: 900;
     margin-bottom: 12px;
     color: white;
   }
   .blog-page .blog-hero-inner p,
   body[data-page="blog.html"] .blog-hero-inner p {
     text-align: center !important;
     font-size: 16px;
     opacity: 0.9;
     max-width: 580px;
     margin: 0 auto;
     color: rgba(255,255,255,0.9);
   }
   .blog-page .blog-eyebrow,
   body[data-page="blog.html"] .blog-eyebrow {
     text-transform: uppercase;
     letter-spacing: 0.15em;
     font-size: 12px;
     font-weight: 800;
     color: var(--accent);
     margin-bottom: 12px;
   }
   .blog-page .blog-grid,
   body[data-page="blog.html"] .blog-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
     gap: 24px;
     margin-top: 32px;
   }
   .blog-page .blog-card,
   body[data-page="blog.html"] .blog-card {
     background: var(--white);
     border-radius: 12px;
     box-shadow: 0 2px 12px rgba(90,47,143,0.08);
     overflow: hidden;
     transition: transform 0.2s, box-shadow 0.2s;
     display: flex;
     flex-direction: column;
     border: 1px solid var(--border);
   }
   .blog-page .blog-card:hover,
   body[data-page="blog.html"] .blog-card:hover {
     transform: translateY(-4px);
     box-shadow: 0 8px 32px rgba(90,47,143,0.16);
   }
   .blog-page .blog-card-image,
   body[data-page="blog.html"] .blog-card-image {
     width: 100%;
     height: 160px;
     object-fit: cover;
   }
   .blog-page .blog-card-image-placeholder,
   body[data-page="blog.html"] .blog-card-image-placeholder {
     width: 100%;
     height: 160px;
     background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 36px;
   }
   .blog-page .blog-card-body,
   body[data-page="blog.html"] .blog-card-body {
     padding: 16px;
     flex: 1;
     display: flex;
     flex-direction: column;
   }
   .blog-page .blog-card-meta,
   body[data-page="blog.html"] .blog-card-meta {
     display: flex;
     align-items: center;
     gap: 10px;
     margin-bottom: 10px;
   }
   .blog-page .blog-category-badge,
   body[data-page="blog.html"] .blog-category-badge {
     display: inline-block;
     padding: 3px 10px;
     border-radius: 20px;
     font-size: 10px;
     font-weight: 700;
     text-transform: uppercase;
     letter-spacing: 0.5px;
   }
   .cat-certification { background: #e8f5e9; color: #2e7d32; }
   .cat-product-update { background: #e3f2fd; color: #1565c0; }
   .cat-news { background: #fce4ec; color: #c62828; }
   .blog-page .blog-card-date,
   body[data-page="blog.html"] .blog-card-date {
     font-size: 11px;
     color: var(--muted);
   }
   .blog-page .blog-card-title,
   body[data-page="blog.html"] .blog-card-title {
     font-size: 15px;
     font-weight: 800;
     color: var(--text);
     margin: 0 0 8px;
     line-height: 1.3;
   }
   .blog-page .blog-card-summary,
   body[data-page="blog.html"] .blog-card-summary {
     font-size: 13px;
     color: var(--muted);
     line-height: 1.5;
     flex: 1;
     margin-bottom: 14px;
   }
   .blog-page .blog-read-more,
   body[data-page="blog.html"] .blog-read-more {
     display: inline-flex;
     align-items: center;
     gap: 6px;
     color: var(--primary);
     font-weight: 700;
     font-size: 13px;
     text-decoration: none;
     margin-top: auto;
   }
   .blog-page .blog-read-more:hover,
   body[data-page="blog.html"] .blog-read-more:hover { color: var(--primary-dark); }
   .blog-page .blog-empty,
   body[data-page="blog.html"] .blog-empty {
     text-align: center;
     padding: 60px 20px;
     color: var(--muted);
   }
   .blog-page .blog-loading,
    body[data-page="blog.html"] .blog-loading {
      text-align: center;
      padding: 60px 20px;
      color: var(--muted);
    }

/* Homepage redesign */
body[data-page="index.html"] {
  background: #f5f7fb;
  color: #162033;
  padding-top: 0 !important;
}

.home-page {
  overflow: hidden;
}

.home-hero {
  position: relative;
  background:
    radial-gradient(circle at 15% 18%, rgba(59, 130, 246, 0.28), transparent 28%),
    radial-gradient(circle at 82% 10%, rgba(243, 146, 0, 0.2), transparent 22%),
    linear-gradient(135deg, #0b1020 0%, #17213a 48%, #eef4ff 48%, #ffffff 100%);
  color: #fff;
  min-height: 720px;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -35% 32%;
  height: 420px;
  background: rgba(59, 130, 246, 0.14);
  filter: blur(80px);
  border-radius: 50%;
}

.home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: 42px;
  align-items: center;
  padding: 90px 0 105px;
}

.home-kicker,
.section-label {
  margin: 0 0 16px;
  color: #3b82f6;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  color: #fff;
}

.home-lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.65;
}

.home-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 32px;
}

.home-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.home-proof-row span {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
}

.platform-visual {
  position: relative;
  min-height: 570px;
  color: #172033;
}

.visual-orbit {
  position: absolute;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.26);
}

.visual-orbit-one {
  width: 430px;
  height: 430px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: inset 0 0 0 80px rgba(255, 255, 255, 0.28), 0 38px 110px rgba(11, 16, 32, 0.18);
}

.visual-orbit-two {
  width: 300px;
  height: 300px;
  border-color: rgba(243, 146, 0, 0.32);
}

.visual-core {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 220px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
  text-align: center;
}

.visual-core img {
  width: 150px;
  max-height: 70px;
  object-fit: contain;
}

.visual-core span {
  color: #536078;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-node {
  position: absolute;
  width: 160px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.14);
  color: #172033;
  font-weight: 900;
  line-height: 1.25;
  backdrop-filter: blur(12px);
}

.visual-node strong {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.node-print { top: 40px; left: 48%; }
.node-idp { top: 180px; right: 0; }
.node-esign { bottom: 84px; right: 58px; }
.node-ecm { bottom: 60px; left: 44px; }
.node-workflow { top: 170px; left: 0; }

.home-section {
  padding: 96px 0;
}

.home-intro {
  background: #fff;
}

.split-section,
.cta-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 70px;
  align-items: start;
}

.split-section h2,
.section-heading h2,
.msp-panel h2,
.cta-band h2 {
  margin: 0;
  color: #101827;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.split-section p,
.section-heading p,
.msp-panel p,
.cta-band p,
.product-card p,
.outcome-card p {
  color: #64748b;
}

.split-section p {
  font-size: 18px;
  line-height: 1.8;
}

.product-section {
  background: #f5f7fb;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading p:not(.section-label) {
  margin: 18px 0 0;
  font-size: 18px;
}

.section-heading.compact {
  max-width: 690px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card,
.outcome-card,
.msp-panel {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.product-card {
  min-height: 260px;
  padding: 30px;
}

.product-card h3,
.outcome-card h3 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.product-card p,
.outcome-card p {
  font-size: 15px;
  line-height: 1.7;
}

.product-card a,
.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: #2563eb;
  font-weight: 900;
}

.featured-card {
  grid-row: span 2;
  background: linear-gradient(145deg, #111827 0%, #1e3a8a 100%);
}

.featured-card h3,
.featured-card p,
.featured-card a {
  color: #fff;
}

.card-badge {
  display: inline-flex;
  margin-bottom: 44px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.partner-card {
  background:
    radial-gradient(circle at 78% 18%, rgba(243, 146, 0, 0.16), transparent 34%),
    #fff;
}

.msp-section {
  background: #fff;
}

.msp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.msp-panel {
  padding: 44px;
}

.dark-panel {
  background: #0b1020;
  color: #fff;
}

.dark-panel h2,
.dark-panel .section-label {
  color: #fff;
}

.dark-panel .clean-list li {
  color: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.1);
}

.clean-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  padding: 13px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  color: #64748b;
  font-weight: 700;
}

.light-panel {
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.09), rgba(243, 146, 0, 0.08)),
    #fff;
}

.outcomes-section {
  background: #f5f7fb;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.outcome-card {
  padding: 28px;
}

.outcome-card strong {
  display: inline-flex;
  margin-bottom: 38px;
  color: #f39200;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.cta-band {
  background: #fff;
}

.cta-grid {
  align-items: center;
  padding: 54px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 86% 16%, rgba(59, 130, 246, 0.22), transparent 26%),
    linear-gradient(135deg, #eef4ff 0%, #ffffff 68%);
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
}

.btn-outline-dark {
  color: #101827;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: #fff;
}

#cookieConsent.show {
  display: block !important;
}

#cookiePrefs.show {
  display: block !important;
}

@media (max-width: 1100px) {
  .home-hero {
    background: linear-gradient(150deg, #0b1020 0%, #17213a 64%, #eef4ff 64%, #ffffff 100%);
  }

  .home-hero-grid,
  .split-section,
  .cta-grid,
  .msp-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-grid {
    padding: 70px 0 84px;
  }

  .platform-visual {
    min-height: 520px;
  }

  .product-grid,
  .outcome-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-card {
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--max-width), calc(100% - 32px));
  }

  .home-hero h1 {
    font-size: 42px;
  }

  .home-lead {
    font-size: 17px;
  }

  .home-section {
    padding: 68px 0;
  }

  .product-grid,
  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .platform-visual {
    min-height: 620px;
  }

  .visual-orbit-one {
    width: 320px;
    height: 320px;
  }

  .visual-orbit-two {
    width: 220px;
    height: 220px;
  }

  .visual-node {
    width: 145px;
    font-size: 13px;
  }

  .node-print { top: 20px; left: 48%; }
  .node-idp { top: 176px; right: 0; }
  .node-esign { bottom: 110px; right: 0; }
  .node-ecm { bottom: 86px; left: 0; }
  .node-workflow { top: 176px; left: 0; }

  .msp-panel,
  .product-card,
  .outcome-card,
  .cta-grid {
    padding: 26px;
    border-radius: 24px;
  }

  .home-actions .btn,
  .cta-actions .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 760px) {
  #site-header .brand img {
    height: 44px !important;
  }

  #site-header .btn-book,
  #site-header .btn-quote,
  #site-header .btn-login {
    padding: 8px 10px !important;
    font-size: 12px !important;
  }

  #site-header .main-nav > div,
  #mobileMenu {
    justify-content: flex-start !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
}

/* Full redesign shell overrides */
.site-shell-header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(1240px, calc(100% - 32px));
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(238, 244, 255, 0.82));
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(22px);
  overflow: visible;
}

.site-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px 16px 10px 20px;
}

.site-topbar .brand img {
  height: 58px;
  width: auto;
  display: block;
}

.site-topbar-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 180px;
}

.site-topbar-copy strong {
  color: #111827;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.site-topbar-copy span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.site-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-topbar .btn-book,
.site-topbar .btn-quote,
.site-topbar .btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-quote {
  display: none !important;
}

.site-topbar .btn-book {
  color: #fff;
  border: 1px solid rgba(243, 146, 0, 0.42);
  background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

.site-topbar .btn-quote {
  color: #102033;
  border: 1px solid rgba(243, 146, 0, 0.45);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 237, 0.92));
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.site-topbar .btn-login {
  color: #334155;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.site-topbar .btn-book:hover,
.site-topbar .btn-quote:hover,
.site-topbar .btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.16);
}

.site-shell-header .main-nav {
  position: static !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 12px 12px !important;
}

.site-nav-inner {
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 8px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.05);
  overflow: visible;
}

#mobileMenu {
  display: flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
}

#mobileMenu > a,
.site-shell-header .nav-dropdown > span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 13px;
  border-radius: 14px;
  color: #334155;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.18s ease, background 0.18s ease;
}

#mobileMenu > a:hover,
#mobileMenu > a.active,
.site-shell-header .nav-dropdown:hover > span {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.78);
}

.site-shell-header .dropdown-content {
  top: calc(100% + 10px);
  min-width: 270px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(18px);
}

.site-shell-header .dropdown-content a {
  color: #334155;
  font-size: 14px;
  font-weight: 750;
}

.site-shell-header .dropdown-content a:hover {
  color: #1d4ed8;
  background: rgba(59, 130, 246, 0.08);
}

/* Homepage full redesign overrides */
.home-hero {
  min-height: auto;
  color: #101827;
  background:
    radial-gradient(circle at 8% 12%, rgba(59, 130, 246, 0.18), transparent 28%),
    radial-gradient(circle at 90% 22%, rgba(243, 146, 0, 0.15), transparent 24%),
    linear-gradient(135deg, #f8fbff 0%, #eef4ff 50%, #ffffff 100%);
}

.home-hero::after {
  inset: auto -18% -22% 48%;
  height: 360px;
  background: rgba(59, 130, 246, 0.12);
}

.home-hero-grid {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 222px 0 96px;
}

.home-hero-copy {
  position: relative;
  padding: clamp(30px, 5vw, 58px);
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 42px;
  background:
    linear-gradient(90deg, rgba(12, 20, 40, 0.9), rgba(12, 20, 40, 0.24)),
    url('/hero-bg.png') center / cover no-repeat,
    linear-gradient(145deg, #0c1428 0%, #15213a 58%, #334155 100%);
  box-shadow: 0 36px 100px rgba(15, 23, 42, 0.22);
  overflow: hidden;
}

.home-hero-copy > * {
  position: relative;
  z-index: 2;
}

.home-hero-copy::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(12, 20, 40, 0.92) 0%, rgba(12, 20, 40, 0.72) 48%, rgba(12, 20, 40, 0.18) 100%);
  pointer-events: none;
}

.home-hero-copy::before {
  content: "";
  position: absolute;
  top: 24px;
  right: 28px;
  width: 84px;
  height: 84px;
  border-radius: 24px;
  border: 1px solid rgba(243, 146, 0, 0.42);
  background: rgba(243, 146, 0, 0.08);
  transform: rotate(12deg);
}

.home-kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: #bfdbfe;
}

.home-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f39200;
  box-shadow: 0 0 0 7px rgba(243, 146, 0, 0.12);
}

.home-hero h1 {
  position: relative;
  max-width: 1080px;
  color: #fff;
  font-size: clamp(38px, 5.3vw, 70px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.home-lead {
  position: relative;
  max-width: 850px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.72;
}

.hero-quote {
  position: relative;
  display: inline-flex;
  margin: 28px 0 0;
  padding: 17px 22px 17px 24px;
  border-left: 4px solid #f39200;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  font-size: clamp(21px, 2.2vw, 30px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-quote::before {
  content: "\201C";
  margin-right: 8px;
  color: #f39200;
}

.hero-quote::after {
  content: "\201D";
  margin-left: 2px;
  color: rgba(255, 255, 255, 0.72);
}

.home-actions,
.home-proof-row {
  position: relative;
}

.home-actions .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.09);
}

.platform-visual {
  min-height: 590px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 44px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(238, 244, 255, 0.8)),
    radial-gradient(circle at 22% 12%, rgba(59, 130, 246, 0.14), transparent 32%);
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.platform-visual::before {
  content: "Vasion Automate";
  position: absolute;
  left: 34px;
  top: 28px;
  color: rgba(15, 23, 42, 0.54);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.platform-visual::after {
  content: "Single platform for document needs";
  position: absolute;
  right: 30px;
  bottom: 28px;
  padding: 9px 13px;
  border-radius: 999px;
  color: #334155;
  background: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.visual-orbit-one {
  width: 420px;
  height: 420px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 0 0 72px rgba(59, 130, 246, 0.04), 0 34px 100px rgba(15, 23, 42, 0.12);
}

.visual-orbit-two {
  border-color: rgba(243, 146, 0, 0.42);
}

.visual-core {
  width: 230px;
  min-height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.visual-node {
  border-color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.9);
}

.node-print { top: 82px; left: 47%; }
.node-idp { top: 214px; right: 20px; }
.node-esign { bottom: 104px; right: 70px; }
.node-ecm { bottom: 86px; left: 36px; }
.node-workflow { top: 224px; left: 28px; }

.home-section {
  position: relative;
}

.product-section,
.outcomes-section {
  background:
    linear-gradient(180deg, #f8fbff 0%, #f5f7fb 100%);
}

.product-card,
.outcome-card,
.msp-panel,
.cta-grid {
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.07);
}

.featured-card {
  background:
    radial-gradient(circle at 86% 16%, rgba(243, 146, 0, 0.2), transparent 28%),
    linear-gradient(145deg, #17213a 0%, #1d4ed8 100%);
}

.dark-panel {
  background:
    radial-gradient(circle at 92% 14%, rgba(243, 146, 0, 0.22), transparent 28%),
    linear-gradient(145deg, #0b1020 0%, #17213a 100%);
}

.light-panel {
  background:
    radial-gradient(circle at 90% 12%, rgba(243, 146, 0, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(255, 255, 255, 0.96));
}

.powerpdf-section {
  background:
    radial-gradient(circle at 12% 8%, rgba(59, 130, 246, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.powerpdf-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 34px;
  align-items: center;
}

.powerpdf-copy {
  padding: clamp(30px, 4.6vw, 52px);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 36px;
  background:
    radial-gradient(circle at 92% 10%, rgba(243, 146, 0, 0.16), transparent 24%),
    linear-gradient(145deg, #ffffff 0%, #eef4ff 100%);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.powerpdf-copy h2 {
  margin: 0;
  color: #101827;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.powerpdf-copy p:not(.section-label) {
  margin: 20px 0 0;
  color: #64748b;
  font-size: 17px;
  line-height: 1.76;
}

.powerpdf-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.powerpdf-stats div {
  min-height: 118px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.powerpdf-stats strong {
  display: block;
  color: #1d4ed8;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.powerpdf-stats span {
  display: block;
  margin-top: 10px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.powerpdf-actions .btn-secondary {
  color: #172033;
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.74);
}

.powerpdf-visual {
  position: relative;
  min-height: 520px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 70% 16%, rgba(243, 146, 0, 0.18), transparent 24%),
    linear-gradient(145deg, #0c1428 0%, #17213a 54%, #334155 100%);
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.16);
  overflow: hidden;
}

.powerpdf-visual::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -70px;
  top: -80px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.18);
  filter: blur(10px);
}

.pdf-window {
  position: absolute;
  inset: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.pdf-window-top {
  display: flex;
  gap: 7px;
  padding: 16px 18px;
  background: rgba(238, 244, 255, 0.9);
}

.pdf-window-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #cbd5e1;
}

.pdf-window-top span:first-child {
  background: #f39200;
}

.pdf-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.pdf-toolbar b {
  color: #111827;
  margin-right: auto;
}

.pdf-toolbar small {
  padding: 7px 10px;
  border-radius: 999px;
  color: #334155;
  background: rgba(59, 130, 246, 0.08);
  font-weight: 900;
}

.pdf-document {
  position: relative;
  height: calc(100% - 93px);
  padding: 26px;
  background:
    linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px),
    #ffffff;
  background-size: 28px 28px;
}

.pdf-page {
  width: 56%;
  height: 310px;
  padding: 28px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(15, 23, 42, 0.14);
}

.pdf-badge {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.pdf-line {
  height: 12px;
  width: 82%;
  margin-top: 18px;
  border-radius: 999px;
  background: #dbe6f6;
}

.pdf-line.wide {
  width: 100%;
  margin-top: 28px;
}

.pdf-line.short {
  width: 56%;
}

.pdf-signature {
  display: inline-flex;
  margin-top: 42px;
  padding: 10px 18px;
  border: 1px solid rgba(243, 146, 0, 0.35);
  border-radius: 999px;
  color: #9a5a00;
  background: rgba(243, 146, 0, 0.1);
  font-weight: 900;
}

.pdf-side-card {
  position: absolute;
  right: 26px;
  width: 230px;
  padding: 20px;
  border-radius: 24px;
  color: #111827;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.14);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.18;
}

.pdf-side-card span {
  display: block;
  margin-top: 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.adobe-card {
  top: 46px;
}

.trust-card {
  bottom: 42px;
  border: 1px solid rgba(243, 146, 0, 0.34);
}

@media (max-width: 1180px) {
  .site-topbar {
    grid-template-columns: auto 1fr;
  }

  .site-topbar-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  #mobileMenu {
    overflow-x: auto;
    padding-bottom: 2px;
  }
}

@media (max-width: 1100px) {
  .home-hero {
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
  }

  .platform-visual {
    min-height: 540px;
  }

  .powerpdf-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-shell-header {
    top: 8px;
    width: calc(100% - 16px);
    border-radius: 22px;
  }

  .site-topbar {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
  }

  .site-topbar .brand img {
    height: 46px !important;
  }

  .site-topbar-copy {
    display: none;
  }

  .site-topbar-actions {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .site-topbar .btn-book,
  .site-topbar .btn-quote,
  .site-topbar .btn-login {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 7px 10px !important;
    font-size: 10px !important;
  }

  .site-nav-inner {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .home-hero-grid {
    padding-top: 214px;
  }

  .home-hero-copy {
    padding: 28px;
    border-radius: 30px;
  }

  .home-hero h1 {
    font-size: 34px;
  }

  .home-lead {
    font-size: 16px;
  }

  .platform-visual {
    min-height: 620px;
    border-radius: 30px;
  }

  .powerpdf-stats {
    grid-template-columns: 1fr;
  }

  .powerpdf-visual {
    min-height: 620px;
    border-radius: 30px;
  }

  .home-hero-copy::after {
    background: rgba(12, 20, 40, 0.86);
  }

  .pdf-window {
    inset: 22px;
  }

  .pdf-toolbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .pdf-page {
    width: 100%;
    height: 250px;
  }

  .pdf-side-card {
    left: 26px;
    right: 26px;
    width: auto;
  }

  .adobe-card {
    top: 360px;
  }

  .trust-card {
    bottom: 26px;
  }
}

/* Header scaling fixes */
.site-shell-header {
  border-radius: 24px;
}

.site-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 12px 16px 8px 18px;
}

.site-topbar .brand {
  flex: 0 0 auto;
}

.site-topbar .brand img {
  height: 52px;
}

.site-topbar-copy {
  flex: 1 1 auto;
}

.site-topbar-actions {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.site-shell-header .main-nav {
  padding: 0 12px 12px !important;
}

.site-nav-inner {
  width: 100%;
  justify-content: center;
  padding: 7px;
}

#mobileMenu {
  flex-wrap: wrap;
  justify-content: center;
  overflow: visible;
  row-gap: 4px;
}

#mobileMenu > a,
.site-shell-header .nav-dropdown > span {
  min-height: 34px;
  padding: 8px 11px;
  font-size: 12px;
}

body[data-page="index.html"] .home-hero-grid {
  padding-top: 174px;
}

@media (max-width: 1180px) {
  .site-topbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
  }

  .site-topbar-actions {
    grid-column: auto;
  }

  #mobileMenu {
    overflow: visible;
  }
}

@media (max-width: 900px) {
  .site-topbar {
    grid-template-columns: auto 1fr;
  }

  .site-topbar-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .site-topbar-copy span {
    display: none;
  }

  body[data-page="index.html"] .home-hero-grid {
    padding-top: 214px;
  }
}

@media (max-width: 620px) {
  .site-topbar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-topbar-copy {
    display: none;
  }

  .site-topbar-actions {
    width: 100%;
  }

  .site-topbar .btn-book,
  .site-topbar .btn-quote,
  .site-topbar .btn-login {
    flex: 0 1 auto;
  }

  .site-nav-inner {
    justify-content: flex-start;
  }

  #mobileMenu {
    justify-content: flex-start;
  }

  body[data-page="index.html"] .home-hero-grid {
    padding-top: 258px;
  }
}

/* Final header layout: no overlay, no hidden hero */
.site-shell-header {
  position: sticky !important;
  top: 12px !important;
  left: auto !important;
  transform: none !important;
  width: min(1240px, calc(100% - 32px)) !important;
  margin: 12px auto 0 !important;
  z-index: 1000;
}

.site-topbar {
  min-height: 0 !important;
}

.site-nav-inner {
  overflow: visible !important;
}

#mobileMenu {
  width: 100%;
  overflow: visible !important;
}

body[data-page="index.html"],
body[data-page="index.html"] .home-page {
  padding-top: 0 !important;
}

body[data-page="index.html"] .home-hero-grid {
  padding-top: 54px !important;
}

body[data-page="index.html"] .home-hero-copy {
  text-align: center;
}

body[data-page="index.html"] .home-kicker,
body[data-page="index.html"] .home-lead {
  margin-left: auto;
  margin-right: auto;
}

body[data-page="index.html"] .hero-quote {
  margin-left: auto;
  margin-right: auto;
}

body[data-page="index.html"] .home-actions,
body[data-page="index.html"] .home-proof-row {
  justify-content: center;
}

body[data-page="index.html"] .home-hero h1 {
  margin-left: auto;
  margin-right: auto;
}

body[data-page="index.html"] .home-hero h1 {
  font-size: 30px !important;
}

body[data-page="index.html"] .hero-quote {
  font-size: 18px !important;
}

body[data-page="index.html"] .home-lead {
  font-size: 17px !important;
}

body[data-page="index.html"] .home-hero {
  width: min(1240px, calc(100% - 32px)) !important;
  margin: -46px auto 0 !important;
  padding-top: 46px;
  border-radius: 38px !important;
  overflow: hidden !important;
}

body[data-page="index.html"] .home-hero .container {
  width: 100% !important;
}

body[data-page="index.html"] .home-hero-copy {
  border-radius: 38px !important;
  border: 1px solid rgba(255, 255, 255, 0.62) !important;
  background:
    linear-gradient(90deg, rgba(184, 202, 230, 0.68) 0%, rgba(128, 151, 190, 0.54) 30%, rgba(31, 53, 88, 0.56) 62%, rgba(12, 20, 40, 0.46) 100%),
    url('/hero-bg.png') center / cover no-repeat,
    linear-gradient(145deg, #b9c9e0 0%, #617591 52%, #17213a 100%) !important;
}

body[data-page="index.html"] .home-hero-copy::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0%, rgba(238, 244, 255, 0.08) 32%, rgba(12, 20, 40, 0.16) 70%, rgba(12, 20, 40, 0.28) 100%) !important;
}

body[data-page="index.html"] .home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.96) 0%, rgba(239, 245, 255, 0.76) 42%, rgba(238, 244, 255, 0) 100%);
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 900px) {
  body[data-page="index.html"] .home-hero-grid {
    padding-top: 42px !important;
  }
}

@media (max-width: 620px) {
  .site-shell-header {
    top: 8px !important;
    width: calc(100% - 16px) !important;
    margin: 8px auto 0 !important;
  }

  body[data-page="index.html"] .home-hero-grid {
    padding-top: 32px !important;
  }
}

/* Modal button scale adjustment */
.qmodal .qbtn-next,
.qmodal .qbtn-back,
.modal .btn,
.modal button[type="submit"] {
  width: auto !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  padding: 7px 14px !important;
  border-radius: 9px !important;
  font-size: 11px !important;
  line-height: 1.1 !important;
}

.qmodal .qbtn-back {
  padding: 7px 12px !important;
  font-size: 10px !important;
}

.qmodal .qnav {
  justify-content: flex-end !important;
}

.qmodal .qnav > div:empty {
  display: none !important;
}

.modal-close,
.qmodal-close {
  width: 26px !important;
  height: 26px !important;
  font-size: 15px !important;
}

/* Site-wide visual refresh for public pages only. Backend/admin pages are intentionally excluded. */
body[data-page]:not([data-page^="admin"]):not([data-page="login.html"]):not([data-page="reset-password.html"]) {
  background:
    radial-gradient(circle at 10% 0%, rgba(59, 130, 246, 0.1), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #f5f7fb 100%) !important;
  color: #172033 !important;
}

body[data-page]:not([data-page^="admin"]) .hero:not(.home-hero) {
  position: relative !important;
  color: #fff !important;
  background:
    linear-gradient(90deg, rgba(184, 202, 230, 0.68) 0%, rgba(128, 151, 190, 0.54) 30%, rgba(31, 53, 88, 0.56) 62%, rgba(12, 20, 40, 0.46) 100%),
    url('/hero-bg.png') center / cover no-repeat,
    linear-gradient(145deg, #b9c9e0 0%, #617591 52%, #17213a 100%) !important;
  border-radius: 38px !important;
  width: min(1240px, calc(100% - 32px)) !important;
  margin: 18px auto 0 !important;
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.18) !important;
  overflow: hidden !important;
}

body[data-page]:not([data-page^="admin"]) .hero:not(.home-hero)::before {
  opacity: 0 !important;
}

body[data-page]:not([data-page^="admin"]) .hero:not(.home-hero)::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0%, rgba(238, 244, 255, 0.08) 32%, rgba(12, 20, 40, 0.16) 70%, rgba(12, 20, 40, 0.28) 100%) !important;
  pointer-events: none !important;
}

body[data-page]:not([data-page^="admin"]) .hero:not(.home-hero) > * {
  position: relative !important;
  z-index: 1 !important;
}

body[data-page]:not([data-page^="admin"]) .hero h1,
body[data-page]:not([data-page^="admin"]) .hero h2 {
  color: #fff !important;
  letter-spacing: -0.045em !important;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.28) !important;
}

body[data-page]:not([data-page^="admin"]) .hero p {
  color: rgba(255, 255, 255, 0.86) !important;
}

body[data-page]:not([data-page^="admin"]) .section-kicker,
body[data-page]:not([data-page^="admin"]) .section-label,
body[data-page]:not([data-page^="admin"]) [style*="color:#6f45ad"],
body[data-page]:not([data-page^="admin"]) [style*="color:#5a2f8f"],
body[data-page]:not([data-page^="admin"]) [style*="color: #5a2f8f"] {
  color: #3b82f6 !important;
}

body[data-page]:not([data-page^="admin"]) .section-title,
body[data-page]:not([data-page^="admin"]) h2,
body[data-page]:not([data-page^="admin"]) h3,
body[data-page]:not([data-page^="admin"]) [style*="color:#2f184e"],
body[data-page]:not([data-page^="admin"]) [style*="color: #2f184e"] {
  color: #101827 !important;
}

body[data-page]:not([data-page^="admin"]) .feature-card,
body[data-page]:not([data-page^="admin"]) .blog-card,
body[data-page]:not([data-page^="admin"]) .value-card,
body[data-page]:not([data-page^="admin"]) .case-card,
body[data-page]:not([data-page^="admin"]) .faq-item,
body[data-page]:not([data-page^="admin"]) .contact-card {
  border-color: rgba(148, 163, 184, 0.22) !important;
  border-radius: 28px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.07) !important;
}

body[data-page]:not([data-page^="admin"]) .feature-icon,
body[data-page]:not([data-page^="admin"]) [style*="background:linear-gradient(135deg,#5a2f8f"],
body[data-page]:not([data-page^="admin"]) [style*="background: linear-gradient(135deg,#5a2f8f"] {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
  color: #fff !important;
}

body[data-page]:not([data-page^="admin"]) .feature-icon svg,
body[data-page]:not([data-page^="admin"]) .feature-card svg {
  fill: currentColor !important;
}

body[data-page]:not([data-page^="admin"]) .btn-primary,
body[data-page]:not([data-page^="admin"]) button[type="submit"] {
  color: #fff !important;
  border: 1px solid rgba(243, 146, 0, 0.42) !important;
  background: linear-gradient(135deg, #3b82f6, #1e3a8a) !important;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.24) !important;
}

body[data-page]:not([data-page^="admin"]) .btn-secondary,
body[data-page]:not([data-page^="admin"]) .btn-outline-dark {
  color: #172033 !important;
  border: 1px solid rgba(243, 146, 0, 0.32) !important;
  background: rgba(255, 255, 255, 0.82) !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08) !important;
}

body[data-page]:not([data-page^="admin"]) .dark-section,
body[data-page]:not([data-page^="admin"]) .cta-section,
body[data-page]:not([data-page^="admin"]) .notify-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(243, 146, 0, 0.2), transparent 28%),
    linear-gradient(145deg, #0b1020 0%, #17213a 100%) !important;
}

body[data-page]:not([data-page^="admin"]) .dark-section h2,
body[data-page]:not([data-page^="admin"]) .dark-section h3,
body[data-page]:not([data-page^="admin"]) .cta-section h2,
body[data-page]:not([data-page^="admin"]) .notify-section h3 {
  color: #fff !important;
}

body[data-page]:not([data-page^="admin"]) input,
body[data-page]:not([data-page^="admin"]) textarea,
body[data-page]:not([data-page^="admin"]) select {
  border-color: rgba(148, 163, 184, 0.28) !important;
  border-radius: 14px !important;
}

body[data-page]:not([data-page^="admin"]) input:focus,
body[data-page]:not([data-page^="admin"]) textarea:focus,
body[data-page]:not([data-page^="admin"]) select:focus {
  outline: none !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12) !important;
}

body[data-page]:not([data-page^="admin"]) .floating-contact {
  color: #fff !important;
  background: linear-gradient(135deg, #3b82f6, #1e3a8a) !important;
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.26) !important;
}

.powerpdf-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: center;
  padding: 78px 0 86px;
}

.powerpdf-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
}

.powerpdf-hero .lead {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.7;
}

.powerpdf-award-panel {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 28px 70px rgba(0,0,0,0.18);
  backdrop-filter: blur(14px);
}

.powerpdf-award-panel .award-pill {
  display: inline-flex;
  margin-bottom: 26px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(243, 146, 0, 0.22);
  border: 1px solid rgba(243, 146, 0, 0.38);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.powerpdf-award-panel strong {
  display: block;
  color: #fff;
  font-size: 28px;
  line-height: 1.12;
}

.powerpdf-award-panel p {
  color: rgba(255,255,255,0.78) !important;
  margin: 14px 0 0;
}

@media (max-width: 900px) {
  .powerpdf-hero-grid {
    grid-template-columns: 1fr;
    padding: 54px 0 64px;
  }
}

/* Keep the shared navbar sticky across all public pages. */
.site-shell-header {
  position: sticky !important;
  top: 8px !important;
  z-index: 3000 !important;
}

/* Reviews page uses shared styling only; page-specific layout lives here. */
.reviews-hero-inner {
  text-align: center;
  padding: 72px 0 82px;
}

.reviews-hero-inner h1 {
  margin: 0 auto 18px !important;
  color: #fff;
  font-size: 48px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.reviews-hero-inner p:not(.section-label) {
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.55;
}

.reviews-score-section,
.reviews-awards-section {
  padding-top: 56px;
  padding-bottom: 32px;
}

.reviews-score-grid,
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-score-card,
.review-card,
.award-card {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.07);
}

.review-score-card {
  padding: 28px;
  text-align: center;
}

.review-score-source,
.award-card span,
.review-source-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-score-card strong {
  display: block;
  margin-top: 18px;
  color: #101827;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.review-score-card p,
.award-card p,
.review-author-company {
  color: #64748b;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.review-card {
  padding: 28px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.review-header strong {
  color: #f39200;
  font-size: 13px;
  font-weight: 900;
}

.review-quote {
  margin: 0 0 22px;
  color: #172033;
  font-size: 16px;
  line-height: 1.7;
}

.review-author-title {
  margin: 0;
  color: #101827;
  font-size: 14px;
  font-weight: 900;
}

.review-author-company {
  margin: 4px 0 0;
  font-size: 13px;
}

.award-card {
  padding: 30px;
}

.award-card strong {
  display: block;
  margin-top: 22px;
  color: #101827;
  font-size: 22px;
  line-height: 1.18;
}

@media (max-width: 980px) {
  .reviews-grid,
  .reviews-score-grid,
  .awards-grid {
    grid-template-columns: 1fr;
  }
}

/* Consistent public hero sizing based on MSP Program. */
body[data-page]:not([data-page^="admin"]):not([data-page="index.html"]) .hero h1 {
  font-size: 48px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
}

body[data-page]:not([data-page^="admin"]):not([data-page="index.html"]) .hero p,
body[data-page]:not([data-page^="admin"]):not([data-page="index.html"]) .hero .lead {
  font-size: 20px !important;
  line-height: 1.55 !important;
}

body[data-page="contact.html"] .section-kicker,
body[data-page="contact.html"] .section-title {
  text-align: center !important;
}

body[data-page="contact.html"] #page-content section > .container > div[style*="grid-template-columns:1fr 1fr"] {
  text-align: center !important;
  justify-items: center !important;
}

body[data-page="contact.html"] #page-content section > .container > div[style*="grid-template-columns: repeat(auto-fit"] > div {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

body[data-page="contact.html"] .message.success,
body[data-page="contact.html"] .message.error {
  display: block !important;
  margin: 12px 0 !important;
  padding: 12px 14px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
}

body[data-page="contact.html"] .message.success {
  background: #dcfce7 !important;
  color: #166534 !important;
}

body[data-page="contact.html"] .message.error {
  background: #fee2e2 !important;
  color: #991b1b !important;
}

@media (max-width: 768px) {
  body[data-page]:not([data-page^="admin"]):not([data-page="index.html"]) .hero h1 {
    font-size: 34px !important;
  }

  body[data-page]:not([data-page^="admin"]):not([data-page="index.html"]) .hero p,
  body[data-page]:not([data-page^="admin"]):not([data-page="index.html"]) .hero .lead {
    font-size: 17px !important;
  }
}
