
:root{--bg:#0b132b;--panel:#162140;--soft:#1c2541;--ink:#0b132b;--text:#e6eefc;--brand:#00b3a6;--muted:#9bb0d2;--card:#0f1830;--stroke:#223053}
*{box-sizing:border-box;max-width:100%}
html{}
body{margin:0;padding:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,'Helvetica Neue',Arial,sans-serif;color:var(--text);background:var(--bg);overflow-x:hidden;width:100%}
a{color:var(--brand);text-decoration:none}

/* Make navigation container sticky */
#site-navigation{position:sticky;top:0;z-index:100}

/* Typography System */
h1{font-size:2rem;line-height:1.2;margin-bottom:1rem}
h2{font-size:1.75rem;line-height:1.3;margin-bottom:1rem}
h3{font-size:1.25rem;line-height:1.4;margin-bottom:0.75rem}
h4{font-size:1.1rem;line-height:1.4;margin-bottom:0.5rem}

/* Statistics Typography */
.stat-number{font-size:1.5rem;font-weight:700;color:var(--brand);margin-bottom:6px;display:block}
.stat-label{color:var(--muted);font-size:0.85rem;line-height:1.3;display:block}
.container{max-width:1140px;width:100%;margin:0 auto;padding:0 20px;box-sizing:border-box}
.site-header{background:rgba(11,19,43,.92);backdrop-filter:saturate(180%) blur(8px);border-bottom:1px solid var(--stroke);z-index:20}
.header-inner{display:flex;align-items:center;gap:24px;padding:14px 0}
.brand{display:flex;align-items:center;gap:12px}
.logo{height:28px}.logo.small{height:20px}
.brand-name{font-weight:700;letter-spacing:.2px}.brand-name .accent{color:var(--brand)}
.nav{margin-left:auto;display:flex;gap:18px;align-items:center}
.nav a{padding:6px 8px;border-radius:8px}
.nav a:hover{background:rgba(0,179,166,.08)}

/* Dropdown Navigation */
.nav-dropdown{position:relative;display:inline-block}
.nav-dropdown-trigger{padding:6px 8px;border-radius:8px;cursor:pointer;display:inline-flex;align-items:center;gap:4px}
.nav-dropdown-trigger:after{content:"▼";font-size:10px;opacity:0.7}
.nav-dropdown-trigger:hover{background:rgba(0,179,166,.08)}
.nav-dropdown-menu{display:none;position:absolute;top:calc(100% - 4px);left:0;min-width:180px;background:var(--panel);border:1px solid var(--stroke);border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,0.15);z-index:100;padding:4px 0;padding-top:12px}
.nav-dropdown-menu a{display:block;padding:10px 16px;color:var(--text);text-decoration:none;transition:background 0.2s}
.nav-dropdown-menu a:hover{background:rgba(0,179,166,.08)}
.nav-dropdown-menu a:first-child{border-radius:8px 8px 0 0}
.nav-dropdown-menu a:last-child{border-radius:0 0 8px 8px}
.nav-dropdown:hover .nav-dropdown-menu{display:block}
.nav-dropdown-menu.show{display:block}
.actions{display:flex;gap:10px}
.btn{background:var(--brand);color:#06141d;border:none;padding:10px 16px;border-radius:10px;font-weight:600;cursor:pointer}
.btn.ghost{background:transparent;color:var(--text);border:1px solid var(--stroke)}
.btn.small{padding:6px 10px}
.btn.wide{display:inline-block;width:100%;text-align:center}
.cta{margin-top:24px}
.cta.row{display:flex;gap:12px;flex-wrap:wrap}
.cta.row .btn{white-space:nowrap}

/* Utility Classes to Replace Inline Styles */
.text-center{text-align:center}
.text-muted{color:var(--muted)}
.mb-16{margin-bottom:16px}
.mb-24{margin-bottom:24px}
.mb-40{margin-bottom:40px}
.mb-48{margin-bottom:48px}
.mt-40{margin-top:40px}
.mx-auto{margin-left:auto;margin-right:auto}
.max-w-600{max-width:600px}
.max-w-800{max-width:800px}
.p-24{padding:24px}
.p-48{padding:48px}
.py-3{padding-top:3rem;padding-bottom:3rem}

/* Component Classes */
.section-header{text-align:center;margin-bottom:16px}
.section-subtitle{text-align:center;color:var(--muted);margin-bottom:48px}
.hero-subtitle{text-align:center;color:#d7e5ff;margin:28px 0 20px;font-size:1.2rem;font-weight:500}
.card-centered{text-align:center;padding:24px 16px}
.panel-centered{text-align:center}
.cta-wrapper{text-align:center;margin-top:40px}
.dos-cta-buttons{display:inline-block}
.dos-cta-buttons .btn{margin:0 8px}

.hero{padding:70px 0;background:linear-gradient(180deg,var(--panel),var(--bg));border-bottom:1px solid var(--stroke)}
.hero.slim{padding:48px 0}
.hero-content{display:flex;justify-content:space-between;align-items:center;gap:40px}
.hero-text{flex:1}
.hero-logo{height:80px;opacity:0.9;flex-shrink:0}
.grid2{display:grid;grid-template-columns:1.2fr .8fr;gap:32px}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.hero-logos{display:grid;grid-template-columns:repeat(6,1fr);gap:24px;grid-auto-rows:min-content;align-content:start;max-width:800px;margin:0 auto}
.logo-item{text-align:center}
.logo-item:nth-child(-n+3){grid-column:span 2}
.logo-item:nth-child(4){grid-column:2 / span 2}
.logo-item:nth-child(5){grid-column:4 / span 2}
.logo-item img{height:140px;max-height:140px;width:auto;max-width:100%;object-fit:contain;display:block;margin:0 auto}
.logo-item span{display:block;font-size:0.95rem;color:var(--muted);margin-top:-30px;line-height:1.2;font-weight:500}
.lead{font-size:1.15rem;color:#d7e5ff}
.mini{color:var(--muted);font-size:.9rem;margin-top:10px}
.outcomes{display:flex;gap:18px;margin:18px 0 0;padding:0;list-style:none;color:#cfe0ff}
.outcomes li span:first-child{display:block;font-weight:700;font-size:1.25rem;color:#fff}
.modules{padding:56px 0;border-bottom:1px solid var(--stroke)}
.cards{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.card{background:var(--card);border:1px solid var(--stroke);border-radius:14px;padding:18px;transition:transform .15s ease,box-shadow .15s ease}
.card:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.25)}
.card img{height:36px;margin-bottom:12px}
img{max-width:100%;height:auto}
.how,.section{padding:48px 0;border-bottom:1px solid var(--stroke)}

/* Section backgrounds for better visual separation */
.section-alt{background:var(--panel)}
.modules{background:var(--bg)}
.how{background:var(--bg)}
.security.teaser{margin-top:48px;padding:72px 0;background:var(--panel)}
.contact{background:var(--bg)}
.screenshot-section{background:var(--bg)}
.step{background:var(--card);border:1px solid var(--stroke);border-radius:14px;padding:18px}
.panel{background:var(--card);border:1px solid var(--stroke);border-radius:14px;padding:20px}
.checklist{line-height:1.9;margin:0 0 0 18px}
.contact{padding:48px 0;border-bottom:1px solid var(--stroke)}
.contact-form{display:grid;gap:10px}
.contact-form input,.contact-form textarea{padding:10px;border-radius:10px;border:1px solid var(--stroke);background:#0a142b;color:var(--text)}
.site-footer{background:var(--panel);border-top:1px solid var(--stroke)}
.fat-footer{padding:60px 0 40px}
.fat-footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:40px;margin-bottom:40px}
.footer-column h4{color:var(--text);font-size:0.9rem;font-weight:600;text-transform:uppercase;letter-spacing:1px;margin-bottom:16px}
.footer-column a{display:block;color:var(--muted);text-decoration:none;padding:6px 0;font-size:0.95rem;transition:color 0.2s}
.footer-column a:hover{color:var(--accent)}
.footer-bottom-section{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:30px 0;border-top:1px solid var(--stroke);border-bottom:1px solid var(--stroke);margin-bottom:30px}
.quick-start a,.connect-info a{display:block;color:var(--accent);text-decoration:none;padding:6px 0;font-size:0.95rem}
.quick-start a:hover{text-decoration:underline}
.connect-info{color:var(--muted);font-size:0.95rem;line-height:1.8}
.social-links{display:flex;gap:16px;margin-top:12px}
.social-links a{color:var(--muted);font-size:0.9rem}
.footer-inner{display:flex;align-items:center;justify-content:space-between;color:var(--muted);padding:20px 0}
.grid5{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
/* Mobile Menu Styles */
.mobile-menu-trigger{display:none;position:relative;width:30px;height:24px;background:transparent;border:none;cursor:pointer;z-index:101}
.mobile-menu-trigger span{display:block;position:absolute;height:2px;width:100%;background:var(--text);border-radius:2px;opacity:1;left:0;transition:all .2s ease}
.mobile-menu-trigger span:nth-child(1){top:0}
.mobile-menu-trigger span:nth-child(2){top:11px}
.mobile-menu-trigger span:nth-child(3){bottom:0}
.mobile-menu{position:fixed;top:0;right:-100%;width:80%;max-width:320px;height:100%;background:var(--panel);z-index:200;transition:right 0.3s ease;overflow-y:auto;box-shadow:-4px 0 20px rgba(0,0,0,0.3)}
.mobile-menu.active{right:0}
.mobile-menu-close{position:absolute;top:20px;right:20px;background:transparent;border:none;color:var(--text);font-size:32px;cursor:pointer;width:40px;height:40px;display:flex;align-items:center;justify-content:center}
.mobile-nav{padding:80px 20px 20px}
.mobile-nav a{display:block;padding:16px;color:var(--text);text-decoration:none;border-bottom:1px solid var(--stroke);font-size:16px}
.mobile-nav a:hover{background:rgba(0,179,166,.08)}
.mobile-dropdown{margin-bottom:10px}
.mobile-dropdown-trigger{cursor:pointer;position:relative;display:flex;justify-content:space-between;align-items:center}
.mobile-dropdown-trigger .dropdown-arrow{display:inline-block;width:44px;text-align:center;padding:0 12px;margin:-16px -16px -16px 0;line-height:52px;border-left:1px solid var(--stroke);color:var(--brand);font-size:14px;transition:transform 0.2s}
.mobile-dropdown-content{display:none;background:var(--card);margin:10px 0;border-radius:8px;overflow:hidden;transition:max-height 0.3s ease}
.mobile-dropdown-content.show{display:block}
.mobile-dropdown-content a{padding-left:32px;font-size:14px}
/* Overview link styling for both mobile and desktop dropdowns */
.overview-link{background:rgba(0,179,166,0.05);font-weight:500;position:relative}
.mobile-dropdown-content .overview-link{border-bottom:2px solid var(--stroke);margin-bottom:4px;padding-bottom:18px}
.overview-link:after{content:"→";position:absolute;right:16px;opacity:0.6;color:var(--brand)}
.nav-dropdown-menu .overview-link{border-bottom:1px solid var(--stroke);margin-bottom:4px;padding-bottom:12px}
.overview-link:hover{background:rgba(0,179,166,0.1)}
body.menu-open{overflow:hidden}
.mobile-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.5);z-index:199}
.mobile-overlay.active{display:block}

/* Tablet and Mobile Styles */
/* Fat footer responsive */
@media (max-width:980px){
  .fat-footer-grid{grid-template-columns:repeat(2,1fr);gap:30px}
  .footer-bottom-section{grid-template-columns:1fr;gap:30px}
}

/* Tablet-specific adjustments */
@media (max-width:900px){
  .cta.row{flex-wrap:wrap;justify-content:center}
  .cta.row .btn{flex:0 1 auto;min-width:140px}
  /* Center outcomes on tablet */
  .outcomes{justify-content:center}
  .outcomes li{text-align:center}
}

@media (max-width:768px){
  .fat-footer-grid{grid-template-columns:1fr;gap:24px}
  .fat-footer{padding:40px 0 30px}
  .footer-column h4{font-size:0.85rem}
  .footer-column a{font-size:0.9rem;padding:5px 0}
}

@media (max-width:980px){
  .grid2{grid-template-columns:1fr;text-align:center}
  .grid3{grid-template-columns:1fr}
  .cards{grid-template-columns:repeat(3,1fr)}
  .grid5{grid-template-columns:repeat(3,1fr)}
  .hero-logos{grid-template-columns:repeat(3,1fr);gap:20px;max-width:700px}
  .logo-item:nth-child(n){grid-column:span 1}
  .logo-item img{height:100px;max-height:100px}
  .logo-item span{font-size:0.9rem;margin-top:10px}
}

@media (max-width:768px){
  /* Show mobile menu */
  .mobile-menu-trigger{display:block}
  .nav{display:none}
  .actions .btn.ghost{display:none}
  
  /* Header adjustments */
  .header-inner{padding:12px 0;gap:12px}
  .logo{height:24px}
  .actions{gap:8px}
  
  /* Container padding */
  .container{padding:0 16px}
  
  /* Typography scaling */
  h1{font-size:1.8rem;line-height:1.3}
  h2{font-size:1.5rem;line-height:1.3}
  h3{font-size:1.2rem;line-height:1.4}
  h4{font-size:1rem;line-height:1.4}
  .lead{font-size:1rem;line-height:1.5}
  .stat-number{font-size:1.35rem}
  .stat-label{font-size:0.8rem}
  
  /* Hero section */
  .hero{padding:40px 0}
  .hero h1{font-size:1.75rem;line-height:1.3}
  .hero .lead{font-size:1rem;line-height:1.5}
  .hero-content{flex-direction:column;gap:24px;text-align:center}
  .hero-logo{height:60px}
  .hero-logos{margin-top:24px;grid-template-columns:repeat(2,1fr);gap:16px;max-width:100%}
  .logo-item:nth-child(n){grid-column:span 1}
  .logo-item img{height:70px;max-height:70px}
  .logo-item span{font-size:0.75rem;margin-top:20px}
  
  /* CTA buttons */
  .cta.row{flex-direction:column}
  .cta{flex-direction:column;gap:12px}
  .cta .btn{width:100%;text-align:center;min-height:44px;white-space:normal}
  
  /* Outcomes */
  .outcomes{flex-direction:column;gap:14px;margin-top:24px;align-items:center}
  .outcomes li{display:block;text-align:center}
  .outcomes li span:first-child{display:block;font-size:1.15rem;margin-bottom:4px}
  
  /* Security section spacing on mobile */
  .security.teaser{padding:48px 0}
  
  /* Module descriptions on mobile */
  .cards h4{font-size:0.9rem;margin:8px 0 6px}
  
  /* Cards and panels */
  .cards{grid-template-columns:repeat(2,1fr);gap:12px}
  .cards .card:last-child{grid-column:span 2;max-width:50%;margin:0 auto}
  .card{padding:16px}
  .panel{padding:16px}
  
  /* Grid layouts */
  .grid3{grid-template-columns:1fr}
  .grid5{grid-template-columns:repeat(2,1fr);gap:12px}
  
  /* Screenshots */
  .screenshot-container{max-width:100%;max-height:300px}
  .screenshot-section{margin:40px 0}
  
  /* Sections */
  .section{padding:32px 0}
  .modules{padding:40px 0}
  
  /* Forms */
  input, textarea{font-size:16px;min-height:44px} /* Prevents zoom on iOS */
  
  /* Buttons - Better touch targets */
  .btn{padding:12px 16px;font-size:15px;min-height:44px}
  .btn.small{padding:10px 14px;min-height:36px;font-size:14px}
  
  /* DOS CTA buttons - Stack vertically on mobile */
  .dos-cta-buttons{display:flex;flex-direction:column;gap:12px}
  .dos-cta-buttons .btn{margin:0;width:100%;text-align:center}
  
  /* Mobile nav improvements */
  .mobile-nav a{padding:18px 16px;min-height:44px}
  .mobile-dropdown-content a{padding:16px 16px 16px 32px}
  
  /* Fix dropdown menu width on mobile */
  .nav-dropdown-menu{min-width:unset;width:auto;left:auto;right:0}
}

@media (max-width:640px){
  /* Keep 2x2 layout for cards and logos */
  .cards{grid-template-columns:repeat(2,1fr);gap:10px}
  .cards .card:last-child{grid-column:span 2;max-width:60%;margin:0 auto}
  .hero-logos{grid-template-columns:repeat(2,1fr);gap:10px}
  
  /* Grid5 - optimize for 5 items */
  .grid5{grid-template-columns:repeat(2,1fr);gap:10px}
  .grid5 .card:last-child{grid-column:1/-1;max-width:calc(50% - 5px);margin:0 auto}
  
  /* Even smaller text on very small phones */
  h1{font-size:1.5rem}
  h2{font-size:1.3rem}
  h3{font-size:1.1rem}
  h4{font-size:1rem}
  .stat-number{font-size:1.3rem}
  .outcomes li span:first-child{font-size:1.1rem}
  
  /* Smaller cards on small screens */
  .card{padding:14px}
  
  /* Footer */
  .footer-inner{flex-direction:column;gap:16px;text-align:center}
}

@media (max-width:480px){
  /* Very small phones */
  .container{padding:0 12px}
  .hero h1{font-size:1.5rem}
  .hero p[style*="color: var(--accent)"]{font-size:0.95rem!important;line-height:1.4}
  .cta .btn{font-size:14px;padding:12px 12px}
  h1{font-size:1.4rem}
  h2{font-size:1.25rem}
  h3{font-size:1.05rem}
  h4{font-size:0.95rem}
  .hero .lead{font-size:0.9rem}
  .stat-number{font-size:1.25rem}
  .stat-label{font-size:0.75rem}
  .outcomes li span:first-child{font-size:1.05rem}
  
  /* Now stack to single column on very small screens */
  .cards{grid-template-columns:1fr;gap:12px}
  .cards .card:last-child{grid-column:1;max-width:100%;margin:0}
  .hero-logos{grid-template-columns:1fr;gap:14px;max-width:100%;margin:24px auto 0}
  .logo-item:nth-child(n){grid-column:span 1}
  .logo-item img{height:50px;max-height:50px}
  .logo-item:nth-child(5) img{height:45px}
  .logo-item span{font-size:0.75rem;margin-top:25px}
  
  /* Stack all grids */
  .grid2, .grid3, .grid5{grid-template-columns:1fr;gap:16px}
  .grid5 .card:last-child{grid-column:1;max-width:100%}
  
  /* Language toggle */
  #langToggle{padding:8px 12px;font-size:14px}
  
  /* Smaller padding for cards */
  .card{padding:12px}
}

/* iOS Safe Area Support */
@supports (padding: max(0px)){
  .site-header{padding-left:max(0px, env(safe-area-inset-left));padding-right:max(0px, env(safe-area-inset-right))}
  .mobile-menu{padding-bottom:env(safe-area-inset-bottom)}
}

/* Performance optimizations */
.mobile-menu{will-change:transform}
.mobile-overlay{will-change:opacity}
.mobile-menu-trigger span{will-change:transform,opacity}

/* Better touch interaction */
@media (pointer: coarse){
  .nav-dropdown-trigger{padding:8px 12px}
  .btn{cursor:pointer}
  a{-webkit-tap-highlight-color:rgba(0,179,166,0.1)}
}
.screenshot-section{margin:60px 0}
.screenshot-container{border-radius:12px;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,0.2);margin:0 auto;max-width:750px;max-height:500px;cursor:pointer;transition:transform 0.2s ease}
.screenshot-container:hover{transform:scale(1.05)}
.screenshot-container img{width:100%;height:auto;max-height:500px;object-fit:contain;display:block}
.screenshot-caption{text-align:center;margin-top:20px;color:var(--muted);font-size:0.95rem}
.screenshot-caption .enlarge-hint{font-size:0.85rem;opacity:0.8;margin-top:5px}

/* Lightbox styles */
.lightbox{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.95);z-index:1000;overflow:auto;animation:fadeIn 0.3s ease}
.lightbox.active{display:flex;align-items:center;justify-content:center}
.lightbox-content{position:relative;max-width:95%;max-height:95vh;margin:auto}
.lightbox-content img{max-width:100%;max-height:95vh;object-fit:contain;box-shadow:0 0 50px rgba(0,0,0,0.5)}
.lightbox-close{position:absolute;top:20px;right:40px;font-size:40px;font-weight:300;color:#fff;cursor:pointer;transition:color 0.2s;z-index:1001;background:rgba(0,0,0,0.5);width:50px;height:50px;border-radius:50%;display:flex;align-items:center;justify-content:center;line-height:1}
.lightbox-close:hover{color:var(--brand);background:rgba(0,0,0,0.8)}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
body.lightbox-open{overflow:hidden}

/* Solutions Page Icons - Professional Geometric Shapes */
.persona-icon {
  width: 48px;
  height: 48px;
  background: var(--brand);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  opacity: 0.9;
}

/* Strategic Focus - Concentric Circles for CFO */
.icon-strategic:before {
  content: "";
  width: 24px;
  height: 24px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  position: absolute;
}
.icon-strategic:after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--bg);
  border-radius: 50%;
  position: absolute;
}

