/* SGKSK — responsive static IDC website */
:root {
  --ink: #102033;
  --muted: #617187;
  --line: #dce4eb;
  --surface: #ffffff;
  --soft: #f4f7f9;
  --navy: #0b1d2f;
  --teal: #00a69a;
  --teal-dark: #00877e;
  --green: #2f9e6f;
  --amber: #d38b20;
  --red: #d34f4f;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(15, 31, 48, .08);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Noto Sans JP", Arial, sans-serif; line-height: 1.6; letter-spacing: 0; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* top navigation */
.site-header { position: sticky; top: 0; z-index: 60; height: 68px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.navbar { height: 100%; display: flex; align-items: center; gap: 26px; }
.logo { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.logo-mark { width: 39px; height: 39px; border-radius: 7px; color: white; background: var(--navy); display: grid; place-items: center; font-weight: 800; font-size: 12px; border-bottom: 4px solid var(--teal); }
.logo-copy strong { display: block; font-size: 18px; line-height: 1.05; letter-spacing: .04em; }
.logo-copy span { display: block; font-size: 10px; color: #7d8b9c; margin-top: 3px; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav-link { appearance: none; border: 0; background: none; padding: 9px 0; color: #4c5c6f; font-size: 14px; cursor: pointer; position: relative; }
.nav-link:hover, .nav-link.active { color: var(--navy); }
.nav-link.active::after { content:""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--teal); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 7px; background: white; display: inline-grid; place-items: center; cursor: pointer; color: #405269; position: relative; }
.icon-btn:hover { background: var(--soft); border-color: #cbd6df; }
.icon-btn svg { width: 18px; height: 18px; }
.cart-count { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; display: grid; place-items: center; color: white; background: var(--red); border: 2px solid white; font-size: 10px; font-weight: 800; }
.lang-menu-wrap { position: relative; }
.lang-button { min-width: 88px; height: 38px; border: 1px solid var(--line); border-radius: 7px; background: white; cursor: pointer; color: #405269; padding: 0 9px; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 13px; }
.lang-popover { position: absolute; right: 0; top: 45px; width: 152px; padding: 5px; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.lang-popover button { width: 100%; border: 0; background: white; padding: 8px 10px; text-align: left; border-radius: 6px; cursor: pointer; color: var(--ink); }
.lang-popover button:hover, .lang-popover button.active { background: #eaf7f6; color: var(--teal-dark); }
.mobile-toggle { display: none; }
.mobile-nav { display: none; }

/* buttons */
.btn { border: 1px solid transparent; border-radius: 7px; min-height: 40px; padding: 8px 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 14px; cursor: pointer; transition: .18s ease; }
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-dark { background: var(--navy); color: white; border-color: var(--navy); }
.btn-dark:hover { background: #142e47; }
.btn-outline { background: white; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { background: var(--soft); border-color: #c6d2dc; }
.btn-ghost { color: var(--ink); background: transparent; border-color: transparent; }
.btn-danger { color: var(--red); background: #fff3f3; border-color: #f2cece; }
.btn-lg { min-height: 48px; padding: 11px 21px; font-size: 15px; }
.btn-sm { min-height: 34px; padding: 6px 11px; font-size: 12px; }
.btn-full { width: 100%; }

/* page and hero */
.page { min-height: calc(100vh - 68px); }
.section { padding: 76px 0; }
.section-soft { background: var(--soft); border-top: 1px solid #e8edf1; border-bottom: 1px solid #e8edf1; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 26px; margin-bottom: 30px; }
.section-head.center { display: block; text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.eyebrow { color: var(--teal-dark); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(36px, 5vw, 66px); line-height: 1.08; letter-spacing: 0; margin-bottom: 20px; }
h2 { font-size: 31px; line-height: 1.2; letter-spacing: 0; margin-bottom: 10px; }
h3 { font-size: 18px; line-height: 1.3; letter-spacing: 0; }
.lead { font-size: 18px; color: #d4dde5; max-width: 720px; }
.section-desc { color: var(--muted); max-width: 680px; margin-bottom: 0; }
.hero { color: white; min-height: 615px; display: grid; align-items: center; position: relative; overflow: hidden; background:
  linear-gradient(90deg, rgba(6,19,32,.96) 0%, rgba(8,27,44,.9) 50%, rgba(8,31,47,.75) 100%),
  repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,.025) 80px),
  repeating-linear-gradient(0deg, transparent 0 79px, rgba(255,255,255,.025) 80px), #0b1d2f; }
.hero::after { content:""; position:absolute; right:-10%; bottom:-42%; width:620px; height:620px; border:1px solid rgba(0,166,154,.32); border-radius:50%; box-shadow: 0 0 0 80px rgba(0,166,154,.04), 0 0 0 160px rgba(0,166,154,.025); }
.hero-inner { position: relative; z-index: 2; padding: 84px 0 48px; }
.hero .eyebrow { color: #55d6cd; }
.hero h1 { max-width: 850px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 54px; }
.hero .btn-outline { color: white; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.05); }
.hero .btn-outline:hover { background: rgba(255,255,255,.12); }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.13); max-width: 860px; }
.hero-stat { padding: 21px 26px 8px 0; }
.hero-stat + .hero-stat { border-left: 1px solid rgba(255,255,255,.13); padding-left: 26px; }
.hero-stat strong { display: block; font-size: 24px; color: white; }
.hero-stat span { color: #9db0c0; font-size: 12px; }

/* grids and cards */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { padding: 24px 22px; border-left: 3px solid var(--teal); background: white; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0 var(--radius) var(--radius) 0; }
.feature-icon { width: 38px; height: 38px; display: grid; place-items: center; color: var(--teal-dark); background: #e5f6f4; border-radius: 7px; margin-bottom: 18px; }
.feature-icon svg { width: 20px; }
.feature h3 { margin-bottom: 7px; }
.feature p { color: var(--muted); font-size: 14px; margin-bottom: 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-btn { min-height: 37px; border: 1px solid var(--line); border-radius: 7px; background: white; color: #4b5c70; padding: 7px 14px; cursor: pointer; font-size: 13px; font-weight: 700; }
.filter-btn.active, .filter-btn:hover { color: white; background: var(--navy); border-color: var(--navy); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card { position: relative; display: flex; flex-direction: column; min-height: 398px; border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: 22px; box-shadow: 0 2px 6px rgba(20,40,60,.025); }
.product-card:hover { border-color: #b8c8d3; box-shadow: var(--shadow); transform: translateY(-2px); transition: .2s ease; }
.card-top { display:flex; justify-content:space-between; gap:10px; min-height: 55px; }
.product-card h3 { margin-bottom: 5px; }
.product-card .desc { color: var(--muted); font-size: 13px; min-height: 43px; }
.badge { display: inline-flex; align-items:center; width: fit-content; white-space:nowrap; border-radius: 12px; padding: 3px 8px; font-size: 10px; font-weight: 800; background: #e9f6ef; color: var(--green); border: 1px solid #cceada; }
.badge.recommended { background: #fff5df; color: #a56a12; border-color: #f1dfb4; }
.badge.limited { color: var(--red); background: #fff0f0; border-color: #f3cfcf; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; }
.spec { border: 1px solid #e7edf1; background: #f9fbfc; border-radius: 6px; padding: 7px 8px; font-size: 11px; color: #536477; display: flex; justify-content: space-between; gap: 6px; }
.spec strong { color: var(--ink); }
.field { display: block; }
.field > span { display: block; font-size: 12px; font-weight: 700; color: #4b5d70; margin-bottom: 6px; }
.input, .select, .textarea { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 7px; padding: 8px 11px; outline: none; background: white; color: var(--ink); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,166,154,.12); }
.textarea { min-height: 92px; resize: vertical; }
.error { color: var(--red); font-size: 11px; margin-top: 4px; display: block; }
.card-bottom { display:flex; align-items:end; justify-content:space-between; gap:12px; margin-top:auto; padding-top:18px; }
.price strong { display: block; font-size: 26px; line-height: 1.1; color: var(--navy); }
.price span { font-size: 11px; color: var(--muted); }
.product-actions { display:flex; gap:7px; }

/* data center */
.dc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dc-card { border: 1px solid var(--line); border-radius: var(--radius); background: white; overflow: hidden; }
.dc-visual { height: 130px; padding: 20px; color: white; background: linear-gradient(135deg, #102c43, #0d4c58); display:flex; align-items:flex-end; justify-content:space-between; position:relative; }
.dc-visual::before { content:""; position:absolute; inset:0; opacity:.2; background: repeating-linear-gradient(90deg, transparent 0 35px, rgba(255,255,255,.15) 36px), repeating-linear-gradient(0deg, transparent 0 35px, rgba(255,255,255,.12) 36px); }
.dc-visual h3, .dc-visual span { position:relative; z-index:1; margin:0; }
.dc-visual span { font-size:11px; opacity:.78; }
.dc-body { padding: 20px; }
.dc-row { font-size: 12px; display:flex; justify-content:space-between; gap:12px; padding:7px 0; border-bottom:1px solid #edf1f4; }
.dc-row span { color: var(--muted); }
.dc-features { display:flex; flex-wrap:wrap; gap:6px; margin-top:14px; }
.dc-features span { padding:4px 7px; border-radius:5px; background:#eef5f5; color:#33726e; font-size:10px; }

/* query */
.query-panel { border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: 25px; box-shadow: var(--shadow); }
.query-form { display:grid; grid-template-columns: repeat(5, 1fr); gap: 15px; align-items:end; }
.query-actions { display:flex; gap:8px; grid-column: span 2; }
.result-header { margin: 34px 0 16px; display:flex; justify-content:space-between; align-items:center; }
.empty-state { padding: 70px 20px; border: 1px dashed #bdcbd5; border-radius: var(--radius); text-align:center; color:var(--muted); background:#fbfcfd; }

/* pricing */
.billing-switch { display:inline-flex; border:1px solid var(--line); border-radius:7px; background:white; padding:3px; }
.billing-switch button { min-height:34px; border:0; background:transparent; border-radius:5px; padding:6px 13px; cursor:pointer; color:var(--muted); font-weight:700; font-size:12px; }
.billing-switch button.active { background:var(--navy); color:white; }
.pricing-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.price-panel { border:1px solid var(--line); border-radius:var(--radius); padding:24px; background:white; }
.price-panel h3 { margin:15px 0 3px; }
.price-panel ul { list-style:none; padding:0; margin:18px 0; }
.price-panel li { font-size:13px; color:var(--muted); display:flex; justify-content:space-between; gap:10px; padding:8px 0; border-bottom:1px solid #edf1f4; }
.price-panel li strong { color:var(--ink); }

/* cart / checkout */
.two-col { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(280px,.8fr); gap:24px; align-items:start; }
.cart-list { display:grid; gap:10px; }
.cart-item { border:1px solid var(--line); border-radius:var(--radius); background:white; padding:17px; display:grid; grid-template-columns:46px minmax(0,1fr) auto auto auto; align-items:center; gap:14px; }
.item-icon { width:46px; height:46px; border-radius:7px; display:grid; place-items:center; color:var(--teal-dark); background:#e5f6f4; }
.item-icon svg { width:21px; }
.item-name strong { display:block; }
.item-name span { color:var(--muted); font-size:12px; }
.qty { display:flex; align-items:center; gap:7px; }
.qty button { width:29px; height:29px; border:1px solid var(--line); background:white; border-radius:6px; cursor:pointer; }
.qty b { width:24px; text-align:center; }
.item-total { min-width:75px; text-align:right; font-weight:800; }
.remove-btn { width:34px; height:34px; border:0; color:#8290a0; background:transparent; cursor:pointer; }
.remove-btn:hover { color:var(--red); }
.summary { border:1px solid var(--line); border-radius:var(--radius); padding:22px; background:white; position:sticky; top:92px; }
.summary h3 { margin-bottom:16px; }
.summary-row { display:flex; justify-content:space-between; gap:15px; font-size:13px; color:var(--muted); margin:9px 0; }
.summary-row.discount { color:var(--green); }
.summary-row.total { color:var(--ink); border-top:1px solid var(--line); margin-top:15px; padding-top:15px; font-size:17px; font-weight:800; }
.cart-controls { display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; margin-top:15px; }
.checkout-form { display:grid; gap:18px; }
.panel { border:1px solid var(--line); border-radius:var(--radius); padding:23px; background:white; }
.panel h3 { margin-bottom:18px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:15px; }
.span-2 { grid-column:span 2; }
.payment-list { display:grid; gap:9px; }
.radio-card { border:1px solid var(--line); border-radius:7px; padding:12px; display:flex; align-items:center; gap:10px; cursor:pointer; }
.radio-card:has(input:checked) { border-color:var(--teal); background:#edf9f8; }
.check-row { display:flex; gap:10px; align-items:flex-start; font-size:13px; color:var(--muted); }
.success { max-width:660px; margin:40px auto; text-align:center; border:1px solid #bfe5d4; border-radius:var(--radius); background:#f0faf5; padding:52px 30px; }
.success-icon { width:64px; height:64px; margin:0 auto 18px; border-radius:50%; color:white; background:var(--green); display:grid; place-items:center; font-size:30px; }

/* auth/account */
.auth-shell { min-height:calc(100vh - 68px); display:grid; place-items:center; padding:60px 20px; background:var(--soft); }
.auth-card { width:min(440px,100%); border:1px solid var(--line); border-radius:var(--radius); background:white; padding:30px; box-shadow:var(--shadow); }
.auth-card .logo { justify-content:center; display:flex; margin-bottom:22px; }
.auth-card h1 { font-size:27px; text-align:center; margin-bottom:6px; }
.form-stack { display:grid; gap:14px; }
.auth-swap { text-align:center; font-size:13px; color:var(--muted); margin:18px 0 0; }
.auth-swap button { border:0; background:none; color:var(--teal-dark); cursor:pointer; font-weight:800; }
.account-head { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:25px; }
.account-head h1 { font-size:34px; margin:0; }
.tabs { display:flex; border-bottom:1px solid var(--line); margin-bottom:26px; }
.tab { border:0; background:none; color:var(--muted); padding:11px 17px; cursor:pointer; font-weight:700; border-bottom:2px solid transparent; }
.tab.active { color:var(--teal-dark); border-bottom-color:var(--teal); }
.metric-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.metric { border:1px solid var(--line); border-radius:var(--radius); background:white; padding:20px; }
.metric span { color:var(--muted); font-size:12px; }
.metric strong { display:block; font-size:26px; margin-top:5px; }
.order-list { display:grid; gap:12px; }
.order-card { border:1px solid var(--line); border-radius:var(--radius); padding:18px; }
.order-head { display:flex; justify-content:space-between; gap:16px; align-items:center; }
.order-meta { color:var(--muted); font-size:12px; }
.profile-form { max-width:620px; }

/* about/footer/modal/toast */
.about-grid { display:grid; grid-template-columns:1.1fr .9fr; gap:60px; align-items:start; }
.about-copy p { color:var(--muted); font-size:16px; }
.value-list { display:grid; gap:12px; }
.value { border-left:3px solid var(--teal); padding:13px 16px; background:var(--soft); }
.value strong { display:block; }
.value span { color:var(--muted); font-size:13px; }
.contact-band { margin-top:60px; color:white; background:var(--navy); border-radius:var(--radius); padding:30px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.contact-band p { color:#adc0cf; margin:4px 0 0; }
.footer { color:#a4b2c0; background:#071522; border-top:4px solid var(--teal); }
.footer-grid { display:grid; grid-template-columns:2fr repeat(3,1fr); gap:45px; padding:50px 0 35px; }
.footer .logo { color:white; }
.footer-intro { max-width:350px; font-size:13px; margin-top:16px; }
.footer h3 { color:white; font-size:13px; margin-bottom:13px; }
.footer ul { list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.footer li button, .footer li a { border:0; padding:0; background:none; color:#91a2b2; font-size:12px; cursor:pointer; }
.footer li button:hover, .footer li a:hover { color:white; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.09); padding:17px 0; font-size:11px; display:flex; justify-content:space-between; gap:18px; }
.toast { position:fixed; z-index:100; left:50%; bottom:24px; transform:translateX(-50%); color:white; background:#102033; box-shadow:var(--shadow); border-radius:7px; padding:11px 16px; font-size:13px; font-weight:700; }
.modal-backdrop { position:fixed; inset:0; z-index:80; background:rgba(4,15,25,.66); display:grid; place-items:center; padding:20px; }
.modal { width:min(620px,100%); max-height:90vh; overflow:auto; background:white; border-radius:var(--radius); box-shadow:0 30px 80px rgba(0,0,0,.28); }
.modal-head { position:sticky; top:0; display:flex; align-items:center; justify-content:space-between; gap:15px; background:white; border-bottom:1px solid var(--line); padding:17px 20px; }
.modal-head h3 { margin:0; }
.modal-body { padding:22px; }
.modal-close { width:34px; height:34px; border:1px solid var(--line); background:white; border-radius:6px; cursor:pointer; }

@media (max-width: 1020px) {
  .main-nav { display:none; }
  .navbar { gap:12px; }
  .nav-actions { margin-left:auto; }
  .mobile-toggle { display:inline-grid; }
  .mobile-nav.open { display:grid; position:fixed; z-index:55; top:68px; left:0; right:0; background:white; border-bottom:1px solid var(--line); padding:14px 20px 20px; box-shadow:var(--shadow); }
  .mobile-nav .nav-link { text-align:left; padding:10px; border-bottom:1px solid #edf1f4; }
  .mobile-nav .nav-link.active::after { display:none; }
  .feature-grid, .pricing-grid { grid-template-columns:1fr 1fr; }
  .product-grid, .dc-grid { grid-template-columns:1fr 1fr; }
  .query-form { grid-template-columns:repeat(3,1fr); }
  .query-actions { grid-column:span 1; }
  .footer-grid { grid-template-columns:2fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column:2; }
}
@media (max-width: 760px) {
  .container { width:min(100% - 28px,var(--max)); }
  .site-header { height:62px; }
  .navbar { height:62px; }
  .mobile-nav.open { top:62px; }
  .logo-copy span { display:none; }
  .lang-button { min-width:40px; width:40px; padding:0; }
  .lang-button .lang-label { display:none; }
  .auth-nav-btn { display:none; }
  .section { padding:52px 0; }
  .section-head { display:block; }
  h1 { font-size:37px; }
  h2 { font-size:27px; }
  .hero { min-height:600px; }
  .hero-inner { padding-top:65px; }
  .hero-stats { grid-template-columns:1fr 1fr; }
  .hero-stat:nth-child(3) { border-left:0; padding-left:0; border-top:1px solid rgba(255,255,255,.13); }
  .hero-stat:nth-child(4) { border-top:1px solid rgba(255,255,255,.13); }
  .feature-grid, .product-grid, .dc-grid, .pricing-grid, .metric-grid { grid-template-columns:1fr; }
  .query-form { grid-template-columns:1fr; }
  .query-actions { grid-column:auto; }
  .two-col { grid-template-columns:1fr; }
  .summary { position:static; }
  .cart-item { grid-template-columns:42px minmax(0,1fr) auto; }
  .qty { grid-column:2; }
  .item-total { grid-column:3; grid-row:2; }
  .remove-btn { grid-column:3; grid-row:1; }
  .form-grid { grid-template-columns:1fr; }
  .span-2 { grid-column:auto; }
  .about-grid { grid-template-columns:1fr; gap:30px; }
  .contact-band { display:block; }
  .contact-band .btn { margin-top:18px; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:30px; }
  .footer-grid > :first-child { grid-column:span 2; }
  .footer-grid > :last-child { grid-column:auto; }
  .footer-bottom { display:block; }
  .footer-bottom span { display:block; margin-bottom:4px; }
  .account-head { align-items:flex-start; }
}
@media (max-width: 420px) {
  .logo-mark { width:35px; height:35px; }
  .logo-copy strong { font-size:16px; }
  .nav-actions { gap:5px; }
  .icon-btn, .lang-button { width:35px; height:35px; }
  .hero-actions .btn { width:100%; }
  .hero-stat { padding-right:10px; }
  .hero-stat + .hero-stat { padding-left:13px; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-grid > :first-child { grid-column:auto; }
  .product-actions .btn-outline { display:none; }
}
