
*{box-sizing:border-box}
html{scroll-behavior:smooth}
:root{
  --bg:#f5f7fb;
  --ink:#0b1220;
  --muted:#657084;
  --navy:#07111f;
  --navy2:#101a2d;
  --blue:#1d4ed8;
  --gold:#c9a46a;
  --line:#e3e9f2;
  --panel:#ffffff;
  --soft:#f8fafc;
  --container:1240px;
  --shadow:0 24px 80px rgba(15,23,42,.10);
}
body{
  margin:0;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif;
  background:linear-gradient(180deg,#f8fafc 0%,#eef3f8 100%);
  color:var(--ink);
}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%;height:auto}
button{font:inherit}
.site-header{
  width:min(var(--container),calc(100% - 32px));
  margin:18px auto 0;
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  border:1px solid rgba(226,232,240,.92);
  border-radius:26px;
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(18px);
  position:sticky;
  top:16px;
  z-index:50;
  box-shadow:0 18px 52px rgba(15,23,42,.08);
}
.brand{display:flex;align-items:center;gap:12px;min-width:max-content}
.brand-mark{
  width:48px;height:48px;border-radius:16px;
  display:grid;place-items:center;
  background:linear-gradient(135deg,var(--navy),var(--blue));
  color:#fff;font-size:22px;font-weight:900;
}
.brand strong{display:block;font-size:18px;line-height:1.05}
.brand em{display:block;font-style:normal;font-size:12px;color:#7a8595;letter-spacing:.12em;margin-top:2px}
.main-nav{display:flex;align-items:center;gap:7px}
.main-nav a,.main-nav button{
  border:0;background:transparent;color:var(--ink);
  padding:10px 12px;border-radius:999px;font-weight:850;cursor:pointer;
}
.main-nav button{background:var(--navy);color:#fff}
.menu-btn{
  display:none;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  padding:10px 14px;
  font-weight:900;
}
.eyebrow{
  margin:0 0 12px;
  font-size:12px;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-weight:950;
  color:var(--blue);
}
.hero{
  width:min(var(--container),calc(100% - 32px));
  margin:34px auto;
  min-height:720px;
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  border-radius:44px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:var(--shadow);
}
.hero-bg{
  position:absolute;inset:0;
  background:url("../images/citadelle-hero-bg.webp") center/cover no-repeat;
}
.hero-copy,.hero-showcase{position:relative;z-index:2}
.hero-copy{
  padding:64px 58px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.hero-copy h1{
  margin:0 0 22px;
  color:#fff;
  font-size:clamp(54px,7vw,104px);
  line-height:.88;
  letter-spacing:-.078em;
}
.hero .eyebrow{color:#cfe0ff}
.lead{
  display:block;
  color:#dbeafe;
  font-size:18px;
  line-height:1.9;
  max-width:850px;
}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.button,.device-btn,.table-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:14px 22px;
  border:1px solid transparent;
  font-weight:900;
  cursor:pointer;
}
.button.primary,.device-btn,.table-btn{
  background:linear-gradient(135deg,var(--gold),#efd183);
  color:#07111f;
  box-shadow:0 16px 36px rgba(201,164,106,.18);
}
.button.secondary{background:#fff;color:var(--ink);border-color:var(--line)}
.button.subtle{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.22)}
.hero-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:38px;
}
.hero-stats article{
  padding:18px;
  border-radius:24px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  backdrop-filter:blur(14px);
}
.hero-stats b{display:block;font-size:18px;color:#fff}
.hero-stats span{display:block;color:#dbeafe;margin-top:5px}
.hero-showcase{min-height:720px}
.product-focus,.product-mini{
  position:absolute;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(16px);
  box-shadow:0 26px 80px rgba(0,0,0,.22);
}
.product-focus{
  width:360px;height:450px;left:125px;top:110px;border-radius:38px;
}
.product-focus img{max-height:400px;filter:drop-shadow(0 24px 34px rgba(0,0,0,.30))}
.product-mini{border-radius:28px}
.product-mini.flex{width:200px;height:220px;right:68px;top:90px}
.product-mini.flex img{max-height:165px}
.product-mini.nano{width:225px;height:190px;right:105px;bottom:105px}
.product-mini.nano img{max-height:150px}
.showcase-note{
  position:absolute;
  left:92px;
  bottom:80px;
  padding:20px 22px;
  border-radius:26px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(255,255,255,.95);
  backdrop-filter:blur(14px);
}
.showcase-note strong{display:block}
.showcase-note span{display:block;color:var(--muted);margin-top:5px}
.quickline,.section,.download-module,.sub-hero{
  width:min(var(--container),calc(100% - 32px));
  margin:30px auto;
}
.quickline{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.quickline a,.quickline button{
  text-align:left;
  padding:24px;
  border-radius:28px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 14px 44px rgba(15,23,42,.06);
}
.quickline button{cursor:pointer}
.quickline b{display:block;font-size:20px}
.quickline span{display:block;margin-top:8px;color:var(--muted);word-break:break-word}
.section,.sub-hero{
  padding:38px;
  border-radius:38px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.sub-main{padding-top:10px}
.sub-hero{
  background:linear-gradient(135deg,var(--navy),#1e3a8a);
  color:#fff;
}
.sub-hero h1{
  font-size:clamp(46px,6vw,92px);
  line-height:.9;
  letter-spacing:-.07em;
  margin:0 0 16px;
}
.sub-hero span{color:#dbeafe}
.sub-hero .eyebrow{color:#bfdbfe}
.section-title{margin-bottom:28px}
.section-title.center{text-align:center}
.section-title h2,.authority-copy h2,.download-module h2,.support-copy h2,.faq-rich h2,.modal-card h2{
  font-size:clamp(38px,5vw,68px);
  line-height:.94;
  letter-spacing:-.06em;
  margin:0 0 14px;
}
.section-title span,.authority-copy span,.download-module span,.support-copy span,.sub-hero span{
  display:block;
  color:var(--muted);
  font-size:17px;
  line-height:1.9;
  max-width:860px;
}
.section-title.center span{margin-left:auto;margin-right:auto}
.access-grid{
  display:grid;
  grid-template-columns:1.08fr .92fr .92fr;
  grid-template-areas:
    "main support download"
    "main contact download";
  gap:16px;
}
.access-card{
  min-height:245px;
  padding:26px;
  text-align:left;
  border-radius:30px;
  border:1px solid var(--line);
  background:var(--soft);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.access-card small,.device-copy span{
  color:var(--blue);
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:950;
}
.access-card h3,.device-card h3,.authority-grid h3,.path-grid h3,.security-grid h3,.support-section h3{
  margin:16px 0 10px;
  font-size:29px;
  line-height:1.05;
  letter-spacing:-.045em;
}
.access-card p,.device-card p,.authority-grid p,.path-grid p,.security-grid p,.support-section p,.faq-rich p,.site-footer p{
  color:var(--muted);
  line-height:1.78;
}
.access-card strong{word-break:break-word}
.access-card.main{
  grid-area:main;
  background:linear-gradient(135deg,var(--navy),var(--blue));
  color:#fff;
}
.access-card.main small{color:#bfdbfe}
.access-card.main p,.access-card.main strong{color:#dbeafe}
.access-card:nth-child(2){grid-area:support}
.access-card.download{grid-area:download;background:#fff}
.access-card:nth-child(4){grid-area:contact;cursor:pointer}
.authority-section{
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:20px;
}
.authority-copy{
  padding:34px;
  border-radius:32px;
  background:linear-gradient(135deg,var(--navy),#1e3a8a);
  color:#fff;
}
.authority-copy span{color:#dbeafe}
.authority-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}
.authority-grid article,.path-grid article,.security-grid article{
  padding:24px;
  border-radius:28px;
  background:var(--soft);
  border:1px solid var(--line);
}
.device-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:16px;
}
.device-card{
  min-height:345px;
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:18px;
  align-items:center;
  padding:24px;
  border-radius:32px;
  background:var(--soft);
  border:1px solid var(--line);
}
.device-card:not(.flagship){grid-template-columns:230px 1fr}
.device-card.flagship{
  grid-row:span 3;
  grid-template-columns:1fr;
  background:linear-gradient(180deg,#fff,#eef5ff);
}
.device-card figure{
  min-height:210px;
  margin:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:26px;
  background:#fff;
  border:1px solid var(--line);
}
.device-card.flagship figure{min-height:450px}
.device-card img{
  max-height:180px;
  object-fit:contain;
  filter:drop-shadow(0 20px 26px rgba(15,23,42,.16));
}
.device-card.flagship img{max-height:380px}
.device-btn{margin-top:16px}
.table-wrap{
  overflow:auto;
  border-radius:26px;
  border:1px solid var(--line);
  background:#fff;
}
table{width:100%;border-collapse:collapse}
th,td{
  text-align:left;
  padding:18px;
  border-bottom:1px solid var(--line);
}
th{background:#eef5ff}
.download-module{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:24px;
  padding:42px;
  border-radius:38px;
  background:linear-gradient(135deg,var(--navy),var(--blue));
  color:#fff;
  box-shadow:var(--shadow);
}
.download-module span{color:#dbeafe}
.download-module .eyebrow{color:#bfdbfe}
.path-grid,.security-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.path-grid b,.security-grid span{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border-radius:16px;
  background:var(--navy);
  color:#fff;
  margin-bottom:16px;
  font-weight:900;
}
.security-grid{
  grid-template-columns:repeat(4,1fr);
}
.security-grid article{
  background:#fff;
}
.security-grid article:nth-child(1),
.security-grid article:nth-child(2),
.security-grid article:nth-child(3),
.security-grid article:nth-child(4){
  background:#f8fbff;
}
.faq-columns{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}
.faq-columns details{
  padding:22px;
  border-radius:24px;
  background:var(--soft);
  border:1px solid var(--line);
}
.faq-columns summary{
  font-size:20px;
  font-weight:900;
  cursor:pointer;
}
.support-section{
  display:grid;
  grid-template-columns:1.05fr .75fr;
  gap:20px;
}
.support-copy,.qr-card{
  padding:30px;
  border-radius:32px;
  background:var(--soft);
  border:1px solid var(--line);
}
.tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:20px;
}
.tags em{
  font-style:normal;
  padding:9px 12px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--line);
  font-size:13px;
}
.qr-card{text-align:center}
.qr-card img{
  width:min(300px,100%);
  margin:0 auto 18px;
  padding:12px;
  border-radius:26px;
  background:#fff;
  border:1px solid var(--line);
}
.site-footer{
  margin-top:48px;
  padding:42px 6vw;
  background:var(--navy);
  color:#fff;
  display:flex;
  justify-content:space-between;
  gap:24px;
}
.site-footer span{
  display:block;
  color:#bfdbfe;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:12px;
  font-weight:950;
}
.site-footer strong{display:block;font-size:34px;margin:8px 0}
.site-footer p{color:#dbeafe;max-width:760px}
.footer-links{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:flex-end;
}
.footer-links button{
  border:1px solid rgba(255,255,255,.22);
  background:transparent;
  color:#fff;
  border-radius:999px;
  padding:12px 18px;
  font-weight:900;
  cursor:pointer;
}
.contact-modal{
  display:none;
  position:fixed;
  inset:0;
  z-index:100;
  align-items:center;
  justify-content:center;
}
.contact-modal.open{display:flex}
.modal-mask{
  position:absolute;
  inset:0;
  background:rgba(7,17,31,.70);
  backdrop-filter:blur(12px);
}
.modal-card{
  position:relative;
  z-index:2;
  width:min(460px,calc(100% - 24px));
  background:#fff;
  color:var(--ink);
  border-radius:34px;
  padding:30px;
  text-align:center;
  box-shadow:0 30px 90px rgba(15,23,42,.28);
}
.modal-close{
  position:absolute;
  right:14px;
  top:10px;
  border:0;
  background:transparent;
  font-size:30px;
  cursor:pointer;
}
.modal-qr{
  width:min(300px,100%);
  margin:18px auto;
  padding:12px;
  border-radius:26px;
  background:#f8fbff;
  border:1px solid var(--line);
}
.modal-card p{color:var(--muted)}
.modal-actions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}
.float-contact{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:80;
  border:0;
  border-radius:999px;
  background:linear-gradient(135deg,var(--navy),var(--blue));
  color:#fff;
  padding:14px 18px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 20px 44px rgba(15,23,42,.24);
}
body.lock{overflow:hidden}

@media(max-width:1120px){
  .main-nav{display:none}
  .main-nav.show{
    display:flex;
    position:absolute;
    top:76px;
    left:0;
    right:0;
    flex-direction:column;
    align-items:flex-start;
    background:#fff;
    border:1px solid var(--line);
    border-radius:24px;
    padding:16px;
    box-shadow:var(--shadow);
  }
  .menu-btn{display:block}
  .hero,.authority-section,.support-section{grid-template-columns:1fr}
  .hero-showcase{min-height:520px}
  .quickline,.authority-grid,.path-grid,.security-grid,.faq-columns{grid-template-columns:repeat(2,1fr)}
  .access-grid{
    grid-template-columns:1fr 1fr;
    grid-template-areas:"main main" "support download" "contact download";
  }
  .device-grid{grid-template-columns:1fr}
  .device-card.flagship{grid-row:auto}
  .download-module,.site-footer{grid-template-columns:1fr;display:grid}
  .footer-links{align-items:flex-start}
}
@media(max-width:720px){
  .hero{grid-template-columns:1fr;min-height:auto}
  .hero-copy{padding:34px 24px}
  .hero-copy h1{font-size:42px}
  .hero-showcase{display:none}
  .hero-stats,.quickline,.authority-grid,.path-grid,.security-grid,.faq-columns,.access-grid{grid-template-columns:1fr}
  .access-grid{grid-template-areas:"main" "support" "download" "contact"}
  .section,.sub-hero,.download-module{padding:24px}
  .device-card,.device-card:not(.flagship){grid-template-columns:1fr}
  .hero-actions,.modal-actions{flex-direction:column}
  .button,.device-btn,.table-btn{width:100%}
}
