* {
margin: 0;
padding: 0;
box-sizing: border-box;
scroll-behavior: smooth;
font-family: "Poppins", sans-serif;
}

:root {
--particle: rgba(42, 168, 255, 0.9);
--particle-line: 42, 168, 255;
--particle-mouse: rgba(0, 229, 255, 0.4);
--bg: #07111f;
--card: rgba(255, 255, 255, 0.08);
--blue: #2aa8ff;
--cyan: #00e5ff;
--text: #ffffff;
--muted: #b8c7d9;
--border: rgba(255, 255, 255, 0.12);
--profile-photo: url("/assets/img/rahman-Cinematic_portrait_with_dramatic_lighting.png");
--profile-photo-position: center top;
--sunset-hero-image: url("/assets/Wallpaper/sunset-hero-display.webp");
--egypt-hero-image: url("/assets/Wallpaper/egypt-hero-display.webp");
--sakura-wallpaper-image: url("/assets/Wallpaper/mount-fuji-display.webp");
}

body {
background: var(--bg);
color: var(--text);
overflow-x: hidden;
}

canvas {
position: fixed;
inset: 0;
z-index: -3;
}

.blob {
position: fixed;
width: 420px;
height: 420px;
border-radius: 50%;
background: radial-gradient(circle, rgba(42,168,255,.45), transparent 65%);
filter: blur(60px);
z-index: -2;
animation: blobMove 9s infinite alternate ease-in-out;
}

.blob.one {
top: -120px;
right: -100px;
}

.blob.two {
bottom: -160px;
left: -100px;
background: radial-gradient(circle, rgba(0,229,255,.32), transparent 65%);
animation-delay: 2s;
}

@keyframes blobMove {
from { transform: translate(0, 0) scale(1); }
to { transform: translate(-60px, 80px) scale(1.2); }
}

header {
position: fixed;
top: 0;
width: 100%;
padding: 22px 8%;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 20;
background: rgba(7, 17, 31, 0.65);
backdrop-filter: blur(16px);
border-bottom: 1px solid var(--border);
}

.logo {
font-size: 22px;
font-weight: 700;
}

.logo span {
color: var(--blue);
}

nav a {
color: var(--muted);
text-decoration: none;
margin-left: 28px;
font-size: 14px;
transition: .3s;
}

nav a:hover {
color: var(--cyan);
}

section {
padding: 100px 8%;
}

.hero {
position: relative;
min-height: 100vh;
display: grid;
grid-template-columns: 1.2fr .8fr;
align-items: center;
gap: 50px;
padding-top: 140px;
overflow: hidden;
}

.hero > * {
position: relative;
z-index: 1;
}

.pencil-diary-props {
display: none;
}

.badge {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
border: 1px solid var(--border);
border-radius: 999px;
background: rgba(255,255,255,.06);
color: var(--cyan);
font-size: 14px;
margin-bottom: 20px;
}

.hero h1 {
font-size: clamp(42px, 6vw, 78px);
line-height: 1.1;
margin-bottom: 12px;
}

.hero h1 span {
background: linear-gradient(90deg, var(--blue), var(--cyan));
background-clip: text;
-webkit-background-clip: text;
color: transparent;
-webkit-text-fill-color: transparent;
}

.hero h2 {
font-size: clamp(24px, 3vw, 42px);
color: var(--muted);
margin-bottom: 20px;
}

.hero p {
max-width: 650px;
color: var(--muted);
line-height: 1.8;
margin-bottom: 32px;
}

.buttons {
display: flex;
gap: 16px;
flex-wrap: wrap;
}

.btn {
padding: 13px 24px;
border-radius: 12px;
border: 1px solid var(--border);
text-decoration: none;
color: white;
transition: .3s;
}

.btn.primary {
background: linear-gradient(135deg, var(--blue), var(--cyan));
color: #03101e;
font-weight: 700;
box-shadow: 0 0 25px rgba(42,168,255,.35);
}

.btn:hover {
transform: translateY(-4px);
box-shadow: 0 0 25px rgba(0,229,255,.25);
}

.hero-card {
position: relative;
min-height: 420px;
border-radius: 34px;
background: rgba(255, 255, 255, 0.025);
border: 1px solid rgba(42, 168, 255, 0.22);
backdrop-filter: blur(3px);
-webkit-backdrop-filter: blur(3px);
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
animation: float 4s ease-in-out infinite;
box-shadow:
inset 0 0 35px rgba(255, 255, 255, 0.025),
0 0 35px rgba(42, 168, 255, 0.10);
}

.hero-card::before {
content: "";
position: absolute;
inset: 18px;
border-radius: 28px;
border: 1px solid rgba(0, 229, 255, 0.16);
pointer-events: none;
}

.hero-card::after {
content: "";
position: absolute;
width: 520px;
height: 130px;
background: linear-gradient(
90deg,
transparent,
rgba(0, 229, 255, 0.10),
transparent
);
transform: rotate(-28deg);
animation: premiumScan 6s ease-in-out infinite;
pointer-events: none;
}

.profile-frame {
    position: relative;
    z-index: 3;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    padding: 7px;
    background: linear-gradient(135deg, rgba(42,168,255,.95), rgba(0,229,255,.95));
    box-shadow:
    0 0 18px rgba(0,229,255,.55),
    0 0 45px rgba(42,168,255,.22);
    animation: float 4s ease-in-out infinite;
}

.profile-frame::before {
content: "";
position: absolute;
inset: -18px;
border-radius: 50%;
border: 1px solid rgba(0,229,255,.24);
animation: softPulse 3.5s ease-in-out infinite;
pointer-events: none;
}

.avatar {
width: 100%;
height: 100%;
border-radius: 50%;
perspective: 1000px;
}

.coin-inner {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 50%;
}

.coin-face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #07111f;
  transition: opacity .6s ease, transform .6s ease, filter .6s ease;
  z-index: 2;
  will-change: transform, opacity;
}

