/* ==========================================================================
   CODIFICA SERVICES - MODERN DESIGN SYSTEM & ANIMATION ENGINE
   Ultra-crisp UI, rich micro-animations, 3D tilt, and dynamic lighting
   Zero blur artifacts - 100% sharp text, forms, and portfolio galleries
   ========================================================================== */

:root {
  --ink: #050a15;
  --ink-deep: #03070f;
  --ink-surface: #0a1326;
  --panel: #0c172e;
  --panel-translucent: rgba(12, 23, 46, 0.95);
  --panel-hover: #122244;
  --panel-glow: rgba(52, 120, 255, 0.16);
  --line: rgba(115, 163, 255, 0.18);
  --line-bright: rgba(135, 184, 255, 0.45);
  --text: #f4f7ff;
  --text-pure: #ffffff;
  --muted: #9ab0d3;
  --muted-light: #c2d2ee;
  --blue: #2563eb;
  --blue-bright: #3b82f6;
  --blue-light: #60a5fa;
  --cyan: #38bdf8;
  --accent-gradient: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
  --accent-gradient-hover: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  --slash-color: #ff4757;
  --slash-gradient: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
  --slash-bg: rgba(255, 71, 87, 0.12);
  --slash-border: rgba(255, 71, 87, 0.4);
  --success: #10b981;
  --success-glow: rgba(16, 185, 129, 0.28);
}

/* ==========================================================================
   BASE & TYPOGRAPHY - ZERO BLUR, MAXIMUM CONTRAST
   ========================================================================== */

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.public-page {
  background-color: var(--ink);
  color: var(--text);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.public-page * {
  box-sizing: border-box;
}

/* Reset native bullets on all custom lists */
body.public-page .feature-list,
body.public-page .offer-list,
body.public-page .package-list,
body.public-page ul.chip-row {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0;
}

body.public-page .container {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
}

body.public-page h1,
body.public-page h2,
body.public-page h3,
body.public-page h4 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-pure);
  letter-spacing: -0.035em;
  font-weight: 700;
}

/* ==========================================================================
   AMBIENT ANIMATED BACKDROP & ORBS (PURE GRADIENT, NO BLUR SHADERS)
   ========================================================================== */

body.public-page .site-backdrop {
  display: block !important;
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

body.public-page .backdrop-orb {
  position: absolute;
  border-radius: 9999px;
  opacity: 0.65;
  will-change: transform;
}

body.public-page .orb-a {
  width: 540px;
  height: 540px;
  top: -140px;
  left: -120px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.28) 0%, rgba(56, 189, 248, 0.1) 48%, transparent 70%);
  animation: orbFloatA 18s ease-in-out infinite alternate;
}

body.public-page .orb-b {
  width: 620px;
  height: 620px;
  top: 35%;
  right: -160px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, rgba(37, 99, 235, 0.08) 52%, transparent 70%);
  animation: orbFloatB 22s ease-in-out infinite alternate;
}

body.public-page .backdrop-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 85%);
}

@keyframes orbFloatA {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(80px, 60px, 0) scale(1.1); }
  100% { transform: translate3d(-40px, 90px, 0) scale(0.95); }
}

@keyframes orbFloatB {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-90px, -70px, 0) scale(1.15); }
  100% { transform: translate3d(50px, -40px, 0) scale(0.9); }
}

/* ==========================================================================
   SCROLL PROGRESS BAR
   ========================================================================== */

body.public-page .scroll-progress {
  display: block !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 100;
  transform-origin: left center;
  transform: scaleX(var(--scroll-progress, 0));
  background: var(--accent-gradient);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.7);
  pointer-events: none;
  transition: transform 0.08s linear;
}

/* ==========================================================================
   SITE HEADER & NAVIGATION
   ========================================================================== */

body.public-page .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 10, 21, 0.97);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s ease;
}

body.public-page .site-header.scrolled {
  background: rgba(4, 8, 17, 0.99);
  border-bottom-color: var(--line-bright);
  box-shadow: 0 12px 32px rgba(2, 6, 15, 0.5);
}

body.public-page .header-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

body.public-page .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.public-page .brand:hover {
  transform: translateY(-1px);
}

body.public-page .brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

body.public-page .brand:hover .brand-logo {
  transform: scale(1.06) rotate(3deg);
}

body.public-page .brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-pure);
  letter-spacing: -0.02em;
}

body.public-page .top-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

