:root {
    --navy: #06172f;
    --navy-2: #0b2447;
    --blue: #00a8ff;
    --emerald: #13c98b;
    --gold: #d9a441;
    --white: #ffffff;
    --muted: #64748b;
    --line: #dbe5f0;
    --bg: #f6f9fc;
    --danger: #b42318;
}
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
body { margin: 0; font-family: Inter, Segoe UI, Arial, sans-serif; color: var(--navy); background: #f7fbff; line-height: 1.6; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px clamp(18px, 5vw, 68px); background: rgba(6,23,47,.82); border-bottom: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(22px); color: white; box-shadow: 0 14px 40px rgba(6,23,47,.16); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; letter-spacing: 0; font-size: 1.05rem; white-space: nowrap; overflow-wrap: anywhere; }
.brand img { width: 34px; height: 34px; object-fit: contain; border-radius: 6px; background: rgba(255,255,255,.9); }
.brand span { color: var(--blue); }
.footer-logo { display: block; width: min(280px, 100%); height: auto; margin-bottom: 14px; border-radius: 8px; background: white; padding: 8px; }
.menu-toggle { display: none; min-height: 40px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.24); border-radius: 8px; background: rgba(255,255,255,.1); color: white; font: inherit; font-weight: 900; cursor: pointer; }
nav, .site-nav { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: .86rem; flex-wrap: nowrap; justify-content: flex-end; }
nav a, .nav-group summary { opacity: .92; min-height: 38px; display: inline-flex; align-items: center; border-radius: 8px; cursor: pointer; overflow-wrap: anywhere; }
nav a:hover, .nav-group summary:hover, .nav-group[open] summary { opacity: 1; color: #9fe6ff; }
.nav-group { position: relative; }
.nav-group summary { list-style: none; padding: 0 4px; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary::after { content: ""; width: 7px; height: 7px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .78; }
.nav-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 210px; display: grid; gap: 4px; padding: 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.16); background: rgba(6,23,47,.96); box-shadow: 0 22px 60px rgba(0,0,0,.26); backdrop-filter: blur(20px); }
.nav-menu a { min-height: 40px; padding: 9px 10px; color: white; }
.nav-menu a:hover { background: rgba(255,255,255,.1); color: #9fe6ff; }
.nav-cta { color: white; background: linear-gradient(135deg, var(--blue), var(--emerald)); padding: 9px 13px; border-radius: 8px; box-shadow: 0 14px 34px rgba(0,168,255,.24); }
.hero { min-height: calc(100vh - 68px); display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.88fr); gap: 34px; align-items: center; padding: 44px clamp(18px, 5vw, 68px) 58px; background:
    linear-gradient(120deg, rgba(6,23,47,.92), rgba(8,44,53,.88)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='900' viewBox='0 0 1400 900'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%2300a8ff'/%3E%3Cstop offset='1' stop-color='%2313c98b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1400' height='900' fill='%2306172f'/%3E%3Cg fill='none' stroke='url(%23g)' stroke-opacity='.32'%3E%3Cpath d='M0 190C230 110 370 310 560 230s290-250 510-120 180 330 330 260'/%3E%3Cpath d='M0 520c260-120 430 90 650-40s320-270 750-70'/%3E%3Cpath d='M120 0v900M360 0v900M600 0v900M840 0v900M1080 0v900M1320 0v900M0 160h1400M0 360h1400M0 560h1400M0 760h1400' stroke-opacity='.08'/%3E%3C/g%3E%3Ccircle cx='1060' cy='190' r='170' fill='%2300a8ff' fill-opacity='.18'/%3E%3Ccircle cx='1180' cy='680' r='230' fill='%2313c98b' fill-opacity='.14'/%3E%3C/svg%3E");
    background-size: cover; color: white; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(transparent, #f7fbff); pointer-events: none; }
.hero h1 { font-size: 4.15rem; line-height: 1.02; margin: 0 0 20px; letter-spacing: 0; max-width: 780px; overflow-wrap: break-word; word-break: normal; }
.hero p { max-width: 700px; font-size: 1.05rem; color: #e5f1ff; margin: 0; overflow-wrap: break-word; }
.glass-pane, .glass-card { min-width: 0; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); box-shadow: 0 24px 80px rgba(0,0,0,.24); backdrop-filter: blur(22px); border-radius: 8px; }
.hero-copy { padding: 28px; position: relative; z-index: 1; }
.hero-dashboard { position: relative; z-index: 1; padding: 24px; min-height: 500px; display: grid; grid-template-rows: auto 1fr auto auto; gap: 16px; overflow: hidden; perspective: 1200px; transform-style: preserve-3d; }
.hero-dashboard::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; pointer-events: none; transform: translateZ(28px); }
.hero-dashboard::after { content: ""; position: absolute; inset: 48% 8% 10%; background: radial-gradient(ellipse at center, rgba(0,168,255,.22), transparent 64%); filter: blur(4px); pointer-events: none; }
.command-canvas { position: absolute; inset: 70px 0 118px; width: 100%; height: calc(100% - 188px); z-index: 1; display: block; }
.dashboard-top { position: relative; z-index: 3; display: grid; gap: 8px; max-width: 430px; transform: translateZ(60px); }
.dashboard-top span { color: var(--gold); font-weight: 900; font-size: .78rem; text-transform: uppercase; }
.dashboard-top strong { color: white; font-size: 1.45rem; line-height: 1.15; overflow-wrap: break-word; }
.command-overlay { position: relative; z-index: 2; min-height: 260px; transform-style: preserve-3d; animation: commandFloat 7s ease-in-out infinite; --orbit-center-y: 45%; }
.command-overlay::before, .command-overlay::after { content: ""; position: absolute; left: 50%; top: var(--orbit-center-y); width: min(78%, 390px); height: 148px; border: 1px solid rgba(159,230,255,.28); border-radius: 50%; transform: translate(-50%, -50%) rotateX(62deg) rotateZ(-12deg); box-shadow: 0 0 32px rgba(0,168,255,.12); pointer-events: none; }
.command-overlay::after { width: min(64%, 320px); height: 122px; border-color: rgba(19,201,139,.24); transform: translate(-50%, -50%) rotateX(62deg) rotateZ(21deg); }
.command-core { position: absolute; left: 50%; top: 45%; z-index: 6; width: 156px; height: 156px; transform: translate(-50%, -50%) translateZ(86px) rotateX(10deg); display: grid; place-content: center; text-align: center; gap: 6px; border-radius: 50%; color: white; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.34), rgba(0,168,255,.38) 44%, rgba(6,23,47,.82)); border: 1px solid rgba(159,230,255,.42); box-shadow: 0 30px 80px rgba(0,168,255,.28), inset 0 0 26px rgba(255,255,255,.12); }
.command-core b { font-size: 1.75rem; color: #9fe6ff; }
.command-core span { color: #e4f2ff; font-weight: 900; font-size: .82rem; padding: 0 20px; line-height: 1.25; }
.command-label { position: absolute; left: 50%; top: var(--orbit-center-y); z-index: 3; min-width: 104px; text-align: center; padding: 10px 14px; border-radius: 8px; font-weight: 900; font-size: .86rem; color: white; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); box-shadow: 0 18px 48px rgba(0,0,0,.2); backdrop-filter: blur(16px); transform-style: preserve-3d; will-change: transform, opacity, filter; }
.label-web { color: #a9edff; }
.label-software { color: #a9ffd9; }
.label-ai { color: #ffe1a3; }
.label-fintech { color: white; }
.hero-stats { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; transform: translateZ(48px); }
.hero-stats div { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 8px; padding: 14px; }
.hero-stats strong { display: block; color: #91e8ff; font-size: 1.7rem; line-height: 1; }
.hero-stats span { color: #d5e7f7; font-size: .85rem; }
.dashboard-progress { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; transform: translateZ(42px); }
.dashboard-progress span { display: grid; gap: 8px; color: #d5e7f7; font-size: .78rem; font-weight: 900; }
.dashboard-progress b { display: block; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--emerald)); }
.ai-works-showcase { position: relative; min-height: 520px; overflow: hidden; display: grid; grid-template-columns: minmax(320px,.86fr) minmax(420px,1.14fr); align-items: center; gap: 20px; padding: 54px clamp(18px, 5vw, 68px); color: white; background:
    linear-gradient(90deg, rgba(3,11,23,.9) 0%, rgba(6,23,47,.76) 38%, rgba(6,23,47,.18) 68%),
    radial-gradient(circle at 70% 52%, rgba(217,164,65,.25), transparent 30%),
    linear-gradient(140deg, #041021, #07392f 58%, #071b36);
}
.ai-works-showcase::before { content: ""; position: absolute; inset: 0; background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 68px 68px; mask-image: linear-gradient(90deg, transparent, #000 38%, #000 100%); opacity: .55; }
.ai-works-copy { position: relative; z-index: 3; max-width: 650px; }
.ai-works-copy h2 { color: white; font-size: clamp(2.35rem, 4.6vw, 4.8rem); margin-bottom: 18px; }
.ai-works-copy h2 span { color: #ff5f8f; }
.ai-works-copy p:not(.eyebrow) { color: #e4f2ff; font-size: 1.08rem; max-width: 620px; }
.intelligence-garden { position: relative; z-index: 2; min-height: 420px; height: 100%; }
.tree-canopy { position: absolute; left: 42%; top: 12%; width: 330px; height: 230px; transform: translateX(-50%); border-radius: 48% 52% 45% 55%; background:
    radial-gradient(circle at 30% 38%, rgba(19,201,139,.95), transparent 28%),
    radial-gradient(circle at 62% 28%, rgba(122,239,173,.88), transparent 30%),
    radial-gradient(circle at 70% 62%, rgba(5,96,74,.94), transparent 34%),
    radial-gradient(circle at 38% 68%, rgba(7,71,51,.98), transparent 36%);
    filter: drop-shadow(0 28px 45px rgba(0,0,0,.34)); animation: canopyBreath 5s ease-in-out infinite; }
.tree-trunk { position: absolute; left: 42%; top: 43%; width: 82px; height: 210px; transform: translateX(-50%); border-radius: 42px 42px 18px 18px; background: linear-gradient(90deg, #59310f, #d9a441 42%, #fff0bb 50%, #9a5f1c 70%, #351c0d); box-shadow: 0 0 38px rgba(217,164,65,.52); }
.branch { position: absolute; left: 38px; top: 24px; width: 4px; height: 120px; border-radius: 999px; background: linear-gradient(#fff4c2, #d9a441, transparent); transform-origin: bottom center; animation: branchPulse 2.8s ease-in-out infinite; }
.branch-1 { transform: rotate(-58deg); height: 150px; top: -38px; }
.branch-2 { transform: rotate(-38deg); height: 130px; top: -18px; }
.branch-3 { transform: rotate(-18deg); height: 142px; top: -30px; }
.branch-4 { transform: rotate(16deg); height: 150px; top: -36px; }
.branch-5 { transform: rotate(38deg); height: 138px; top: -26px; }
.branch-6 { transform: rotate(60deg); height: 132px; top: -20px; }
.branch-7 { transform: rotate(-74deg); height: 98px; top: 12px; }
.branch-8 { transform: rotate(74deg); height: 104px; top: 10px; }
.branch-9 { transform: rotate(-25deg); height: 96px; top: 24px; }
.branch-10 { transform: rotate(25deg); height: 96px; top: 24px; }
.root-grid { position: absolute; left: 18%; right: 2%; bottom: 6%; height: 150px; background:
    linear-gradient(25deg, transparent 48%, rgba(217,164,65,.42) 49%, transparent 51%),
    linear-gradient(-25deg, transparent 48%, rgba(0,168,255,.24) 49%, transparent 51%),
    linear-gradient(90deg, transparent 48%, rgba(255,255,255,.12) 50%, transparent 52%);
    background-size: 72px 48px; opacity: .86; animation: gridGlide 10s linear infinite; }
.data-cube { position: absolute; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.48); background: rgba(255,255,255,.08); box-shadow: inset 0 0 16px rgba(255,255,255,.16), 0 0 28px rgba(217,164,65,.22); transform: rotate(45deg); animation: cubeFloat 5s ease-in-out infinite; }
.cube-1{left:8%;bottom:18%;animation-delay:.1s}.cube-2{left:15%;bottom:28%;animation-delay:.7s}.cube-3{left:24%;bottom:14%;animation-delay:1.1s}.cube-4{left:31%;bottom:26%;animation-delay:.4s}.cube-5{left:49%;bottom:16%;animation-delay:1.5s}.cube-6{left:57%;bottom:30%;animation-delay:.2s}.cube-7{left:68%;bottom:17%;animation-delay:.9s}.cube-8{left:77%;bottom:27%;animation-delay:1.3s}.cube-9{left:86%;bottom:14%;animation-delay:.5s}.cube-10{left:92%;bottom:34%;animation-delay:1.7s}.cube-11{left:4%;top:44%;animation-delay:.6s}.cube-12{left:18%;top:32%;animation-delay:1.8s}.cube-13{left:66%;top:38%;animation-delay:.8s}.cube-14{left:78%;top:32%;animation-delay:1.4s}.cube-15{left:91%;top:42%;animation-delay:.3s}.cube-16{left:58%;top:18%;animation-delay:1s}.cube-17{left:34%;top:18%;animation-delay:1.6s}.cube-18{left:11%;top:56%;animation-delay:2s}.cube-19{left:40%;bottom:9%;animation-delay:2.2s}.cube-20{left:72%;bottom:8%;animation-delay:2.4s}.cube-21{left:82%;bottom:45%;animation-delay:2.6s}.cube-22{left:51%;bottom:43%;animation-delay:2.8s}.cube-23{left:27%;bottom:42%;animation-delay:3s}.cube-24{left:95%;bottom:9%;animation-delay:3.2s}
.signal { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff4c2; box-shadow: 0 0 14px #d9a441; animation: signalRise 3.8s linear infinite; }
.signal-1{left:41%;bottom:18%;animation-delay:.1s}.signal-2{left:44%;bottom:26%;animation-delay:.4s}.signal-3{left:38%;bottom:22%;animation-delay:.7s}.signal-4{left:47%;bottom:34%;animation-delay:1s}.signal-5{left:35%;bottom:30%;animation-delay:1.3s}.signal-6{left:50%;bottom:42%;animation-delay:1.6s}.signal-7{left:32%;bottom:40%;animation-delay:1.9s}.signal-8{left:53%;bottom:50%;animation-delay:2.2s}.signal-9{left:29%;bottom:48%;animation-delay:2.5s}.signal-10{left:56%;bottom:58%;animation-delay:2.8s}.signal-11{left:26%;bottom:56%;animation-delay:3.1s}.signal-12{left:60%;bottom:66%;animation-delay:3.4s}.signal-13{left:22%;bottom:63%;animation-delay:.9s}.signal-14{left:64%;bottom:70%;animation-delay:1.5s}.signal-15{left:46%;bottom:68%;animation-delay:2.1s}.signal-16{left:39%;bottom:72%;animation-delay:2.7s}.signal-17{left:52%;bottom:76%;animation-delay:3.3s}.signal-18{left:33%;bottom:76%;animation-delay:3.7s}
.eyebrow { color: var(--gold); text-transform: uppercase; font-weight: 900; font-size: .78rem; letter-spacing: 0; margin: 0 0 10px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 18px; border-radius: 8px; border: 1px solid transparent; font-weight: 900; cursor: pointer; }
.btn.primary { background: linear-gradient(135deg, var(--blue), #0077ff); color: white; box-shadow: 0 14px 34px rgba(0,168,255,.25); }
.btn.ghost { border-color: rgba(255,255,255,.35); color: inherit; background: rgba(255,255,255,.08); }
.btn.light { background: rgba(255,255,255,.94); color: var(--navy); border-color: rgba(255,255,255,.5); }
.btn.whatsapp { background: linear-gradient(135deg, var(--emerald), #079e68); color: white; box-shadow: 0 14px 34px rgba(19,201,139,.2); }
.hero-panel, .quote-card, .kpi, .module-card, .service-card, .portfolio-card, .panel-form { border: 1px solid rgba(219,229,240,.8); border-radius: 8px; background: white; box-shadow: 0 20px 60px rgba(6,23,47,.12); }
.client-workspace { background: #f6fbf8; }
.client-sidebar { background: linear-gradient(180deg, #07392f, #06172f); }
.client-sidebar .brand span { color: var(--emerald); }
.client-workspace .kpi strong { color: var(--emerald); }
.client-search .btn.primary { background: linear-gradient(135deg, var(--emerald), var(--blue)); }
.hero-panel { color: var(--navy); padding: 28px; display: grid; gap: 18px; }
.hero-panel > span { color: var(--emerald); font-weight: 900; }
.hero-panel > strong { font-size: 1.8rem; line-height: 1.1; }
.metric-row { display: flex; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.metric-row b { font-size: 2.2rem; color: var(--blue); }
.section { padding: 82px clamp(18px, 5vw, 70px); }
.section-head { max-width: 760px; margin-bottom: 28px; }
h1, h2, h3 { line-height: 1.1; margin-top: 0; letter-spacing: 0; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card, .portfolio-card, .module-card { padding: 24px; }
.service-card h3, .portfolio-card h3, .module-card h3 { font-size: 1.2rem; }
.service-card a { color: var(--blue); font-weight: 900; }
.team-preview { background: linear-gradient(180deg, #ffffff, #f1f8ff); }
.team-photo-grid { display: grid; gap: 18px; }
.ceo-profile { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 24px; align-items: center; padding: 24px; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 18px 52px rgba(6,23,47,.09); }
.ceo-profile img, .ceo-profile .photo-placeholder { width: 180px; height: 180px; object-fit: cover; border-radius: 8px; background: #eef5fb; }
.ceo-profile span { color: var(--gold); font-weight: 900; text-transform: uppercase; font-size: .78rem; }
.ceo-profile h2, .ceo-profile h3 { margin: 8px 0 6px; }
.ceo-profile strong, .team-card strong { display: block; color: var(--blue); margin-bottom: 10px; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-bottom: 18px; }
.team-card { padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 18px 52px rgba(6,23,47,.08); }
.team-card img, .team-card .photo-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; margin-bottom: 14px; background: #eef5fb; }
.photo-placeholder { display: grid; place-items: center; color: #2b5d86; font-weight: 900; border: 1px dashed rgba(0,168,255,.45); background: linear-gradient(135deg, rgba(0,168,255,.12), rgba(19,201,139,.1)); }
.team-page h1 { font-size: clamp(2.4rem, 5vw, 4.8rem); }
.wide-copy { max-width: 940px; font-size: 1.2rem; color: #43566c; }
.about-section { background: #f7fbff; }
.services-section { background: linear-gradient(180deg, #f7fbff, #eef7ff); }
.service-showcase { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.animated-service { position: relative; display: block; min-height: 230px; padding: 24px; overflow: hidden; border-radius: 8px; border: 1px solid rgba(0,168,255,.18); background: rgba(255,255,255,.76); box-shadow: 0 18px 50px rgba(6,23,47,.1); backdrop-filter: blur(16px); animation: cardRise .7s ease both; animation-delay: calc(var(--delay) * 80ms); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; cursor: pointer; }
.animated-service::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,168,255,.12), transparent 48%, rgba(19,201,139,.14)); opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.animated-service:hover { transform: translateY(-8px); box-shadow: 0 26px 70px rgba(6,23,47,.16); border-color: rgba(0,168,255,.42); }
.animated-service:hover::before { opacity: 1; }
.animated-service .service-number { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; background: var(--navy); color: var(--gold); font-weight: 900; margin-bottom: 20px; }
.animated-service h3, .animated-service p, .animated-service .service-action { position: relative; }
.animated-service .service-action { display: inline-flex; color: var(--blue); font-weight: 900; margin-top: 4px; }
.animated-service:hover .service-action { color: var(--emerald); }
.industries-section { background: var(--navy); color: white; }
.industries-section h2 { color: white; }
.pill-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.pill-grid span, .stack-grid span { display: inline-flex; align-items: center; min-height: 42px; padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1); color: white; font-weight: 900; backdrop-filter: blur(14px); }
.case-section { background: linear-gradient(135deg, #071b36, #06302a); color: white; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.case-card { padding: 24px; }
.case-card p { color: #e4f2ff; }
.case-card strong { color: #9fe6ff; }
.featured-work-section { background: linear-gradient(180deg, #f7fbff, #edf8ff); }
.featured-work-shell { position: relative; display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 12px; align-items: center; }
.featured-work-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 34%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 8px 2px 18px; scrollbar-width: thin; }
.featured-work-card { scroll-snap-align: start; display: grid; align-content: start; gap: 12px; min-height: 100%; padding: 22px; border-radius: 8px; border: 1px solid rgba(0,168,255,.16); background: rgba(255,255,255,.88); box-shadow: 0 18px 50px rgba(6,23,47,.1); }
.featured-work-cover { display: block; margin: -6px -6px 4px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: linear-gradient(135deg, #06172f, #0b4d66); }
.featured-work-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-work-card > span { color: var(--gold); font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.featured-work-card h3 { margin: 0; font-size: 1.35rem; }
.featured-work-card p { color: #40556c; margin: 0; }
.featured-work-card dl { display: grid; gap: 8px; margin: 0; }
.featured-work-card dt { color: var(--muted); font-size: .75rem; font-weight: 900; text-transform: uppercase; }
.featured-work-card dd { margin: 0; font-weight: 800; }
.carousel-control { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(0,168,255,.22); color: var(--navy); background: white; font-size: 1.8rem; line-height: 1; cursor: pointer; box-shadow: 0 14px 34px rgba(6,23,47,.1); }
.ai-section { background: #f7fbff; }
.ai-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.ai-card { border-radius: 8px; padding: 24px; color: white; background: linear-gradient(135deg, var(--navy), #0b4d66); box-shadow: 0 20px 60px rgba(6,23,47,.14); }
.ai-card:nth-child(even) { background: linear-gradient(135deg, #063a34, #087d7a); }
.stack-section { background: white; }
.stack-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.stack-grid span { background: #eef7ff; color: var(--navy); border-color: #cfe7f7; }
.band { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 64px clamp(18px, 5vw, 70px); background: var(--navy); color: white; }
.band p:not(.eyebrow) { color: #dce8f6; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: start; }
.timeline { padding-left: 22px; font-weight: 800; }
.timeline li { margin: 12px 0; }
.quote-card { padding: 34px; font-size: 1.5rem; color: var(--navy); border-left: 5px solid var(--emerald); }
.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pricing, .contact-cta { margin: 0 clamp(18px, 5vw, 70px); padding: 42px; border-radius: 8px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: linear-gradient(135deg, rgba(236,249,255,.86), rgba(239,253,247,.9)); border: 1px solid rgba(0,168,255,.16); box-shadow: 0 20px 70px rgba(6,23,47,.1); backdrop-filter: blur(16px); }
.pricing-section { background: linear-gradient(180deg, white, #f0f8ff); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.price-card { padding: 26px; background: rgba(255,255,255,.78); color: var(--navy); border-color: rgba(0,168,255,.18); }
.price-card strong { display: block; font-size: 1.6rem; color: var(--blue); margin-bottom: 12px; }
.price-card ul { padding-left: 18px; color: #41566e; }
.faq-testimonials, .blog-newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 900; font-size: 1.05rem; }
blockquote { margin: 0 0 14px; padding: 22px; border-left: 4px solid var(--gold); background: white; border-radius: 8px; box-shadow: 0 14px 44px rgba(6,23,47,.08); }
.blog-preview { border-bottom: 1px solid var(--line); padding: 14px 0; }
.newsletter { padding: 26px; background: rgba(255,255,255,.78); color: var(--navy); border-color: rgba(0,168,255,.18); }
.contact-cta { margin-bottom: 70px; display: grid; grid-template-columns: minmax(0,.78fr) minmax(320px,.72fr); align-items: start; background: linear-gradient(135deg, rgba(6,23,47,.96), rgba(6,58,52,.94)); color: white; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; padding: 18px; }
.contact-form label { color: #e4f2ff; font-weight: 900; }
.contact-form input, .contact-form select, .contact-form textarea { background: rgba(255,255,255,.94); }
.contact-form .span-2, .contact-form button { grid-column: 1 / -1; }
.site-footer { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; padding: 48px clamp(18px, 5vw, 70px); background: #030b17; color: white; }
.site-footer p { color: #b6c6d8; max-width: 620px; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 18px; }
.form-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; padding: 70px clamp(18px, 5vw, 70px); background: var(--bg); min-height: 70vh; }
.form-shell.narrow { grid-template-columns: 1fr; max-width: 720px; margin: auto; background: white; }
.form-context { display: inline-flex; width: fit-content; padding: 10px 14px; border: 1px solid rgba(0,168,255,.26); border-radius: 8px; background: rgba(0,168,255,.08); color: var(--navy); font-weight: 900; }
.panel-form { padding: 26px; display: grid; gap: 16px; }
label { display: grid; gap: 7px; font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px 13px; font: inherit; background: white; color: var(--navy); }
textarea { resize: vertical; }
.error { color: var(--danger); font-weight: 800; }
.status-page { min-height: 60vh; display: grid; place-content: center; text-align: center; padding: 40px; }
.workspace { display: grid; grid-template-columns: 260px minmax(0,1fr); background: var(--bg); height: 100vh; min-height: 100vh; overflow: hidden; }
.sidebar { height: 100vh; min-height: 0; padding: 20px; display: grid; align-content: start; gap: 8px; background: var(--navy); color: white; overflow-y: auto; overscroll-behavior: contain; }
.sidebar a { padding: 10px 12px; border-radius: 8px; font-weight: 800; }
.sidebar a:hover, .sidebar a.active { background: rgba(255,255,255,.1); }
.sidebar a.active { color: #9fe6ff; box-shadow: inset 3px 0 0 var(--blue); }
.workspace-main { height: 100vh; overflow-y: auto; overscroll-behavior: contain; padding: 28px; }
.admin-search { position: sticky; top: -28px; z-index: 8; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; padding: 0 0 18px; margin-bottom: 6px; background: linear-gradient(180deg, var(--bg) 74%, rgba(246,249,252,0)); }
.admin-search input { min-height: 44px; box-shadow: 0 10px 32px rgba(6,23,47,.07); }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 22px; }
.inline-form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.inline-form input { min-width: min(280px, 100%); min-height: 42px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-bottom: 22px; }
.kpi { padding: 20px; }
.kpi-grid a.kpi { display: block; }
.kpi span { display: block; color: var(--muted); font-weight: 800; }
.kpi strong { font-size: 2rem; color: var(--blue); }
.staff-repository-metrics { grid-template-columns: repeat(5, minmax(0,1fr)); }
.ops-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-bottom: 24px; }
.search-results { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.my-work-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.mini-table { overflow: auto; }
.mini-table table { min-width: 560px; }
.ops-panel { background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 52px rgba(6,23,47,.09); overflow: hidden; }
.ops-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #f8fbff, #eef8ff); }
.ops-panel-head h2 { margin: 0; font-size: 1.02rem; }
.ops-list { display: grid; }
.ops-item { display: grid; gap: 2px; padding: 13px 18px; border-bottom: 1px solid #edf3f8; }
.ops-item:last-child { border-bottom: 0; }
.ops-item:hover { background: #f6fbff; }
.ops-item strong { color: var(--navy); }
.ops-item span { color: #41566e; font-size: .9rem; }
.ops-item small { color: var(--muted); font-weight: 800; }
.empty-state { margin: 0; padding: 18px; color: var(--muted); font-weight: 800; }
.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.workbench { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-bottom: 24px; align-items: start; }
.workbench .panel-form { min-height: 100%; box-shadow: none; }
.workbench h3 { margin-bottom: 2px; }
.panel-form label:has(input[type="checkbox"]) { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.panel-form input[type="checkbox"] { width: 18px; height: 18px; }
.field-hint { display: block; margin-top: 6px; color: var(--muted); font-size: .82rem; font-weight: 800; line-height: 1.4; }
.table-wrap { background: white; border: 1px solid var(--line); border-radius: 8px; overflow: auto; }
.table-link { color: var(--blue); font-weight: 900; }
.table-actions { display: flex; flex-wrap: wrap; gap: 8px; min-width: 240px; }
.table-actions form { margin: 0; }
.table-actions .btn { min-height: 34px; padding: 7px 10px; font-size: .82rem; }
.bulk-bar { display: grid; grid-template-columns: minmax(180px,.5fr) minmax(240px,1fr) auto; gap: 12px; align-items: end; margin-bottom: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 14px 40px rgba(6,23,47,.08); }
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-bottom: 24px; align-items: start; }
.detail-sections { padding: 0; gap: 16px; margin-bottom: 24px; }
.receipt { max-width: 780px; margin: 50px auto; padding: 0 18px; }
.receipt-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.article { max-width: 900px; margin: 0 auto; padding: 70px 18px; }
.article h1 { font-size: clamp(2.4rem, 5vw, 4.8rem); }
.article-lead { font-size: 1.25rem; color: var(--muted); }
.article-body { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 26px; font-size: 1.05rem; }
.repository-hero { min-height: 560px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(340px, .7fr); gap: 38px; align-items: center; padding: 70px clamp(18px, 5vw, 70px); color: white; background:
    linear-gradient(120deg, rgba(6,23,47,.94), rgba(8,55,58,.88)),
    radial-gradient(circle at 78% 36%, rgba(0,168,255,.35), transparent 28%),
    radial-gradient(circle at 88% 76%, rgba(19,201,139,.28), transparent 32%),
    #06172f; overflow: hidden; }
.repository-hero h1 { font-size: clamp(2.7rem, 6vw, 5.8rem); max-width: 860px; margin-bottom: 18px; }
.repository-hero p:not(.eyebrow) { max-width: 720px; color: #dcecff; font-size: 1.12rem; }
.repository-orbit { position: relative; min-height: 360px; display: grid; place-items: center; transform-style: preserve-3d; animation: commandFloat 7s ease-in-out infinite; }
.repository-orbit::before, .repository-orbit::after { content: ""; position: absolute; width: 72%; aspect-ratio: 1 / .55; border: 1px solid rgba(159,230,255,.38); border-radius: 50%; transform: rotateX(64deg) rotateZ(-14deg); }
.repository-orbit::after { width: 58%; transform: rotateX(64deg) rotateZ(24deg); border-color: rgba(19,201,139,.36); }
.repository-orbit strong { position: relative; z-index: 2; display: grid; place-items: center; width: 148px; height: 148px; border-radius: 50%; text-align: center; color: #a7efff; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.34), rgba(0,168,255,.3), rgba(6,23,47,.82)); border: 1px solid rgba(159,230,255,.45); box-shadow: 0 24px 74px rgba(0,168,255,.24); }
.repository-orbit span { position: absolute; z-index: 3; min-width: 100px; padding: 10px 12px; text-align: center; border-radius: 8px; color: white; font-weight: 900; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); box-shadow: 0 18px 42px rgba(0,0,0,.18); animation: labelHover 5s ease-in-out infinite; }
.repository-orbit span:nth-child(1) { left: 9%; top: 28%; color: #9fe6ff; }
.repository-orbit span:nth-child(2) { right: 8%; top: 25%; color: #a9ffd9; animation-delay: .5s; }
.repository-orbit span:nth-child(3) { left: 16%; bottom: 26%; color: #ffe0a3; animation-delay: 1s; }
.repository-orbit span:nth-child(4) { right: 14%; bottom: 22%; animation-delay: 1.5s; }
.repository-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.repository-filter { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(180px, .45fr) auto auto; gap: 12px; align-items: end; padding: 18px; margin-bottom: 22px; border: 1px solid rgba(0,168,255,.16); border-radius: 8px; background: rgba(255,255,255,.82); box-shadow: 0 16px 46px rgba(6,23,47,.08); }
.repository-card { padding: 24px; border: 1px solid rgba(0,168,255,.16); border-radius: 8px; background: white; box-shadow: 0 18px 55px rgba(6,23,47,.1); }
.repository-cover { display: block; margin: -8px -8px 18px; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #06172f, #0b4d66); }
.repository-cover img, .work-hero-cover img, .work-cover-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.repository-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.repository-card-top span, .repository-card-top b { font-size: .78rem; font-weight: 900; text-transform: uppercase; color: var(--blue); }
.repository-card-top b { color: var(--gold); }
.repository-card h3 { font-size: 1.45rem; margin-bottom: 12px; }
.repository-card p { color: #40556c; }
.repository-card dl { display: grid; gap: 10px; margin: 18px 0; }
.repository-card dt { color: var(--muted); font-size: .76rem; font-weight: 900; text-transform: uppercase; }
.repository-card dd { margin: 0; font-weight: 800; color: var(--navy); }
.empty-state { grid-column: 1 / -1; padding: 34px; border: 1px dashed rgba(0,168,255,.35); border-radius: 8px; background: #eef7ff; }
.work-detail { color: white; background: linear-gradient(135deg, #06172f, #07352e); min-height: 80vh; }
.work-detail-head { padding: 78px clamp(18px, 5vw, 70px) 52px; }
.work-detail-head h1 { font-size: clamp(2.7rem, 6vw, 5.5rem); max-width: 940px; }
.work-detail-head p:not(.eyebrow) { max-width: 820px; color: #e3f0ff; font-size: 1.12rem; }
.work-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.work-meta span { display: inline-flex; min-height: 38px; align-items: center; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-weight: 900; }
.work-hero-cover { margin-top: 28px; max-width: 980px; aspect-ratio: 16 / 8; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.work-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 0 clamp(18px, 5vw, 70px) 70px; }
.work-detail-grid div { padding: 28px; border-radius: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(16px); }
.work-detail-grid h2 { font-size: 1.45rem; color: #9fe6ff; }
.work-detail-grid p { color: #e4f2ff; }
.service-detail-hero { min-height: 560px; display: grid; grid-template-columns: minmax(0,1fr) minmax(330px,.62fr); align-items: center; gap: 34px; padding: 72px clamp(18px,5vw,70px); color: white; background: linear-gradient(120deg, rgba(6,23,47,.95), rgba(6,58,52,.9)), radial-gradient(circle at 80% 38%, rgba(0,168,255,.36), transparent 28%), #06172f; overflow: hidden; }
.service-detail-hero h1 { font-size: clamp(2.7rem, 6vw, 5.7rem); max-width: 940px; }
.service-detail-hero p:not(.eyebrow) { max-width: 760px; color: #e4f2ff; font-size: 1.12rem; }
.service-signal { min-height: 330px; position: relative; display: grid; place-items: center; text-align: center; overflow: hidden; }
.service-signal strong { position: relative; z-index: 2; width: 170px; height: 170px; border-radius: 50%; display: grid; place-items: center; padding: 20px; color: #9fe6ff; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.32), rgba(0,168,255,.28), rgba(6,23,47,.84)); border: 1px solid rgba(159,230,255,.38); }
.service-signal::before, .service-signal::after { content: ""; position: absolute; width: 78%; height: 36%; border: 1px solid rgba(159,230,255,.28); border-radius: 50%; transform: rotateX(60deg) rotateZ(-16deg); }
.service-signal::after { width: 62%; border-color: rgba(19,201,139,.28); transform: rotateX(60deg) rotateZ(22deg); }
.service-signal span { position: absolute; padding: 9px 12px; border-radius: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); font-weight: 900; animation: labelHover 5s ease-in-out infinite; }
.service-signal span:nth-child(2) { left: 12%; top: 25%; color: #9fe6ff; }
.service-signal span:nth-child(3) { right: 12%; top: 30%; color: #a9ffd9; animation-delay: .5s; }
.service-signal span:nth-child(4) { left: 20%; bottom: 20%; color: #ffe0a3; animation-delay: 1s; }
.service-signal span:nth-child(5) { right: 18%; bottom: 18%; animation-delay: 1.5s; }
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.service-list-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.service-list-grid span { min-height: 54px; display: flex; align-items: center; padding: 12px 14px; border-radius: 8px; background: white; border: 1px solid var(--line); box-shadow: 0 14px 38px rgba(6,23,47,.08); font-weight: 900; }
.report-filter { grid-template-columns: repeat(auto-fit, minmax(170px,1fr)); align-items: end; margin-bottom: 18px; }
.editor-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.editor-toolbar button { border: 1px solid var(--line); background: #eef7ff; color: var(--navy); border-radius: 8px; padding: 7px 10px; font-weight: 900; cursor: pointer; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; align-items: start; }
.settings-grid .panel-form { box-shadow: none; }
.settings-logo-preview { display: flex; align-items: center; justify-content: center; width: min(260px, 100%); min-height: 92px; padding: 12px; margin: 8px 0 10px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(135deg, #ffffff, #eef7ff); box-shadow: inset 0 0 0 1px rgba(255,255,255,.75); }
.settings-logo-preview img { display: block; max-width: 100%; max-height: 78px; object-fit: contain; }
.settings-save { grid-column: 1 / -1; display: flex; justify-content: flex-end; padding: 6px 0 24px; }
.readiness-summary { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-bottom: 22px; }
.readiness-summary div { padding: 20px; border-radius: 8px; background: white; border: 1px solid var(--line); box-shadow: 0 18px 52px rgba(6,23,47,.08); }
.readiness-summary strong { display: block; color: var(--blue); font-size: 2rem; line-height: 1; }
.readiness-summary span { color: var(--muted); font-weight: 900; }
.readiness-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; align-items: start; }
.readiness-list { display: grid; }
.readiness-item { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 12px; padding: 14px 18px; border-bottom: 1px solid #edf3f8; }
.readiness-item:last-child { border-bottom: 0; }
.readiness-item > span { align-self: start; text-align: center; padding: 4px 7px; border-radius: 999px; font-size: .72rem; font-weight: 900; background: #eef5fb; color: var(--muted); }
.readiness-item.pass > span { background: #dbf8eb; color: #08734d; }
.readiness-item.warn > span { background: #fff3d4; color: #956111; }
.readiness-item.fail > span { background: #fee4df; color: var(--danger); }
.readiness-item strong { display: block; color: var(--navy); }
.readiness-item small { display: block; color: #41566e; overflow-wrap: anywhere; }
.qa-summary { grid-template-columns: repeat(3, minmax(0,1fr)); }
.qa-summary div:last-child strong { font-size: 1.05rem; line-height: 1.3; overflow-wrap: anywhere; }
.qa-empty { padding-bottom: 18px; }
.qa-empty p { margin: 0; padding: 18px; color: #41566e; font-weight: 800; overflow-wrap: anywhere; }
.qa-empty code { color: var(--navy); background: #eef5fb; border: 1px solid var(--line); border-radius: 6px; padding: 2px 5px; }
.qa-plan { margin-top: 16px; }
.report-kpis { grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); }
.report-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; align-items: start; }
.report-bars { display: grid; gap: 12px; padding: 16px 18px 18px; }
.report-row { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; padding-bottom: 14px; }
.report-row strong { display: block; color: var(--navy); }
.report-row span { color: var(--muted); font-size: .82rem; overflow-wrap: anywhere; }
.report-row b { color: var(--blue); }
.report-row i { position: absolute; left: 0; bottom: 0; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--emerald)); box-shadow: 0 8px 18px rgba(0,168,255,.18); }
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.security-form { max-width: 620px; }
.account-message { max-width: 620px; margin-bottom: 16px; font-weight: 900; }
.account-message.success { color: #08734d; background: #dbf8eb; border-color: #a9ebd0; }
.account-message.error { color: var(--danger); background: #fee4df; border-color: #ffc2b8; }
.flash-message { margin: 0 0 16px; padding: 13px 16px; border-radius: 8px; border: 1px solid var(--line); background: white; box-shadow: 0 14px 38px rgba(6,23,47,.08); font-weight: 900; }
.flash-message.success { color: #08734d; background: #dbf8eb; border-color: #a9ebd0; }
.flash-message.error { color: var(--danger); background: #fee4df; border-color: #ffc2b8; }
.flash-message.info { color: var(--navy); background: #eef7ff; border-color: #bee7ff; }
.work-cover-preview { max-width: 720px; aspect-ratio: 16 / 7; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 55px rgba(6,23,47,.12); margin-bottom: 18px; background: #eef7ff; }
.moderation-history { margin-top: 18px; }
.history-item { display: grid; gap: 3px; padding: 14px 0 14px 18px; border-left: 3px solid rgba(0,168,255,.35); border-bottom: 1px solid var(--line); }
.history-item span { color: var(--muted); font-size: .82rem; font-weight: 800; }
.history-item strong { text-transform: capitalize; color: var(--navy); }
.history-item p { margin: 0; color: #40556c; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #eef5fb; font-size: .84rem; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1180px) {
    .hero { grid-template-columns: minmax(0,1fr) minmax(320px,.8fr); gap: 24px; }
    .hero h1 { font-size: 3.45rem; max-width: 650px; }
    nav, .site-nav { font-size: .82rem; gap: 9px; }
}
@media (max-width: 900px) {
    .hero, .ai-works-showcase, .form-shell, .split, .band, .workspace, .repository-hero, .service-detail-hero { grid-template-columns: 1fr; }
    .card-grid, .compact, .kpi-grid, .module-grid, .ops-grid, .search-results, .my-work-grid, .service-showcase, .case-grid, .ai-grid, .faq-testimonials, .blog-newsletter, .pricing-grid, .repository-grid, .work-detail-grid, .settings-grid, .readiness-summary, .readiness-grid, .report-grid, .account-grid, .repository-filter, .service-detail-grid, .service-list-grid, .team-grid, .ceo-profile { grid-template-columns: 1fr; }
    .ceo-profile img, .ceo-profile .photo-placeholder { width: 100%; height: auto; aspect-ratio: 4 / 3; }
    .featured-work-shell { grid-template-columns: 1fr; }
    .featured-work-track { grid-auto-columns: minmax(260px, 86%); }
    .carousel-control { display: none; }
    .settings-save { justify-content: stretch; }
    .settings-save .btn { width: 100%; }
    .bulk-bar { grid-template-columns: 1fr; }
    .workbench { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: 1fr; }
    .site-header, .pricing, .site-footer, .topbar { flex-direction: column; align-items: flex-start; }
    .site-header { gap: 10px; width: 100vw; max-width: 100vw; overflow: visible; }
    .menu-toggle { display: inline-flex !important; align-items: center; justify-content: center; margin-left: auto; position: absolute; right: 18px; top: 12px; z-index: 30; }
    .site-nav { display: none; width: 100%; grid-template-columns: 1fr; gap: 8px; padding-top: 10px; }
    .site-nav.is-open { display: grid; }
    .site-nav > a, .site-nav .nav-group > summary { width: 100%; min-height: 44px; padding: 10px 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
    .nav-menu { position: static; min-width: 0; margin-top: 6px; border-color: rgba(255,255,255,.12); box-shadow: none; background: rgba(255,255,255,.08); }
    .nav-cta { justify-content: center; }
    .contact-cta, .contact-form { grid-template-columns: 1fr; }
    .contact-form .span-2, .contact-form button { grid-column: auto; }
    .workspace { height: auto; min-height: 100vh; overflow: visible; }
    .sidebar { position: sticky; top: 0; z-index: 18; height: auto; max-height: none; display: flex; gap: 8px; padding: 12px; overflow-x: auto; overflow-y: hidden; white-space: nowrap; scrollbar-width: thin; }
    .sidebar .brand { flex: 0 0 auto; }
    .sidebar a { flex: 0 0 auto; min-height: 40px; display: inline-flex; align-items: center; }
    .sidebar a.active { box-shadow: inset 0 -3px 0 var(--blue); }
    .workspace-main { height: auto; overflow: visible; }
    .admin-search { position: static; grid-template-columns: 1fr; }
    .hero { min-height: auto; padding-top: 34px; }
    .hero h1 { font-size: 3rem; }
    .hero-dashboard { min-height: auto; }
    .command-canvas { inset: 82px 0 126px; }
    .command-overlay { min-height: 260px; }
    .ai-works-showcase { min-height: auto; padding-top: 46px; }
    .intelligence-garden { min-height: 360px; }
}
@media (max-width: 560px) {
    .site-header { padding: 12px 18px; }
    .brand { max-width: calc(100% - 92px); white-space: normal; line-height: 1.15; }
    .hero { padding: 26px 18px 44px; }
    .hero-copy, .hero-dashboard { padding: 20px; width: 100%; max-width: calc(100vw - 36px); }
    .hero-copy > *, .hero-dashboard > * { max-width: 100%; }
    .hero .eyebrow, .hero h1, .hero p, .dashboard-top strong { max-width: calc(100vw - 78px); }
    .hero h1 { font-size: clamp(1.85rem, 9.5vw, 2.05rem); line-height: 1.08; }
    .hero p { font-size: 1rem; }
    .dashboard-top strong { font-size: 1.18rem; }
    .actions { width: 100%; }
    .actions .btn { width: 100%; }
    .hero-stats { grid-template-columns: 1fr; }
    .dashboard-progress { grid-template-columns: 1fr 1fr; }
    .command-overlay { min-height: 260px; --orbit-center-y: 48%; }
    .command-core { width: 126px; height: 126px; }
    .command-label { min-width: 92px; padding: 8px 10px; font-size: .78rem; }
    .ai-works-copy h2 { font-size: 2.25rem; }
    .tree-canopy { width: 250px; height: 180px; left: 50%; }
    .tree-trunk { left: 50%; top: 42%; height: 170px; }
    .data-cube { width: 24px; height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
    .command-canvas { display: none; }
}

@keyframes cardRise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes canopyBreath {
    0%, 100% { transform: translateX(-50%) scale(1); filter: drop-shadow(0 28px 45px rgba(0,0,0,.34)); }
    50% { transform: translateX(-50%) scale(1.035); filter: drop-shadow(0 34px 54px rgba(19,201,139,.18)); }
}

@keyframes branchPulse {
    0%, 100% { opacity: .58; box-shadow: 0 0 10px rgba(217,164,65,.32); }
    50% { opacity: 1; box-shadow: 0 0 22px rgba(217,164,65,.88); }
}

@keyframes cubeFloat {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: .62; }
    50% { transform: rotate(45deg) translateY(-16px); opacity: 1; }
}

@keyframes signalRise {
    0% { transform: translateY(26px); opacity: 0; }
    18% { opacity: 1; }
    100% { transform: translateY(-110px); opacity: 0; }
}

@keyframes gridGlide {
    from { background-position: 0 0; }
    to { background-position: 144px 96px; }
}

@keyframes commandFloat {
    0%, 100% { transform: rotateX(0deg) rotateY(0deg); }
    50% { transform: rotateX(2deg) rotateY(-3deg); }
}

@keyframes labelHover {
    0%, 100% { margin-top: 0; box-shadow: 0 18px 48px rgba(0,0,0,.2); }
    50% { margin-top: -8px; box-shadow: 0 28px 70px rgba(0,168,255,.22); }
}

@media print {
    .site-header, .site-footer, .sidebar, .btn, nav { display: none !important; }
    body, .workspace { background: white; color: #111827; display: block; }
    .workspace-main, .receipt { padding: 0; margin: 0; max-width: none; }
    .panel-form, .table-wrap { box-shadow: none; border-color: #cbd5e1; }
}
