
:root{
  --navy:#07111F;
  --navy-2:#0B1D33;
  --blue:#0EA5E9;
  --blue-2:#1D4ED8;
  --gold:#D6A63A;
  --white:#F8FAFC;
  --muted:#CBD5E1;
  --paper:#F5F7FA;
  --ink:#111827;
  --line:#DFE5EC;
  --radius:22px;
  --shadow:0 20px 50px rgba(7,17,31,.10);
  --shell:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  background:var(--white);
  line-height:1.6;
  text-rendering:optimizeLegibility;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
.shell{width:min(calc(100% - 32px),var(--shell));margin-inline:auto}
.skip-link{position:absolute;left:-9999px;top:8px;background:#fff;color:#000;padding:8px 12px;z-index:1000}
.skip-link:focus{left:8px}
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(7,17,31,.08)
}
.header-inner{height:72px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{display:flex;align-items:center;flex:0 0 auto}
.brand img{
  display:block;
  width:auto;
  height:48px;
  max-width:280px;
  object-fit:contain;
  object-position:left center;
}
.site-nav{display:flex;align-items:center;gap:24px;font-size:.93rem;font-weight:700}
.site-nav>a{text-decoration:none}
.site-nav>a:not(.btn):hover{color:var(--blue-2)}
.menu-toggle{display:none;border:0;background:transparent;padding:8px;cursor:pointer}
.menu-toggle span{display:block;width:24px;height:2px;background:var(--navy);margin:5px 0}

.hero{
  background:
    radial-gradient(circle at 80% 15%,rgba(14,165,233,.20),transparent 32%),
    linear-gradient(135deg,var(--navy),#07182B 58%,#0B223A);
  color:var(--white);
  padding:76px 0 70px
}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:56px;align-items:center}
.eyebrow{font-size:.76rem;letter-spacing:.19em;font-weight:800;color:#79D9FF;margin:0 0 14px}
.eyebrow.dark{color:var(--blue-2)}
h1,h2,h3{line-height:1.08;margin-top:0}
h1{font-size:clamp(2.5rem,6vw,5.3rem);letter-spacing:-.055em;margin-bottom:22px;max-width:830px}
h2{font-size:clamp(2rem,4.3vw,3.7rem);letter-spacing:-.045em;margin-bottom:18px}
h3{font-size:1.35rem;letter-spacing:-.02em}
.hero-lead{font-size:clamp(1.18rem,2.4vw,1.65rem);max-width:760px;margin:0 0 14px;color:#fff}
.hero-detail{max-width:720px;color:var(--muted);font-size:1.03rem}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:48px;padding:0 20px;border-radius:999px;
  text-decoration:none;font-weight:800;border:1px solid transparent;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease
}
.btn:hover{transform:translateY(-1px)}
.btn-small{min-height:40px;padding:0 16px}
.btn-primary{background:var(--blue);color:#032238;box-shadow:0 10px 30px rgba(14,165,233,.22)}
.btn-primary:hover{background:#38BDF8}
.btn-ghost{border-color:rgba(255,255,255,.28);color:#fff}
.btn-gold{background:var(--gold);color:#17120A}
.btn-outline{border-color:var(--navy);color:var(--navy)}
.trust{font-size:.9rem;color:#B7C5D3;margin-top:20px}
.hero-card{
  background:rgba(255,255,255,.075);
  border:1px solid rgba(255,255,255,.14);
  border-radius:28px;padding:30px;
  box-shadow:0 30px 70px rgba(0,0,0,.18)
}
.hero-card img{border-radius:24px;margin-bottom:20px;width:132px}
.hero-card-kicker{font-size:.78rem;letter-spacing:.20em;color:#79D9FF;font-weight:900;margin-bottom:6px}
.hero-card-title{font-size:1.65rem;line-height:1.12;font-weight:850;margin:0 0 12px}
.hero-card p:last-child{color:#C7D2DE;margin-bottom:0}

.section{padding:88px 0}
.section-light{background:var(--paper)}
.section-intro{font-size:1.08rem;max-width:760px;color:#4B5563;margin-bottom:34px}
.section-intro.light{color:#C9D4DF}
.cards{display:grid;gap:18px;margin-top:36px}
.cards.four{grid-template-columns:repeat(4,1fr)}
.cards.three{grid-template-columns:repeat(3,1fr)}
.cards.two{grid-template-columns:repeat(2,1fr)}
.card,.product-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:26px;box-shadow:0 10px 30px rgba(7,17,31,.045)
}
.card-number{display:inline-flex;color:var(--gold);font-weight:900;font-size:.82rem;margin-bottom:28px}
.card p,.product-card p{color:#4B5563}
.card .tags{font-size:.88rem;color:#627083;margin-top:22px}
.card a,.text-link,.dark-card a{color:var(--blue-2);font-weight:850;text-decoration:none}
.card a:hover,.text-link:hover{text-decoration:underline}

.radar{background:linear-gradient(135deg,#06101E,#0B223A);color:#fff}
.split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.check-panel{
  border:1px solid rgba(255,255,255,.13);
  background:rgba(255,255,255,.055);border-radius:var(--radius);padding:30px
}
.panel-title{font-weight:800;margin-top:0}
.check-list{list-style:none;padding:0;margin:18px 0}
.check-list li{position:relative;padding:10px 0 10px 28px;border-bottom:1px solid rgba(255,255,255,.08)}
.check-list li::before{content:"✓";position:absolute;left:0;color:#52D7FF;font-weight:900}
.result{color:#EAD9A7;margin-bottom:0;font-weight:700}

.product-card{min-height:280px;display:flex;flex-direction:column}
.product-card .text-link{margin-top:auto}
.product-card.accent{background:linear-gradient(180deg,#FFF9E8,#fff)}
.product-label{font-size:.74rem;letter-spacing:.15em;color:var(--blue-2);font-weight:900;margin-bottom:20px}


/* CTA conversion buttons */
.btn-card{
  width:100%;
  min-height:44px;
  margin-top:18px;
  padding:0 16px;
  border-radius:12px;
  background:var(--blue-2);
  color:#fff !important;
  box-shadow:0 8px 20px rgba(29,78,216,.18);
  justify-content:space-between;
  gap:14px;
  font-size:.92rem;
  line-height:1.2;
}
.btn-card:hover{
  background:#2563EB;
  box-shadow:0 12px 28px rgba(29,78,216,.28);
  transform:translateY(-2px);
  text-decoration:none !important;
}
.btn-card:active{
  transform:translateY(0);
}
.btn-card .btn-arrow{
  display:inline-block;
  transition:transform .18s ease;
  font-size:1.1em;
}
.btn-card:hover .btn-arrow{
  transform:translateX(4px);
}
.btn-card-dark{
  background:var(--blue);
  color:#032238 !important;
}
.btn-card-dark:hover{
  background:#38BDF8;
}
.card,
.product-card,
.dark-card{
  display:flex;
  flex-direction:column;
}
.card .btn-card,
.product-card .btn-card,
.dark-card .btn-card{
  margin-top:auto;
}

.automation{background:#0A1422;color:#fff}
.dark-cards{margin-top:32px}
.dark-card{background:#101E30;border:1px solid rgba(255,255,255,.08);border-radius:var(--radius);padding:30px}
.dark-card p{color:#C7D2DE}
.dark-card a{color:#62D7FF}

.mini-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.mini-grid div{padding:18px;border-radius:16px;background:#fff;border:1px solid var(--line);font-weight:750}

.brand-story{background:#fff}
.brand-lockup{
  width:min(100%,980px);
  margin-bottom:42px;
  overflow:visible;
}
.brand-lockup .logo-corporate-img{
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
  object-position:left center;
}
.values{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.values p{color:#556171}

.final-cta{background:linear-gradient(135deg,#07111F,#0A2A47);color:#fff;text-align:center}
.final-inner{max-width:820px}
.final-inner p:not(.eyebrow){color:#C9D4DF;font-size:1.08rem}
.final-inner .btn{margin-top:18px}

.wa-float{
  position:fixed;
  right:18px;
  bottom:18px;
  width:58px;
  height:58px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#25D366;
  text-decoration:none;
  box-shadow:0 14px 34px rgba(0,0,0,.24);
  z-index:40;
  transition:transform .18s ease,box-shadow .18s ease;
  overflow:hidden;
}
.wa-float img{
  width:58px;
  height:58px;
  display:block;
}
.wa-float:hover{
  transform:translateY(-3px) scale(1.04);
  box-shadow:0 18px 38px rgba(0,0,0,.30);
}

.footer{background:#050B13;color:#C7D2DE;padding:36px 0;font-size:.92rem}
.footer-grid{display:grid;grid-template-columns:1fr 1.6fr auto;gap:24px;align-items:end}
.footer strong{color:#fff;letter-spacing:.12em}
.footer p{margin:6px 0}
.footer-copy{white-space:nowrap}

@media (max-width: 980px){
  .site-nav{
    position:absolute;left:0;right:0;top:72px;
    display:none;flex-direction:column;align-items:stretch;gap:0;
    background:#fff;border-bottom:1px solid var(--line);padding:10px 16px 18px
  }
  .site-nav.open{display:flex}
  .site-nav>a{padding:12px 6px}
  .site-nav .btn{margin-top:8px}
  .menu-toggle{display:block}
  .hero-grid,.split{grid-template-columns:1fr}
  .hero-card{max-width:640px}
  .cards.four{grid-template-columns:repeat(2,1fr)}
  .cards.three{grid-template-columns:repeat(2,1fr)}
  .values{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-copy{grid-column:1/-1}
}
@media (max-width: 640px){
  .shell{width:min(calc(100% - 24px),var(--shell))}
  .header-inner{height:64px}
  .brand img{
  display:block;
  width:auto;
  height:48px;
  max-width:280px;
  object-fit:contain;
  object-position:left center;
}
  .site-nav{top:64px}
  .hero{padding:52px 0 48px}
  .hero-grid{gap:28px}
  h1{font-size:clamp(2.45rem,13vw,3.8rem)}
  h2{font-size:clamp(2rem,10vw,3rem)}
  .hero-detail{font-size:.98rem}
  .actions{display:grid}
  .btn{width:100%}
  .hero-card{padding:22px}
  .hero-card img{width:104px}
  .section{padding:62px 0}
  .cards.four,.cards.three,.cards.two{grid-template-columns:1fr}
  .split{gap:32px}
  .mini-grid{grid-template-columns:1fr 1fr}
  .values{gap:10px}
  .footer-grid{grid-template-columns:1fr}
  .footer-copy{grid-column:auto;white-space:normal}
}
@media (prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important;transition:none!important}
}

/* Logo safety */
.logo-header-img,
.logo-corporate-img{
  image-rendering:auto;
}
@media (min-width:981px){
  .header-inner{min-width:0}
  .brand{min-width:0;overflow:visible}
  .site-nav{flex-shrink:1}
}
@media (max-width:640px){
  .brand{max-width:68vw}
  .brand img{max-width:100%;height:40px}
  .wa-float{right:14px;bottom:14px;width:56px;height:56px}
  .wa-float img{width:56px;height:56px}
}

/* V3: richer hero + visual problem cues */
.hero{overflow:hidden}
.hero-visual{
  position:relative;
  align-self:end;
  min-width:0;
}
.hero-visual>img{
  width:min(100%,620px);
  height:auto;
  margin-left:auto;
  filter:drop-shadow(0 30px 35px rgba(0,0,0,.30));
}
.hero-benefits{
  position:absolute;
  right:0;
  top:5%;
  display:flex;
  flex-direction:column;
  gap:3px;
  padding:14px 18px;
  border-radius:16px;
  background:linear-gradient(135deg,#1D4ED8,#0EA5E9);
  box-shadow:0 14px 35px rgba(14,165,233,.22);
  font-size:.88rem;
  font-weight:850;
}
.hero-benefits span::before{content:"› ";color:#fff}
.problem-icon{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  margin-bottom:20px;
  border-radius:14px;
  background:#FFF6DB;
  color:#C89013;
  font-size:1.55rem;
  font-weight:900;
  box-shadow:inset 0 0 0 1px rgba(214,166,58,.12);
  transition:transform .18s ease,box-shadow .18s ease;
}
.card:hover .problem-icon{
  transform:translateY(-2px) rotate(-2deg);
  box-shadow:0 8px 18px rgba(214,166,58,.18);
}
.card:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(7,17,31,.08);
}
.card{transition:transform .18s ease,box-shadow .18s ease}
@media(max-width:980px){
  .hero-visual{max-width:700px;margin-inline:auto}
  .hero-visual>img{margin-inline:auto}
}
@media(max-width:640px){
  .hero-visual{margin-top:8px}
  .hero-visual>img{width:100%}
  .hero-benefits{
    right:2%;
    top:2%;
    font-size:.74rem;
    padding:10px 12px;
  }
}

/* V4 final visual fixes */
.btn-outline{
  transition:background .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.btn-outline:hover{
  background:#E5E7EB;
  color:var(--navy);
  border-color:#CBD5E1;
  box-shadow:0 8px 18px rgba(7,17,31,.08);
  transform:translateY(-1px);
}

/* Radar Digital landing */
.service-hero{
  background:
    radial-gradient(circle at 78% 18%,rgba(14,165,233,.18),transparent 28%),
    linear-gradient(135deg,#07111F,#0A2038 62%,#0C2947);
  color:#fff;
  padding:78px 0 70px;
}
.service-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);
  gap:52px;
  align-items:center;
}
.radar-score-card{
  background:rgba(255,255,255,.065);
  border:1px solid rgba(255,255,255,.13);
  border-radius:26px;
  padding:28px;
  box-shadow:0 28px 65px rgba(0,0,0,.18);
}
.radar-score{padding-bottom:20px;border-bottom:1px solid rgba(255,255,255,.10)}
.radar-score-label{display:block;color:#6FDBFF;font-size:.76rem;letter-spacing:.18em;font-weight:900;margin-bottom:8px}
.radar-score strong{font-size:1.45rem;line-height:1.2}
.radar-lines{display:grid;gap:0;margin-top:12px}
.radar-lines div{display:flex;justify-content:space-between;gap:18px;padding:13px 0;border-bottom:1px solid rgba(255,255,255,.075)}
.radar-lines span{color:#D5DFE8}
.radar-lines b{color:#E5C36A;font-size:.9rem}
.simple-card{min-height:190px}
.simple-card h3{margin-bottom:12px}
.radar-process{background:#0A1422;color:#fff}
.process-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:36px}
.process-grid article{padding:28px;border-radius:20px;background:#101E30;border:1px solid rgba(255,255,255,.08)}
.process-grid p{color:#C7D2DE}
.process-step{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--gold);color:#17120A;font-weight:900;margin-bottom:22px}
.audit-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.audit-grid div{padding:18px;border-radius:15px;background:#fff;border:1px solid var(--line);font-weight:750}
.radar-result{background:linear-gradient(135deg,#07111F,#0A2A47);color:#fff}
.result-panel{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:22px;padding:26px}
.faq-section{background:#fff}
.narrow{max-width:900px}
details{border-top:1px solid var(--line);padding:18px 0}
details:last-child{border-bottom:1px solid var(--line)}
summary{cursor:pointer;font-weight:850;font-size:1.05rem}
details p{color:#556171;margin-bottom:4px}
@media(max-width:980px){
  .service-hero-grid,.process-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  .service-hero{padding:54px 0 50px}
  .audit-grid{grid-template-columns:1fr}
}

/* Rubatics POS landing */
.pos-terminal{padding:26px 28px 8px}
.pos-screen{background:#F8FAFC;color:#111827;border-radius:18px;padding:22px;box-shadow:0 24px 55px rgba(0,0,0,.24);border:7px solid #162438}
.pos-screen-top{display:flex;justify-content:space-between;gap:12px;padding-bottom:15px;border-bottom:1px solid #DCE3EA;font-size:.85rem}
.pos-screen-top span{font-weight:900;color:#0E7490}
.pos-items div{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #E7ECF1}
.pos-total{display:flex;justify-content:space-between;align-items:end;padding-top:20px}
.pos-total strong{font-size:1.8rem;color:#0A65A8}
.pos-base{height:13px;width:72%;margin:auto;background:#D6A63A;border-radius:0 0 14px 14px}
.pos-choose{background:#091523;color:#fff}
.pos-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:34px}
.pos-option{padding:32px;border:1px solid rgba(255,255,255,.11);background:#101F31;border-radius:22px}
.pos-option p{color:#C9D4DF}
.pos-option .option-tag{color:#65D1FA;font-weight:900;letter-spacing:.13em;font-size:.76rem}
.pos-option .btn{margin-top:12px}
.pos-light-panel{background:#fff;border-color:var(--line);box-shadow:0 16px 40px rgba(7,17,31,.07)}
.pos-light-panel .check-list{color:#273444}
@media(max-width:800px){.pos-options{grid-template-columns:1fr}.pos-terminal{padding:10px 0 0}}