body.public-page .top-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  position: relative;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.2s ease;
}

body.public-page .top-nav a:hover {
  color: var(--text-pure);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

body.public-page .top-nav .nav-cta {
  background: var(--accent-gradient);
  color: #ffffff;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 10px;
  margin-left: 6px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.public-page .top-nav .nav-cta:hover {
  background: var(--accent-gradient-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.45);
}

/* ==========================================================================
   BUTTONS & CTAS
   ========================================================================== */

body.public-page .btn {
  min-height: 48px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  padding: 0 24px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}

body.public-page .btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

body.public-page .btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: none;
}

body.public-page .btn-primary:hover {
  background: var(--accent-gradient-hover);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

body.public-page .btn-primary:hover::after {
  animation: sheenSweep 0.8s ease forwards;
}

body.public-page .btn-secondary {
  background: #0c172e;
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

body.public-page .btn-secondary:hover {
  background: #142448;
  border-color: var(--line-bright);
  color: var(--text-pure);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

@keyframes sheenSweep {
  0% { left: -100%; }
  100% { left: 160%; }
}

/* ==========================================================================
   BADGES, EYEBROWS & LABELS
   ========================================================================== */

body.public-page .eyebrow,
body.public-page .offer-label,
body.public-page .card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.public-page .eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulseGlow 2.5s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 6px var(--cyan); }
  50% { transform: scale(1.35); opacity: 0.7; box-shadow: 0 0 14px var(--cyan); }
}

/* ==========================================================================
   LINEAR SLASHED PRICE COMPONENT (42 KWD)
   ========================================================================== */

.price-slashed-tag,
.price-slashed-badge,
.price-slashed-pill,
.price-slashed-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-weight: 800;
  color: #ff8595;
  background: var(--slash-bg);
  border: 1px solid var(--slash-border);
  border-radius: 8px;
  padding: 4px 10px;
  line-height: 1;
  letter-spacing: -0.01em;
  user-select: none;
  box-shadow: 0 2px 10px rgba(255, 71, 87, 0.15);
}

.price-slashed-tag {
  font-size: 1.15rem;
  padding: 6px 14px;
  border-radius: 9px;
}

.price-slashed-badge {
  font-size: 1.05rem;
  padding: 5px 12px;
}

.price-slashed-pill {
  font-size: 0.88rem;
  padding: 3px 9px;
  border-radius: 6px;
  margin: 0 4px;
  vertical-align: middle;
}

.price-slashed-inline {
  font-size: 0.95rem;
  padding: 4px 10px;
  margin: 0 4px;
  vertical-align: middle;
}

.price-slash-text {
  position: relative;
  display: inline-block;
}

.price-slash-text::after {
  content: "";
  position: absolute;
  left: -15%;
  right: -15%;
  top: 50%;
  height: 2.5px;
  background: var(--slash-gradient);
  box-shadow: 0 0 8px rgba(255, 71, 87, 0.8);
  transform: translateY(-50%) rotate(-15deg);
  border-radius: 2px;
  pointer-events: none;
  animation: slashPulse 3s infinite ease-in-out;
}

@keyframes slashPulse {
  0%, 100% { opacity: 0.95; }
  50% { opacity: 1; box-shadow: 0 0 10px rgba(255, 71, 87, 1); }
}

.hero-price-now,
.contact-price-now,
.form-price-now {
  color: #38bdf8;
  font-weight: 800;
  font-size: 1.08em;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

body.public-page .hero-section {
  position: relative;
  padding: 120px 0 96px;
  background:
    radial-gradient(ellipse 65% 55% at 85% 15%, rgba(37, 99, 235, 0.25) 0%, transparent 60%),
    linear-gradient(180deg, #050a15 0%, #081226 100%);
  border-bottom: 1px solid var(--line);
}

body.public-page .hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 64px;
}

body.public-page .hero-copy h1 {
  margin: 18px 0 20px;
  max-width: 720px;
  font-size: clamp(2.8rem, 5.2vw, 4.8rem);
  line-height: 1.04;
  background: linear-gradient(180deg, #ffffff 40%, #c4d7f8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.public-page .hero-text {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.7;
}

body.public-page .hero-actions,
body.public-page .button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

body.public-page .hero-note {
  margin: 24px 0 0;
  color: var(--muted-light);
  font-size: 0.94rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

/* ==========================================================================
   HERO OFFER CARD
   ========================================================================== */

body.public-page .hero-offer-card {
  position: relative;
  background: linear-gradient(155deg, #102040 0%, #081022 100%);
  border: 1px solid rgba(99, 149, 255, 0.35);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 24px 60px rgba(0, 4, 15, 0.6), 0 0 36px rgba(37, 99, 235, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  will-change: transform;
}

body.public-page .hero-offer-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(135, 184, 255, 0.65);
  box-shadow: 0 32px 80px rgba(0, 4, 15, 0.7), 0 0 48px rgba(56, 189, 248, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

body.public-page .offer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

body.public-page .offer-tag-badge {
  background: rgba(56, 189, 248, 0.14);
  color: var(--cyan);
  border: 1px solid rgba(56, 189, 248, 0.35);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
}

body.public-page .price-line {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 16px;
}

body.public-page .price-main-display {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

body.public-page .price-new-col {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

body.public-page .price-line strong,
body.public-page .price-number {
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(4.4rem, 6.5vw, 5.6rem);
  line-height: 0.85;
  font-weight: 700;
  letter-spacing: -0.08em;
}

body.public-page .price-line span,
body.public-page .price-meta {
  color: var(--muted-light);
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 700;
}

body.public-page .price-sub-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

body.public-page .price-sub-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #c4e4ff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
}

body.public-page .price-sub-tag strong {
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
}

body.public-page .price-monthly-tag,
body.public-page .price-monthly-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
}

body.public-page .price-monthly-tag strong,
body.public-page .price-monthly-badge strong {
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
}

body.public-page .pricing-alt-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #a7f3d0;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
}

body.public-page .pricing-alt-option strong {
  color: #ffffff;
  font-weight: 800;
}

body.public-page .hero-offer-card > p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 20px;
}

body.public-page .offer-list,
body.public-page .package-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

body.public-page .offer-list li,
body.public-page .package-list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: #dce7fa;
  font-size: 0.95rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

body.public-page .offer-list li:hover,
body.public-page .package-list li:hover {
  transform: translateX(4px);
  color: #ffffff;
}

body.public-page .check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--cyan);
  font-weight: 800;
  font-size: 0.78rem;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
}

/* ==========================================================================
   SECTIONS & SECTION HEADINGS
   ========================================================================== */

body.public-page .section-block {
  padding: 96px 0;
  background: var(--ink);
  position: relative;
  z-index: 1;
}

body.public-page .muted-section {
  background: #071021;
  border-block: 1px solid var(--line);
}

body.public-page .section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

body.public-page .centered-heading {
  text-align: center;
  margin-inline: auto;
}

body.public-page .section-heading h2 {
  margin: 14px 0 0;
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  line-height: 1.12;
}

body.public-page .section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 12px;
}

/* ==========================================================================
   PRICING CARD SECTION
   ========================================================================== */

body.public-page .pricing-card {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr auto;
  align-items: center;
  gap: 36px;
  max-width: 1060px;
  margin: auto;
  background: linear-gradient(155deg, #102040 0%, #081022 100%);
  border: 1px solid rgba(99, 149, 255, 0.35);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 24px 60px rgba(0, 4, 15, 0.55), 0 0 32px rgba(37, 99, 235, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

body.public-page .pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(135, 184, 255, 0.6);
  box-shadow: 0 32px 80px rgba(0, 4, 15, 0.65), 0 0 44px rgba(56, 189, 248, 0.25);
}

body.public-page .pricing-price-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
  flex-wrap: wrap;
}

body.public-page .pricing-headline {
  margin: 0;
  font-size: 2.6rem;
  color: #ffffff;
}

body.public-page .pricing-headline small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font: 600 0.92rem 'Manrope', sans-serif;
  letter-spacing: 0;
}

body.public-page .pricing-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

body.public-page .package-list {
  margin: 0;
}

/* ==========================================================================
   SURFACE CARDS & PROCESS STEPS (3D HOVER ANIMATION)
   ========================================================================== */

body.public-page .card-grid {
  display: grid;
  gap: 24px;
}

body.public-page .card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

body.public-page .surface-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 4, 14, 0.35);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

body.public-page .surface-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.35s ease;
}

