/* Alimaz Technologies — Global Regional Landing Pages Stylesheet
   NETSOL-Inspired Pure White + Cobalt Default & Optional Midnight Dark Mode */
:root,
[data-theme="light"] {
  --bg: #ffffff;
  --bg-elev: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #edf2fa;
  --footer-bg: #f6f8fc;
  --header-bg: rgba(255, 255, 255, 0.92);
  --ink: #1f242d;
  --ink-soft: #4e5768;
  --muted: #768094;
  --accent: #2e6cf6;
  --accent-hover: #1e54d4;
  --gold: #2e6cf6;
  --gold-light: #2563eb;
  --line: #e7ecf3;
  --line-strong: #d3dcea;
  --line-gold: rgba(46, 108, 246, 0.28);
  --mark-bg: #ffffff;
  --hero-glow: radial-gradient(ellipse 60% 50% at 80% 10%, rgba(46, 108, 246, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 45% at 15% 80%, rgba(16, 185, 129, 0.06), transparent 60%);
  --featured-grad: linear-gradient(180deg, rgba(46, 108, 246, 0.06), #ffffff 45%);
  --cta-grad: linear-gradient(135deg, rgba(46, 108, 246, 0.08), rgba(16, 185, 129, 0.06));
  --pill-active-bg: rgba(46, 108, 246, 0.1);
  --badge-ink: #ffffff;
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.1);

  --f-display: 'Plus Jakarta Sans', 'Noto Sans JP', system-ui, -apple-system, sans-serif;
  --f-body: 'Inter', 'Noto Sans JP', system-ui, -apple-system, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --radius: 8px;
  --radius-lg: 14px;
  --max-w: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --bg: #07090f;
  --bg-elev: #0e131e;
  --surface: #121826;
  --surface-2: #192234;
  --footer-bg: #05070c;
  --header-bg: rgba(7, 9, 15, 0.9);
  --ink: #f2f5fb;
  --ink-soft: #a8b3c7;
  --muted: #76839c;
  --accent: #4c82ff;
  --accent-hover: #346bf2;
  --gold: #60a5fa;
  --gold-light: #93c5fd;
  --line: rgba(242, 245, 251, 0.09);
  --line-strong: rgba(242, 245, 251, 0.18);
  --line-gold: rgba(96, 165, 250, 0.32);
  --mark-bg: #0e131e;
  --hero-glow: radial-gradient(ellipse 60% 50% at 80% 10%, rgba(76, 130, 255, 0.1), transparent 60%),
    radial-gradient(ellipse 50% 45% at 15% 80%, rgba(16, 185, 129, 0.07), transparent 60%);
  --featured-grad: linear-gradient(180deg, rgba(76, 130, 255, 0.1), #121826 45%);
  --cta-grad: linear-gradient(135deg, rgba(76, 130, 255, 0.12), rgba(16, 185, 129, 0.08));
  --pill-active-bg: rgba(76, 130, 255, 0.18);
  --badge-ink: #07090f;
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.68;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color 0.25s ease, color 0.25s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 18px;
  z-index: 9999;
  font-weight: 700;
  border-radius: 0 0 6px 0;
}
.skip-link:focus {
  left: 16px;
}

/* Header */
.reg-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.reg-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}

.reg-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
}

.reg-brand-svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: block;
}

.reg-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.04;
}

.reg-brand-text .b-main {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.reg-brand-text .b-sub {
  font-family: var(--f-mono);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 2px;
}

.reg-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reg-brand-dot {
  display: none;
}

.reg-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
}

.reg-links a:hover,
.reg-links a:focus-visible {
  color: var(--ink);
}

.reg-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reg-theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-soft);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}

.reg-theme-btn:hover {
  border-color: var(--accent);
  color: var(--ink);
}

[data-theme="dark"] .reg-theme-btn {
  color: var(--ink);
}

/* Market Switcher Strip */
.market-strip {
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-size: 12.5px;
}

.market-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.market-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.market-pill {
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  white-space: nowrap;
}

.market-pill:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.market-pill.is-active {
  background: var(--pill-active-bg);
  border-color: var(--gold);
  color: var(--gold-light);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 13.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.22s var(--ease), background 0.22s, border-color 0.22s, color 0.22s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--surface);
  border-color: var(--line-gold);
  color: var(--gold-light);
}

.btn-gold:hover {
  background: var(--pill-active-bg);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 26px;
  font-size: 14.5px;
}

/* Hero */
.reg-hero {
  position: relative;
  padding: 84px 0 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--hero-glow), var(--bg);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumb a:hover {
  color: var(--gold-light);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-gold);
  background: var(--pill-active-bg);
  margin-bottom: 22px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.reg-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(2.35rem, 5.2vw, 4.15rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.032em;
  max-width: 18ch;
  margin-bottom: 22px;
}

.reg-hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.reg-hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 66ch;
  margin-bottom: 34px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.kpi-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.kpi-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.kpi-val {
  display: block;
  font-family: var(--f-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--gold-light);
  line-height: 1.2;
}

.kpi-lbl {
  font-size: 13px;
  color: var(--ink-soft);
}

/* Sections */
.reg-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}

.reg-section-alt {
  background: var(--bg-elev);
}

.section-head {
  margin-bottom: 44px;
  max-width: 72ch;
}

.section-head h2 {
  font-family: var(--f-display);
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.028em;
  margin-bottom: 14px;
}

.section-head h2 em {
  color: var(--accent);
  font-style: normal;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.card:hover {
  border-color: var(--line-gold);
  transform: translateY(-2px);
}

.card-num {
  font-family: var(--f-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 10px;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}

.card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.card-meta {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-light);
}

/* Pricing */
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.is-featured {
  border-color: var(--gold);
  background: var(--featured-grad);
  box-shadow: var(--shadow-lg);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--gold);
  color: var(--badge-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

.price-amt {
  font-family: var(--f-display);
  font-size: 2.35rem;
  font-weight: 500;
  color: var(--ink);
  margin: 14px 0 4px;
}

.price-term {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.price-list {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.price-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-soft);
}

.price-list li::before {
  content: '✓ ';
  color: var(--gold-light);
  font-weight: 700;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: var(--gold-light);
  font-size: 1.4rem;
  font-weight: 500;
}

.faq-item[open] summary::after {
  content: '−';
  color: var(--accent);
}

.faq-body {
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

/* CTA Box */
.cta-box {
  background: var(--cta-grad);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  padding: 52px 40px;
  text-align: center;
}

.cta-box h2 {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 400;
  margin-bottom: 14px;
}

.cta-box p {
  max-width: 58ch;
  margin: 0 auto 28px;
  color: var(--ink-soft);
}

/* Footer */
.reg-footer {
  padding: 64px 0 36px;
  background: var(--footer-bg);
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-cols h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.footer-cols a {
  display: block;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.footer-cols a:hover {
  color: var(--ink);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .kpi-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .reg-links { display: none; }
}

@media (max-width: 639px) {
  .container { padding: 0 16px; }
  .reg-nav { min-height: 64px; gap: 10px; }
  .reg-brand-svg { width: 30px; height: 30px; }
  .reg-brand-text .b-main { font-size: 16px; }
  .reg-brand-text .b-sub { font-size: 7.5px; letter-spacing: 0.2em; }
  .reg-hero { padding: 36px 0 44px; }
  .kpi-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi-card { padding: 14px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .cta-box { padding: 32px 18px; }
}
