/* Nord Axiz — Midnight Aurora Experience */
:root {
  --background: 225 52% 6%;
  --foreground: 210 35% 96%;
  --card: 224 42% 10%;
  --card-foreground: 210 35% 96%;
  --popover: 224 42% 10%;
  --popover-foreground: 210 35% 96%;
  --primary: 225 60% 5%;
  --primary-foreground: 210 35% 96%;
  --secondary: 221 32% 16%;
  --secondary-foreground: 210 35% 96%;
  --muted: 222 32% 13%;
  --muted-foreground: 215 18% 69%;
  --accent: 177 92% 44%;
  --accent-glow: 207 100% 62%;
  --accent-foreground: 224 60% 6%;
  --border: 216 38% 22%;
  --input: 216 38% 22%;
  --ring: 177 92% 44%;
  --whatsapp: 151 75% 46%;
  --radius-outer: 30px;
  --radius-inner: 18px;
}

html { scroll-behavior: smooth; background: #050814; }

body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 75% 45% at 12% -8%, hsl(210 100% 55% / .23), transparent 68%),
    radial-gradient(ellipse 58% 42% at 92% 10%, hsl(174 100% 48% / .16), transparent 70%),
    radial-gradient(ellipse 65% 42% at 50% 110%, hsl(268 85% 58% / .13), transparent 72%),
    hsl(var(--background));
  color: hsl(var(--foreground));
  background-attachment: fixed;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  opacity: .18;
  background-image:
    linear-gradient(hsl(190 100% 80% / .1) 1px, transparent 1px),
    linear-gradient(90deg, hsl(190 100% 80% / .1) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 8%, black, transparent 78%);
}

body::after {
  opacity: .03;
  background-image: radial-gradient(circle, hsl(0 0% 100% / .7) .6px, transparent .8px);
  background-size: 5px 5px;
}

#root { position: relative; z-index: 1; }
::selection { background: hsl(var(--accent) / .3); color: white; }

.container { max-width: 1320px; }

.heading-l1,
.heading-l2,
.heading-l3 {
  color: hsl(var(--foreground));
  text-wrap: balance;
}

.heading-l1 {
  font-size: clamp(3rem, 6.4vw, 6.4rem);
  line-height: .93;
  letter-spacing: -.07em;
  text-shadow: 0 12px 55px hsl(209 100% 65% / .18);
}

.heading-l2 { letter-spacing: -.045em; }

.gradient-text {
  background: linear-gradient(105deg, #ffffff 4%, #63e6ff 35%, #4df5ba 62%, #b6a6ff 96%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 12px 32px hsl(185 100% 55% / .2));
  animation: aurora-text 7s ease-in-out infinite alternate;
}

.gradient-accent {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: hsl(var(--accent-foreground));
  background: linear-gradient(115deg, #43f1b8, #54dfff 46%, #8f8cff 100%);
  background-size: 190% 190%;
  box-shadow: 0 14px 35px hsl(187 100% 52% / .22), inset 0 1px 0 hsl(0 0% 100% / .65);
  animation: aurora-flow 7s ease infinite;
}

.gradient-accent::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 28%, hsl(0 0% 100% / .55) 48%, transparent 68%);
  transform: translateX(-140%);
  transition: transform .75s cubic-bezier(.16,1,.3,1);
}

.gradient-accent:hover::after { transform: translateX(140%); }

/* Keep the highlighted nationwide contact card fully legible. */
.card-premium.gradient-accent,
.card-premium.gradient-accent p,
.card-premium.gradient-accent strong {
  color: #fff !important;
  text-shadow: 0 1px 12px hsl(225 70% 6% / .45);
}

nav.sticky {
  top: 12px !important;
  width: min(calc(100% - 28px), 1320px);
  margin-inline: auto;
  border: 1px solid hsl(190 70% 70% / .14) !important;
  border-radius: 22px;
  background: linear-gradient(120deg, hsl(225 48% 8% / .88), hsl(218 44% 11% / .78)) !important;
  box-shadow: 0 22px 70px hsl(225 90% 2% / .55), inset 0 1px 0 hsl(0 0% 100% / .06);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
}

nav.sticky .container { height: 74px; padding-inline: 1.2rem; }
nav.sticky img { filter: drop-shadow(0 8px 24px hsl(187 100% 60% / .11)); }
nav.sticky a { letter-spacing: .01em; }

nav.sticky .hidden.md\:flex > a:not(:last-child) { position: relative; }
nav.sticky .hidden.md\:flex > a:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: hsl(var(--accent));
  box-shadow: 0 0 14px hsl(var(--accent));
  transform: translateX(-50%) scale(0);
  transition: transform .25s ease;
}
nav.sticky .hidden.md\:flex > a:not(:last-child):hover::before { transform: translateX(-50%) scale(1); }

main { overflow: hidden; }
main > section { position: relative; }

main > section:first-child { padding-top: clamp(5rem, 9vw, 9rem); }

main > section:first-child::before,
main > section:first-child::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
  border-radius: 999px;
  filter: blur(24px);
}

main > section:first-child::before {
  width: min(62vw, 900px);
  height: min(42vw, 620px);
  top: -22%;
  right: -18%;
  background: conic-gradient(from 205deg, transparent, hsl(176 100% 50% / .22), hsl(212 100% 58% / .26), hsl(268 90% 67% / .17), transparent 76%);
  animation: orbit-one 15s ease-in-out infinite alternate;
}