body.public-page .surface-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-bright);
  box-shadow: 0 20px 48px rgba(0, 4, 16, 0.55), 0 0 28px rgba(56, 189, 248, 0.15);
}

body.public-page .surface-card:hover::before {
  opacity: 1;
}

body.public-page .process-card {
  padding: 32px;
}

body.public-page .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font: 700 1.2rem 'Space Grotesk', sans-serif;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

body.public-page .process-card:hover .step-num {
  transform: scale(1.1) rotate(4deg);
  background: rgba(56, 189, 248, 0.2);
}

body.public-page .process-card h3 {
  margin: 24px 0 10px;
  font-size: 1.35rem;
}

body.public-page .process-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */

body.public-page .section-cta {
  padding-top: 48px;
}

body.public-page .cta-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 48px;
  border-radius: 20px;
  background: radial-gradient(circle at 90% 50%, rgba(37, 99, 235, 0.35) 0%, transparent 60%), #0c1c3d;
  border: 1px solid rgba(115, 163, 255, 0.4);
  box-shadow: 0 24px 64px rgba(0, 4, 15, 0.5), 0 0 36px rgba(37, 99, 235, 0.2);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

body.public-page .cta-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 72px rgba(0, 4, 15, 0.6), 0 0 48px rgba(56, 189, 248, 0.3);
}

