/* =========================================================
   Dalmia Computers Kingdom Royal Theme - Phase153AS
   Ice White • Cyber Cyan • Royal Indigo • Soft Gold
   Designed for premium showroom, service, commerce, CRM and app screens.
   ========================================================= */
:root {
  --dc-ice: #FDFEFF;
  --dc-sky: #F2FBFF;
  --dc-cyan: #00CFE8;
  --dc-indigo: #3F51B5;
  --dc-royal: #17203A;
  --dc-gold: #D9A441;
  --dc-soft-gold: #FFF4D6;
  --dc-glass: rgba(255,255,255,.82);
  --dc-glass-strong: rgba(255,255,255,.94);
  --dc-border: rgba(63,81,181,.16);
  --dc-shadow: 0 26px 70px rgba(23,32,58,.13);
  --dc-shadow-soft: 0 16px 44px rgba(0,207,232,.13);
  --dc-radius-xl: 28px;
  --dc-radius-lg: 22px;
  --dc-radius-md: 16px;
  --dc-font-display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --dc-speed: 260ms;
  --dc-ease: cubic-bezier(.2,.8,.2,1);
}

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.dalmia-kingdom-body,
body[data-dalmia-kingdom="phase153as"] {
  background:
    radial-gradient(circle at 12% 10%, rgba(0,207,232,.18), transparent 28rem),
    radial-gradient(circle at 88% 14%, rgba(63,81,181,.16), transparent 26rem),
    linear-gradient(135deg, var(--dc-ice) 0%, var(--dc-sky) 48%, #ffffff 100%);
  color: var(--dc-royal);
  font-family: var(--dc-font-display);
}

.dalmia-kingdom-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.dalmia-kingdom-shell::before {
  content: "";
  position: fixed;
  inset: -20vh -12vw auto -12vw;
  height: 58vh;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255,255,255,.35), rgba(0,207,232,.1), rgba(63,81,181,.08)),
    radial-gradient(circle, rgba(217,164,65,.14), transparent 22rem);
  filter: blur(8px);
  z-index: -1;
}

.dc-royal-card,
.kingdom-card,
.product-card,
.service-card,
.admin-card,
.crm-card,
.jobsheet-card,
.membership-card {
  background: var(--dc-glass);
  border: 1px solid var(--dc-border);
  border-radius: var(--dc-radius-xl);
  box-shadow: var(--dc-shadow);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  transition: transform var(--dc-speed) var(--dc-ease), box-shadow var(--dc-speed) var(--dc-ease), border-color var(--dc-speed) var(--dc-ease);
}

.dc-royal-card:hover,
.kingdom-card:hover,
.product-card:hover,
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 90px rgba(23,32,58,.18);
  border-color: rgba(0,207,232,.35);
}

.dc-royal-title,
.kingdom-title,
.hero-title,
h1.kingdom-heading {
  letter-spacing: -.045em;
  line-height: .96;
  color: var(--dc-royal);
  text-wrap: balance;
}

.dc-royal-title strong,
.kingdom-title strong {
  background: linear-gradient(90deg, var(--dc-indigo), var(--dc-cyan), var(--dc-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dc-royal-kicker,
.kingdom-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem .85rem;
  border-radius: 999px;
  color: var(--dc-indigo);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(0,207,232,.22);
  box-shadow: 0 10px 28px rgba(0,207,232,.12);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: clamp(.72rem, .7rem + .12vw, .86rem);
}

.dc-btn,
.kingdom-btn,
button[type="submit"],
input[type="submit"],
.cta,
.btn-primary {
  position: relative;
  border: 0;
  border-radius: 999px;
  padding: .86rem 1.25rem;
  font-weight: 850;
  color: #fff;
  background: linear-gradient(135deg, var(--dc-indigo), var(--dc-cyan));
  box-shadow: 0 16px 34px rgba(0,207,232,.22), inset 0 1px 0 rgba(255,255,255,.35);
  cursor: pointer;
  transition: transform var(--dc-speed) var(--dc-ease), filter var(--dc-speed) var(--dc-ease), box-shadow var(--dc-speed) var(--dc-ease);
  text-decoration: none;
}

.dc-btn:hover,
.kingdom-btn:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.cta:hover,
.btn-primary:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 22px 48px rgba(0,207,232,.28), inset 0 1px 0 rgba(255,255,255,.45);
}

.dc-btn.secondary,
.kingdom-btn.secondary,
.btn-secondary {
  color: var(--dc-indigo);
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(63,81,181,.18);
}

.dc-premium-grid,
.kingdom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(1rem, 1.4vw, 1.6rem);
}

.dc-feature-strip,
.kingdom-feature-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}