.coin-front {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 86px;
    color: var(--cyan);
    background: radial-gradient(circle, #12314e, #07111f 72%);
    opacity: 1;
  transform: scale(1);
  animation: roboticFront 8s ease-in-out infinite, digitalFlicker 8s infinite;
}

.coin-back {
    opacity: 0;
    transform: scale(.92);
    animation: roboticBack 8s ease-in-out infinite, digitalFlicker 8s infinite;
    background: var(--profile-photo) var(--profile-photo-position) / cover no-repeat;
}

@keyframes roboticFront {
    0%, 38% {
    opacity: 1;
    transform: scale(1);
    filter: none;
  }
  
  45%, 88% {
      opacity: 0;
      transform: scale(.92);
      filter: blur(4px);
    }
    
    100% {
        opacity: 1;
        transform: scale(1);
        filter: none;
    }
}

@keyframes roboticBack {
    0%, 38% {
        opacity: 0;
        transform: scale(.92);
        filter: blur(4px);
    }
    
    45%, 88% {
        opacity: 1;
        transform: scale(1);
        filter: none;
    }
    
    100% {
        opacity: 0;
        transform: scale(.92);
        filter: blur(4px);
  }
}

@keyframes digitalFlicker {
  0%, 100% { filter: none; }
  50% { filter: brightness(1.05); }
}

.coin-back img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center top;
border-radius: 50%;
display: block;
filter: contrast(1.08) saturate(1.12);
opacity: 0;
}

.egypt-showcase {
display: none;
}

@keyframes premiumScan {
0%, 100% {
opacity: 0;
left: -70%;
top: 20%;
}

50% {
opacity: 1;
left: 55%;
top: 55%;
}
}

@keyframes softPulse {
0%, 100% {
transform: scale(1);
opacity: .55;
}

50% {
transform: scale(1.08);
opacity: 1;
}
}

@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-18px); }
}

.title {
text-align: center;
margin-bottom: 50px;
}

.title span {
color: var(--cyan);
font-size: 14px;
letter-spacing: 2px;
text-transform: uppercase;
}

.title h2 {
font-size: 38px;
margin-top: 8px;
}

.grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}

.card {
padding: 28px;
border-radius: 24px;
background: var(--card);
border: 1px solid var(--border);
backdrop-filter: blur(16px);
transition: .3s;
}

.card:hover {
transform: translateY(-8px);
border-color: rgba(0,229,255,.55);
box-shadow: 0 0 30px rgba(42,168,255,.15);
}

.card i {
font-size: 34px;
color: var(--cyan);
margin-bottom: 18px;
}

.card h3 {
margin-bottom: 12px;
}

.card p {
color: var(--muted);
line-height: 1.7;
font-size: 14px;
}

.tools-intro {
max-width: 760px;
margin: -22px auto 34px;
color: var(--muted);
line-height: 1.8;
text-align: center;
}

.tools-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 22px;
}

.tool-card {
display: flex;
flex-direction: column;
min-height: 260px;
}

.tool-card > i {
font-size: 30px;
color: var(--cyan);
margin-bottom: 16px;
}

.tool-card h3 {
margin-bottom: 10px;
}

.tool-card p {
margin-bottom: 18px;
}

.tool-tags {
display: flex;
flex-wrap: wrap;
gap: 9px;
margin-top: auto;
}

.tool-tags span {
display: inline-flex;
align-items: center;
min-height: 30px;
padding: 7px 10px;
border-radius: 999px;
border: 1px solid rgba(42,168,255,.24);
background: rgba(42,168,255,.10);
color: var(--text);
font-size: 12px;
font-weight: 600;
line-height: 1;
}

.tools-source {
width: fit-content;
max-width: 100%;
margin: 28px auto 0;
padding: 12px 16px;
border-radius: 999px;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
color: var(--muted);
background: var(--card);
border: 1px solid var(--border);
font-size: 13px;
}

.tools-source i,
.tools-source a {
color: var(--cyan);
}

.tools-source a {
font-weight: 700;
text-decoration: none;
white-space: nowrap;
}

.about-box {
display: grid;
grid-template-columns: .9fr 1.1fr;
gap: 30px;
align-items: center;
}

.about-photo {
height: 360px;
border-radius: 28px;
background: linear-gradient(135deg, rgba(42,168,255,.35), rgba(0,229,255,.08));
border: 1px solid var(--border);
display: flex;
align-items: center;
justify-content: center;
font-size: 90px;
}

.about-text p {
color: var(--muted);
line-height: 1.9;
margin-bottom: 18px;
}

.skills {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 20px;
}

.skill {
padding: 10px 15px;
border-radius: 999px;
background: rgba(42,168,255,.12);
border: 1px solid rgba(42,168,255,.28);
color: #dff5ff;
font-size: 14px;
}

.project-img {
height: 160px;
border-radius: 18px;
background: linear-gradient(135deg, rgba(42,168,255,.7), rgba(0,229,255,.12));
margin-bottom: 18px;
display: flex;
align-items: center;
justify-content: center;
font-size: 42px;
}

.contact-box {
max-width: 760px;
margin: auto;
text-align: center;
padding: 45px;
border-radius: 30px;
background: var(--card);
border: 1px solid var(--border);
}

.contact-box p {
color: var(--muted);
line-height: 1.8;
margin-bottom: 26px;
}

.socials {
display: flex;
justify-content: center;
gap: 14px;
margin-top: 25px;
}

.socials a {
width: 44px;
height: 44px;
border-radius: 50%;
display: grid;
place-items: center;
color: white;
text-decoration: none;
border: 1px solid var(--border);
background: rgba(255,255,255,.06);
transition: .3s;
}

.socials a:hover {
transform: translateY(-4px);
box-shadow: 0 0 20px rgba(0,229,255,.25);
}

footer {
text-align: center;
padding: 28px;
color: var(--muted);
border-top: 1px solid var(--border);
font-size: 14px;
}

.reveal {
opacity: 0;
transform: translateY(35px);
transition: .8s ease;
}

.reveal.active {
opacity: 1;
transform: translateY(0);
}

.theme-toggle {
width: 42px;
height: 42px;
border-radius: 50%;
border: 1px solid var(--border);
background: rgba(255,255,255,.06);
color: var(--cyan);
cursor: pointer;
margin-left: 20px;
transition: .3s;
}

.theme-toggle:hover {
transform: translateY(-3px);
box-shadow: 0 0 20px rgba(0,229,255,.25);
}

/* =========================
   GLASS AURORA MODE
========================= */

@keyframes glassPanelSweep {
0%, 100% {
opacity: .15;
transform: translateX(-22%) rotate(22deg);
}
48%, 58% {
opacity: .9;
transform: translateX(70%) rotate(22deg);
}
}

/* =========================
   WINTER FROST EFFECTS
========================= */

@keyframes winterIceGlint {
0%, 72%, 100% {
transform: translateX(-120%);
opacity: 0;
}
82% {
opacity: 1;
}
96% {
transform: translateX(120%);
opacity: 0;
}
}

/* body.sakura-mode {
background:
radial-gradient(circle at top left, rgba(255, 210, 230, 0.75), transparent 24%),
radial-gradient(circle at top right, rgba(255, 232, 242, 0.9), transparent 28%),
radial-gradient(circle at bottom left, rgba(255, 192, 215, 0.55), transparent 26%),
linear-gradient(135deg, #fff9fc, #fff2f8 55%, #ffe8f1);
} */