body.public-page .cta-banner h2 {
  margin: 12px 0 0;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
}

/* ==========================================================================
   PAGE HERO (SUBPAGES)
   ========================================================================== */

body.public-page .page-hero {
  padding: 96px 0 56px;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(37, 99, 235, 0.2) 0%, transparent 65%), #071021;
  border-bottom: 1px solid var(--line);
}

body.public-page .page-hero-shell {
  max-width: 800px;
}

body.public-page .page-hero h1 {
  margin: 12px 0 14px;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
}

body.public-page .page-hero p,
body.public-page .muted-copy {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

/* ==========================================================================
   FORMS & INPUTS - ZERO BLUR, SHARP RENDERING & FOCUS GLOW
   ========================================================================== */

body.public-page .info-card,
body.public-page .story-card,
body.public-page .contact-card,
body.public-page .contact-side-card,
body.public-page .request-card,
body.public-page .request-side-card {
  padding: 34px;
}

body.public-page .info-card h2,
body.public-page .contact-card h2,
body.public-page .contact-side-card h2,
body.public-page .request-card h2,
body.public-page .request-side-card h2 {
  margin-top: 0;
  font-size: 1.7rem;
}

body.public-page .feature-list,
body.public-page .offer-list,
body.public-page .package-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 16px 0;
  display: grid;
  gap: 10px;
}

body.public-page .feature-list li {
  position: relative;
  padding-left: 28px !important;
  margin-bottom: 0;
  color: #dce7fa;
  line-height: 1.7;
}

body.public-page .feature-list li::before {
  content: "✓" !important;
  position: absolute;
  left: 0;
  top: 0;
  /* Reset all orange dot properties */
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  /* Checkmark styling */
  color: #38bdf8;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.7;
}

body.public-page .split-panel,
body.public-page .contact-layout,
body.public-page .request-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
}

body.public-page .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

body.public-page label {
  display: block;
  margin: 14px 0 6px;
  color: #e2ecfc;
  font-size: 0.88rem;
  font-weight: 700;
}

body.public-page input,
body.public-page textarea,
body.public-page .cdropdown-selected {
  width: 100%;
  background: #060d1d;
  color: var(--text-pure);
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid rgba(115, 163, 255, 0.25);
  border-radius: 10px;
  padding: 13px 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  outline: none;
}

body.public-page input:focus,
body.public-page textarea:focus,
body.public-page .cdropdown-selected:focus {
  border-color: var(--blue-bright);
  background: #091328;
  box-shadow: 0 0 0 3.5px rgba(59, 130, 246, 0.35);
}

body.public-page textarea {
  resize: vertical;
}

body.public-page .phone-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px;
}

body.public-page .phone-cc-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

body.public-page .phone-plus {
  position: absolute;
  left: 12px;
  color: var(--muted);
  font-weight: 700;
  pointer-events: none;
}

body.public-page .phone-cc {
  padding-left: 26px;
  text-align: center;
}

body.public-page .cdropdown {
  position: relative;
}

body.public-page .cdropdown-selected {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.public-page .cdropdown-selected::after {
  content: "▾";
  color: var(--muted);
  font-size: 0.9rem;
}

body.public-page .cdropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  background: #0c172e;
  border: 1px solid var(--line-bright);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  display: none;
}