main > section:first-child::after {
  width: 420px;
  height: 420px;
  left: -250px;
  top: 45%;
  border: 1px solid hsl(181 100% 65% / .3);
  box-shadow: inset 0 0 90px hsl(191 100% 55% / .12), 0 0 90px hsl(218 100% 58% / .08);
}

section.bg-muted,
.bg-muted,
.bg-muted\/50 {
  background-color: hsl(var(--muted) / .6);
}

section.bg-muted {
  border-block: 1px solid hsl(190 70% 70% / .1);
  background:
    linear-gradient(125deg, hsl(222 40% 11% / .9), hsl(218 40% 8% / .8)),
    hsl(var(--muted));
}

.card-premium,
.card-glass {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid hsl(190 55% 75% / .13);
  background:
    linear-gradient(145deg, hsl(218 36% 16% / .86), hsl(225 42% 9% / .94));
  box-shadow:
    inset 0 1px 0 hsl(0 0% 100% / .055),
    0 25px 65px hsl(225 85% 2% / .32);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.card-premium::before,
.card-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0;
  background: radial-gradient(circle at 86% 5%, hsl(178 100% 55% / .18), transparent 38%),
              radial-gradient(circle at 8% 95%, hsl(218 100% 62% / .14), transparent 42%);
  transition: opacity .5s ease;
}

.card-premium::after,
.card-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  opacity: 0;
  background: linear-gradient(135deg, hsl(175 100% 65% / .65), transparent 32%, transparent 68%, hsl(244 100% 75% / .5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity .5s ease;
}

.card-premium:hover,
.card-glass:hover {
  transform: translateY(-10px) scale(1.008);
  box-shadow: 0 34px 85px hsl(225 90% 2% / .52), 0 0 50px hsl(185 100% 55% / .07);
}
.card-premium:hover::before,
.card-premium:hover::after,
.card-glass:hover::before,
.card-glass:hover::after { opacity: 1; }

.ring-2.ring-accent {
  border-color: hsl(var(--accent) / .66);
  box-shadow: 0 28px 80px hsl(179 100% 40% / .14), inset 0 0 40px hsl(184 100% 50% / .035);
}

.rounded-outer { border-radius: 32px; }
.rounded-outer img,
img.rounded-outer {
  filter: saturate(.92) contrast(1.05);
  transition: transform 1s cubic-bezier(.16,1,.3,1), filter 1s ease;
}
.rounded-outer:hover img { transform: scale(1.045); filter: saturate(1.08) contrast(1.06); }

.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-foreground { color: hsl(var(--foreground)); }
.border-border { border-color: hsl(var(--border)); }

a.rounded-lg,
button.rounded-lg,
.inline-flex.rounded-lg { border-radius: 14px; }

.bg-secondary {
  border: 1px solid hsl(190 50% 75% / .13);
  background: hsl(var(--secondary) / .82);
}

input,
textarea,
select {
  border-radius: 15px !important;
  border-color: hsl(190 50% 75% / .16) !important;
  background: hsl(223 39% 8% / .72) !important;
  color: hsl(var(--foreground)) !important;
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / .04);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
input::placeholder,
textarea::placeholder { color: hsl(var(--muted-foreground) / .7); }
input:focus,
textarea:focus,
select:focus {
  border-color: hsl(var(--accent) / .75) !important;
  box-shadow: 0 0 0 4px hsl(var(--accent) / .1), 0 12px 32px hsl(225 80% 2% / .3) !important;
  transform: translateY(-2px);
}

.bg-primary {
  background:
    radial-gradient(circle at 12% 0%, hsl(209 100% 56% / .2), transparent 32rem),
    radial-gradient(circle at 88% 100%, hsl(174 100% 46% / .13), transparent 30rem),
    linear-gradient(145deg, #040711, #081221 55%, #061019);
}

footer { position: relative; overflow: hidden; border-top: 1px solid hsl(184 75% 65% / .14); }
footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(120deg, transparent 42%, hsl(184 100% 70% / .055) 50%, transparent 58%);
}

.bg-whatsapp {
  background: linear-gradient(145deg, #4cec99, #10b981);
  border: 2px solid hsl(0 0% 100% / .58);
  box-shadow: 0 16px 45px hsl(151 80% 38% / .35), 0 0 0 8px hsl(151 80% 42% / .07);
}

@keyframes aurora-flow {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes aurora-text {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}
@keyframes orbit-one {
  from { transform: translate3d(0,0,0) rotate(-4deg) scale(.95); }
  to { transform: translate3d(-5%,9%,0) rotate(10deg) scale(1.08); }
}

@media (max-width: 767px) {
  .container { padding-inline: 1.25rem; }
  nav.sticky { top: 8px !important; width: calc(100% - 16px); border-radius: 18px; }
  nav.sticky .container { height: 68px; }
  nav.sticky .md\:hidden.bg-background { background: hsl(224 45% 8% / .97) !important; }
  .heading-l1 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  main > section:first-child { padding-top: 4.5rem; }
  .card-premium:hover, .card-glass:hover { transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