/* overlay lembut biar text kebaca */

/* =========================
   EGYPT MODE
========================= */

.egypt-panel {
max-width: 960px;
margin: 0 auto;
padding: 36px;
border: 1px solid rgba(214, 162, 58, 0.28);
border-radius: 24px;
background: rgba(20, 15, 10, 0.52);
box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
}

.egypt-kicker {
display: inline-block;
margin-bottom: 12px;
color: #1fc7b6;
font-size: 13px;
font-weight: 800;
letter-spacing: 2px;
text-transform: uppercase;
}

.egypt-panel h2 {
font-size: clamp(30px, 4vw, 48px);
line-height: 1.1;
margin-bottom: 14px;
color: #fff5dc;
}

.egypt-panel p {
max-width: 700px;
color: #d6c19a;
line-height: 1.8;
}

.egypt-symbols {
display: flex;
gap: 14px;
margin-top: 24px;
}

.egypt-symbols span {
width: 46px;
height: 46px;
display: grid;
place-items: center;
border-radius: 50%;
color: #1fc7b6;
background: rgba(240, 189, 79, 0.10);
border: 1px solid rgba(214, 162, 58, 0.26);
}

@media (max-width: 900px) {
header {
padding: 18px 5%;
}

}

@media (max-width: 900px) {
.egypt-panel {
padding: 26px 22px;
}

}

@media (max-width: 900px) {
nav {
display: none;
}

}

@media (max-width: 900px) {
section {
padding: 80px 5%;
}

}

@media (max-width: 900px) {
.hero,
.about-box {
grid-template-columns: 1fr;
text-align: center;
}

}

@media (max-width: 900px) {
.buttons {
justify-content: center;
}

}

@media (max-width: 900px) {
.grid,
.tools-grid {
grid-template-columns: 1fr;
}

}

@media (max-width: 900px) {
.hero-card {
min-height: 340px;
}

}

@media (max-width: 900px) {
.profile-frame {
width: 220px;
height: 220px;
}

}

@media (max-width: 900px) {
.coin-front {
font-size: 72px;
}

}

/* =========================
   CYBER MODE
========================= */

/* font cyber, jangan kena icon */

/* balikin font awesome */

/* header */

/* logo & nav */

/* hero text */

/* badge */

/* buttons */

/* hero card */

/* lingkaran foto */

/* coin */

/* cards */

/* kotak about me kiri */

/* kotak portfolio image */

/* skill chips */

/* socials */

/* blob */

/* footer */

/* terminal */

.terminal {
  display: none;
  margin: 0 0 28px 0;
  max-width: 620px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(0, 255, 160, 0.22);
  background: rgba(0, 20, 12, 0.45);
  color: #00ff9f;
  font-family: "Courier New", monospace;
  font-size: 14px;
  line-height: 1.7;
  box-shadow: 0 0 22px rgba(0, 255, 160, 0.08);
}

/* scanline */

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

/* =========================
   SAKURA TEXT (NO BACKGROUND AREA)
========================= */

/* =========================
   THEME DROPDOWN
========================= */

:root {
  --theme-menu-bg: rgba(7, 17, 31, 0.92);
  --theme-menu-hover: rgba(255, 255, 255, 0.08);
  --theme-menu-active: rgba(0, 229, 255, 0.12);
}

.theme-picker {
  position: relative;
  z-index: 35;
  margin-left: 20px;
}

.theme-toggle {
  position: relative;
  width: auto;
  min-width: 156px;
  height: 44px;
  margin-left: 0;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  isolation: isolate;
}

.theme-toggle > * {
  position: relative;
  z-index: 2;
}

.theme-toggle-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--theme-swatch-a, var(--blue)), var(--theme-swatch-b, var(--cyan)));
  box-shadow:
  inset 0 1px 0 rgba(255, 255, 255, 0.32),
  0 0 18px rgba(0, 229, 255, 0.18);
}

.theme-toggle-text {
  max-width: 92px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  color: currentColor;
}

.theme-toggle-chevron {
  flex: 0 0 auto;
  font-size: 11px;
  opacity: 0.78;
  transition: transform .25s ease;
}

.theme-picker.is-open .theme-toggle-chevron {
  transform: rotate(180deg);
}

.theme-toggle-glow {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--theme-swatch-a, var(--blue)), var(--theme-swatch-b, var(--cyan)));
  opacity: .16;
  z-index: 0;
  animation: themePulse 2.4s ease-in-out infinite;
}

.theme-toggle:hover {
  transform: translateY(-3px) scale(1.02);
}

.theme-menu {
  position: absolute;
  top: calc(100% + 12px);
  inset-inline-end: 0;
  width: min(356px, calc(100vw - 32px));
  max-height: min(520px, calc(100vh - 116px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--theme-menu-bg);
  color: var(--text);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px) saturate(1.16);
  -webkit-backdrop-filter: blur(18px) saturate(1.16);
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

html[dir="rtl"] .theme-menu {
  transform-origin: top left;
}

.theme-picker.is-open .theme-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.theme-menu[hidden] {
  display: none;
}

.theme-option {
  width: 100%;
  min-height: 74px;
  padding: 10px 9px 9px;
  border: 1px solid transparent;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  text-align: center;
  position: relative;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.theme-option:hover,
.theme-option:focus-visible {
  background: var(--theme-menu-hover);
  border-color: var(--border);
  outline: none;
  transform: translateY(-1px);
}

.theme-option:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.14);
}

.theme-option.is-active {
  background: var(--theme-menu-active);
  border-color: var(--border);
}

.theme-option-swatch {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--theme-swatch-a, var(--blue)), var(--theme-swatch-b, var(--cyan)));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.theme-option-label {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.15;
}

.theme-option-check {
  position: absolute;
  top: 7px;
  inset-inline-end: 7px;
  color: var(--cyan);
  font-size: 11px;
  opacity: 0;
  transition: opacity .2s ease;
}

.theme-option.is-active .theme-option-check {
  opacity: 1;
}

[data-theme-option="imlek"] {
  background: rgba(204, 0, 0, 0.08);
  border-color: rgba(204, 0, 0, 0.2);
  color: #ff5252;
}

[data-theme-option="imlek"]:hover,
[data-theme-option="imlek"]:focus-visible {
  background: rgba(204, 0, 0, 0.18);
  border-color: rgba(204, 0, 0, 0.4);
}

[data-theme-option="imlek"].is-active {
  background: rgba(204, 0, 0, 0.22);
  border-color: rgba(204, 0, 0, 0.5);
}