body.public-page .cdropdown.open .cdropdown-menu {
  display: block;
  animation: dropdownIn 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

body.public-page .cdropdown-item {
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--text);
  font-size: 0.92rem;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

body.public-page .cdropdown-item:hover,
body.public-page .cdropdown-item.active {
  background: rgba(59, 130, 246, 0.2);
  color: #ffffff;
}

body.public-page .form-helper {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

body.public-page .form-feedback {
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  display: none;
}

body.public-page .form-feedback.show {
  display: block;
  color: var(--success);
}

body.public-page .form-feedback.error-text {
  color: #ff6b81;
}

/* ==========================================================================
   CONTACT LIST & MAIL CHOOSER MODAL
   ========================================================================== */

body.public-page .contact-list {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

body.public-page .contact-item {
  padding: 16px;
  border-radius: 12px;
  background: rgba(6, 13, 29, 0.85);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

body.public-page .contact-item:hover {
  border-color: var(--line-bright);
  transform: translateX(4px);
}

body.public-page .contact-label {
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body.public-page .contact-link,
body.public-page .text-link {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
  transition: color 0.2s ease;
}

body.public-page .contact-link:hover {
  color: var(--cyan);
}

body.public-page .contact-text {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
}

body.public-page .mail-chooser {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(3, 7, 15, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

body.public-page .mail-chooser.show {
  display: flex;
  animation: fadeIn 0.25s ease;
}

body.public-page .mail-chooser-inner {
  background: #0d172e;
  border: 1px solid var(--line-bright);
  border-radius: 18px;
  padding: 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 36px rgba(56, 189, 248, 0.2);
  animation: modalPop 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

body.public-page .mail-chooser-inner h3 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

body.public-page .mail-chooser-inner p {
  color: var(--muted);
  margin: 0 0 20px;
  font-size: 0.92rem;
}

body.public-page .mail-chooser-actions {
  display: grid;
  gap: 10px;
}

body.public-page .mail-option {
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-pure);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

body.public-page .mail-option:hover {
  background: var(--blue);
  border-color: var(--blue-bright);
  color: #ffffff;
  transform: translateY(-2px);
}

body.public-page .mail-chooser-footer {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
}

body.public-page .small-link {
  background: none;
  border: none;
  color: var(--cyan);
  cursor: pointer;
  font-weight: 700;
}

/* ==========================================================================
   PORTFOLIO STYLING & GALLERY CAROUSEL
   ========================================================================== */

body.public-page .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  gap: 32px;
}

body.public-page .portfolio-card {
  display: flex;
  flex-direction: column;
  background: #0c172e;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(0, 4, 14, 0.45);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

body.public-page .portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-bright);
  box-shadow: 0 24px 60px rgba(0, 4, 15, 0.6), 0 0 36px rgba(56, 189, 248, 0.18);
}

body.public-page .portfolio-visual {
  position: relative;
  background: #060d1b;
  height: 280px;
  min-height: 280px;
  overflow: hidden;
  display: flex;
  flex-shrink: 0;
}

body.public-page .portfolio-gallery {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
}

body.public-page .portfolio-gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.public-page .portfolio-gallery-slide {
  min-width: 100%;
  width: 100%;
  height: 280px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #070e1c;
  overflow: hidden;
}

body.public-page .portfolio-gallery-slide img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.public-page .portfolio-card:hover .portfolio-gallery-slide img {
  transform: scale(1.03);
}

body.public-page .portfolio-gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  background: rgba(5, 10, 21, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease;
  user-select: none;
}

body.public-page .portfolio-gallery-btn:hover {
  background: var(--blue);
  border-color: var(--blue-bright);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

body.public-page .portfolio-gallery-btn.is-prev { left: 14px; }
body.public-page .portfolio-gallery-btn.is-next { right: 14px; }

body.public-page .portfolio-image-count {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 10;
  background: rgba(5, 10, 21, 0.9);
  border: 1px solid var(--line);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

body.public-page .portfolio-placeholder {
  width: 100%;
  height: 100%;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #081122;
  color: var(--muted);
}

body.public-page .portfolio-copy {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

body.public-page .portfolio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

body.public-page .tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--muted-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 6px;
}

body.public-page .tag-featured {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: var(--cyan);
}

body.public-page .portfolio-status-running {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}

body.public-page .portfolio-status-shutdown {
  background: rgba(255, 71, 87, 0.12);
  border-color: rgba(255, 71, 87, 0.35);
  color: #ff6b81;
}

body.public-page .portfolio-client {
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 10px;
}

body.public-page .portfolio-result {
  color: #c4d7f8;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 16px;
}

body.public-page .portfolio-copy h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  line-height: 1.25;
}

body.public-page .portfolio-copy p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 12px;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

body.public-page .chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: auto 0 22px;
}

body.public-page .chip {
  background: #091328;
  border: 1px solid var(--line);
  color: var(--muted-light);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
}

body.public-page .portfolio-link {
  align-self: flex-start;
}

body.public-page .portfolio-private-note {
  margin-top: 36px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */

body.public-page .site-footer {
  position: relative;
  background: #03060d;
  color: var(--muted);
  border-top: 1px solid var(--line);
  z-index: 1;
}

body.public-page .footer-shell {
  padding: 48px 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

body.public-page .footer-brand {
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 8px;
}

body.public-page .footer-copy {
  max-width: 320px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

body.public-page .footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

body.public-page .footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

body.public-page .footer-links a:hover {
  color: #ffffff;
}

body.public-page .footer-note {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

body.public-page .footer-note p {
  margin: 2px 0;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (SMOOTH & ZERO BLUR)
   ========================================================================== */

body.public-page [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

body.public-page [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN & MOBILE DRAWER
   ========================================================================== */

@media (max-width: 900px) {
  body.public-page .container {
    width: min(100% - 32px, 640px);
  }

  body.public-page .header-shell {
    min-height: 68px;
  }

  body.public-page .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
  }

  body.public-page .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  body.public-page .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.public-page .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  body.public-page .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  body.public-page .top-nav {
    position: fixed;
    top: 68px;
    left: 16px;
    right: 16px;
    background: #091328;
    border: 1px solid var(--line-bright);
    border-radius: 16px;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 99;
  }

  body.public-page .top-nav.is-open {
    display: flex;
    animation: dropdownIn 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  body.public-page .top-nav a {
    padding: 12px 16px;
    font-size: 1rem;
  }

  body.public-page .top-nav .nav-cta {
    margin-left: 0;
    text-align: center;
    margin-top: 6px;
  }

  body.public-page .hero-section {
    padding: 72px 0 60px;
  }

  body.public-page .hero-grid,
  body.public-page .split-panel,
  body.public-page .contact-layout,
  body.public-page .request-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  body.public-page .portfolio-grid {
    grid-template-columns: 1fr;
  }

  body.public-page .portfolio-visual,
  body.public-page .portfolio-gallery {
    height: 220px;
    min-height: 220px;
  }

  body.public-page .portfolio-gallery-slide {
    height: 220px;
  }

  body.public-page .portfolio-gallery-slide img {
    min-height: 220px;
  }

  body.public-page .hero-copy h1 {
    font-size: clamp(2.4rem, 10vw, 3.6rem);
  }

  body.public-page .hero-offer-card,
  body.public-page .pricing-card {
    padding: 28px;
  }

  body.public-page .pricing-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body.public-page .pricing-card .btn {
    width: 100%;
  }

  body.public-page .card-grid-3 {
    grid-template-columns: 1fr;
  }

  body.public-page .cta-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 32px;
  }

  body.public-page .cta-banner .btn {
    width: 100%;
  }

  body.public-page .form-grid {
    grid-template-columns: 1fr;
  }

  body.public-page .footer-shell {
    flex-direction: column;
    gap: 28px;
  }
}

/* ==========================================================================
   ADMIN PANEL - MATCHES PUBLIC DESIGN SYSTEM, ZERO BLUR
   ========================================================================== */

body.admin-page {
  background: #050a15;
  color: #f4f7ff;
  font-family: ''Manrope'', -apple-system, BlinkMacSystemFont, ''Segoe UI'', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.admin-page *,
body.admin-page *::before,
body.admin-page *::after {
  transform-style: flat !important;
  -webkit-transform-style: flat !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.admin-page .site-header {
  background: rgba(5, 10, 21, 0.98) !important;
  border-bottom: 1px solid rgba(115, 163, 255, 0.2) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4) !important;
}

body.admin-page .page-hero {
  padding: 32px 0 20px;
  background: linear-gradient(180deg, #071225 0%, #050a15 100%);
  border-bottom: 1px solid rgba(115, 163, 255, 0.15);
}

body.admin-page .page-hero-shell {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 36px;
  border-radius: 18px;
  background: rgba(12, 23, 46, 0.95);
  border: 1px solid rgba(115, 163, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

body.admin-page .page-hero-shell h1 {
  font-family: ''Space Grotesk'', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #ffffff;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
}

body.admin-page .page-hero-shell p {
  color: #9ab0d3;
  font-size: 1rem;
  margin: 0;
}

body.admin-page .eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #38bdf8;
}

body.admin-page .admin-section { padding: 24px 0 48px; }
body.admin-page .admin-section > .container { width: min(1600px, calc(100% - 48px)); margin: 0 auto; }

body.admin-page .admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

body.admin-page .admin-stat-card {
  position: relative;
  background: #0c172e;
  border: 1px solid rgba(115, 163, 255, 0.18);
  border-radius: 16px;
  padding: 22px 24px;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

body.admin-page .admin-stat-card::after {
  content: ;
 position: absolute;
 left: 0; right: 0; top: 0;
 height: 3px;
 background: linear-gradient(90deg, #2563eb, #38bdf8);
 border-radius: 16px 16px 0 0;
}

body.admin-page .admin-stat-card:hover {
 border-color: rgba(135, 184, 255, 0.4);
 transform: translateY(-3px);
}

body.admin-page .admin-stat-label {
 display: block;
 font-size: 0.75rem; font-weight: 800;
 letter-spacing: 0.1em; text-transform: uppercase;
 color: #9ab0d3; margin-bottom: 8px;
}

body.admin-page .admin-stat-value {
 display: block;
 font-family: ''Space Grotesk'', sans-serif;
 font-size: 2.2rem; font-weight: 700;
 color: #ffffff; line-height: 1; letter-spacing: -0.04em;
}

body.admin-page .admin-stat-sub { margin: 6px 0 0; font-size: 0.78rem; color: #6b85aa; line-height: 1.4; }

body.admin-page .admin-layout {
 display: grid;
 grid-template-columns: minmax(640px, 1.5fr) minmax(380px, 0.7fr);
 gap: 24px;
 align-items: start;
}

body.admin-page .admin-panel,
body.admin-page .surface-card {
 background: #0c172e;
 border: 1px solid rgba(115, 163, 255, 0.18);
 border-radius: 18px;
 box-shadow: 0 8px 28px rgba(0, 4, 14, 0.35);
}

body.admin-page .admin-panel { padding: 28px; }

body.admin-page .admin-layout > aside.admin-panel {
 position: sticky;
 top: 96px;
 max-height: calc(100vh - 116px);
 overflow-y: auto;
 overflow-x: hidden;
 scrollbar-color: rgba(56, 189, 248, 0.4) rgba(255, 255, 255, 0.04);
 scrollbar-width: thin;
}

body.admin-page .admin-layout > aside.admin-panel::-webkit-scrollbar { width: 6px; }
body.admin-page .admin-layout > aside.admin-panel::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); border-radius: 6px; }
body.admin-page .admin-layout > aside.admin-panel::-webkit-scrollbar-thumb { background: rgba(56,189,248,0.4); border-radius: 6px; }

body.admin-page .admin-panel-head {
 display: flex; align-items: center; justify-content: space-between;
 margin-bottom: 20px; padding-bottom: 16px;
 border-bottom: 1px solid rgba(115, 163, 255, 0.15);
}

body.admin-page .admin-panel h2 {
 font-family: ''Space Grotesk'', sans-serif;
 font-size: 1.3rem; color: #ffffff; margin: 6px 0 0; letter-spacing: -0.02em;
}

body.admin-page .request-tabs {
 display: flex; gap: 4px; margin-bottom: 20px;
 background: rgba(255,255,255,0.04); border-radius: 10px; padding: 4px;
}

body.admin-page .request-tab {
 flex: 1; padding: 8px 14px; border-radius: 7px; border: none;
 background: transparent; color: #9ab0d3; font-weight: 700; font-size: 0.88rem;
 cursor: pointer; transition: all 0.2s ease;
}

body.admin-page .request-tab.active {
 background: #0c172e; color: #38bdf8;
 border: 1px solid rgba(115, 163, 255, 0.25);
 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body.admin-page .request-tab:not(.active):hover { background: rgba(255,255,255,0.06); color: #ffffff; }

body.admin-page input,
body.admin-page select,
body.admin-page textarea {
 width: 100%;
 background: #060d1d !important;
 color: #f4f7ff !important;
 font-family: inherit; font-size: 0.92rem;
 border: 1px solid rgba(115, 163, 255, 0.25) !important;
 border-radius: 9px; padding: 11px 14px; outline: none;
 transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.admin-page input:focus,
body.admin-page select:focus,
body.admin-page textarea:focus {
 border-color: #3b82f6 !important;
 box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3) !important;
}

body.admin-page label {
 display: block; margin-bottom: 6px;
 color: #c2d2ee; font-size: 0.85rem; font-weight: 700;
}

body.admin-page textarea { resize: vertical; min-height: 90px; }

body.admin-page .request-entry {
 padding: 18px; border-radius: 12px;
 background: rgba(255,255,255,0.03);
 border: 1px solid rgba(115, 163, 255, 0.14);
 margin-bottom: 10px;
 transition: border-color 0.2s ease, background 0.2s ease;
}

body.admin-page .request-entry:hover {
 border-color: rgba(115, 163, 255, 0.35);
 background: rgba(255,255,255,0.05);
}

body.admin-page .request-entry-section {
 margin-top: 12px; padding-top: 12px;
 border-top: 1px solid rgba(115, 163, 255, 0.1);
}

body.admin-page .portfolio-admin-list { display: grid; gap: 10px; }

body.admin-page .portfolio-admin-item {
 display: flex; align-items: center; gap: 14px; padding: 14px;
 border-radius: 12px;
 background: rgba(255,255,255,0.03);
 border: 1px solid rgba(115, 163, 255, 0.14);
 transition: border-color 0.2s ease;
}

body.admin-page .portfolio-admin-item:hover { border-color: rgba(115, 163, 255, 0.35); }

body.admin-page .portfolio-admin-thumb {
 width: 70px; height: 50px; border-radius: 8px;
 object-fit: cover; flex-shrink: 0; background: #091328;
}

body.admin-page .image-dropzone {
 padding: 24px; border-radius: 12px;
 border: 2px dashed rgba(115, 163, 255, 0.3);
 background: rgba(255,255,255,0.02);
 text-align: center; cursor: pointer;
 transition: border-color 0.2s ease, background 0.2s ease;
}

body.admin-page .image-dropzone:hover {
 border-color: rgba(56, 189, 248, 0.5);
 background: rgba(56, 189, 248, 0.04);
}

body.admin-page .btn {
 min-height: 42px; display: inline-flex;
 align-items: center; justify-content: center; gap: 8px;
 border-radius: 9px; padding: 0 20px;
 font-size: 0.9rem; font-weight: 700;
 text-decoration: none; cursor: pointer;
 border: 1px solid transparent;
 transition: all 0.25s ease;
}

body.admin-page .btn-primary {
 background: linear-gradient(135deg, #2563eb, #38bdf8);
 color: #ffffff;
 box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

body.admin-page .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(56, 189, 248, 0.45); }

body.admin-page .btn-secondary {
 background: rgba(255,255,255,0.06);
 border-color: rgba(115, 163, 255, 0.25);
 color: #f4f7ff;
}

body.admin-page .btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(135,184,255,0.5); transform: translateY(-2px); }

body.admin-page .detail-modal {
  position: fixed; inset: 0; z-index: 200;
  display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(2, 5, 12, 0.9);
}

body.admin-page .detail-modal.show {
  display: flex;
}

body.admin-page .detail-modal-inner {
 background: #0d172e;
 border: 1px solid rgba(115, 163, 255, 0.3);
 border-radius: 20px; padding: 32px;
 max-width: 680px; width: 100%;
 max-height: 88vh; overflow-y: auto;
 box-shadow: 0 24px 64px rgba(0,0,0,0.7), 0 0 32px rgba(56,189,248,0.15);
}

body.admin-page .checkbox-row {
 display: flex; align-items: center; gap: 10px; padding: 10px 0;
 color: #c2d2ee; font-size: 0.9rem;
}

body.admin-page .checkbox-row input[type= checkbox] {
 width: 18px; height: 18px; border-radius: 5px; padding: 0;
 cursor: pointer; accent-color: #38bdf8;
}

@media (max-width: 1024px) {
 body.admin-page .admin-layout { grid-template-columns: 1fr; }
 body.admin-page .admin-layout > aside.admin-panel { position: static; max-height: none; }
 body.admin-page .admin-stats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
 body.admin-page .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