/* Governance - Checkmark for Controlling */
.icon-governance:before {
  content: "";
  width: 20px;
  height: 10px;
  border-left: 3px solid var(--bg);
  border-bottom: 3px solid var(--bg);
  transform: rotate(-45deg);
  position: absolute;
  top: 16px;
}

/* Trust - Shield for Banks */
.icon-trust:before {
  content: "";
  width: 24px;
  height: 28px;
  background: var(--bg);
  clip-path: polygon(50% 0%, 100% 30%, 100% 70%, 50% 100%, 0% 70%, 0% 30%);
  position: absolute;
}

/* Common Value Icons - Geometric Shapes */
.value-icon {
  width: 64px;
  height: 64px;
  background: var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  opacity: 0.9;
}

/* Speed - Lightning Bolt */
/* COMMENTED OUT - Conflicts with security page double chevron icon
.icon-speed:before {
  content: "";
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 20px solid var(--bg);
  position: absolute;
  top: 22px;
  left: 20px;
  transform: rotate(15deg);
}
.icon-speed:after {
  content: "";
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 20px solid var(--bg);
  position: absolute;
  top: 18px;
  right: 20px;
  transform: rotate(15deg);
}
*/

/* Transparency - Magnifying Glass */
.icon-transparency:before {
  content: "";
  width: 20px;
  height: 20px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  position: absolute;
  top: 16px;
  left: 16px;
}
.icon-transparency:after {
  content: "";
  width: 12px;
  height: 3px;
  background: var(--bg);
  position: absolute;
  bottom: 18px;
  right: 18px;
  transform: rotate(45deg);
  transform-origin: right;
}

/* Value - Bar Chart */
.icon-value:before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--bg);
  position: absolute;
  bottom: 18px;
  box-shadow: 0 -6px 0 var(--bg), 0 -12px 0 var(--bg), 0 -18px 0 var(--bg);
}
.icon-value:after {
  content: "";
  width: 3px;
  height: 28px;
  background: var(--bg);
  position: absolute;
  left: 18px;
  bottom: 18px;
}
