:root {
  --bg:#070A12;
  --panel:rgba(16,22,38,.78);
  --line:rgba(148,163,184,.16);
  --text:#F4F7FB;
  --muted:#A8B3C7;
  --soft:#6F7A90;
  --cyan:#33D6FF;
  --violet:#8B5CF6;
  --green:#22C55E;
  --lime:#7CFF6B;
  --max:1180px;
}
*{box-sizing:border-box;margin:0;padding:0}
body{
  min-height:100vh;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:
    radial-gradient(circle at 14% 0%,rgba(139,92,246,.30),transparent 34%),
    radial-gradient(circle at 84% 8%,rgba(51,214,255,.22),transparent 34%),
    radial-gradient(circle at 92% 40%,rgba(34,197,94,.14),transparent 32%),
    #070A12;
  color:var(--text);
  line-height:1.62;
  overflow-x:hidden;
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:58px 58px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.9),transparent 86%);
}
a{color:inherit;text-decoration:none}
.container{width:min(var(--max),calc(100% - 48px));margin:0 auto}
.topbar{
  position:sticky;
  top:0;
  z-index:20;
  border-bottom:1px solid rgba(255,255,255,.07);
  background:rgba(7,10,18,.76);
  backdrop-filter:blur(18px);
}
.nav{
  min-height:74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:900;
  letter-spacing:.04em;
  white-space:nowrap;
}
.mark{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--violet),var(--cyan));
  box-shadow:0 0 32px rgba(51,214,255,.22);
  border:1px solid rgba(255,255,255,.18);
}
.links{
  display:flex;
  align-items:center;
  gap:18px;
  color:var(--muted);
  font-size:14px;
  font-weight:750;
}
.links a:hover,.links a.active{color:var(--text)}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 16px;
  border-radius:14px;
  font-weight:850;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(16,22,38,.72);
  color:var(--text);
}
.btn.primary{
  color:#041018;
  border:0;
  background:linear-gradient(135deg,var(--violet),var(--cyan));
  box-shadow:0 18px 40px rgba(51,214,255,.16);
}
.hero{padding:74px 0 32px}
.crumb{display:inline-flex;margin-bottom:22px;color:#dce7f9}
h1{
  font-size:clamp(38px,5vw,68px);
  line-height:.98;
  letter-spacing:-.05em;
  margin-bottom:18px;
}
h2{font-size:26px;margin-bottom:10px}
h3{font-size:18px;margin-bottom:6px}
.gradient{
  background:linear-gradient(135deg,var(--violet),var(--cyan) 58%,var(--green));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.lead{max-width:820px;color:var(--muted);font-size:18px}
.notice{
  margin-top:24px;
  padding:16px 18px;
  border-radius:18px;
  border:1px solid rgba(51,214,255,.18);
  background:rgba(51,214,255,.07);
  color:#d8f7ff;
  max-width:900px;
}
.grid{display:grid;grid-template-columns:1.05fr .95fr;gap:22px;padding:28px 0 70px}
.grid.three{grid-template-columns:repeat(3,1fr)}
.card{
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.028));
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:0 24px 80px rgba(0,0,0,.34);
  backdrop-filter:blur(18px);
  padding:24px;
}
.card p{color:var(--muted);margin:8px 0}
.list{display:grid;gap:12px;margin-top:18px}
.item{
  padding:15px;
  border-radius:18px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.07);
}
.item strong{display:block}
.item span{display:block;color:var(--muted);font-size:13px}
.mail{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:7px 11px;
  border-radius:999px;
  color:#dbe7ff;
  background:rgba(148,163,184,.10);
  border:1px solid rgba(148,163,184,.14);
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}
.dot{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 16px var(--green)}
.quote{
  margin-top:18px;
  padding:18px;
  border-radius:18px;
  background:rgba(139,92,246,.10);
  border:1px solid rgba(139,92,246,.18);
  color:#e4dcff;
  font-weight:750;
}
footer{
  border-top:1px solid rgba(255,255,255,.08);
  padding:28px 0;
  color:var(--soft);
  font-size:13px;
}
.foot{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.foot a{color:#c9f6ff}
@media(max-width:900px){
  .nav{align-items:flex-start;flex-direction:column;padding:16px 0}
  .links{overflow-x:auto;max-width:100%;padding-bottom:4px}
  .grid,.grid.three{grid-template-columns:1fr}
}
@media(max-width:640px){
  .container{width:min(100% - 30px,var(--max))}
  .hero{padding-top:44px}
  .lead{font-size:16px}
  .mail{align-items:flex-start;flex-direction:column}
  .btn{width:100%}
}


/* v1.2 logo/header consistency fix */
.brand-logo-link {
  gap: 0;
  min-width: max-content;
}

.brand-logo-img {
  display: block;
  width: clamp(150px, 13vw, 220px);
  max-height: 48px;
  height: auto;
  object-fit: contain;
}

@media(max-width:900px){
  .brand-logo-img {
    width: 190px;
    max-height: 46px;
  }
}

@media(max-width:640px){
  .brand-logo-img {
    width: 172px;
    max-height: 42px;
  }
}


/* HAKANSOFT WEB v1.3 Layer 005D - Corporate pages language switch */
.page-language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.62);
  margin-left: 12px;
}