@keyframes themePulse {
  0%, 100% { opacity: .12; transform: scale(1); }
  50% { opacity: .30; transform: scale(1.08); }
}

@media (max-width: 1100px) {
header {
    padding: 20px 5%;
  }

}

@media (max-width: 1100px) {
nav a {
    margin-left: 18px;
    font-size: 13px;
  }

}

@media (max-width: 1100px) {
.theme-toggle {
    min-width: 142px;
  }

}

@media (max-width: 1100px) {
.theme-toggle-text {
    max-width: 76px;
  }

}

@media (max-width: 980px) {
nav {
    display: none;
  }

}

/* =========================
   RESPONSIVE THEME POLISH
========================= */

@media (max-width: 768px) {
.theme-picker {
    margin-left: 12px;
  }

}

@media (max-width: 768px) {
.theme-toggle {
    min-width: 132px;
    height: 42px;
    padding: 0 10px 0 8px;
    gap: 8px;
  }

}

@media (max-width: 768px) {
.theme-toggle-text {
    max-width: 66px;
  }

}

@media (max-width: 768px) {
.theme-menu {
    top: calc(100% + 10px);
    width: min(236px, calc(100vw - 24px));
  }

}

@media (max-width: 768px) {
.tools-source {
    width: 100%;
    border-radius: 18px;
    flex-wrap: wrap;
    text-align: center;
  }

}

