:root {
  --navy: #061a35;
  --navy-2: #0b274e;
  --orange: #ff7900;
  --orange-2: #ff9a2d;
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #07152f;
  --muted: #667085;
  --line: #e2e8f0;
  --shadow: 0 22px 60px rgba(6, 26, 53, .11);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, 92vw); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226,232,240,.8);
}
.nav-shell { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 22px; }
.brand-logo-link { display: flex; align-items: center; flex: 0 0 auto; background:#fff; border-radius:16px; padding:7px 11px; box-shadow:0 10px 24px rgba(6,26,53,.08); }
.brand-logo-img { width: 178px; max-height: 54px; object-fit: contain; display: block; }
.nav-menu { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 800; color: #24324a; }
.nav-menu a { position: relative; padding: 29px 0 25px; }
.nav-menu a.active, .nav-menu a:hover { color: var(--orange); }
.nav-menu a.active::after, .nav-menu a:hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 17px; height: 3px; border-radius: 99px; background: var(--orange);
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-login, .nav-cart, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 43px; border-radius: 10px; padding: 0 19px; font-weight: 900; font-size: 14px;
}
.nav-login { background: var(--navy); color: #fff; box-shadow: 0 14px 28px rgba(6,26,53,.18); }
.nav-cart, .btn-orange { background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #fff; box-shadow: 0 15px 32px rgba(255,121,0,.22); }
.btn-outline { border: 2px solid var(--navy); color: var(--navy); background: rgba(255,255,255,.9); }
.hero-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(255,255,255,.98) 0 61%, rgba(255,255,255,.78) 61% 100%),
    radial-gradient(circle at 18% 25%, rgba(255,121,0,.08), transparent 28%),
    #fff;
  border-bottom: 1px solid #e9eef6;
}
.hero-section::before {
  content:""; position:absolute; inset:0; opacity:.44; pointer-events:none;
  background-image: linear-gradient(30deg, transparent 0 94%, rgba(6,26,53,.08) 94% 100%);
  background-size: 88px 88px;
}
.hero-grid { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; gap: 36px; align-items: center; padding: 62px 0 56px; }
.hero-kicker { margin: 0 0 14px; color: var(--orange); font-size: 12px; letter-spacing: 2px; font-weight: 950; }
.hero-copy h1 { margin: 0; color: var(--navy); font-size: clamp(44px, 6vw, 72px); line-height: .98; letter-spacing: -2px; }
.hero-copy h1 span { display: block; color: var(--orange); }
.hero-text { max-width: 550px; margin: 22px 0 0; color: #48566d; line-height: 1.65; font-weight: 600; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 24px; color: #17243d; font-size: 13px; font-weight: 800; }
.hero-art { position: relative; min-height: 320px; display: flex; align-items: center; justify-content: center; }
.hero-logo-card { position: relative; z-index: 2; width: min(500px, 92%); background: rgba(255,255,255,.92); border: 1px solid #e5edf7; border-radius: 28px; padding: 34px 42px; box-shadow: var(--shadow); }
.hero-logo-card img { width: 100%; display: block; }
.hero-angle {
  position: absolute; right: -140px; top: -90px; width: 320px; height: 520px; background: var(--navy); transform: skewX(-18deg);
  border-left: 11px solid var(--orange); box-shadow: -28px 0 0 rgba(255,121,0,.12);
}
.products-section { padding: 38px 0 34px; }
.section-title { text-align: center; margin-bottom: 22px; }
.section-title p { margin: 0 0 8px; color: var(--orange); font-size: 12px; letter-spacing: 2px; font-weight: 900; }
.section-title h2 { margin: 0; color: var(--navy); font-size: clamp(28px, 3vw, 40px); letter-spacing: -.7px; }
.section-title span { display: block; margin-top: 9px; color: var(--muted); }
.product-tools { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.search-box { flex: 1; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 15px; box-shadow: 0 12px 28px rgba(6,26,53,.04); }
.search-box input { width: 100%; min-height: 52px; border: 0; outline: 0; font: inherit; font-weight: 700; color: var(--navy); background: transparent; }
.mode-pill { flex: 0 0 auto; background: #fff7ed; color: #c05600; border: 1px solid #fed7aa; border-radius: 999px; padding: 10px 14px; font-size: 12px; font-weight: 900; }
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 18px; min-height: 248px;
  display: flex; flex-direction: column; text-align: center; box-shadow: 0 10px 28px rgba(6,26,53,.055); transition: .22s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(255,121,0,.28); }
.product-card.hold { opacity: .6; }
.logo { width: 64px; height: 64px; border-radius: 18px; background: #fff; border:1px solid #e8eef7; display: grid; place-items: center; margin: 0 auto 14px; overflow: hidden; color: var(--navy); font-size: 23px; font-weight: 950; box-shadow:0 10px 22px rgba(6,26,53,.06); }
.logo img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.logo-fallback { background:#fff7ed; color:#c05600; }
.product-card h3 { margin: 0 0 8px; font-size: 17px; color: var(--navy); }
.desc { min-height: 40px; margin: 0 0 10px; color: #667085; font-size: 12px; line-height: 1.5; }
.plans { margin: 4px 0 14px; display: grid; gap: 8px; }
.plan-line { display: grid; gap: 5px; justify-items: center; }
.plan-name { display: inline-flex; background: #eef2f7; color: #344054; border-radius: 999px; padding: 6px 10px; font-size: 11px; font-weight: 900; }
.price { color: var(--orange); font-size: 23px; font-weight: 950; }
.stock { color: #98a2b3; font-size: 12px; }
.card-footer { margin-top: auto; display: grid; gap: 10px; }
.link-more { color: #475467; font-size: 12px; font-weight: 800; }
.product-card .btn { background: var(--navy); color: #fff; min-height: 42px; border-radius: 10px; padding: 0 14px; }
.invoice-check-card {
  margin: 14px auto 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 16px 38px rgba(6,26,53,.06);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: 22px;
  align-items: center;
}
.invoice-check-card h2 { margin: 0 0 8px; color: var(--navy); font-size: 28px; }
.invoice-check-card span { color: var(--muted); line-height: 1.55; }
.invoice-check-form { display: flex; gap: 10px; }
.invoice-check-form input { flex: 1; min-height: 52px; border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; font: inherit; font-weight: 800; outline: none; }
.invoice-check-form input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,121,0,.12); }
.invoice-check-form button { border: 0; min-height: 52px; border-radius: 14px; padding: 0 20px; background: var(--navy); color: #fff; font-weight: 950; cursor: pointer; }
.feature-strip { margin: 18px auto 42px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; box-shadow: 0 16px 38px rgba(6,26,53,.06); }
.feature-strip article { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: start; padding: 12px; border-right: 1px solid #edf2f7; }
.feature-strip article:last-child { border-right: 0; }
.feature-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: #fff7ed; color: var(--orange); font-size: 24px; }
.feature-strip h3 { margin: 2px 0 6px; color: var(--navy); font-size: 15px; }
.feature-strip p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.site-footer { background: var(--navy); color: #dbeafe; padding: 34px 0 18px; position: relative; overflow: hidden; }
.site-footer::before { content:""; position:absolute; inset:0; background-image: radial-gradient(circle at 10% 20%, rgba(255,121,0,.14), transparent 22%), radial-gradient(circle at 90% 10%, rgba(255,255,255,.08), transparent 22%); pointer-events:none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.35fr .8fr 1fr .8fr; gap: 28px; }
.footer-logo-box { width: 190px; background: #fff; border-radius: 16px; padding: 10px 14px; margin-bottom: 12px; box-shadow: 0 14px 30px rgba(0,0,0,.12); }
.footer-logo-box img { width: 100%; display: block; }
.footer-brand p { max-width: 300px; margin: 0; color: #b8c7dc; line-height: 1.65; font-size: 13px; }
.site-footer h4 { margin: 0 0 12px; color: #fff; }
.site-footer a { display: block; color: #dbeafe; margin: 8px 0; font-size: 13px; }
.social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.social-icon { display: inline-flex!important; align-items: center; gap: 8px; justify-content: center; min-height: 42px; border-radius: 999px; padding: 0 14px; color: #fff!important; font-weight: 900; background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); }
.social-icon img { width: 21px; height: 21px; display:block; }
.qris-card { width: 144px; min-height: 58px; border-radius: 14px; background: #fff; border-bottom: 4px solid var(--orange); display: flex; align-items: center; justify-content: center; padding: 10px 14px; }
.qris-card img { width: 100%; height: auto; display: block; }
.footer-bottom { position: relative; border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding-top: 15px; color: #9fb1c9; font-size: 12px; }
.toast { position: fixed; right: 18px; bottom: 18px; z-index: 60; background: var(--navy); color: #fff; border-radius: 16px; padding: 13px 16px; box-shadow: var(--shadow); display: none; }
.toast.show { display: block; }
.notice { grid-column: 1 / -1; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; border-radius: 16px; padding: 16px; font-weight: 800; text-align: center; }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(4,1fr); } .hero-grid { grid-template-columns: 1fr; } .hero-art { min-height: 220px; } .hero-angle { display:none; } }
@media (max-width: 860px) { .nav-menu { display:none; } .product-grid { grid-template-columns: repeat(2,1fr); } .feature-strip { grid-template-columns: 1fr 1fr; } .feature-strip article { border-right:0; } .footer-grid { grid-template-columns: 1fr 1fr; } .brand-logo-img { width: 154px; } .invoice-check-card { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .wrap { width: min(100% - 28px, 1180px); } .nav-shell { min-height: 70px; gap: 10px; } .brand-logo-img { width: 142px; } .brand-logo-link { padding:6px 8px; border-radius:12px; } .nav-login { display:none; } .nav-cart { min-height: 38px; padding: 0 13px; } .hero-grid { padding: 34px 0 32px; } .hero-copy h1 { font-size: 42px; letter-spacing: -1.5px; } .hero-logo-card { padding: 22px; border-radius: 20px; } .product-tools { display: grid; } .mode-pill { justify-self: start; } .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .product-card { min-height: 224px; padding: 16px 12px; } .logo { width: 54px; height: 54px; border-radius: 15px; } .product-card h3 { font-size: 14px; } .desc { display:none; } .price { font-size: 18px; } .invoice-check-form { display:grid; } .feature-strip { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr; } }


/* === SIDEWAY REAL LOGO STABILITY + SPACING FIX === */
.logo,
.product-card .logo {
  background: #ffffff !important;
  border: 1px solid #e5edf7 !important;
  box-shadow: 0 10px 24px rgba(6,26,53,.08) !important;
  overflow: hidden !important;
}
.logo img,
.product-card .logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 10px !important;
  display: block !important;
  background: #fff !important;
}
.logo.logo-fallback {
  background: linear-gradient(135deg, #fff7ed, #eff6ff) !important;
  color: var(--navy) !important;
}
.feature-strip {
  align-items: stretch !important;
}
.feature-strip article {
  grid-template-columns: 52px minmax(0, 1fr) !important;
  min-width: 0 !important;
}
.feature-strip p {
  max-width: 190px !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}
.footer-grid {
  align-items: start !important;
}
.social-row {
  align-items: center !important;
  gap: 12px !important;
}
.social-icon {
  min-width: 130px !important;
  white-space: nowrap !important;
}
.qris-card {
  width: 150px !important;
  min-height: 66px !important;
}
@media (max-width: 860px) {
  .feature-strip article { grid-template-columns: 48px 1fr !important; }
  .feature-strip p { max-width: none !important; }
  .social-icon { min-width: 122px !important; }
}

/* SIDEWAY HOW IT WORKS HARD CLEAN */
.feature-card p, .benefit-card p, .how-card p, .sideway-feature-card p { line-height: 1.65 !important; word-break: normal !important; overflow-wrap: normal !important; white-space: normal !important; max-width: 240px !important; }
.feature-card, .benefit-card, .how-card, .sideway-feature-card { min-width: 0 !important; }
