:root {
  --royal-blue: #0735B8;
  --cyan: #08B8ED;
  --dark-navy: #09245F;
  --white: #FFFFFF;
  --muted: #CBD5E1;
  --bg-start: #09245F;
  --bg-mid: #0735B8;
  --bg-end: #041235;
  --heading-font: 'Cormorant Garamond', Georgia, serif;
  --body-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --card-radius: 18px;
  --card-max-width: 440px;
  --card-padding: 20px;
  --section-spacing: 14px;
  --button-spacing: 10px;
  --logo-size: 104px;
  --logo-border: #08B8ED;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100dvh;
  font-family: var(--body-font);
  color: var(--white);
  background: var(--bg-end);
  overflow-x: hidden;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.hidden {
  display: none !important;
}

/* Atmospheric Luxury Background */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 50% 14%, var(--bg-mid) 0%, var(--bg-start) 48%, var(--bg-end) 100%);
  pointer-events: none;
  overflow: hidden;
}

.bg-image-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bg-overlay-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 36, 95, 0.72) 0%, rgba(4, 18, 53, 0.9) 100%);
  opacity: 0;
}

.bg-aurora {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(8, 184, 237, 0.22) 0%, rgba(7, 53, 184, 0.14) 45%, transparent 72%);
  filter: blur(28px);
}

.starfield-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  display: block;
}

.logo-admin-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  text-decoration: none;
  border-radius: 50%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo-admin-link:hover {
  transform: scale(1.025);
}

.logo-admin-link:active {
  transform: scale(0.98);
}

.logo-admin-link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

/* Main Page Shell */
.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 16px 16px 24px;
}

.business-card {
  width: 100%;
  max-width: var(--card-max-width);
  padding: var(--card-padding);
  border-radius: calc(var(--card-radius) + 8px);
  background: linear-gradient(180deg, rgba(9, 36, 95, 0.14) 0%, rgba(4, 18, 53, 0.22) 100%);
  border: 1px solid rgba(8, 184, 237, 0.22);
  box-shadow: 0 24px 60px rgba(2, 10, 32, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: cardEnter 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

/* Top Brand Header */
.card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: var(--section-spacing);
}

.card-header.align-left {
  align-items: flex-start;
  text-align: left;
}

.card-header.align-right {
  align-items: flex-end;
  text-align: right;
}

.logo-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 12px;
}

.logo-wrapper.pos-left { justify-content: flex-start; }
.logo-wrapper.pos-center { justify-content: center; }
.logo-wrapper.pos-right { justify-content: flex-end; }

.logo-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  width: calc(var(--logo-size) + 56px);
  height: calc(var(--logo-size) + 56px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 184, 237, 0.42) 0%, rgba(7, 53, 184, 0.24) 48%, transparent 74%);
  filter: blur(12px);
  pointer-events: none;
}