@media (max-width: 768px) {
.logo {
    max-width: calc(100vw - 190px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 18px;
  }

}

@media (max-width: 420px) {
.theme-toggle {
    width: 44px;
    min-width: 44px;
    height: 40px;
    padding: 0;
    gap: 0;
  }

}

@media (max-width: 420px) {
.theme-toggle-text,
.theme-toggle-chevron {
    display: none;
  }

}

/* =========================
   CHARCOAL STUDIO MODE
========================= */

/* =========================
   MODERN SECURITY MODE
========================= */

@keyframes modernSecurityGlow {
0%, 100% {
opacity: .72;
transform: translate(-50%, -50%) scale(.96);
}
50% {
opacity: 1;
transform: translate(-50%, -50%) scale(1.08);
}
}

/* Modern Security dedicated sample layout */

.modern-security-page {
display: none;
}

.ms-header {
position: sticky;
top: 18px;
width: 100%;
padding: 10px 12px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 30px;
z-index: 50;
background: rgba(3, 7, 16, 0.58);
border: 1px solid rgba(255, 255, 255, 0.07);
border-radius: 18px;
box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
backdrop-filter: blur(18px) saturate(1.15);
-webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.ms-brand,
.ms-footer-brand {
display: inline-flex;
align-items: center;
gap: 10px;
color: #ffffff;
text-decoration: none;
font-size: 28px;
font-weight: 800;
letter-spacing: 0;
}

.ms-logo-mark {
position: relative;
width: 46px;
height: 46px;
display: grid;
place-items: center;
border-radius: 0;
background: transparent;
border: 0;
box-shadow: none;
overflow: visible;
isolation: isolate;
}

.ms-logo-mark::before {
content: "";
position: absolute;
inset: -14px;
border-radius: 50%;
background:
radial-gradient(circle at 54% 48%, rgba(168, 85, 247, .28), transparent 48%),
radial-gradient(circle at 35% 52%, rgba(255, 255, 255, .08), transparent 36%);
filter: blur(10px);
opacity: .76;
z-index: -1;
pointer-events: none;
}

.ms-logo-mark img {
width: 48px;
height: 48px;
object-fit: contain;
display: block;
filter:
brightness(1.10)
saturate(1.08)
drop-shadow(0 0 12px rgba(168, 85, 247, .34))
drop-shadow(0 0 2px rgba(255, 255, 255, .20));
opacity: .98;
}

.ms-nav {
display: flex;
align-items: center;
gap: 38px;
}

.ms-nav a,
.ms-footer nav a {
position: relative;
margin: 0;
color: #ffffff;
font-size: 15px;
font-weight: 700;
text-decoration: none;
}

.ms-nav a.active,
.ms-nav a:hover {
color: #a855f7;
}

.ms-nav a.active::after {
content: "";
position: absolute;
left: 50%;
bottom: -18px;
width: 16px;
height: 2px;
border-radius: 999px;
background: #a855f7;
transform: translateX(-50%);
}

.ms-talk,
.ms-view-all {
height: 48px;
padding: 0 18px;
border: 1px solid rgba(139, 92, 246, 0.46);
border-radius: 10px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 14px;
color: #ffffff;
background: rgba(4, 7, 18, 0.38);
text-decoration: none;
font-size: 14px;
font-weight: 800;
box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.ms-main {
position: relative;
display: flex;
flex-direction: column;
gap: 28px;
}

.ms-anchor {
display: block;
position: relative;
top: -90px;
visibility: hidden;
}

.ms-hero {
position: relative;
min-height: 628px;
padding: 78px 4px 0;
display: grid;
grid-template-columns: 390px 1fr;
gap: 28px;
align-items: center;
overflow: visible;
}

.ms-hero::before {
content: "";
position: absolute;
right: 82px;
top: 34px;
width: 560px;
height: 590px;
border-radius: 50%;
background:
radial-gradient(circle at 40% 42%, rgba(119, 55, 230, .92), transparent 39%),
radial-gradient(circle at 68% 50%, rgba(29, 78, 216, .78), transparent 47%);
filter: blur(54px);
opacity: .92;
z-index: 0;
}

.ms-hero-copy,
.ms-hero-visual {
position: relative;
z-index: 1;
}

.ms-badge {
width: fit-content;
height: 40px;
padding: 0 17px;
border-radius: 12px;
border: 1px solid rgba(0, 255, 136, 0.18);
display: inline-flex;
align-items: center;
gap: 12px;
color: #00ff5a;
background: rgba(0, 255, 136, 0.025);
font-size: 12px;
font-weight: 800;
margin-bottom: 48px;
}

.ms-badge span {
width: 7px;
height: 7px;
border-radius: 50%;
background: #00ff5a;
box-shadow: 0 0 15px rgba(0, 255, 90, .9);
}

.ms-kicker {
margin: 0 0 8px;
font-size: 27px;
line-height: 1;
font-weight: 800;
color: #ffffff;
}

.ms-hero h1 {
margin: 0 0 6px;
font-size: clamp(68px, 7.15vw, 92px);
line-height: .96;
font-weight: 900;
letter-spacing: 0;
color: #ffffff;
text-shadow: 0 8px 30px rgba(0,0,0,.35);
}

.ms-hero h2 {
margin: 0 0 26px;
font-size: clamp(39px, 4.25vw, 50px);
line-height: 1;
font-weight: 900;
letter-spacing: 0;
background: linear-gradient(90deg, #a855f7 0%, #3b82f6 100%);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
-webkit-text-fill-color: transparent;
}

.ms-intro {
max-width: 390px;
margin: 0 0 36px;
color: #aeb6c4;
font-size: 17px;
line-height: 1.72;
}

.ms-buttons {
display: flex;
gap: 28px;
align-items: center;
margin-bottom: 34px;
}

.ms-btn {
height: 58px;
padding: 0 28px;
border-radius: 10px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 18px;
text-decoration: none;
font-size: 15px;
font-weight: 800;
transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ms-btn-primary {
min-width: 204px;
color: #ffffff;
background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
box-shadow: 0 18px 42px rgba(79, 70, 229, 0.34);
}

.ms-btn-secondary {
min-width: 198px;
color: #ffffff;
background: rgba(4, 7, 18, 0.44);
border: 1px solid rgba(255, 255, 255, 0.12);
}

.ms-btn:hover,
.ms-talk:hover,
.ms-view-all:hover {
transform: translateY(-3px);
box-shadow: 0 18px 42px rgba(79, 70, 229, 0.26);
}

.ms-social-wrap p {
margin: 0 0 14px;
color: #737988;
font-size: 13px;
font-weight: 700;
}

.ms-socials {
display: flex;
gap: 20px;
}

.ms-socials a {
width: 44px;
height: 44px;
border-radius: 50%;
display: grid;
place-items: center;
color: #ffffff;
background: rgba(255,255,255,.06);
text-decoration: none;
font-size: 18px;
box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.ms-hero-visual {
min-height: 600px;
isolation: isolate;
}

.ms-hero-visual::before {
content: "";
position: absolute;
left: 18%;
right: -10%;
top: 4%;
bottom: 7%;
z-index: 0;
pointer-events: none;
background:
radial-gradient(circle at 54% 34%, rgba(147, 83, 255, .42), transparent 28%),
radial-gradient(circle at 70% 48%, rgba(43, 108, 255, .30), transparent 34%),
radial-gradient(ellipse at 56% 78%, rgba(0, 0, 0, .58), transparent 42%);
filter: blur(24px);
opacity: .92;
}

.ms-hero-visual::after {
content: "";
position: absolute;
bottom: 0;
left: -42px;
right: -42px;
height: 230px;
background:
linear-gradient(to top, rgba(4, 7, 18, .99) 0%, rgba(4, 7, 18, .78) 38%, rgba(4, 7, 18, .18) 72%, transparent 100%),
radial-gradient(ellipse at 68% 68%, rgba(0, 0, 0, .50), transparent 46%);
z-index: 2;
pointer-events: none;
}

.ms-hero-visual > img {
position: absolute;
right: -34px;
bottom: -22px;
width: min(650px, 61vw);
max-width: none;
height: auto;
display: block;
object-fit: contain;
filter:
saturate(1.08)
contrast(1.06)
brightness(.98)
drop-shadow(0 34px 58px rgba(0,0,0,.58))
drop-shadow(0 0 52px rgba(79, 70, 229, .16));
z-index: 1;
-webkit-mask-image:
radial-gradient(ellipse 76% 90% at 58% 50%, #000 48%, rgba(0,0,0,.88) 66%, rgba(0,0,0,.36) 84%, transparent 100%),
linear-gradient(to bottom, #000 0 73%, rgba(0,0,0,.86) 82%, transparent 100%);
mask-image:
radial-gradient(ellipse 76% 90% at 58% 50%, #000 48%, rgba(0,0,0,.88) 66%, rgba(0,0,0,.36) 84%, transparent 100%),
linear-gradient(to bottom, #000 0 73%, rgba(0,0,0,.86) 82%, transparent 100%);
-webkit-mask-composite: source-in;
mask-composite: intersect;
}

.ms-automation-card,
.ms-security-card {
position: absolute;
z-index: 4;
border: 1px solid rgba(255,255,255,.105);
border-radius: 18px;
background:
linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,0) 34%),
rgba(10, 14, 30, 0.58);
box-shadow:
inset 0 1px 0 rgba(255,255,255,.07),
0 24px 60px rgba(0,0,0,.30);
backdrop-filter: blur(18px);
user-select: none;
}

.ms-automation-card {
left: 178px;
top: 116px;
width: 126px;
padding: 20px 22px;
}

.ms-automation-card span {
display: block;
margin-bottom: 12px;
font-family: "Consolas", "Courier New", monospace;
font-size: 20px;
font-weight: 700;
letter-spacing: 0;
color: #f4efff;
text-shadow: 0 0 12px rgba(196, 181, 253, .28);
}

.ms-automation-card p,
.ms-security-card p {
margin: 0;
color: #ffffff;
font-size: 15px;
font-weight: 650;
line-height: 1.45;
}

.ms-security-card {
right: 0;
bottom: 58px;
width: 218px;
padding: 19px 22px 21px;
border-radius: 16px;
}

.ms-security-card span {
width: 38px;
height: 38px;
margin-bottom: 15px;
border-radius: 11px;
display: grid;
place-items: center;
color: #b388ff;
background: rgba(139, 92, 246, .25);
font-size: 18px;
}

.ms-dots {
position: absolute;
right: -6px;
top: 46px;
width: 96px;
height: 96px;
background-image: radial-gradient(circle, rgba(255,255,255,.62) 2px, transparent 2.7px);
background-size: 22px 22px;
opacity: .58;
z-index: 2;
filter: drop-shadow(0 0 8px rgba(196, 181, 253, .18));
}

.ms-blue-orb {
position: absolute;
right: 16px;
top: 206px;
width: 38px;
height: 38px;
border-radius: 50%;
background: radial-gradient(circle at 35% 35%, #8fa0ff, #5143ff 58%, #111833);
box-shadow: 0 0 40px rgba(79, 70, 229, .90);
z-index: 3;
animation: msBlueOrbFloat 5.8s ease-in-out infinite;
will-change: transform, box-shadow;
}

@keyframes msBlueOrbFloat {
0%, 100% {
transform: translate3d(0, 0, 0) scale(1);
box-shadow: 0 0 34px rgba(79, 70, 229, .78);
}
50% {
transform: translate3d(-10px, 12px, 0) scale(1.06);
box-shadow: 0 0 54px rgba(113, 96, 255, .96);
}
}

.ms-arrow-doodle {
position: absolute;
left: 116px;
top: 246px;
width: 210px;
height: 140px;
transform: rotate(-3deg);
opacity: .95;
z-index: 5;
filter: drop-shadow(0 0 16px rgba(196, 181, 253, .30));
pointer-events: none;
animation: msNeonArrowFloat 4.8s ease-in-out infinite;
}

.ms-arrow-doodle img {
width: 100%;
height: 100%;
display: block;
object-fit: contain;
filter: contrast(1.04) brightness(1.02) saturate(1.05);
}

@keyframes msNeonArrowFloat {
0%, 100% {
transform: translateY(0) rotate(-2deg);
filter: drop-shadow(0 0 12px rgba(168, 85, 247, .28));
}
50% {
transform: translateY(6px) rotate(-1deg);
filter: drop-shadow(0 0 22px rgba(196, 181, 253, .42));
}
}

.ms-stats,
.ms-project-section,
.ms-cta {
border: 1px solid rgba(255,255,255,.085);
border-radius: 18px;
background: rgba(5, 10, 23, .76);
box-shadow:
inset 0 1px 0 rgba(255,255,255,.055),
0 28px 72px rgba(0,0,0,.36);
backdrop-filter: blur(20px);
}

.ms-stats {
min-height: 136px;
padding: 28px 30px;
display: grid;
grid-template-columns: repeat(4, 1fr);
align-items: center;
gap: 0;
}

.ms-stat {
position: relative;
display: grid;
grid-template-columns: 64px 1fr;
grid-template-rows: auto auto;
align-items: center;
column-gap: 16px;
padding: 0 30px;
}

.ms-stat:not(:last-child)::after {
content: "";
position: absolute;
right: 0;
top: 12px;
width: 1px;
height: 58px;
background: rgba(255,255,255,.09);
}

.ms-stat > span {
grid-row: 1 / 3;
width: 52px;
height: 52px;
border-radius: 50%;
display: grid;
place-items: center;
font-size: 23px;
}

.ms-stat .purple { color: #9b5cff; background: rgba(139,92,246,.16); }

.ms-stat .blue { color: #4f7bff; background: rgba(79,123,255,.14); }

.ms-stat .green { color: #00ff88; background: rgba(0,255,136,.14); }

.ms-stat .orange { color: #ff9c3d; background: rgba(255,156,61,.13); }

.ms-stat strong {
font-size: 37px;
line-height: 1;
font-weight: 900;
letter-spacing: 0;
color: #6d7dff;
}

.ms-stat:last-child strong {
color: #ff9c3d;
}

.ms-stat p {
margin: 8px 0 0;
color: #b4bbc9;
font-size: 14px;
}

.ms-project-section {
margin-top: 0;
padding: 34px 32px 26px;
}

.ms-section-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
margin-bottom: 28px;
}

.ms-section-head p {
margin: 0 0 10px;
color: #8c7dff;
font-size: 14px;
font-weight: 900;
letter-spacing: .04em;
}

.ms-section-head h2 {
margin: 0;
font-size: 32px;
line-height: 1.1;
letter-spacing: 0;
}

.ms-project-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}

.ms-project-card {
position: relative;
overflow: hidden;
border: 1px solid rgba(255,255,255,.075);
border-radius: 16px;
background:
linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0) 32%),
rgba(8, 13, 26, .82);
box-shadow:
inset 0 1px 0 rgba(255,255,255,.045),
0 20px 42px rgba(0,0,0,.22);
transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.ms-project-card::before {
content: "";
position: absolute;
inset: 0;
z-index: 1;
pointer-events: none;
background:
radial-gradient(circle at 24% 8%, rgba(139, 92, 246, .18), transparent 30%),
linear-gradient(180deg, transparent 36%, rgba(4, 7, 18, .34) 70%, rgba(4, 7, 18, .62) 100%);
opacity: .82;
}

.ms-project-card::after {
content: "";
position: absolute;
left: 16px;
right: 16px;
top: 184px;
height: 1px;
z-index: 2;
background: linear-gradient(90deg, transparent, rgba(168, 85, 247, .40), transparent);
opacity: .72;
}

.ms-project-card > img {
position: relative;
z-index: 0;
width: calc(100% - 24px);
height: 186px;
margin: 12px 12px 0;
border-radius: 12px;
object-fit: cover;
display: block;
background: rgba(255,255,255,.04);
box-shadow:
0 18px 42px rgba(0, 0, 0, .34),
0 0 0 1px rgba(255, 255, 255, .08);
filter: saturate(1.08) contrast(1.06) brightness(.96);
transition: transform .42s ease, filter .42s ease;
}

.ms-project-card:hover {
transform: translateY(-6px);
border-color: rgba(139, 92, 246, .34);
box-shadow:
inset 0 1px 0 rgba(255,255,255,.06),
0 28px 62px rgba(0,0,0,.34),
0 0 44px rgba(79, 70, 229, .11);
}

.ms-project-card:hover > img {
transform: scale(1.035);
filter: saturate(1.16) contrast(1.08) brightness(1.02);
}

.ms-project-body {
position: relative;
z-index: 2;
padding: 18px 16px 16px;
}

.ms-project-body h3 {
margin: 0 0 12px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
color: #ffffff;
font-size: 17px;
line-height: 1.2;
}

.ms-project-body h3 i {
width: 30px;
height: 30px;
border-radius: 8px;
display: grid;
place-items: center;
flex: 0 0 auto;
background: rgba(255,255,255,.08);
font-size: 14px;
}

.ms-project-body p {
min-height: 48px;
margin: 0 0 18px;
color: #b4bbc9;
font-size: 14px;
line-height: 1.55;
}

.ms-tags {
display: flex;
flex-wrap: wrap;
gap: 10px;
}

.ms-tags span {
height: 28px;
padding: 0 13px;
border-radius: 999px;
display: inline-flex;
align-items: center;
color: #dce3ef;
background: rgba(255,255,255,.07);
font-size: 12px;
font-weight: 700;
}

.ms-cta {
position: relative;
min-height: 224px;
margin-top: 0;
padding: 32px 36px;
display: flex;
align-items: center;
justify-content: space-between;
overflow: hidden;
}

.ms-cta h2 {
margin: 0 0 14px;
font-size: 31px;
letter-spacing: 0;
}

.ms-cta p {
max-width: 610px;
margin: 0 0 24px;
color: #b4bbc9;
font-size: 15px;
line-height: 1.55;
}

.ms-plane {
position: relative;
width: 360px;
height: 170px;
color: #6f3cff;
transform: rotate(-10deg);
filter: drop-shadow(0 22px 32px rgba(79, 70, 229, .34));
}

.ms-plane::before {
content: "";
position: absolute;
left: -72px;
top: 86px;
width: 235px;
height: 72px;
border-bottom: 2px dashed rgba(204, 178, 255, .72);
border-left: 2px dashed rgba(204, 178, 255, .38);
border-radius: 0 0 0 110px;
transform: rotate(13deg);
}

.ms-plane::after {
content: "✦  ✦  ✦";
position: absolute;
inset: 0;
color: rgba(139,92,246,.52);
font-size: 20px;
letter-spacing: 70px;
transform: rotate(12deg);
}

.ms-plane::after {
content: "*  *  *";
right: 6px;
top: 18px;
inset: auto;
letter-spacing: 58px;
transform: rotate(13deg);
}

.ms-plane-body,
.ms-plane-wing {
position: absolute;
display: block;
right: 28px;
top: 18px;
width: 146px;
height: 104px;
background: linear-gradient(135deg, #8b5cf6 0%, #5b21e7 45%, #3120a7 100%);
clip-path: polygon(0 38%, 100% 0, 58% 96%, 43% 56%);
box-shadow: inset -12px -16px 24px rgba(20, 10, 84, .38);
}

.ms-plane-wing {
right: 63px;
top: 71px;
width: 102px;
height: 52px;
background: linear-gradient(135deg, #6d28d9 0%, #3b1aa8 100%);
clip-path: polygon(0 0, 100% 0, 18% 100%);
opacity: .9;
}

.ms-plane {
width: 380px;
height: 174px;
transform: none;
filter: drop-shadow(0 24px 34px rgba(79, 70, 229, .32));
}

.ms-plane::before {
left: -82px;
top: 88px;
width: 248px;
height: 70px;
border-bottom: 2px dashed rgba(204, 178, 255, .66);
border-left: 2px dashed rgba(204, 178, 255, .36);
border-radius: 0 0 0 126px;
transform: rotate(5deg);
}

.ms-plane::after {
content: "";
right: 36px;
top: 28px;
width: 8px;
height: 8px;
background: rgba(139, 92, 246, .58);
clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
box-shadow:
-92px 18px 0 rgba(139, 92, 246, .38),
-228px 34px 0 rgba(139, 92, 246, .34);
letter-spacing: 0;
transform: none;
}

.ms-plane-body {
right: 24px;
top: 14px;
width: 152px;
height: 106px;
background: linear-gradient(137deg, #8b5cf6 0%, #6236f0 44%, #30118f 100%);
clip-path: polygon(0 50%, 100% 0, 68% 100%, 51% 58%);
box-shadow:
inset -18px -18px 28px rgba(24, 12, 92, .42),
inset 18px 8px 22px rgba(186, 151, 255, .14);
transform: rotate(-13deg);
transform-origin: 52% 55%;
}

.ms-plane-body::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(185, 139, 255, .52), rgba(76, 29, 149, .05) 58%);
clip-path: polygon(0 50%, 100% 0, 51% 58%);
}

.ms-plane-body::after {
content: "";
position: absolute;
right: 41px;
top: 47px;
width: 76px;
height: 28px;
background: linear-gradient(135deg, rgba(43, 16, 129, .68), rgba(116, 60, 238, .14));
clip-path: polygon(0 0, 100% 0, 38% 100%);
}

.ms-plane-wing {
right: 80px;
top: 83px;
width: 94px;
height: 52px;
background: linear-gradient(135deg, #4f21cc 0%, #28106f 100%);
clip-path: polygon(0 0, 100% 0, 24% 100%);
opacity: .94;
transform: rotate(-13deg);
transform-origin: top right;
}

.ms-plane {
position: relative;
width: min(410px, 40%);
height: auto;
aspect-ratio: 3 / 2;
flex: 0 0 min(410px, 40%);
transform: none;
filter: drop-shadow(0 24px 36px rgba(79, 70, 229, .34));
opacity: .98;
animation: msPlaneFloat 5.2s ease-in-out infinite;
}

.ms-plane::before,
.ms-plane::after {
display: none;
}

.ms-plane img {
width: 100%;
height: 100%;
display: block;
object-fit: contain;
filter: contrast(1.04) brightness(1.04) saturate(1.08);
}

@keyframes msPlaneFloat {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-7px);
}
}

.ms-footer {
margin-top: 28px;
padding: 10px 0 0;
border: 0;
display: flex;
align-items: center;
justify-content: space-between;
gap: 28px;
color: #8a919f;
background: transparent;
}

.ms-footer-brand {
gap: 20px;
font-size: 16px;
font-weight: 500;
}

.ms-footer-brand .ms-logo-mark {
width: 40px;
height: 40px;
opacity: .9;
}

.ms-footer-brand .ms-logo-mark img {
width: 44px;
height: 44px;
}

.ms-footer-brand p {
margin: 0;
color: #8a919f;
font-size: 14px;
}

.ms-footer nav {
display: flex;
gap: 44px;
}

.ms-footer nav a {
color: #8a919f;
font-weight: 500;
}

.ms-back-top {
width: 48px;
height: 48px;
border-radius: 50%;
display: grid;
place-items: center;
color: #ffffff;
background: rgba(255,255,255,.07);
text-decoration: none;
}

.ms-header-right {
display: flex;
align-items: center;
gap: 12px;
}

.ms-hamburger {
display: none;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 5px;
width: 44px;
height: 44px;
border: 1px solid rgba(255,255,255,.12);
border-radius: 10px;
background: rgba(255,255,255,.04);
cursor: pointer;
transition: background .2s, border-color .2s;
}

.ms-hamburger:hover {
background: rgba(139,92,246,.15);
border-color: rgba(139,92,246,.4);
}

.ms-hamburger span {
display: block;
width: 20px;
height: 2px;
border-radius: 2px;
background: #ffffff;
transition: transform .25s ease, opacity .2s ease;
}

.ms-hamburger[aria-expanded="true"] span:nth-child(1) {
transform: translateY(7px) rotate(45deg);
}

.ms-hamburger[aria-expanded="true"] span:nth-child(2) {
opacity: 0;
transform: scaleX(0);
}

.ms-hamburger[aria-expanded="true"] span:nth-child(3) {
transform: translateY(-7px) rotate(-45deg);
}

.ms-mobile-nav {
display: none;
}

@media (max-width: 1100px) {
.ms-nav {
gap: 24px;
}

}

@media (max-width: 1100px) {
.ms-hero {
grid-template-columns: 1fr;
min-height: auto;
padding-top: 70px;
}

}

@media (max-width: 1100px) {
.ms-hero-copy {
max-width: 560px;
}

}

@media (max-width: 1100px) {
.ms-hero-visual {
min-height: 620px;
}

}

@media (max-width: 1100px) {
.ms-hero-visual > img {
right: 50%;
bottom: -26px;
transform: translateX(50%);
width: min(690px, 100%);
}

}

@media (max-width: 1100px) {
.ms-automation-card {
left: 12%;
}

}

@media (max-width: 1100px) {
.ms-arrow-doodle {
left: calc(12% - 4px);
top: 276px;
width: 190px;
height: 126px;
}

}

@media (max-width: 1100px) {
.ms-stats,
.ms-project-grid {
grid-template-columns: repeat(2, 1fr);
}

}

@media (max-width: 1100px) {
.ms-stat:nth-child(2)::after {
display: none;
}

}

@media (max-width: 1100px) {
.ms-stat {
padding: 18px 22px;
}

}

@media (max-width: 820px) {
.ms-header {
gap: 16px;
}

}

@media (max-width: 820px) {
.ms-nav {
display: none;
}

}

@media (max-width: 820px) {
.ms-hamburger {
display: flex;
}

}

@media (max-width: 820px) {
.ms-mobile-nav {
display: flex;
flex-direction: column;
max-height: 0;
overflow: hidden;
background: rgba(6, 8, 22, 0.96);
border-radius: 12px;
backdrop-filter: blur(16px);
transition: max-height .35s cubic-bezier(.4,0,.2,1), margin-bottom .35s ease;
margin-bottom: 0;
}

}

@media (max-width: 820px) {
.ms-mobile-nav.is-open {
max-height: 380px;
margin-bottom: 16px;
border: 1px solid rgba(255,255,255,.08);
}

}

@media (max-width: 820px) {
.ms-mobile-nav a {
padding: 14px 20px;
color: #dfe4ee;
text-decoration: none;
font-size: 16px;
font-weight: 600;
border-bottom: 1px solid rgba(255,255,255,.05);
transition: color .2s, background .2s, padding-left .2s;
}

}

@media (max-width: 820px) {
.ms-mobile-nav a:last-child {
border-bottom: 0;
}

}

@media (max-width: 820px) {
.ms-mobile-nav a:hover,
.ms-mobile-nav a.active {
color: #a855f7;
background: rgba(139,92,246,.08);
padding-left: 28px;
}

}

@media (max-width: 820px) {
.ms-brand {
font-size: 22px;
gap: 12px;
}

}

@media (max-width: 820px) {
.ms-talk {
height: 42px;
padding: 0 14px;
}

}

@media (max-width: 820px) {
.ms-hero {
padding-top: 54px;
}

}

@media (max-width: 820px) {
.ms-buttons,
.ms-section-head,
.ms-cta,
.ms-footer {
align-items: flex-start;
flex-direction: column;
}

}

@media (max-width: 820px) {
.ms-buttons {
gap: 14px;
}

}

@media (max-width: 820px) {
.ms-btn,
.ms-btn-primary,
.ms-btn-secondary {
width: 100%;
min-width: 0;
}

}

@media (max-width: 820px) {
.ms-hero-visual {
min-height: 480px;
}

}

@media (max-width: 820px) {
.ms-hero-visual::before {
left: 8%;
right: 8%;
top: 4%;
bottom: 8%;
}

}

@media (max-width: 820px) {
.ms-hero-visual::after {
left: -18px;
right: -18px;
height: 190px;
}

}

@media (max-width: 820px) {
.ms-hero-visual > img {
bottom: -18px;
width: min(560px, 108%);
}

}

@media (max-width: 820px) {
.ms-automation-card,
.ms-security-card,
.ms-dots,
.ms-blue-orb,
.ms-arrow-doodle {
display: none;
}

}

@media (max-width: 820px) {
.ms-stats,
.ms-project-grid {
grid-template-columns: 1fr;
}

}

@media (max-width: 820px) {
.ms-stat::after {
display: none;
}

}

@media (max-width: 820px) {
.ms-project-card > img {
height: auto;
aspect-ratio: 16 / 10;
}

}

@media (max-width: 820px) {
.ms-plane {
width: 100%;
height: 120px;
font-size: 76px;
}

}

@media (max-width: 820px) {
.ms-footer nav {
flex-wrap: wrap;
gap: 16px 28px;
}

}

@media (max-width: 520px) {
.ms-logo-mark {
width: 38px;
height: 38px;
}

}

@media (max-width: 520px) {
.ms-logo-mark img {
width: 42px;
height: 42px;
}

}

@media (max-width: 520px) {
.ms-talk span {
display: none;
}

}

@media (max-width: 520px) {
.ms-talk {
width: 38px;
height: 38px;
padding: 0;
border-radius: 50%;
}

}

@media (max-width: 520px) {
.ms-hamburger {
width: 38px;
height: 38px;
}

}

@media (max-width: 520px) {
.ms-badge {
font-size: 11px;
}

}

@media (max-width: 520px) {
.ms-hero h1 {
font-size: 58px;
}

}

@media (max-width: 520px) {
.ms-hero h2 {
font-size: 38px;
}

}

@media (max-width: 520px) {
.ms-intro {
font-size: 15px;
}

}

@media (max-width: 520px) {
.ms-hero-visual {
min-height: 380px;
}

}

@media (max-width: 520px) {
.ms-stats,
.ms-project-section,
.ms-cta {
border-radius: 16px;
padding-left: 18px;
padding-right: 18px;
}

}

/* =========================
   IMLEK MODE
========================= */

/* Imlek showcase section */

.imlek-showcase {
display: none;
}

.imlek-panel {
max-width: 960px;
margin: 0 auto;
padding: 36px;
border: 1px solid rgba(200, 80, 0, 0.28);
border-radius: 24px;
background: rgba(13, 0, 2, 0.52);
box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24);
}

.imlek-kicker {
display: inline-block;
margin-bottom: 12px;
color: #ff6060;
font-size: 13px;
font-weight: 800;
letter-spacing: 2px;
text-transform: uppercase;
}

.imlek-panel h2 {
font-size: clamp(30px, 4vw, 48px);
line-height: 1.1;
margin-bottom: 14px;
color: #fff8e7;
}

.imlek-panel p {
max-width: 700px;
color: #f5c8a0;
line-height: 1.8;
}

.imlek-symbols {
display: flex;
gap: 14px;
margin-top: 24px;
}

.imlek-symbols span {
width: 46px;
height: 46px;
display: grid;
place-items: center;
border-radius: 50%;
color: #ff6060;
background: rgba(255, 140, 0, 0.10);
border: 1px solid rgba(200, 80, 0, 0.26);
font-size: 22px;
}

@media (max-width: 900px) {
.imlek-panel {
padding: 26px 22px;
}

}

