/* Campus CyberSafe — Studio Edition · accessible, privacy-first visual system */
:root{
  color-scheme:dark;
  --bg:#070c16;
  --panel:#101b2e;
  --panel2:#132239;
  --line:rgba(145,171,206,.15);
  --muted:#9badc5;
  --text:#f0f7ff;
  --teal:#63ead1;
  --blue:#87aeff;
  --purple:#bdabff;
  --orange:#ffd19a;
  --shadow:0 24px 60px rgba(0,0,0,.2);
}
html{background:#070c16}
body{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI","Noto Sans Arabic",Tahoma,sans-serif;
  background:var(--bg);
  color:var(--text);
}
body::before{
  position:fixed;
  inset:0;
  content:"";
  z-index:0;
  pointer-events:none;
  opacity:.9;
  background:
    radial-gradient(ellipse 34% 31% at 99% 3%,rgba(47,86,161,.11),transparent 87%),
    radial-gradient(ellipse 37% 40% at 36% 87%,rgba(32,109,127,.07),transparent 88%);
}
body::after{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:0;
  background-image:linear-gradient(rgba(149,183,210,.017) 1px,transparent 1px),linear-gradient(90deg,rgba(149,183,210,.017) 1px,transparent 1px);
  background-size:52px 52px;
  mask-image:linear-gradient(to right,transparent,#000 45%,#000 100%);
}
button,input,select{font:inherit}
::selection{background:#3fcfb7;color:#051c1b}
:focus-visible{outline:2px solid #77efdd;outline-offset:3px}
.app-shell{isolation:isolate}
.sidebar{
  width:266px;
  padding:29px 18px 22px;
  background:linear-gradient(165deg,#0d1524 0%,#0a1322 50%,#080f1d 100%);
  border-right:1px solid rgba(126,153,190,.15);
  box-shadow:7px 0 44px rgba(0,0,0,.10);
  z-index:10;
}
.brand{gap:13px;padding:3px 7px 17px;margin-bottom:39px;position:relative}
.brand::after{content:"";position:absolute;bottom:0;inset-inline:7px;height:1px;background:linear-gradient(to right,rgba(108,236,212,.24),transparent)}
.brand-icon{
  width:46px;height:47px;
  border-radius:15px;
  background:linear-gradient(145deg,rgba(105,255,217,.22),rgba(47,120,162,.12));
  border:1px solid rgba(112,243,207,.21);
  box-shadow:inset 0 1px rgba(228,255,252,.08),0 8px 27px rgba(13,171,151,.065);
}
.brand-icon svg{width:27px;height:31px}
.brand-name{font-size:12px;letter-spacing:.04em;font-weight:900}
.brand-name span{color:#66efda}
.brand-sub{font-size:7.2px;letter-spacing:.13em;color:#7896a8;margin-top:6px}
.sidebar-label{
  margin:0 0 15px;
  padding-inline:16px;
  color:#7790ad;
  font-size:10px;
  font-weight:850;
  letter-spacing:.175em;
}
.side-nav{gap:7px}
.nav-link{
  min-height:52px;
  border-radius:12px;
  padding:12px 14px;
  gap:13px;
  color:#9aadc7;
  background:transparent;
  border:1px solid transparent;
  font-size:12.5px;
  font-weight:680;
  transition:background .22s,border .22s,color .22s,transform .22s;
  position:relative;
}
.nav-link:hover{background:rgba(101,140,190,.075);border-color:rgba(141,178,218,.075);color:#f6fcff;transform:translateX(2px)}
.nav-link.active{
  color:#91ffe6;
  background:linear-gradient(90deg,rgba(76,215,187,.14),rgba(45,129,145,.055));
  border-color:rgba(102,240,208,.2);
  box-shadow:inset 3px 0 0 #57eac8,0 4px 22px rgba(18,99,104,.035);
}
.nav-glyph{
  height:24px;width:27px;display:grid;place-items:center;
  flex-shrink:0;color:#8199b6;font-size:17px;
}
.nav-link.active .nav-glyph{color:#63f1d5}
.ui-icon{display:inline-block;flex-shrink:0;vertical-align:middle}
.aside-note{
  background:linear-gradient(120deg,rgba(17,119,111,.115),rgba(20,50,77,.21));
  border:1px solid rgba(91,222,194,.15);
  color:#b9d5d8;
  border-radius:13px;
  padding:17px 13px;
  font-size:11px;
  margin-bottom:16px;
}
.sidebar-project{
  border-top-color:rgba(146,175,209,.13);
  padding-top:18px;
}
.sidebar-project-text strong{font-size:11.5px;letter-spacing:.015em}
.sidebar-project-text span{font-size:10px;color:#8ea8bc}
.sidebar-project-icon{border-radius:13px}
.main{min-width:0;position:relative}
.topbar{
  height:79px;
  background:rgba(9,16,30,.68);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border-bottom:1px solid rgba(127,153,183,.14);
  padding:0 53px;
  position:sticky;top:0;z-index:8;
}
.breadcrumb{gap:13px;color:#8a9bb5;font-size:10px;letter-spacing:.13em}
.breadcrumb strong{font-size:12px;color:#eef5ff;font-weight:800}
.topbar-right{gap:10px}
.topbar-right .live-dot{width:7px;height:7px;box-shadow:0 0 18px rgba(110,248,207,.5)}
.status-text{font-size:10px;color:#96decf;letter-spacing:.12em}
.lang-button{
  margin-left:25px;
  padding:11px 15px;
  border-radius:11px;
  background:linear-gradient(135deg,#1b2e48,#152338);
  border:1px solid rgba(151,190,226,.22);
  color:#f1f9ff;
  font-size:12px;
  box-shadow:0 3px 12px rgba(0,0,0,.1);
}
.lang-button:hover{border-color:#65e9d0;background:#203c51;transform:translateY(-1px)}
.page-content{
  width:min(1340px,100%);
  padding:47px 51px 76px;
}
.greeting{margin-bottom:21px}
.eyebrow{font-size:10px;letter-spacing:.19em;font-weight:850;color:#69e6cf}
.eyebrow-dot{width:7px;height:7px}
.hero{
  min-height:425px;
  overflow:hidden;
  border-radius:23px;
  border:1px solid rgba(128,197,218,.25);
  box-shadow:0 23px 95px rgba(1,11,22,.25),inset 0 1px 0 rgba(202,249,245,.075);
  background:
    radial-gradient(circle at 93% 20%,rgba(86,129,228,.16),transparent 32%),
    radial-gradient(circle at 61% 105%,rgba(67,226,200,.105),transparent 50%),
    linear-gradient(115deg,#122940 1%,#101e35 51%,#0c1b31 100%);
}
.hero::before{
  background-image:linear-gradient(90deg,rgba(117,226,217,.075) 1px,transparent 1px),linear-gradient(rgba(117,226,217,.075) 1px,transparent 1px);
  background-size:39px 39px;
  mask-image:linear-gradient(to left,rgba(0,0,0,.85),transparent 65%);
}
.hero::after{content:"";position:absolute;width:520px;height:520px;right:-225px;top:-210px;border:1px solid rgba(138,203,241,.065);border-radius:50%;pointer-events:none}
.hero-copy{width:57%;padding:58px 14px 51px 52px;z-index:3}
.hero-tag{
  color:#96fce7;
  padding:9px 14px;
  gap:9px;
  border:1px solid rgba(114,239,214,.24);
  background:rgba(85,221,198,.075);
  font-size:10px;
  letter-spacing:.15em;
  box-shadow:inset 0 1px 0 rgba(220,255,255,.06);
}
.hero-tag svg{height:15px;width:15px}
.hero h1{
  font-size:clamp(38px,3.9vw,58px);
  line-height:1.09;
  letter-spacing:-.055em;
  font-weight:860;
  margin:25px 0 19px;
  max-width:665px;
  text-wrap:balance;
}
.hero h1 em{
  color:transparent;
  background:linear-gradient(92deg,#64f0cf 15%,#a7ffdc 67%,#9ccfff 100%);
  -webkit-background-clip:text;background-clip:text;
}
.hero p{
  line-height:1.8;
  font-size:13px;
  color:#b4c9d8;
  max-width:455px;
}
.hero-actions{margin-top:32px;gap:11px;align-items:center}
.button{font-size:12.5px;font-weight:810;letter-spacing:.003em;border-radius:12px;min-height:49px;padding:13px 18px;gap:16px;transition:transform .2s,background .2s,border .2s,box-shadow .2s}
.button.primary{
  color:#05231f;
  background:linear-gradient(105deg,#67f1d2,#77e6dd);
  box-shadow:0 13px 36px rgba(48,214,183,.16),inset 0 1px rgba(255,255,255,.5);
}
.button.primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 16px 38px rgba(48,214,183,.22);background:linear-gradient(105deg,#94ffe4,#8af4eb)}
.button.secondary{color:#e3f2ff;background:rgba(159,210,230,.065);border-color:rgba(172,214,224,.19)}
.button.secondary:hover{background:rgba(145,218,216,.13);border-color:rgba(172,238,228,.27)}
.hero-visual{
  flex:1;
  width:43%;
  min-width:0;
  min-height:420px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  padding:24px 30px 24px 7px;
  perspective:1000px;
}
.preview-aura{
  position:absolute;
  left:17%;top:14%;height:74%;width:88%;
  background:radial-gradient(circle,rgba(77,232,204,.2),rgba(96,140,245,.04) 48%,transparent 76%);
  filter:blur(31px);pointer-events:none;
}
.preview-window{
  position:relative;
  width:min(345px,100%);
  border:1px solid rgba(144,207,223,.25);
  background:linear-gradient(160deg,rgba(19,41,64,.95),rgba(10,26,47,.96));
  border-radius:18px;
  box-shadow:0 30px 60px rgba(0,4,19,.4),inset 0 1px 0 rgba(226,255,255,.1);
  overflow:hidden;
  transform:rotateY(-8deg) rotateX(3deg);
  transition:transform .5s cubic-bezier(.18,.8,.28,1),box-shadow .5s;
}
.hero:hover .preview-window{transform:rotateY(-2deg) rotateX(1deg) translateY(-5px);box-shadow:0 34px 68px rgba(0,4,19,.46),inset 0 1px 0 rgba(226,255,255,.1)}
.preview-window-head{height:45px;display:flex;gap:8px;align-items:center;padding:0 14px;border-bottom:1px solid rgba(154,202,231,.12);color:#83a6ba;font:700 8px ui-monospace,monospace;letter-spacing:.07em}
.window-dots{display:flex;gap:4px;margin-right:5px}
.window-dots i{display:block;width:6px;height:6px;border-radius:50%;background:#637b91}
.window-dots i:first-child{background:#db818e}.window-dots i:nth-child(2){background:#e8c182}.window-dots i:nth-child(3){background:#66d8bc}
.window-status{margin-left:auto;font-size:8px;color:#83efd5}
.preview-main{position:relative;min-height:179px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:14px 7px 4px}
.preview-orbit{position:relative;height:107px;width:170px;display:grid;place-items:center}
.preview-orbit-line{border:1px solid rgba(91,218,203,.2);position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%}
.ring-a{height:91px;width:91px;border-color:rgba(110,254,224,.32)}
.ring-b{height:125px;width:125px}
.ring-c{height:166px;width:166px;border-style:dashed;border-color:rgba(101,223,211,.12);animation:rotateOrbit 28s linear infinite}
.preview-shield{display:grid;place-items:center;color:#68f3d1;width:69px;height:73px;position:relative;z-index:2;filter:drop-shadow(0 3px 17px rgba(38,235,179,.25))}
.preview-shield svg{width:62px;height:62px;stroke-width:1.4}
.preview-protected{text-align:center;display:grid;gap:3px;margin-top:2px}
.preview-label{color:#7cdcc9;font:750 8px ui-monospace,monospace;letter-spacing:.19em}
.preview-protected strong{font-size:14px;color:#e7fff8;letter-spacing:-.02em}
.preview-protected small{font-size:9px;color:#92b7c8}
.preview-rows{padding:16px 19px 12px;display:grid;gap:10px}
.preview-rows>div{display:flex;align-items:center;gap:10px;color:#a9c2d6;font-size:10px;border:1px solid rgba(149,186,220,.1);background:rgba(121,192,225,.045);border-radius:9px;padding:8px 10px}
.preview-row-icon{display:grid;place-items:center;color:#76e6d4}
.preview-rows b{margin-left:auto;color:#68efc7;font:780 8px ui-monospace,monospace;letter-spacing:.1em}
.preview-foot{border-top:1px solid rgba(149,186,220,.12);padding:10px 20px 14px;color:#86a3b9;display:flex;justify-content:space-between;font:700 8px ui-monospace,monospace}
.preview-foot span{display:flex;gap:7px;align-items:center}
.tiny-dot{width:6px;height:6px;border-radius:50%;background:#68e6c8;display:inline-block;box-shadow:0 0 8px rgba(68,230,196,.5)}
.floating-pill{
  display:inline-flex;gap:7px;align-items:center;position:absolute;
  background:rgba(15,42,58,.96);
  border:1px solid rgba(106,239,211,.28);
  box-shadow:0 10px 30px rgba(0,6,18,.24);
  color:#aeffec;
  border-radius:9px;
  padding:9px 11px;
  font:800 8px ui-monospace,monospace;
  letter-spacing:.05em;
  z-index:2;
  white-space:nowrap;
}
.floating-top{top:17%;right:6%}
.floating-bottom{bottom:15%;left:0}
@keyframes rotateOrbit{from{transform:translate(-50%,-50%) rotate(0)}to{transform:translate(-50%,-50%) rotate(360deg)}}
.metrics{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin:21px 0 32px;
}
.metric{
  position:relative;
  overflow:hidden;
  gap:13px;
  border-radius:15px;
  border:1px solid rgba(134,171,210,.16);
  padding:21px 19px;
  background:linear-gradient(145deg,rgba(20,33,53,.96),rgba(14,24,41,.97));
  box-shadow:inset 0 1px rgba(255,255,255,.025);
  transition:border .2s,transform .2s;
}
.metric:hover{border-color:rgba(95,225,203,.26);transform:translateY(-2px)}
.metric::after{content:"";position:absolute;right:0;top:0;width:65px;height:65px;background:radial-gradient(circle at top right,rgba(90,195,182,.055),transparent 74%)}
.metric-icon{height:44px;width:44px;border-radius:12px}
.metric strong{font-size:24px;font-weight:850;letter-spacing:-.045em}
.metric span:last-child{font-size:10px;color:#97afc6;margin-top:6px}
.v2-home-note{
  margin:0 0 48px;
  padding:17px 22px;
  border-radius:13px;
  border-color:rgba(102,223,199,.21);
  background:linear-gradient(90deg,rgba(35,122,111,.16),rgba(25,46,69,.24));
  box-shadow:inset 0 1px rgba(139,247,225,.035);
  gap:12px;
}
.v2-home-note strong{font-size:12px;color:#a0ffe7}
.v2-home-note span{font-size:11px;color:#afc4d8}
.section-head{margin-bottom:21px;gap:18px}
.section-kicker{color:#69e7cf;letter-spacing:.18em;font-size:10px}
.section-head h2,.how-section h2{
  font-size:clamp(23px,2.3vw,30px);
  font-weight:850;
  letter-spacing:-.045em;
  margin:9px 0 9px;
}
.section-head p{font-size:12px;color:#9cb0c9}
.section-count{color:#7d9aaf;font-size:12px;letter-spacing:.12em;white-space:nowrap}
.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.tool-card{
  --accent:#67f0cf;
  text-align:start;
  min-height:250px;
  border:1px solid rgba(144,176,212,.17);
  border-radius:18px;
  padding:25px 27px 23px;
  background:linear-gradient(142deg,rgba(22,39,62,.94),rgba(13,25,44,.98));
  position:relative;
  overflow:hidden;
  transition:transform .26s cubic-bezier(.2,.8,.2,1),border .25s,box-shadow .25s;
}
.tool-card:nth-child(2){--accent:#c3acff;background:linear-gradient(142deg,#1b2440,#111e32)}
.tool-card:nth-child(3){--accent:#8ab7ff;background:linear-gradient(142deg,#142a46,#101d32)}
.tool-card:nth-child(4){--accent:#ffcf9c;background:linear-gradient(142deg,#25253b,#151c2d)}
.tool-card::before{content:"";position:absolute;height:170px;width:170px;right:-68px;top:-80px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--accent) 10%,transparent),transparent 70%);opacity:.85;pointer-events:none}
.tool-card::after{content:"";position:absolute;inset:0 0 auto;height:1px;background:linear-gradient(90deg,var(--accent),transparent 38%);opacity:.45;pointer-events:none}
.tool-card:hover{
  background:linear-gradient(142deg,#1b3049,#14233b);
  border-color:color-mix(in srgb,var(--accent) 38%,rgba(144,176,212,.17));
  box-shadow:0 22px 43px rgba(0,4,17,.18),inset 0 1px rgba(255,255,255,.04);
  transform:translateY(-4px);
}
.tool-icon{width:51px;height:51px;border-radius:15px;margin-bottom:20px}
.tool-icon svg{width:26px;height:26px;stroke-width:1.75}
.tool-arrow{top:26px;right:27px;display:grid;place-items:center;height:33px;width:33px;border-radius:50%;color:#a0b9cf;border:1px solid rgba(152,179,206,.16);background:rgba(12,24,40,.35)}
.tool-arrow svg{width:17px;height:17px}
.tool-num{font:800 10px ui-monospace,monospace;letter-spacing:.13em;color:#7898b2}
.tool-card h3{font-size:19px;letter-spacing:-.03em;font-weight:850;margin:10px 0 8px}
.tool-card p{font-size:12px;line-height:1.75;color:#a5b9cf;max-width:365px;margin-bottom:24px}
.tool-action{
  color:var(--accent);
  border-top:1px solid rgba(162,189,220,.14);
  padding-top:15px;
  font-size:11px;
  font-weight:850;
}
.how-section{
  margin-top:55px;
  padding:30px;
  border:1px solid rgba(142,174,214,.14);
  border-radius:19px;
  background:linear-gradient(150deg,rgba(19,32,50,.77),rgba(10,20,35,.7));
}
.how-section-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:24px}
.how-section-head h2{margin-bottom:0}
.how-section-head>p{color:#a4b7cb;line-height:1.7;font-size:12px;max-width:330px;margin:0}
.how-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.how-card{
  min-width:0;
  padding:24px 20px 20px;
  position:relative;
  border:1px solid rgba(136,166,204,.12);
  border-radius:13px;
  background:linear-gradient(145deg,rgba(30,49,69,.51),rgba(18,32,50,.52));
}
.how-num{position:absolute;top:23px;right:21px;color:#68839e;font:800 10px ui-monospace,monospace;letter-spacing:.12em}
.how-ico{width:42px;height:42px;border-radius:12px;background:rgba(86,210,189,.085);border:1px solid rgba(103,231,209,.13);color:#77e8d0;display:grid;place-items:center;margin-bottom:22px}
.how-card h3{font-size:14px;margin:0 0 8px;font-weight:820;letter-spacing:-.02em}
.how-card p{font-size:11px;line-height:1.78;color:#9caec5;margin:0}
.bottom-info{
  margin-top:23px;
  border-radius:14px;
  padding:19px 22px;
  background:rgba(65,94,117,.065);
  border:1px solid rgba(136,168,200,.12);
}
.bottom-info strong{font-size:12px}
.bottom-info p{color:#90a5bf}
/* Focused tool workspace */
.view-heading{margin:11px 0 28px}
.view-heading .eyebrow{padding:9px 13px;border:1px solid rgba(93,234,208,.17);border-radius:20px;background:rgba(84,221,185,.065)}
.view-heading h1{font-size:clamp(30px,3vw,44px);font-weight:870;letter-spacing:-.047em;margin:21px 0 14px}
.view-heading p{font-size:13px;line-height:1.8;color:#9fb5ce}
.work-layout{gap:18px}
.work-card{
  padding:30px;
  background:linear-gradient(145deg,rgba(19,34,55,.96),rgba(14,25,43,.96));
  border:1px solid rgba(142,178,217,.2);
  border-radius:19px;
  box-shadow:inset 0 1px rgba(255,255,255,.035),0 11px 34px rgba(0,5,15,.065);
}
.card-title{gap:14px;margin-bottom:31px}
.card-title h2{font-size:17px;font-weight:820}
.card-title span:not(.title-mark){font-size:11px;color:#97aec7}
.title-mark{height:46px;width:46px;border-radius:13px}
.work-card input[type="text"],.work-card input[type="password"]{
  background:rgba(4,14,27,.65);
  border:1px solid rgba(149,187,223,.24);
  border-radius:11px;
  min-height:51px;
  padding:13px 16px;
}
.work-card input:hover{border-color:rgba(145,211,218,.36)}
.work-card input:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(88,232,201,.08)}
.input-label{color:#b2cde0}
.result-card{background:linear-gradient(135deg,rgba(17,32,53,.97),rgba(12,27,46,.97))}
.empty-visual{border-radius:20px;background:rgba(91,225,202,.085);border:1px solid rgba(111,224,205,.19)}
.result-list li{background:rgba(18,40,60,.67);border-color:rgba(127,175,203,.16);border-radius:10px;font-size:11.5px}
.explain-box{background:rgba(255,188,116,.045);border-color:rgba(235,179,133,.16);border-radius:13px;padding:19px 22px}
.explain-box strong{color:#eacda9}
.file-drop{background:rgba(8,21,39,.64);border:1.5px dashed rgba(122,176,220,.36);border-radius:14px;min-height:174px}
.file-drop:hover,.file-drop.dragging{border-color:#69e9d0;background:rgba(45,141,127,.09)}
.check-layout{gap:18px}
.check-item{border:1px solid rgba(130,164,204,.17);border-radius:12px;padding:17px;background:rgba(7,21,38,.6)}
.check-item:hover{background:rgba(28,61,71,.46);border-color:rgba(91,209,190,.3)}
.check-item.done{background:rgba(44,171,151,.075)}
.progress-ring{box-shadow:0 0 35px rgba(82,232,203,.07)}
.v2-action-box,.v2-advice{
  border-radius:17px;
  background:linear-gradient(140deg,rgba(21,40,61,.93),rgba(14,30,49,.95));
  border-color:rgba(129,178,211,.19);
  box-shadow:inset 0 1px rgba(255,255,255,.04);
}
.v2-home-note{position:relative}
/* Slight entry motion makes the interface feel responsive, without reflow */
.panel:not([hidden]){animation:studioIn .35s both}
@keyframes studioIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
/* Language-aware layout */
html[dir="rtl"] .sidebar{border-right:0;border-left:1px solid rgba(126,153,190,.15)}
html[dir="rtl"] .nav-link.active{box-shadow:inset -3px 0 0 #57eac8,0 4px 22px rgba(18,99,104,.035)}
html[dir="rtl"] .nav-link:hover{transform:translateX(-2px)}
html[dir="rtl"] .lang-button{margin-left:0;margin-right:25px}
html[dir="rtl"] .hero-copy{padding:58px 52px 51px 14px}
html[dir="rtl"] .hero-visual{padding:24px 7px 24px 30px}
html[dir="rtl"] .preview-window{direction:ltr}
html[dir="rtl"] .floating-top{right:auto;left:6%}
html[dir="rtl"] .floating-bottom{left:auto;right:0}
html[dir="rtl"] .window-dots,html[dir="rtl"] .preview-window-head{direction:ltr}
html[dir="rtl"] .tool-arrow{left:27px;right:auto}
html[dir="rtl"] .how-card{text-align:right}
html[dir="rtl"] .how-num{right:auto;left:21px}
html[dir="rtl"] .tool-card::before{right:auto;left:-68px}
html[dir="rtl"] .tool-card::after{background:linear-gradient(270deg,var(--accent),transparent 38%)}
html[dir="rtl"] .v2-home-note{direction:rtl}
html[dir="rtl"] .how-section-head{text-align:right}
html[dir="rtl"] .work-card{text-align:right}
html[dir="rtl"] .result-card:not(.has-result){text-align:center}
html[dir="rtl"] .result-card.has-result{text-align:right}
html[dir="rtl"] .tool-card p{max-width:100%}
/* Desktop / notebook / tablet */
@media(max-width:1280px){
 .sidebar{width:237px;padding-inline:13px}
 .brand{gap:9px}
 .brand-name{font-size:11px}
 .page-content{padding:37px 33px 64px}
 .topbar{padding:0 33px}
 .hero-copy{width:56%;padding-left:39px}
 .hero-visual{width:44%;padding-right:19px}
 .hero h1{font-size:clamp(36px,3.8vw,52px)}
 .metric{padding:19px 13px;gap:10px}
 .metric-icon{width:40px;height:40px}
 html[dir="rtl"] .hero-copy{padding-right:39px}
}
@media(max-width:1050px){
 .sidebar{width:215px}
 .page-content{padding:33px 24px 62px}
 .topbar{padding:0 24px}
 .hero{min-height:384px}
 .hero-copy{padding:45px 6px 41px 30px;width:59%}
 .hero h1{font-size:clamp(34px,4vw,44px)}
 .hero-visual{width:41%;min-height:380px;padding:17px}
 .preview-window{transform:rotateY(-4deg) scale(.93)}
 .floating-pill{display:none}
 .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .metric{padding:18px}
 .tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 html[dir="rtl"] .hero-copy{padding:45px 30px 41px 6px}
}
@media(max-width:780px){
 .sidebar{width:195px}
 .brand-name{font-size:10px}
 .brand-sub{font-size:6px}
 .brand-icon{width:38px;height:40px}
 .nav-link{font-size:11.5px;gap:9px;padding:10px 9px}
 .hero{display:flex}
 .hero-copy{width:100%;padding:37px 34px 37px}
 .hero-visual{display:none}
 .hero h1{max-width:550px}
 .how-section-head{display:block}
 .how-section-head>p{max-width:100%;margin-top:13px}
 .how-grid{grid-template-columns:1fr}
 .how-card{padding:20px 19px}
 .how-ico{margin-bottom:13px}
 .how-card p{max-width:550px}
 html[dir="rtl"] .hero-copy{padding:37px 34px}
}
@media(max-width:680px){
 .sidebar{display:none}
 .topbar{height:69px;padding:0 18px}
 .mobile-brand{display:flex;align-items:center;gap:5px;font-size:11.5px;letter-spacing:.025em}
 .mobile-logo{display:grid;place-items:center;color:#70f3d6;margin-right:5px}
 .mobile-logo svg{height:21px;width:21px}
 .lang-button{min-height:39px;margin-left:0;padding:8px 12px}
 .page-content{padding:22px 16px 122px}
 .greeting{margin-bottom:15px}
 .eyebrow{font-size:8.8px;letter-spacing:.13em}
 .hero{border-radius:19px;min-height:0;display:block}
 .hero-copy{width:100%;padding:29px 25px 31px}
 .hero-tag{font-size:9px;padding:8px 11px}
 .hero h1{font-size:clamp(34px,8.4vw,46px);line-height:1.16;margin:20px 0 17px}
 .hero p{font-size:12.5px;line-height:1.8}
 .hero-actions{margin-top:25px;gap:8px;flex-wrap:wrap}
 .hero-actions .button{font-size:11.5px;min-height:46px;gap:9px;padding:11px 13px}
 .hero-visual{display:none}
 .metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0 19px}
 .metric{padding:16px 13px;border-radius:14px;gap:10px}
 .metric-icon{width:38px;height:38px;border-radius:10px}
 .metric strong{font-size:20px}
 .metric span:last-child{font-size:9.5px;line-height:1.45}
 .v2-home-note{margin-bottom:38px;gap:5px;padding:16px;border-radius:13px}
 .v2-home-note span{font-size:11px}
 .section-head{align-items:flex-end}
 .section-head h2{font-size:25px}
 .section-head p{line-height:1.6}
 .tool-grid{grid-template-columns:1fr;gap:12px}
 .tool-card{min-height:216px;padding:22px 22px 20px}
 .tool-icon{width:45px;height:45px;margin-bottom:15px}
 .tool-icon svg{width:24px;height:24px}
 .tool-card h3{font-size:18px}
 .tool-card p{font-size:12px;margin-bottom:20px}
 .tool-arrow{top:20px;right:22px}
 .how-section{padding:19px 16px;margin-top:33px}
 .how-section h2{font-size:22px}
 .how-section-head>p{font-size:11px}
 .how-grid{gap:10px}
 .how-card{padding:17px}
 .how-card h3{font-size:13px}
 .how-card p{font-size:11px}
 .how-ico{width:39px;height:39px}
 .bottom-info{padding:17px}
 .topbar-right .live-dot,.topbar-right .status-text{display:none}
 .mobile-nav{
   min-height:74px;
   background:rgba(10,19,34,.97);
   backdrop-filter:blur(18px);
   border-top:1px solid rgba(141,180,217,.18);
   box-shadow:0 -10px 40px rgba(0,0,0,.2);
   padding:9px 4px max(10px,env(safe-area-inset-bottom));
 }
 .mobile-nav button{min-width:49px;gap:5px;font-size:19px;position:relative}
 .mobile-nav button>span{height:25px;display:grid;place-items:center}
 .mobile-nav button svg{width:21px;height:21px}
 .mobile-nav button.active:before{content:"";position:absolute;top:-9px;width:24px;height:2px;background:var(--teal);border-radius:4px}
 .mobile-nav small{font-size:9px;line-height:1.2}
 .view-heading{margin:10px 0 23px}
 .view-heading h1{font-size:31px}
 .view-heading p{font-size:12px}
 .work-layout,.check-layout{gap:13px}
 .work-card{padding:21px;min-height:0}
 .card-title{margin-bottom:24px}
 .explain-box{padding:16px}
 .v2-action-box,.v2-advice{padding:19px}
 .v2-control-row .button{min-width:120px}
 html[dir="rtl"] .lang-button{margin:0}
 html[dir="rtl"] .hero-copy{padding:29px 25px 31px}
 html[dir="rtl"] .tool-arrow{left:22px}
}
@media(max-width:385px){
 .hero-copy{padding:25px 19px 27px}
 .hero h1{font-size:33px}
 .hero-actions{flex-direction:column;align-items:stretch}
 .hero-actions .button{width:100%}
 .metric{gap:8px;padding:13px 10px}
 .metric-icon{height:33px;width:33px}
 .metric strong{font-size:19px}
 .section-count{font-size:10px}
 .mobile-nav button{min-width:42px}
 html[dir="rtl"] .hero-copy{padding:25px 19px 27px}
}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}
 .preview-window,.hero:hover .preview-window{transform:none!important}
}