.logo-frame {
  position: relative;
  width: var(--logo-size);
  height: var(--logo-size);
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--logo-border);
  background: #0735B8;
  box-shadow: 0 10px 30px rgba(8, 184, 237, 0.28), 0 0 0 4px rgba(8, 184, 237, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-frame.shape-rounded { border-radius: 22px; }
.logo-frame.shape-square { border-radius: 6px; }
.logo-frame.shape-free {
  border-radius: 12px;
  border: none;
  background: transparent;
  box-shadow: none;
  width: auto;
  height: auto;
  max-width: 100%;
}

.logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-frame.shape-free img {
  width: var(--logo-size);
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.welcome-heading {
  font-family: var(--body-font);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 2px;
}

.full-business-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3px;
}

.business-category {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}

.brand-tagline {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.glow-divider {
  width: 56px;
  height: 2px;
  margin-top: 10px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 12px rgba(8, 184, 237, 0.8);
}

/* Hero Intro */
.hero-intro {
  margin-bottom: var(--section-spacing);
}

.hero-headline {
  font-family: var(--heading-font);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 6px;
  text-align: center;
}

.hero-description {
  font-size: 0.88rem;
  line-height: 1.48;
  color: var(--muted);
  text-align: center;
}

/* Contact Action Buttons */
.actions-section {
  margin-bottom: var(--section-spacing);
}

.actions-list {
  display: flex;
  flex-direction: column;
  gap: var(--button-spacing);
}

.action-btn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  background: rgba(9, 36, 95, 0.58);
  border: 1px solid rgba(8, 184, 237, 0.28);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(3, 12, 38, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.24s ease,
              box-shadow 0.24s ease,
              background 0.24s ease;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  user-select: none;
}

.action-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(8, 184, 237, 0.14) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.action-btn.shape-rounded { border-radius: 16px; }
.action-btn.shape-square { border-radius: 6px; }
.action-btn.size-sm { padding: 10px 14px; }
.action-btn.size-lg { padding: 17px 20px; }

.action-btn:hover {
  transform: translateY(-3px);
  background: rgba(7, 53, 184, 0.42);
  border-color: rgba(8, 184, 237, 0.85);
  box-shadow: 0 14px 34px rgba(8, 184, 237, 0.26), 0 0 18px rgba(8, 184, 237, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.action-btn:hover::before {
  transform: translateX(100%);
}

.action-btn:active,
.action-btn.is-pressed {
  transform: translateY(0) scale(0.982);
  box-shadow: 0 6px 16px rgba(8, 184, 237, 0.22);
}

.action-btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.btn-icon-badge {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), background 0.24s ease, border-color 0.24s ease;
}

.action-btn:hover .btn-icon-badge {
  transform: scale(1.09) rotate(-4deg);
  background: rgba(8, 184, 237, 0.22);
  border-color: rgba(8, 184, 237, 0.55);
}

.btn-icon-badge svg {
  width: 21px;
  height: 21px;
  display: block;
}

.btn-text {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.btn-label {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.btn-desc {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 184, 237, 0.14);
  border: 1px solid rgba(8, 184, 237, 0.35);
  color: var(--cyan);
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), background 0.24s ease, color 0.24s ease;
}

.action-btn:hover .btn-arrow {
  transform: translate(3px, -3px) scale(1.06);
  background: var(--cyan);
  color: var(--dark-navy);
}

@media (prefers-reduced-motion: reduce) {
  .business-card,
  .action-btn,
  .action-btn::before,
  .btn-icon-badge,
  .btn-arrow,
  .logo-admin-link {
    animation: none !important;
    transition: none !important;
  }
}

.btn-arrow svg {
  width: 16px;
  height: 16px;
}

/* Custom Admin Sections */
.custom-sections {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: var(--section-spacing);
}

.custom-sections:empty {
  display: none;
}

.custom-section-card {
  padding: 18px;
  border-radius: 16px;
  background: rgba(9, 36, 95, 0.45);
  border: 1px solid rgba(8, 184, 237, 0.2);
}

.custom-section-card h3 {
  font-family: var(--heading-font);
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.custom-section-card .sec-sub {
  font-size: 0.8rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.custom-section-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

.custom-section-card img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 12px;
}

.custom-section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--cyan);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.custom-section-link:hover {
  text-decoration: underline;
}

/* Footer */
.card-footer {
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid rgba(8, 184, 237, 0.16);
}

.card-footer.align-left { text-align: left; }
.card-footer.align-right { text-align: right; }

.footer-quote {
  font-family: var(--heading-font);
  font-style: italic;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 6px;
}

.footer-brand {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 2px;
}

.footer-tagline {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--cyan);
  margin-bottom: 6px;
}

.footer-copyright, .footer-extra {
  font-size: 0.75rem;
  color: rgba(203, 213, 225, 0.72);
}

/* Maintenance View */
.maintenance-shell {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.maintenance-card {
  max-width: 440px;
  width: 100%;
  padding: 36px 28px;
  border-radius: 24px;
  background: rgba(9, 36, 95, 0.72);
  border: 1px solid rgba(8, 184, 237, 0.35);
  backdrop-filter: blur(18px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.maint-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(8, 184, 237, 0.16);
  border: 1px solid rgba(8, 184, 237, 0.4);
  color: var(--cyan);
}

.maintenance-card h1 {
  font-family: var(--heading-font);
  font-size: 1.9rem;
}

.maintenance-card p {
  font-size: 0.94rem;
  color: var(--muted);
}

.maint-tagline {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--cyan);
  margin-top: 6px;
}

@media (max-width: 480px) {
  .page-shell {
    padding: 10px 18px 20px;
  }
  .business-card {
    padding: 18px 14px;
  }
  .welcome-heading {
    font-size: 1.15rem;
  }
}