.page-language-switch .lang-btn {
  border: 0;
  border-radius: 10px;
  padding: 7px 10px;
  background: transparent;
  color: rgba(226, 232, 240, 0.78);
  font-weight: 800;
  cursor: pointer;
}

.page-language-switch .lang-btn.active {
  color: #ffffff;
  background: linear-gradient(135deg, #7c5cff, #2bdcff);
}

@media(max-width: 720px) {
  .page-language-switch {
    margin-left: 0;
    margin-top: 8px;
  }
}

/* HAKANSOFT WEB v1.3 Layer 005E-2 - Unified professional corporate pages */
.hks-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(124, 92, 255, 0.22), transparent 34%),
    radial-gradient(circle at 82% 14%, rgba(42, 220, 255, 0.18), transparent 38%),
    linear-gradient(120deg, rgba(11, 9, 24, 0.96), rgba(3, 21, 20, 0.96));
}

.hks-hero {
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: 36px;
}

.back-pill {
  display: inline-flex;
  align-items: center;
  width: max-content;
  text-decoration: none;
  margin-bottom: 22px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  border: 1px solid rgba(148, 163, 184, 0.2);
  font-weight: 800;
}

.hks-hero h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hks-hero h1 span {
  background: linear-gradient(135deg, #7c5cff, #2bdcff, #52ff8f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hks-hero h1 strong {
  color: #fff;
  font-weight: 950;
}

.hks-hero p {
  max-width: 880px;
  color: rgba(226, 232, 240, 0.76);
  font-size: 17px;
  line-height: 1.75;
  margin: 24px 0 22px;
}

.notice {
  max-width: 920px;
  border: 1px solid rgba(43, 220, 255, 0.22);
  background: rgba(8, 47, 73, 0.28);
  color: rgba(241, 245, 249, 0.92);
  border-radius: 18px;
  padding: 18px 20px;
  line-height: 1.7;
}

.hks-content {
  padding-bottom: 80px;
}

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

.hks-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hks-card {
  border-radius: 24px;
  padding: 28px;
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.hks-card h2 {
  color: #fff;
  font-size: 28px;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.hks-card p,
.hks-card span {
  color: rgba(226, 232, 240, 0.74);
  line-height: 1.7;
}

.hks-badge {
  display: inline-flex;
  width: max-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.11);
  border: 1px solid rgba(148, 163, 184, 0.18);
  font-weight: 900;
  font-size: 13px;
}

.hks-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  margin: auto 8px auto 0;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.8);
}

.hks-mini {
  margin-top: 14px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.hks-mini b {
  display: block;
  color: #fff;
  margin-bottom: 4px;
}

.hks-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(160px, 1.6fr) auto;
  align-items: center;
  gap: 14px;
}

.hks-mail {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: max-content;
  text-decoration: none;
  color: #031016;
  font-weight: 950;
  padding: 12px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #8b5cf6, #2bdcff);
}

.hks-quote {
  margin-top: 20px;
  padding: 18px;
  border-radius: 18px;
  color: #fff;
  font-weight: 900;
  background: rgba(124, 92, 255, 0.16);
  border: 1px solid rgba(124, 92, 255, 0.28);
}

.hks-language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.62);
  margin-left: 12px;
}

.hks-language-switch .lang-btn {
  border: 0;
  border-radius: 10px;
  padding: 7px 10px;
  background: transparent;
  color: rgba(226, 232, 240, 0.78);
  font-weight: 900;
  cursor: pointer;
}

.hks-language-switch .lang-btn.active {
  color: #ffffff;
  background: linear-gradient(135deg, #7c5cff, #2bdcff);
}

.hks-footer {
  background: rgba(2, 6, 23, 0.94);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding: 42px 0 28px;
}

.hks-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.hks-footer h3 {
  color: #fff;
  margin: 0 0 12px;
}

.hks-footer a {
  display: block;
  color: rgba(226, 232, 240, 0.78);
  text-decoration: none;
  margin: 8px 0;
  word-break: break-word;
}

.hks-footer p {
  color: rgba(226, 232, 240, 0.68);
  line-height: 1.7;
}

.hks-footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(226, 232, 240, 0.7);
}

@media (max-width: 980px) {
  .hks-grid,
  .hks-grid-3,
  .hks-footer-grid {
    grid-template-columns: 1fr;
  }

  .hks-row {
    grid-template-columns: 1fr;
  }

  .hks-language-switch {
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  .hks-hero {
    padding-top: 40px;
  }

  .hks-card {
    padding: 22px;
  }

  .hks-footer-bottom {
    flex-direction: column;
  }
}
