/* ── StEEG Web — Main Stylesheet ───────────────────────────────── */
:root {
  --navy:    #1A2B3C;
  --cyan:    #4bb9db;
  --cyan2:   #2a9bbf;
  --green:   #27ae60;
  --light:   #f0f6f9;
  --white:   #ffffff;
  --gray1:   #f5f7fa;
  --gray2:   #e8edf2;
  --gray3:   #b0bcc8;
  --text:    #2c3e50;
  --muted:   #6c7a8a;
  --shadow:  0 4px 20px rgba(26,43,60,.12);
  --radius:  12px;
  --radius-sm: 8px;
  /* Sigmacog palette */
  --blue:    #3b82f6;
  --teal:    #14b8a6;
  --purple:  #8b5cf6;
  --dark:    #0f172a;
  --dark2:   #1e293b;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans TC', 'Segoe UI', system-ui, sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }

/* ── Layout ───────────────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-title { font-size: 2rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.section-sub { color: var(--muted); font-size: 1.05rem; margin-bottom: 48px; }

/* ── Nav ──────────────────────────────────────────────────────── */
#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26,43,60,.97); backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(0,0,0,.18);
}
.nav-inner { display: flex; align-items: center; height: 64px; gap: 0; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.nav-logo-mark { width: 36px; height: 36px; background: linear-gradient(135deg,var(--cyan),var(--green)); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.nav-logo-text { color: #fff; font-weight: 800; font-size: 1.2rem; letter-spacing: 1px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { color: rgba(255,255,255,.82); text-decoration: none; padding: 8px 14px; border-radius: 6px; font-size: .9rem; font-weight: 500; transition: all .2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--cyan); background: rgba(75,185,219,.12); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 16px; }
.nav-btn { padding: 7px 16px; border-radius: 20px; font-size: .85rem; font-weight: 700; cursor: pointer; text-decoration: none; border: none; transition: all .2s; }
.nav-btn-outline { border: 1.5px solid var(--cyan); color: var(--cyan); background: none; }
.nav-btn-outline:hover { background: var(--cyan); color: #fff; }
.nav-btn-solid { background: var(--cyan); color: #fff; border: 1.5px solid var(--cyan); }
.nav-btn-solid:hover { background: var(--cyan2); }
.nav-cart-badge { position: relative; }
.cart-count { position: absolute; top: -4px; right: -4px; background: #e74c3c; color: #fff; font-size: .65rem; font-weight: 700; border-radius: 50%; width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; }
#btn-lang { background: none; border: 1.5px solid rgba(255,255,255,.4); color: rgba(255,255,255,.8); border-radius: 20px; padding: 5px 14px; font-size: .8rem; cursor: pointer; font-weight: 700; }
#btn-lang:hover { border-color: var(--cyan); color: var(--cyan); }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #0d1e2e 50%, #0a2333 100%);
  position: relative; overflow: hidden; padding-top: 64px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(75,185,219,.12) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 1; max-width: 640px; }
.hero-tag { display: inline-block; background: rgba(75,185,219,.15); color: var(--cyan); border: 1px solid rgba(75,185,219,.3); border-radius: 20px; padding: 5px 16px; font-size: .8rem; font-weight: 700; letter-spacing: 1px; margin-bottom: 24px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 20px; }
.hero h1 span { color: var(--cyan); }
.hero-sub { color: rgba(255,255,255,.72); font-size: 1.05rem; margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary { background: var(--cyan); color: #fff; border: none; padding: 13px 28px; border-radius: 8px; font-weight: 700; font-size: .95rem; cursor: pointer; text-decoration: none; display: inline-block; transition: all .2s; }
.btn-primary:hover { background: var(--cyan2); transform: translateY(-1px); }
.btn-outline { background: none; color: #fff; border: 1.5px solid rgba(255,255,255,.4); padding: 12px 28px; border-radius: 8px; font-weight: 600; font-size: .95rem; cursor: pointer; text-decoration: none; display: inline-block; transition: all .2s; }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }
.hero-stats { display: flex; gap: 32px; margin-top: 48px; }
.hero-stat-val { font-size: 1.8rem; font-weight: 800; color: var(--cyan); }
.hero-stat-label { font-size: .8rem; color: rgba(255,255,255,.6); margin-top: 2px; }
.hero-visual { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); width: 420px; opacity: .85; }
.hero-eeg-svg { width: 100%; }

/* ── Cards ────────────────────────────────────────────────────── */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(26,43,60,.16); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.card-img { width: 100%; height: 180px; object-fit: contain; border-radius: 8px; background: var(--light); padding: 16px; margin-bottom: 16px; }
.card-cat { font-size: .75rem; font-weight: 700; color: var(--cyan); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.card-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.card-desc { font-size: .875rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.card-price { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.card-price-inquiry { font-size: .85rem; color: var(--cyan); font-weight: 600; }
.card-actions { display: flex; gap: 8px; margin-top: 14px; }
.btn-sm { padding: 8px 16px; border-radius: 6px; font-size: .82rem; font-weight: 600; cursor: pointer; text-decoration: none; border: none; transition: all .15s; }
.btn-sm-primary { background: var(--cyan); color: #fff; }
.btn-sm-primary:hover { background: var(--cyan2); }
.btn-sm-outline { background: none; border: 1.5px solid var(--cyan); color: var(--cyan); }
.btn-sm-outline:hover { background: var(--cyan); color: #fff; }

/* ── Featured products ────────────────────────────────────────── */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.feat-card { background: linear-gradient(135deg,#fff 0%,var(--light) 100%); border: 1px solid var(--gray2); border-radius: var(--radius); padding: 28px; position: relative; overflow: hidden; transition: all .2s; }
.feat-card:hover { border-color: var(--cyan); box-shadow: 0 8px 32px rgba(75,185,219,.15); transform: translateY(-3px); }
.feat-badge { position: absolute; top: 16px; right: 16px; background: var(--cyan); color: #fff; font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 12px; }
.feat-icon { font-size: 2.2rem; margin-bottom: 12px; }
.feat-model { font-size: .75rem; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.feat-title { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.feat-desc { font-size: .875rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }

/* ── Category tabs ────────────────────────────────────────────── */
.cat-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.cat-tab { background: var(--gray1); border: 1.5px solid var(--gray2); color: var(--text); padding: 8px 18px; border-radius: 20px; font-size: .875rem; font-weight: 600; cursor: pointer; transition: all .2s; }
.cat-tab.active, .cat-tab:hover { background: var(--cyan); border-color: var(--cyan); color: #fff; }

/* ── Product detail ───────────────────────────────────────────── */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding-top: 96px; }
.product-detail-image { background: var(--light); border-radius: var(--radius); padding: 40px; text-align: center; font-size: 6rem; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.spec-table tr { border-bottom: 1px solid var(--gray2); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 10px 4px; font-size: .875rem; }
.spec-table td:first-child { color: var(--muted); width: 40%; }
.spec-table td:last-child { font-weight: 600; color: var(--navy); }

/* ── Downloads ────────────────────────────────────────────────── */
.dl-card { display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: #fff; border: 1px solid var(--gray2); border-radius: var(--radius-sm); margin-bottom: 12px; transition: all .2s; }
.dl-card:hover { border-color: var(--cyan); box-shadow: 0 4px 16px rgba(75,185,219,.1); }
.dl-icon { font-size: 2rem; flex-shrink: 0; }
.dl-info { flex: 1; }
.dl-name { font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.dl-desc { font-size: .85rem; color: var(--muted); }
.dl-meta { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.dl-version { font-size: .75rem; color: var(--muted); background: var(--gray1); padding: 3px 10px; border-radius: 12px; }
.dl-locked { font-size: .8rem; color: #e67e22; font-weight: 600; }

/* ── Cart & Checkout ──────────────────────────────────────────── */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.cart-item { display: flex; gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--gray2); border-radius: var(--radius-sm); margin-bottom: 12px; }
.cart-item-img { width: 80px; height: 80px; background: var(--light); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 2rem; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.cart-item-price { color: var(--muted); font-size: .875rem; }
.cart-item-qty { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.qty-btn { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--gray3); background: none; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; }
.cart-empty { text-align: center; padding: 60px 0; color: var(--muted); }
.summary-box { background: var(--light); border-radius: var(--radius); padding: 24px; position: sticky; top: 88px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: .9rem; }
.summary-total { font-weight: 700; font-size: 1.1rem; border-top: 1px solid var(--gray2); padding-top: 12px; margin-top: 12px; }
.order-type-tabs { display: flex; gap: 0; margin-bottom: 20px; border-radius: 8px; overflow: hidden; border: 1.5px solid var(--gray2); }
.order-type-tab { flex: 1; padding: 10px; text-align: center; font-size: .85rem; font-weight: 600; cursor: pointer; background: #fff; border: none; transition: all .15s; }
.order-type-tab.active { background: var(--cyan); color: #fff; }

/* ── Forms ────────────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: .82rem; font-weight: 700; color: var(--cyan); margin-bottom: 6px; }
.form-input { width: 100%; padding: 11px 14px; border: 1.5px solid var(--gray2); border-radius: 8px; font-size: .95rem; outline: none; transition: border .2s; }
.form-input:focus { border-color: var(--cyan); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Auth pages ───────────────────────────────────────────────── */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy) 0%, #0d1e2e 100%); padding: 80px 20px; }
.auth-card { background: #fff; border-radius: var(--radius); padding: 40px; width: 100%; max-width: 420px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-title { font-size: 1.4rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.auth-sub { font-size: .875rem; color: var(--muted); }
.auth-tabs { display: flex; border-bottom: 2px solid var(--gray2); margin-bottom: 24px; }
.auth-tab { flex: 1; padding: 10px; text-align: center; font-size: .9rem; font-weight: 600; cursor: pointer; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all .2s; }
.auth-tab.active { color: var(--cyan); border-bottom-color: var(--cyan); }
.alert { padding: 12px 16px; border-radius: 8px; font-size: .875rem; margin-bottom: 16px; }
.alert-error { background: #fdf0f0; color: #c0392b; border: 1px solid #f5c6cb; }
.alert-success { background: #f0fdf4; color: #27ae60; border: 1px solid #a8d5b5; }

/* ── ACPT banner ──────────────────────────────────────────────── */
.acpt-banner {
  background: linear-gradient(135deg, #0d1e2e 0%, #1a3a2e 100%);
  border-radius: var(--radius); padding: 40px; display: flex; align-items: center; gap: 32px;
  border: 1px solid rgba(75,185,219,.2); margin: 48px 0;
}
.acpt-paw { font-size: 3rem; }
.acpt-info { flex: 1; }
.acpt-info h3 { font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.acpt-info p { color: rgba(255,255,255,.7); font-size: .9rem; }
.acpt-btn { background: linear-gradient(135deg,var(--cyan),var(--green)); color: #fff; padding: 12px 24px; border-radius: 8px; font-weight: 700; text-decoration: none; white-space: nowrap; font-size: .9rem; transition: all .2s; }
.acpt-btn:hover { opacity: .9; transform: translateY(-1px); }

/* ── Footer ───────────────────────────────────────────────────── */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { color: #fff; font-size: 1.2rem; margin-bottom: 10px; }
.footer-brand p { font-size: .875rem; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: .9rem; font-weight: 700; margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(255,255,255,.6); text-decoration: none; font-size: .85rem; margin-bottom: 8px; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; justify-content: space-between; font-size: .8rem; }

/* ── Toast ────────────────────────────────────────────────────── */
#toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--navy); color: #fff; padding: 14px 20px; border-radius: 10px; font-size: .875rem; box-shadow: 0 8px 24px rgba(0,0,0,.2); animation: toastIn .3s ease; max-width: 300px; }
.toast.success, .toast-success { border-left: 3px solid var(--green); }
.toast.error, .toast-error { border-left: 3px solid #e74c3c; }
.toast.info, .toast-info { border-left: 3px solid var(--cyan); }
@keyframes toastIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.toast { position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  background: var(--navy); color: #fff; padding: 14px 20px; border-radius: 10px;
  font-size: .875rem; box-shadow: 0 8px 24px rgba(0,0,0,.2); max-width: 320px;
  transform: translateX(120%); opacity: 0; transition: transform .3s, opacity .3s; }
.toast.show { transform: translateX(0); opacity: 1; }

/* ── Badges & misc ────────────────────────────────────────────── */
.badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: .72rem; font-weight: 700; }
.badge-cyan { background: rgba(75,185,219,.15); color: var(--cyan); }
.badge-navy { background: rgba(26,43,60,.1); color: var(--navy); }
.badge-green { background: rgba(39,174,96,.15); color: var(--green); }
.badge-red { background: rgba(231,76,60,.12); color: #e74c3c; }

.page-hero { background: linear-gradient(135deg,var(--navy),#0d2030); padding: 100px 0 48px; }
.page-hero h1 { color: #fff; font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,.7); }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-visual { display: none; }
  .product-detail { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; background: var(--navy); padding: 16px; gap: 4px; }
  .section { padding: 48px 0; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .acpt-banner { flex-direction: column; }
}

/* ── New nav (class-based) ────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26,43,60,.97); backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(0,0,0,.18);
  transition: background .3s;
}
.nav.scrolled { background: rgba(26,43,60,1); }
.nav-inner { display: flex; align-items: center; height: 64px; padding: 0 24px; gap: 8px; max-width: 1200px; margin: 0 auto; }
.nav-brand { display: flex; flex-direction: column; text-decoration: none; margin-right: auto; }
.brand-steeg { color: var(--cyan); font-weight: 900; font-size: 1.3rem; letter-spacing: 2px; line-height: 1.1; }
.brand-sub { color: rgba(255,255,255,.5); font-size: .65rem; letter-spacing: 0.5px; }
.nav-menu { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-link { color: rgba(255,255,255,.8); text-decoration: none; padding: 8px 12px; border-radius: 6px; font-size: .875rem; font-weight: 500; transition: all .2s; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--cyan); background: rgba(75,185,219,.12); }
.nav-cart-link { position: relative; }
.cart-badge { position: absolute; top: 2px; right: 2px; background: #e74c3c; color: #fff; font-size: .6rem; font-weight: 700; border-radius: 50%; width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; padding: 8px; margin-left: 8px; }
.nav-user-name { color: rgba(255,255,255,.7); font-size: .8rem; padding: 8px 4px; }
.lang-toggle { background: none; border: 1.5px solid rgba(255,255,255,.35); color: rgba(255,255,255,.8); border-radius: 20px; padding: 5px 14px; font-size: .8rem; font-weight: 700; cursor: pointer; margin-left: 4px; transition: all .2s; }
.lang-toggle:hover { border-color: var(--cyan); color: var(--cyan); }

/* ── Page header ──────────────────────────────────────────────── */
.page-header { background: linear-gradient(135deg,var(--navy),#0d2030); padding: 100px 0 40px; }
.page-header h1 { color: #fff; font-size: 2rem; font-weight: 800; }
.page-header-sub { color: rgba(255,255,255,.65); margin-top: 8px; font-size: 1rem; }

/* ── Hero (new) ───────────────────────────────────────────────── */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, #0d1e2e 50%, #0a2333 100%);
  position: relative; overflow: hidden; padding-top: 64px; text-align: center; }
.hero-bg { position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(75,185,219,.13) 0%, transparent 65%); }
.hero-content { position: relative; z-index: 1; max-width: 680px; padding: 0 24px; }
.hero-badge { display: inline-block; background: rgba(75,185,219,.15); color: var(--cyan);
  border: 1px solid rgba(75,185,219,.3); border-radius: 20px; padding: 5px 16px;
  font-size: .78rem; font-weight: 700; letter-spacing: 1px; margin-bottom: 24px; }
.hero-title { font-size: clamp(1.8rem, 4.5vw, 3rem); font-weight: 800; color: #fff; line-height: 1.25; margin-bottom: 20px; }
.hero-sub { color: rgba(255,255,255,.7); font-size: 1rem; margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-scroll-hint { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.4); font-size: 1.5rem; animation: bounce 2s infinite; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ── Product grid ─────────────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.product-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--gray2);
  overflow: hidden; transition: all .2s; display: flex; flex-direction: column; }
.product-card:hover { border-color: var(--cyan); box-shadow: 0 8px 28px rgba(75,185,219,.13); transform: translateY(-2px); }
.product-img-wrap { display: block; background: var(--light); height: 180px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; }
.product-img-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 12px; }
.product-card-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-model { font-size: .72rem; color: var(--cyan); font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 4px; }
.product-name { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.product-name a, .product-name button { color: inherit; text-decoration: none; }
.product-desc { font-size: .82rem; color: var(--muted); line-height: 1.55; flex: 1; margin-bottom: 12px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.product-price { font-weight: 700; color: var(--navy); font-size: .95rem; }
.product-price.contact { color: var(--cyan); font-size: .82rem; }
.product-price.lg { font-size: 1.4rem; }
.product-btns { display: flex; gap: 6px; }
.section-footer { text-align: center; margin-top: 36px; }

/* ── About section ────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-text p { color: var(--muted); line-height: 1.8; margin-bottom: 12px; font-size: .95rem; }
.about-list { list-style: none; padding: 0; margin-top: 16px; }
.about-list li { padding: 6px 0; font-size: .9rem; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card { background: var(--light); border-radius: var(--radius); padding: 20px; text-align: center;
  border: 1px solid var(--gray2); }
.stat-num { font-size: 1.8rem; font-weight: 800; color: var(--cyan); }
.stat-label { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.section-alt { background: var(--gray1); }

/* ── ACPT banner (new) ────────────────────────────────────────── */
.acpt-banner { background: linear-gradient(135deg, #0d1e2e 0%, #1a3a2e 100%);
  border-radius: var(--radius); padding: 40px; display: flex; align-items: center; gap: 32px;
  border: 1px solid rgba(75,185,219,.2); }
.acpt-banner-text { flex: 1; }
.acpt-banner-text h3 { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.acpt-banner-text p { color: rgba(255,255,255,.65); font-size: .9rem; }

/* ── ACPT page ────────────────────────────────────────────────── */
.acpt-launch { max-width: 800px; }
.acpt-info-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--gray2);
  padding: 40px; box-shadow: var(--shadow); }
.acpt-info-card h2 { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.acpt-info-card p { color: var(--muted); line-height: 1.75; margin-bottom: 12px; }
.acpt-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0; }
.acpt-feature { display: flex; gap: 14px; }
.acpt-feature-icon { font-size: 1.8rem; flex-shrink: 0; }
.acpt-feature strong { display: block; font-size: .95rem; color: var(--navy); margin-bottom: 4px; }
.acpt-feature p { font-size: .82rem; color: var(--muted); margin: 0; }
.acpt-launch-btns { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* ── Modal ────────────────────────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 2000;
  display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal-box { background: #fff; border-radius: var(--radius); width: 100%; max-width: 700px;
  max-height: 90vh; overflow-y: auto; position: relative; padding: 32px; }
.modal-wide { max-width: 900px; }
.modal-close { position: absolute; top: 16px; right: 16px; background: var(--gray1);
  border: none; width: 32px; height: 32px; border-radius: 50%; font-size: 1rem; cursor: pointer; }
.modal-product { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; }
.modal-product-img { background: var(--light); border-radius: var(--radius); padding: 24px;
  display: flex; align-items: center; justify-content: center; }
.modal-product-img img { max-width: 100%; max-height: 280px; object-fit: contain; }
.modal-product-name { font-size: 1.4rem; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.modal-product-desc { color: var(--muted); font-size: .9rem; line-height: 1.7; margin-bottom: 16px; }
.modal-product-footer { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.specs-section h4 { font-size: .85rem; font-weight: 700; color: var(--muted); text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 8px; }
.specs-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.specs-table tr { border-bottom: 1px solid var(--gray2); }
.specs-table th { text-align: left; color: var(--muted); padding: 7px 4px; font-weight: 500; width: 45%; }
.specs-table td { padding: 7px 4px; font-weight: 600; color: var(--navy); }

/* ── Variant selector ─────────────────────────────────────────── */
.variant-selector { margin: 16px 0; }
.variant-label { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.variant-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-btn { padding: 6px 16px; border-radius: 20px; border: 2px solid var(--gray2); background: var(--white); color: var(--text); font-size: .9rem; cursor: pointer; transition: all .18s; }
.variant-btn:hover:not(:disabled) { border-color: var(--cyan); color: var(--cyan2); }
.variant-btn.active { border-color: var(--cyan); background: var(--cyan); color: #fff; font-weight: 600; }
.variant-btn.oos, .variant-btn:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }

/* ── Downloads (new) ──────────────────────────────────────────── */
.dl-group { margin-bottom: 36px; }
.dl-group-title { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 14px;
  padding-bottom: 8px; border-bottom: 2px solid var(--gray2); }
.dl-cards { display: flex; flex-direction: column; gap: 10px; }
.dl-card { display: flex; align-items: center; gap: 16px; padding: 18px 24px;
  background: #fff; border: 1px solid var(--gray2); border-radius: var(--radius-sm); transition: all .2s; }
.dl-card:hover:not(.dl-locked) { border-color: var(--cyan); box-shadow: 0 4px 16px rgba(75,185,219,.1); }
.dl-card.dl-locked { opacity: .75; }
.dl-card-body { flex: 1; }
.dl-card-name { font-weight: 700; color: var(--navy); font-size: .95rem; }
.dl-card-desc { font-size: .82rem; color: var(--muted); margin-top: 3px; }
.dl-card-action { flex-shrink: 0; }
.dl-version { font-size: .72rem; background: var(--light); color: var(--muted); padding: 2px 8px;
  border-radius: 10px; margin-left: 6px; }

/* ── Cart (new) ───────────────────────────────────────────────── */
.cart-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; }
.cart-table thead { background: var(--gray1); }
.cart-table th { padding: 12px 16px; text-align: left; font-size: .82rem; font-weight: 700;
  color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.cart-table td { padding: 14px 16px; border-bottom: 1px solid var(--gray2); vertical-align: middle; }
.cart-table tr:last-child td { border-bottom: none; }
.cart-thumb { width: 56px; height: 56px; object-fit: contain; background: var(--light);
  border-radius: 6px; padding: 4px; }
.cart-item-name { font-weight: 600; color: var(--navy); }
.cart-item-note { font-size: .78rem; color: var(--cyan); }
.qty-input { width: 64px; padding: 6px 8px; border: 1.5px solid var(--gray2); border-radius: 6px;
  text-align: center; font-size: .9rem; }
.qty-input:focus { border-color: var(--cyan); outline: none; }
.btn-icon { background: none; border: none; cursor: pointer; color: var(--gray3); font-size: 1rem;
  padding: 4px 8px; border-radius: 4px; transition: color .2s; }
.btn-icon:hover { color: #e74c3c; }
.cart-aside { position: sticky; top: 80px; }
.order-form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.order-form h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.order-total { display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-top: 1px solid var(--gray2); margin: 16px 0; font-size: .95rem; }
.order-total strong { font-size: 1.2rem; color: var(--navy); }
.btn-block { width: 100%; text-align: center; }
.cart-empty { text-align: center; padding: 80px 0; }
.cart-empty p { font-size: 1.1rem; color: var(--muted); margin-bottom: 20px; }

/* ── Auth page (new) ──────────────────────────────────────────── */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, #0d1e2e 100%); padding: 80px 20px; }
.auth-card { background: #fff; border-radius: var(--radius); padding: 36px; width: 100%;
  max-width: 420px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.auth-tabs { display: flex; border-bottom: 2px solid var(--gray2); margin-bottom: 24px; }
.auth-tab { flex: 1; padding: 10px; text-align: center; font-size: .9rem; font-weight: 600;
  cursor: pointer; color: var(--muted); background: none; border: none;
  border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all .2s; }
.auth-tab.active { color: var(--cyan); border-bottom-color: var(--cyan); }
.auth-form .form-group { margin-bottom: 16px; }
.auth-form label { display: block; font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
.form-error { font-size: .82rem; color: #c0392b; background: #fdf0f0; border-radius: 6px;
  padding: 8px 12px; margin-bottom: 12px; }

/* ── Footer (new) ─────────────────────────────────────────────── */
.footer { background: var(--navy); color: rgba(255,255,255,.65); padding: 40px 0 24px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; align-items: start; }
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-company { font-size: .8rem; color: rgba(255,255,255,.45); margin-top: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-contact div { font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.45); }
.footer-contact a { color: rgba(255,255,255,.7); text-decoration: none; font-size: .875rem; }
.footer-contact a:hover { color: var(--cyan); }
.footer-copy { font-size: .75rem; color: rgba(255,255,255,.3); }

/* ── Misc utilities ───────────────────────────────────────────── */
.loading-placeholder { color: var(--muted); font-size: .9rem; padding: 20px 0; }
.error-msg { color: #c0392b; background: #fdf0f0; border-radius: 8px; padding: 12px 16px; font-size: .875rem; }
.empty-msg { color: var(--muted); text-align: center; padding: 40px; }
.btn { display: inline-block; text-decoration: none; cursor: pointer; border: none;
  font-weight: 600; transition: all .2s; border-radius: 8px; text-align: center; }
.btn-sm { padding: 7px 14px; font-size: .82rem; border-radius: 6px; }
.btn-primary { background: var(--cyan); color: #fff; padding: 11px 24px; font-size: .9rem; }
.btn-primary:hover { background: var(--cyan2); }
.btn-outline { background: none; border: 1.5px solid var(--cyan); color: var(--cyan); padding: 10px 24px; font-size: .9rem; }
.btn-outline:hover { background: var(--cyan); color: #fff; }
.btn-add-cart { background: var(--cyan); color: #fff; }
.btn-add-cart:hover { background: var(--cyan2); }
.link-btn { background: none; border: none; cursor: pointer; font-size: inherit;
  color: var(--navy); text-decoration: none; text-align: left; padding: 0; }

/* ── Responsive extras ────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .modal-product { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .acpt-banner { flex-direction: column; }
  .acpt-features { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-menu { display: none; flex-direction: column; align-items: flex-start; gap: 4px;
    position: fixed; top: 64px; left: 0; right: 0; background: var(--navy);
    padding: 16px 24px; border-top: 1px solid rgba(255,255,255,.1); }
  .nav-menu.open { display: flex; }
  .nav-menu #nav-auth { display: contents; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-table th:nth-child(3),
  .cart-table td:nth-child(3) { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .acpt-info-card { padding: 24px; }
}

/* ══════════════════════════════════════════════════════════════
   Sigmacog / Homepage styles
══════════════════════════════════════════════════════════════ */

/* ── Brand nav ──────────────────────────────────────────────── */
.nav-brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; line-height: 1; }
.nav-logo-img { height: 38px; width: auto; display: block; }
.brand-artise { color: var(--blue); font-weight: 900; font-size: 1.25rem; letter-spacing: 1.5px; }
.brand-bio    { color: var(--teal); font-weight: 900; font-size: 1.25rem; }

/* ── Buttons (base + variants) ─────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 24px; border-radius: 8px;
  font-weight: 700; font-size: .9rem; cursor: pointer; text-decoration: none;
  border: 2px solid transparent; transition: all .2s; }
.btn-blue  { background: var(--blue);  color: #fff; border-color: var(--blue); }
.btn-blue:hover  { background: #2563eb; border-color: #2563eb; transform: translateY(-1px); }
.btn-teal  { background: var(--teal);  color: #fff; border-color: var(--teal); }
.btn-teal:hover  { background: #0d9488; border-color: #0d9488; transform: translateY(-1px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-outline-dark  { background: transparent; color: var(--navy); border-color: rgba(26,43,60,.35); }
.btn-outline-dark:hover { border-color: var(--navy); background: rgba(26,43,60,.06); }
.btn-eco { background: transparent; color: var(--accent,#3b82f6); border-color: var(--accent,#3b82f6);
  border-width: 1.5px; padding: 9px 18px; font-size: .85rem; border-radius: 6px; }
.btn-eco:hover { background: var(--accent,#3b82f6); color: #fff; }

/* ── Gradient text ──────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(90deg, var(--blue), var(--teal));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section utility ────────────────────────────────────────── */
.section-dark { background: var(--dark); }
.section-gray { background: var(--gray1); }
.section-eyebrow { font-size: .72rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 10px; }
.section-eyebrow.teal { color: var(--teal); }
.section-title.white { color: #fff; }
.section-body { color: var(--muted); line-height: 1.75; margin-bottom: 16px; font-size: .95rem; }
.section-body.light { color: rgba(255,255,255,.72); }

/* ── Hero dark ──────────────────────────────────────────────── */
.hero-dark {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--dark); overflow: hidden; padding: 80px 24px 60px;
  gap: 0; max-width: 100%;
}
.hero-dark-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(59,130,246,.15) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(20,184,166,.12) 0%, transparent 50%);
  pointer-events: none;
}
.hero-dark-content {
  position: relative; z-index: 1; flex: 1; max-width: 620px;
  margin: 0 auto 0 max(24px, calc(50vw - 570px));
}
.hero-dark-badge {
  display: inline-block; background: rgba(59,130,246,.15); color: var(--blue);
  border: 1px solid rgba(59,130,246,.35); border-radius: 20px;
  padding: 5px 16px; font-size: .78rem; font-weight: 700; letter-spacing: 1.5px;
  margin-bottom: 24px;
}
.hero-dark-title {
  font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; color: #fff;
  line-height: 1.2; margin-bottom: 20px;
}
.hero-dark-sub { color: rgba(255,255,255,.68); font-size: 1rem; line-height: 1.75; margin-bottom: 36px; }
.hero-dark-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dark-visual {
  position: absolute; right: max(24px, calc(50vw - 570px)); top: 50%;
  transform: translateY(-50%);
}

/* ── Brain animation ────────────────────────────────────────── */
.brain-visual {
  position: relative; width: 240px; height: 240px;
  display: flex; align-items: center; justify-content: center;
}
.brain-ring {
  position: absolute; border-radius: 50%; border: 1.5px solid;
  animation: brainPulse 3s ease-in-out infinite;
}
.brain-ring.ring1 { width: 240px; height: 240px; border-color: rgba(59,130,246,.25); animation-delay: 0s; }
.brain-ring.ring2 { width: 180px; height: 180px; border-color: rgba(20,184,166,.35); animation-delay: .6s; }
.brain-ring.ring3 { width: 120px; height: 120px; border-color: rgba(139,92,246,.45); animation-delay: 1.2s; }
.brain-icon { font-size: 3.5rem; z-index: 1; }
@keyframes brainPulse {
  0%, 100% { transform: scale(1); opacity: .6; }
  50% { transform: scale(1.06); opacity: 1; }
}

/* ── Story section ──────────────────────────────────────────── */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story-links { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }
.story-link {
  color: var(--blue); text-decoration: none; font-size: .9rem; font-weight: 600;
  padding: 8px 0; border-bottom: 1px solid var(--gray2); transition: color .2s;
}
.story-link:hover { color: var(--teal); }
.story-loop {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
}
.loop-item {
  width: 100px; height: 100px; border-radius: 16px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px; font-weight: 700; font-size: .8rem;
  border: 2px solid transparent; transition: transform .2s;
}
.loop-item:hover { transform: translateY(-3px); }
.loop-assess  { background: rgba(59,130,246,.12); border-color: rgba(59,130,246,.3); color: var(--blue); }
.loop-monitor { background: rgba(20,184,166,.12); border-color: rgba(20,184,166,.3); color: var(--teal); }
.loop-train   { background: rgba(139,92,246,.12); border-color: rgba(139,92,246,.3); color: var(--purple); }
.loop-icon  { font-size: 1.6rem; }
.loop-label { text-align: center; line-height: 1.3; font-size: .78rem; }
.loop-arrow { color: var(--gray3); font-size: 1.4rem; }

/* ── Sigmacog section ───────────────────────────────────────── */
.sigmacog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 12px; }
.sigmacog-features { list-style: none; padding: 0; margin: 20px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.sigmacog-features li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: rgba(255,255,255,.78); line-height: 1.5; }
.feat-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.feat-dot.teal { background: var(--teal); }
.sigmacog-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Mock dashboard card */
.sigmacog-card-demo {
  background: var(--dark2); border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.demo-header {
  background: rgba(255,255,255,.06); padding: 12px 16px;
  display: flex; align-items: center; gap: 6px;
}
.demo-dot { width: 10px; height: 10px; border-radius: 50%; }
.demo-dot.red    { background: #ef4444; }
.demo-dot.yellow { background: #f59e0b; }
.demo-dot.green  { background: #22c55e; }
.demo-title { margin-left: 8px; font-size: .78rem; color: rgba(255,255,255,.5); font-weight: 600; }
.demo-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.demo-metric { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: rgba(255,255,255,.78); }
.demo-metric > span:first-child { min-width: 80px; }
.demo-bar { flex: 1; height: 6px; background: rgba(255,255,255,.1); border-radius: 3px; overflow: hidden; }
.demo-fill { height: 100%; border-radius: 3px; transition: width .8s ease; }
.demo-score { min-width: 38px; text-align: right; font-weight: 700; color: rgba(255,255,255,.9); }

/* ── Ecosystem grid ─────────────────────────────────────────── */
.eco-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.eco-card {
  background: #fff; border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--gray2); transition: all .25s; display: flex; flex-direction: column; gap: 12px;
}
.eco-card:hover { border-color: var(--accent,var(--blue)); box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-3px); }
.eco-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.eco-badge {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  font-size: .75rem; font-weight: 800; letter-spacing: 1px;
  align-self: flex-start;
}
.eco-tagline { font-size: .78rem; color: var(--muted); font-style: italic; margin-bottom: 2px; }
.eco-desc { font-size: .86rem; color: var(--muted); line-height: 1.65; flex: 1; }

/* ── Hardware grid ──────────────────────────────────────────── */
.hw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.hw-card {
  background: var(--light); border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--gray2); display: flex; flex-direction: column; gap: 10px; transition: all .2s;
}
.hw-card:hover { border-color: var(--cyan); box-shadow: var(--shadow); }
.hw-icon { font-size: 2.2rem; }
.hw-card-img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:8px; background:var(--gray1); }
.hw-card h4 { font-size: 1rem; font-weight: 700; color: var(--navy); }
.hw-card p  { font-size: .84rem; color: var(--muted); line-height: 1.6; }

/* ── Contact grid ───────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.contact-card {
  background: #fff; border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--gray2); display: flex; flex-direction: column; gap: 8px;
  transition: all .2s;
}
.contact-card:hover { border-color: var(--cyan); box-shadow: var(--shadow); }
.contact-icon { font-size: 2rem; }
.contact-card h4 { font-size: 1rem; font-weight: 700; color: var(--navy); }
.contact-card p, .contact-card a { font-size: .9rem; color: var(--muted); text-decoration: none; }
.contact-card a:hover { color: var(--blue); }

/* ── Footer (new layout) ────────────────────────────────────── */
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-bottom: 0;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-company { font-size: .78rem; color: rgba(255,255,255,.5); margin-top: 2px; }
.footer-contact { display: flex; flex-direction: column; gap: 4px; }
.footer-contact a { color: rgba(255,255,255,.65); text-decoration: none; font-size: .85rem; }
.footer-contact a:hover { color: var(--cyan); }
.footer-copy { font-size: .75rem; color: rgba(255,255,255,.4); }

/* ── Responsive overrides ───────────────────────────────────── */
@media (max-width: 900px) {
  .hero-dark-visual { display: none; }
  .hero-dark-content { margin: 0 auto; text-align: center; }
  .hero-dark-actions { justify-content: center; }
  .story-grid { grid-template-columns: 1fr; }
  .sigmacog-grid { grid-template-columns: 1fr; }
  .eco-grid { grid-template-columns: 1fr; }
  .hw-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hw-grid { grid-template-columns: 1fr; }
  .story-loop { gap: 8px; }
  .loop-item { width: 80px; height: 80px; }
}

/* ── OTP verification ─────────────────────────────────────────────────────── */
.otp-sent-msg {
  font-size: 0.875rem;
  color: #475569;
  margin: 0 0 16px;
  padding: 10px 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
}
.otp-input {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-align: center;
}
.otp-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.otp-sep { color: #cbd5e1; }
.link-btn {
  background: none;
  border: none;
  padding: 0;
  color: #3b82f6;
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: underline;
}
.link-btn:hover { color: #2563eb; }