.dc-chip,
.kingdom-chip,
.badge,
.tag {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border-radius: 999px;
  padding: .45rem .75rem;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(63,81,181,.13);
  color: var(--dc-royal);
  font-size: .86rem;
  font-weight: 780;
}

.dc-smart-form,
form[data-dalmia-smart-form="true"],
.kingdom-form {
  display: grid;
  gap: .95rem;
  padding: clamp(1rem, 1.5vw, 1.6rem);
  border-radius: var(--dc-radius-xl);
  background: var(--dc-glass-strong);
  border: 1px solid rgba(0,207,232,.18);
  box-shadow: var(--dc-shadow-soft);
}

.dc-smart-form input,
.dc-smart-form select,
.dc-smart-form textarea,
form[data-dalmia-smart-form="true"] input,
form[data-dalmia-smart-form="true"] select,
form[data-dalmia-smart-form="true"] textarea,
.kingdom-form input,
.kingdom-form select,
.kingdom-form textarea {
  width: 100%;
  border: 1px solid rgba(63,81,181,.17);
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  color: var(--dc-royal);
  padding: .85rem .95rem;
  outline: none;
  transition: border-color var(--dc-speed) var(--dc-ease), box-shadow var(--dc-speed) var(--dc-ease), background var(--dc-speed) var(--dc-ease);
}

.dc-smart-form input:focus,
.dc-smart-form select:focus,
.dc-smart-form textarea:focus,
form[data-dalmia-smart-form="true"] input:focus,
form[data-dalmia-smart-form="true"] select:focus,
form[data-dalmia-smart-form="true"] textarea:focus,
.kingdom-form input:focus,
.kingdom-form select:focus,
.kingdom-form textarea:focus {
  border-color: var(--dc-cyan);
  box-shadow: 0 0 0 4px rgba(0,207,232,.16);
  background: #fff;
}

.dc-form-message,
.kingdom-form-message {
  min-height: 1.2rem;
  font-size: .92rem;
  font-weight: 700;
}

.dc-form-message.is-green { color: #097344; }
.dc-form-message.is-red { color: #B42318; }
.dc-form-message.is-yellow { color: #A15C00; }

.dc-robot-orb {
  width: clamp(4.5rem, 7vw, 7.5rem);
  aspect-ratio: 1;
  border-radius: 32%;
  background:
    radial-gradient(circle at 35% 26%, #fff, rgba(255,255,255,.7) 38%, transparent 39%),
    linear-gradient(135deg, rgba(0,207,232,.95), rgba(63,81,181,.9));
  box-shadow: 0 24px 58px rgba(0,207,232,.22);
  position: relative;
}

.dc-robot-orb::before,
.dc-robot-orb::after {
  content: "";
  position: absolute;
  top: 37%;
  width: 12%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #102040;
  box-shadow: 0 0 16px rgba(255,255,255,.7);
}
.dc-robot-orb::before { left: 33%; }
.dc-robot-orb::after { right: 33%; }

[data-dalmia-reveal] {
  opacity: 0;
  transform: translateY(18px) scale(.98);
  transition: opacity 620ms var(--dc-ease), transform 620ms var(--dc-ease);
}
[data-dalmia-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.dc-premium-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 .65rem;
}
.dc-premium-table th {
  text-align: left;
  color: var(--dc-indigo);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.dc-premium-table td {
  background: rgba(255,255,255,.82);
  border-top: 1px solid rgba(63,81,181,.1);
  border-bottom: 1px solid rgba(63,81,181,.1);
  padding: .85rem;
}
.dc-premium-table td:first-child { border-left: 1px solid rgba(63,81,181,.1); border-radius: 16px 0 0 16px; }
.dc-premium-table td:last-child { border-right: 1px solid rgba(63,81,181,.1); border-radius: 0 16px 16px 0; }

.dc-sticky-action {
  position: sticky;
  bottom: 1rem;
  z-index: 50;
  max-width: min(92vw, 980px);
  margin-inline: auto;
  padding: .65rem;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(0,207,232,.22);
  box-shadow: 0 20px 60px rgba(23,32,58,.16);
  backdrop-filter: blur(16px);
}

@media (max-width: 760px) {
  .dc-sticky-action { border-radius: 24px; }
  .dc-premium-grid, .kingdom-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  [data-dalmia-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .dc-sticky-action,
  [data-dalmia-animate],
  .kingdom-floating,
  .floating-whatsapp {
    display: none !important;
  }
  body {
    background: #fff !important;
  }
  .dc-royal-card,
  .kingdom-card {
    box-shadow: none !important;
    border-color: #d8dce8 !important;
  }
}
