@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

/*
! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden] {
  display: none;
}

*, ::before, ::after{
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}

::backdrop{
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}

.container{
  width: 100%;
}

@media (min-width: 640px){
  .container{
    max-width: 640px;
  }
}

@media (min-width: 768px){
  .container{
    max-width: 768px;
  }
}

@media (min-width: 1024px){
  .container{
    max-width: 1024px;
  }
}

@media (min-width: 1280px){
  .container{
    max-width: 1280px;
  }
}

@media (min-width: 1536px){
  .container{
    max-width: 1536px;
  }
}

.pointer-events-none{
  pointer-events: none;
}

.static{
  position: static;
}

.fixed{
  position: fixed;
}

.absolute{
  position: absolute;
}

.relative{
  position: relative;
}

.sticky{
  position: sticky;
}

.right-0{
  right: 0px;
}

.top-0{
  top: 0px;
}

.z-10{
  z-index: 10;
}

.mx-auto{
  margin-left: auto;
  margin-right: auto;
}

.-mr-16{
  margin-right: -4rem;
}

.-mt-16{
  margin-top: -4rem;
}

.mb-10{
  margin-bottom: 2.5rem;
}

.mb-5{
  margin-bottom: 1.25rem;
}

.mb-6{
  margin-bottom: 1.5rem;
}

.mb-8{
  margin-bottom: 2rem;
}

.mt-8{
  margin-top: 2rem;
}

.block{
  display: block;
}

.inline{
  display: inline;
}

.flex{
  display: flex;
}

.grid{
  display: grid;
}

.list-item{
  display: list-item;
}

.hidden{
  display: none;
}

.h-12{
  height: 3rem;
}

.h-6{
  height: 1.5rem;
}

.h-64{
  height: 16rem;
}

.h-full{
  height: 100%;
}

.h-px{
  height: 1px;
}

.w-12{
  width: 3rem;
}

.w-6{
  width: 1.5rem;
}

.w-64{
  width: 16rem;
}

.w-full{
  width: 100%;
}

.w-px{
  width: 1px;
}

.flex-shrink{
  flex-shrink: 1;
}

.transform{
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.cursor-default{
  cursor: default;
}

.grid-cols-1{
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-3{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flex-col{
  flex-direction: column;
}

.flex-wrap{
  flex-wrap: wrap;
}

.items-start{
  align-items: flex-start;
}

.items-center{
  align-items: center;
}

.justify-center{
  justify-content: center;
}

.gap-12{
  gap: 3rem;
}

.gap-2{
  gap: 0.5rem;
}

.gap-4{
  gap: 1rem;
}

.gap-6{
  gap: 1.5rem;
}

.space-y-6 > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}

.space-y-8 > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(2rem * var(--tw-space-y-reverse));
}

.overflow-hidden{
  overflow: hidden;
}

.whitespace-nowrap{
  white-space: nowrap;
}

.rounded-2xl{
  border-radius: 1rem;
}

.rounded-3xl{
  border-radius: 1.5rem;
}

.rounded-full{
  border-radius: 9999px;
}

.border{
  border-width: 1px;
}

.border-white\/10{
  border-color: rgb(255 255 255 / 0.1);
}

.bg-transparent{
  background-color: transparent;
}

.bg-white\/10{
  background-color: rgb(255 255 255 / 0.1);
}

.bg-white\/5{
  background-color: rgb(255 255 255 / 0.05);
}

.bg-gradient-to-br{
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-white{
  --tw-gradient-from: #fff var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-white{
  --tw-gradient-to: rgb(255 255 255 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #fff var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.to-\[\#ffcd75\]{
  --tw-gradient-to: #ffcd75 var(--tw-gradient-to-position);
}

.bg-clip-text{
  -webkit-background-clip: text;
          background-clip: text;
}

.p-8{
  padding: 2rem;
}

.px-4{
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-8{
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-8{
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.pt-8{
  padding-top: 2rem;
}

.text-left{
  text-align: left;
}

.text-center{
  text-align: center;
}

.text-3xl{
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-5xl{
  font-size: 3rem;
  line-height: 1;
}

.text-\[10px\]{
  font-size: 10px;
}

.text-lg{
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm{
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xl{
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.font-bold{
  font-weight: 700;
}

.font-medium{
  font-weight: 500;
}

.uppercase{
  text-transform: uppercase;
}

.italic{
  font-style: italic;
}

.leading-\[0\.9\]{
  line-height: 0.9;
}

.leading-relaxed{
  line-height: 1.625;
}

.tracking-tight{
  letter-spacing: -0.025em;
}

.tracking-tighter{
  letter-spacing: -0.05em;
}

.tracking-wider{
  letter-spacing: 0.05em;
}

.text-transparent{
  color: transparent;
}

.text-white{
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

.text-zinc-400{
  --tw-text-opacity: 1;
  color: rgb(161 161 170 / var(--tw-text-opacity));
}

.text-zinc-500{
  --tw-text-opacity: 1;
  color: rgb(113 113 122 / var(--tw-text-opacity));
}

.underline{
  text-decoration-line: underline;
}

.no-underline{
  text-decoration-line: none;
}

.opacity-50{
  opacity: 0.5;
}

.shadow-2xl{
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.outline{
  outline-style: solid;
}

.ring-1{
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.ring-white\/20{
  --tw-ring-color: rgb(255 255 255 / 0.2);
}

.blur{
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.blur-3xl{
  --tw-blur: blur(64px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.grayscale{
  --tw-grayscale: grayscale(100%);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.filter{
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.backdrop-blur-xl{
  --tw-backdrop-blur: blur(24px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.backdrop-filter{
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.transition{
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all{
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform{
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.delay-100{
  transition-delay: 100ms;
}

.delay-200{
  transition-delay: 200ms;
}

.delay-300{
  transition-delay: 300ms;
}

.delay-500{
  transition-delay: 500ms;
}

.ease-in-out{
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.ease-out{
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

/* Color Palette & CSS Variables */

:root {
  /* Day Mode (Light) */
  --bg-color: #F8F9FA;
  --blob1: rgba(212, 175, 55, 0.12);
  /* Gold Aura */
  --blob2: rgba(212, 175, 55, 0.08);
  /* Secondary Gold Aura */
  --text-color: #030303;
  --accent-color: #D4AF37;
  /* Masterbrand Gold */
  --card-bg: rgba(255, 255, 255, 0.1);
  /* Crystal Clear Base */
  --card-border: rgba(212, 175, 55, 0.15);
  --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  --nav-bg: rgba(255, 255, 255, 0.15);
  --border-glow: transparent;
  --spiral-color: #D4AF37;
  --glow-intensity: box-shadow: none;
}

[data-theme="dark"] {
  /* Elite Mode (Dark) */
  --bg-color: #030303;
  --blob1: rgba(212, 175, 55, 0.15);
  /* Gold Aura */
  --blob2: rgba(212, 175, 55, 0.05);
  --text-color: #FFFFFF;
  --accent-color: #D4AF37;
  --card-bg: rgba(0, 0, 0, 0.1);
  /* Crystal Obsidian Void */
  --card-border: rgba(255, 255, 255, 0.08);
  --card-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  --nav-bg: rgba(0, 0, 0, 0.15);
  --border-glow: rgba(212, 175, 55, 0.3);
  --spiral-color: #D4AF37;
  --glow-intensity: drop-shadow(0 0 12px rgba(212,175,55,0.8));
}

/* Base Styles */

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

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-color);
  /* Sovereign PHIX Monogram (Purified Void) */
  background-image: url("data:image/svg+xml,%3Csvg width='160' height='160' viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.1'%3E%3Ctext x='20' y='60' font-family='serif' font-weight='800' font-size='28'%3EΦ%3C/text%3E%3Ctext x='100' y='140' font-family='serif' font-weight='800' font-size='28'%3EX%3C/text%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
  animation: monogram-drift 60s linear infinite;
  color: var(--text-color);
  transition: background-color 0.5s ease, color 0.3s ease;
  overflow-x: hidden;
}

@keyframes monogram-drift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 160px 160px;
  }
}

/* Light Mode Monogram Contrast Offset */

[data-theme="light"] body {
  background-image: url("data:image/svg+xml,%3Csvg width='160' height='160' viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23A67C00' fill-opacity='0.12'%3E%3Ctext x='20' y='60' font-family='serif' font-weight='800' font-size='28'%3EΦ%3C/text%3E%3Ctext x='100' y='140' font-family='serif' font-weight='800' font-size='28'%3EX%3C/text%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* HeroGeometric Atmos is current Zenith Background */

/* Typography */

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.accent {
  color: var(--accent-color);
  transition: color 0.5s ease;
}

.text-gold {
  color: var(--accent-color) !important;
}

.text-white {
  color: #FFFFFF !important;
}

.font-bold {
  font-weight: 700;
}

.text-xl {
  font-size: 1.5rem;
}

/* The Soft Edge / Squircle */

.squircle {
  border-radius: 40px;
  /* Fully rounded as requested */
}

/* Sovereign Crystal-10 Architecture (Absolute Transparency) */

.glass-nav, .glass-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
  backdrop-filter: blur(4px) saturate(200%);
  /* Minimalist Crystalline Distortion */
  -webkit-backdrop-filter: blur(4px) saturate(200%);
  border: 1px solid var(--card-border);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .glass-nav,
[data-theme="dark"] .glass-card {
  background: rgba(0, 0, 0, 0.1);
  /* 10% Pure Void */
  box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.2), /* Specular Glint */
        0 10px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .glass-nav,
[data-theme="light"] .glass-card {
  background: rgba(255, 255, 255, 0.06);
  /* 6-10% Crystalline Porcelain */
  box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.9), /* Brilliant Mirror-Edge */
        0 8px 32px rgba(0, 0, 0, 0.03);
  /* Vapor-Soft Shadow */
}

/* --- SOVEREIGN NAVIGATION ARCHITECTURE --- */

.phix-header-nav {
  position: fixed !important;
  top: 20px !important;
  left: 5% !important;
  /* CENTERED 90% WIDTH */
  width: 90% !important;
  height: 75px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 0 40px !important;
  z-index: 1500 !important;
  background: rgba(15, 15, 15, 0.4) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 999px !important;
  box-sizing: border-box !important;
}

.phix-nav-left, .phix-nav-right {
  display: flex;
  align-items: center;
  z-index: 2;
  flex: 1;
  /* Distribute container space equally */
}

.phix-nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  text-align: center;
  cursor: pointer;
  z-index: 1;
}

/* PHIX BRAND IDENTITY */

.phix-brand-logo {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: serif;
  letter-spacing: -2px;
  color: var(--accent-color) !important;
  line-height: 1;
}

.phix-brand-text {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent-color) !important;
  white-space: nowrap;
  line-height: 1;
}

/* NAV SPECIFIC LOGO SCALING - Restored to Premium Prominence */

.phix-nav-center .phix-brand-logo {
  font-size: 2.2rem;
  letter-spacing: -2px;
}

.phix-nav-center .phix-brand-text {
  font-size: 0.75rem;
  letter-spacing: 0.4em;
}

/* NAVIGATION LINKS */

.phix-nav-links {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 6rem;
  width: 100%;
}

.phix-nav-links a {
  color: var(--accent-color) !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  /* Scaled down slightly to balance the larger 16px size */
  transition: all 0.3s ease;
  opacity: 0.8;
  position: relative;
}

.phix-nav-links a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* MOBILE SYNC */

@media (max-width: 768px) {
  .phix-header-nav {
    height: 65px !important;
    padding: 0 20px !important;
    width: 94% !important;
    left: 3% !important;
  }

  .phix-brand-text {
    display: none;
  }

  .phix-brand-logo {
    font-size: 1.8rem;
  }

  .phix-nav-links {
    display: none !important;
  }
}

/* Kinetic Underline Protocol - Repositioned for Symmetry */

.phix-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  /* Absolute Centering Anchor */
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.micro-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--accent-color);
}

.btn-premium-cta {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: flex-start;
  height: 58px;
  padding: 4px 64px 4px 32px;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  text-decoration: none;
  width: -moz-fit-content;
  width: fit-content;
  border: none;
  background: var(--accent-color);
  color: #000;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn-premium-cta .btn-text {
  position: relative;
  z-index: 10;
}

.btn-premium-cta .btn-icon-circle {
  position: absolute;
  left: calc(100% - 49px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: var(--accent-color);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 20;
}

.btn-premium-cta:hover {
  padding-left: 64px;
  padding-right: 32px;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
}

.btn-premium-cta:hover .btn-icon-circle {
  left: 5px;
}

.btn-premium-cta svg {
  width: 20px;
  height: 20px;
  stroke-width: 3;
}

.btn-premium-cta .btn-text {
  position: relative;
  z-index: 10;
  transition: all 0.6s ease;
}

.btn-premium-cta .btn-icon-circle {
  position: absolute;
  left: calc(100% - 49px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 20;
}

.btn-premium-cta:hover .btn-icon-circle {
  left: 5px;
  transform: rotate(45deg);
}

.btn-premium-cta svg {
  width: 20px;
  height: 20px;
  stroke-width: 3;
}

/* Base styles cleanup */

nav {
  display: none;
  /* Superseded by .glass-nav Architecture */
}

.hero-logo-vignette {
  font-size: 12rem;
  font-weight: 800;
  letter-spacing: -8px;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  animation: floating-logo 6s ease-in-out infinite;
}

[data-theme="light"] .hero-logo-vignette {
  color: #1a1a1a;
  text-shadow: 2px 2px 0px rgba(0,0,0,0.1), 10px 10px 40px rgba(0,0,0,0.05);
}

[data-theme="dark"] .hero-logo-vignette {
  color: var(--accent-color);
  text-shadow: 0 0 30px rgba(212,175,55,0.4), 0 0 60px rgba(212,175,55,0.2);
}

@keyframes floating-logo {
  0%, 100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-15px) rotate(1deg);
  }
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.footer-logo {
  height: 35px;
  width: auto;
  -o-object-fit: contain;
     object-fit: contain;
  margin-bottom: 2rem;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  margin-left: 2.5rem;
  font-weight: 500;
  transition: color 0.3s, opacity 0.3s;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--accent-color);
}

/* Theme Toggle Button */

/* Premium Theme Toggle Pill */

.theme-toggle-pill {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  width: 64px;
  height: 32px;
  padding: 4px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  overflow: hidden;
}

[data-theme="light"] .theme-toggle-pill {
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

[data-theme="dark"] .theme-toggle-pill {
  background: #09090b;
  border: 1px solid #27272a;
}

.toggle-track {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: relative;
}

.toggle-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

[data-theme="light"] .toggle-circle {
  transform: translateX(32px);
  background: #e5e7eb;
  /* gray-200 */
}

[data-theme="dark"] .toggle-circle {
  transform: translateX(0);
  background: #27272a;
  /* zinc-800 */
}

.toggle-static {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  transition: all 0.4s ease;
}

[data-theme="light"] .toggle-static {
  transform: translateX(-32px);
}

[data-theme="dark"] .toggle-static {
  transform: translateX(0);
}

.theme-toggle-pill svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
}

/* Icon visibility logic */

[data-theme="light"] .moon-icon, 
[data-theme="dark"] .sun-icon,
[data-theme="light"] .sun-icon-static,
[data-theme="dark"] .moon-icon-static {
  display: none;
}

[data-theme="light"] .moon-icon-static {
  display: block;
  color: #000;
}

[data-theme="dark"] .sun-icon-static {
  display: block;
  color: #71717a;
}

[data-theme="light"] .sun-icon {
  color: #374151;
}

[data-theme="dark"] .moon-icon {
  color: #fff;
}

/* Ripple effect overlay */

.theme-ripple {
  position: fixed;
  border-radius: 50%;
  background: #0B0B0B;
  pointer-events: none;
  transform: scale(0);
  z-index: 1;
  /* Below content but above background */
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

/* Sections — Unified Spacing System */

section {
  --section-pad-x: 120px;
  --section-gap: 100px;
  /* Uniform vertical gap — equal top and bottom */
  padding: var(--section-gap) var(--section-pad-x);
  margin: 0;
  /* No extra margin on any section */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
}

/* Hero Section */

.hero {
  display: flex;
  flex-direction: row;
  gap: 4rem;
  max-width: 100%;
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: calc(100vh - 155px);
  padding-top: 40px;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.25rem;
  opacity: 0.8;
  margin-bottom: 2rem;
  max-width: 80%;
}

.cta-btn {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  background: var(--text-color);
  color: var(--bg-color);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
  font-family: inherit;
}

.hero-visual {
  flex: 1;
  min-height: 400px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Inherits .glass-card for 10% transparency */

.phi-placeholder {
  font-size: 6rem;
  color: var(--accent-color);
  opacity: 0.7;
  animation: float 4s ease-in-out infinite;
  font-family: serif;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* Skeleton Shimmer */

.skeleton-shimmer {
  position: relative;
  overflow: hidden;
}

.skeleton-shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
  100% {
    left: 200%;
  }
}

/* Golden Spiral Area */

.spiral-container {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
}

.spiral-path {
  stroke: var(--spiral-color);
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  transition: stroke 0.5s ease, filter 0.5s ease;
}

[data-theme="dark"] .spiral-path {
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.6));
}

/* Ecosystem 3D Cloud */

.ecosystem-section {
  text-align: left;
  overflow: visible;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ecosystem-split {
  display: flex;
  flex-direction: row;
  gap: 4rem;
  width: 100%;
  align-items: center;
  margin-top: 0;
}

.ecosystem-content-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ecosystem-visual-col {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.ecosystem-text-box {
  padding: 3rem;
}

.ecosystem-cloud-square {
  width: 60vh;
  height: 60vh;
  max-width: 600px;
  max-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  margin: 0 auto;
}

#ecosystem-canvas {
  width: 100% !important;
  height: 100% !important;
  cursor: grab;
}

/* Ensure original branded colors are visible in Dark Mode */

[data-theme="dark"] #ecosystem-list img {
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.6));
}

#ecosystem-list {
  display: none;
}

@media (max-width: 992px) {
  .ecosystem-split {
    flex-direction: column;
  }

  .ecosystem-visual-col {
    justify-content: center;
  }

  .ecosystem-cloud-square {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
  }
}

/* Services Grid */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  width: 100%;
  max-width: 100%;
  margin-top: 0;
}

.service-card {
  padding: 2.5rem;
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
  text-align: left;
  align-items: flex-start;
}

.service-card h3 {
  font-size: 1.7rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.service-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.8;
}

.marketplace-icons {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.m-icon-wrap {
  perspective: 800px;
}

.m-icon {
  width: 64px;
  height: 64px;
  background: rgba(128,128,128,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-color);
  text-transform: uppercase;
}

[data-theme="dark"] .m-icon {
  background: rgba(255,255,255,0.05);
}

/* Staggered text base */

.staggered-heading span {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
}

.staggered-text {
  opacity: 0;
  transform: translateY(20px);
}

.Reveal-SlideUp, .Reveal-SlideUp-Delayed {
  opacity: 0;
  transform: translateY(30px);
}

/* --- NEW COMPONENT STYLES --- */

.gap-bottom {
  margin-bottom: 0;
}

/* Section padding handles vertical rhythm */

.x-serif {
  font-family: serif;
  font-weight: bold;
}

/* Parallax Logo Fragments */

.parallax-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.3;
  /* Increased for authority */
}

.fragment {
  font-family: serif;
  position: absolute;
  color: var(--accent-color);
  filter: none;
  font-size: 8rem;
  font-weight: bold;
  overflow: hidden;
  transition: transform 0.2s ease-out;
}

.f1 {
  top: 15%;
  left: 8%;
}

.f2 {
  top: 65%;
  left: 80%;
  font-size: 12rem;
  filter: none;
}

.f3 {
  top: 75%;
  left: 12%;
  font-size: 5rem;
}

.f4 {
  top: 20%;
  left: 75%;
  font-size: 6rem;
  filter: none;
}

/* Section Headings Zenith Alignment */

.section-title {
  text-align: center;
  font-size: 3.5rem;
  margin: 0 auto 2rem auto;
  width: 100%;
  display: block;
}

h2 {
  text-align: center;
}

/* Buttons Overrides */

.primary-btn {
  background: var(--text-color);
  color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.secondary-btn {
  background: transparent;
  border: 1px solid var(--text-color);
  color: var(--text-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.secondary-btn:hover {
  background: var(--card-bg);
}

/* Custom Grids & Splits */

.story-split {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  width: 100%;
  align-items: stretch;
  margin-top: 0;
}

.story-content-col {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: space-between;
}

.story-visual-col {
  flex: 1;
  display: flex;
}

.story-card {
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.story-card p {
  margin-top: 0.8rem;
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.9;
}

.sub-heading {
  margin: 1rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  opacity: 0.9;
}

/* Bullets */

.styled-list {
  list-style: none;
  margin-top: 1.5rem;
}

.styled-list li {
  margin-bottom: 1.2rem;
  position: relative;
  padding-left: 1.8rem;
  opacity: 0.9;
  line-height: 1.6;
}

.styled-list li::before {
  content: '►';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-size: 0.8rem;
  top: 4px;
}

/* Framework Section */

.framework-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 100%;
}

.step-card {
  padding: 2.5rem 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.step-num {
  font-size: 4.5rem;
  font-weight: 700;
  opacity: 0.4;
  margin-bottom: 1rem;
  font-family: serif;
}

.compact {
  padding: 2.5rem 2rem;
}

/* Contact Form */

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  padding: 4rem;
  width: 100%;
  max-width: 100%;
  justify-content: space-between;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
  min-width: 320px;
}

.contact-form-container {
  flex: 1;
  min-width: 320px;
  display: flex;
  flex-direction: column;
}

.form-component {
  margin-bottom: 1.2rem;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.form-component:focus-within {
  border-color: var(--accent-color);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.form-input {
  background: transparent;
  border: none;
  padding: 1.2rem 1.5rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-color);
  outline: none;
  transition: 0.3s;
  width: 100%;
}

.form-input::-moz-placeholder {
  color: var(--text-color);
  opacity: 0.5;
}

.form-input::placeholder {
  color: var(--text-color);
  opacity: 0.5;
}

.flex-col p {
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

/* Responsive adjustments */

@media (max-width: 768px) {
  .story-split {
    flex-direction: column;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    margin-top: 40px;
  }

  .hero-content {
    align-items: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
    min-height: 300px;
    height: 300px;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .contact-container {
    padding: 2rem;
  }
}

/* Responsive Zenith Overrides — Unified Cascade */

@media (max-width: 1200px) {
  section {
    --section-pad-x: 5%;
  }

  .premium-footer {
    padding-left: 5% !important;
    padding-right: 5% !important;
  }
}

@media (max-width: 768px) {
  section {
    --section-pad-x: 20px;
    --section-gap: 60px;
  }

  .premium-footer {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* --- SITE FOOTER STYLES --- */

.premium-footer {
  position: relative;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--card-border);
  border-radius: 40px;
  padding: var(--section-gap, 100px) var(--section-pad-x, 120px);
  overflow: hidden;
}

[data-theme="dark"] .premium-footer {
  background: radial-gradient(35% 128px at 50% 0%, rgba(255, 255, 255, 0.08), transparent);
}

[data-theme="light"] .premium-footer {
  background: radial-gradient(35% 128px at 50% 0%, rgba(0, 0, 0, 0.05), transparent);
}

.footer-glow-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 33.33%;
  height: 1px;
  background: var(--text-color);
  opacity: 0.2;
  border-radius: 9999px;
  filter: blur(2px);
}

.premium-footer-inner {
  display: grid;
  width: 100%;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1280px) {
  .premium-footer-inner {
    grid-template-columns: 1fr 2fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand .brand-stack {
  margin-bottom: 2rem;
}

.footer-copyright {
  color: var(--text-color);
  opacity: 0.6;
  margin-top: 1rem;
  font-size: 0.875rem;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .footer-links-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1280px) {
  .footer-links-grid {
    margin-top: 0;
  }
}

.footer-link-group h3 {
  font-size: 0.75rem;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.footer-link-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link-group ul li a {
  color: var(--text-color);
  opacity: 0.6;
  text-decoration: none;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.footer-link-group ul li a:hover {
  opacity: 1;
  color: var(--accent-color);
}

.footer-link-icon {
  width: 16px;
  height: 16px;
  margin-right: 0.5rem;
}

/* --- Zoom Parallax Engine (GSAP Pinning Architecture) --- */

.zoom-parallax-section {
  position: relative;
  height: 100vh;
  width: 100%;
  margin-top: 0;
  overflow: hidden;
  padding: var(--section-gap, 100px) var(--section-pad-x, 120px);
  z-index: 10;
}

.mosaic-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5%;
}

.parallax-item {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 5;
  will-change: transform;
}

.parallax-img-box {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  /* High-Gravity Soft Edge */
  width: 25vw;
  height: 25vh;
}

.parallax-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 1;
  /* Maximum Authority */
}

/* EXACT PERCENTAGE OVERRIDE SUITE FROM SPEC */

.p0 .parallax-img-box {
  width: 25vw;
  height: 25vh;
}

/* Center Reference */

.p1 .parallax-img-box {
  width: 35vw;
  height: 30vh;
  top: -30vh;
  left: 5vw;
}

.p2 .parallax-img-box {
  width: 20vw;
  height: 45vh;
  top: -10vh;
  left: -25vw;
}

.p3 .parallax-img-box {
  width: 25vw;
  height: 25vh;
  left: 27.5vw;
}

.p4 .parallax-img-box {
  width: 20vw;
  height: 25vh;
  top: 27.5vh;
  left: 5vw;
}

.p5 .parallax-img-box {
  width: 30vw;
  height: 25vh;
  top: 27.5vh;
  left: -22.5vw;
}

.p6 .parallax-img-box {
  width: 15vw;
  height: 15vh;
  top: 22.5vh;
  left: 25vw;
}

.parallax-center-content {
  position: relative;
  z-index: 50;
  text-align: center;
  pointer-events: auto;
}

/* --- FEATURE CAROUSEL: SOVEREIGN SERVICE HORIZON --- */

.feature-carousel-section {
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  width: 100%;
  min-height: 650px;
  /* Reduced for Compact Cinematic Fit */
  display: flex;
  flex-direction: row;
  background: rgba(0, 0, 0, 0.3);
  /* Obsidian Horizon */
  border: 1px solid rgba(255, 255, 255, 0.2);
  /* Unified Mirror Border */
  border-radius: 3rem;
  /* Rounded Corners as requested */
  backdrop-filter: blur(20px);
  overflow: hidden;
  /* Purged kinetic leakage */
}

/* Left Pillar: Selector Zenith */

.carousel-selector-pillar {
  width: 30%;
  /* Ported to High-Density 30/70 Ratio */
  position: relative;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Ported to Absolute Horizontal Center */
  justify-content: center;
  background: rgba(0,0,0,0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  padding-left: 0;
  /* Purged lateral anchor */
}

/* Vertical Gradient Fades Purged for Static Mode */

.selector-track {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  /* Stack headings vertically and statically */
  align-items: center;
  /* Absolute Symmetery */
  justify-content: center;
  gap: 1.5rem;
  /* Majestic Vertical Spacing */
  padding: 2rem 0;
}

.feature-chip {
  position: relative;
  min-width: 330px;
  /* Purged truncation risk */
  z-index: 5;
  /* Styles are mostly inherited from btn-premium-cta now */
}

.feature-chip.active {
  background: var(--accent-color) !important;
  color: #000 !important;
  border-color: var(--accent-color) !important;
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
  z-index: 10;
  padding-left: 64px;
  /* Maintain the hover/active width shift */
}

.feature-chip.active .btn-icon-circle {
  background: #000 !important;
  color: var(--accent-color) !important;
}

[data-theme="dark"] .feature-chip:not(.active) {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.feature-chip:hover:not(.active) {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.feature-chip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
}

.feature-chip.active .feature-chip-icon {
  opacity: 1;
}

/* Right Horizon: Content Card Stack */

.carousel-content-horizon {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 4rem;
  /* Purged vertical padding for absolute centering */
}

.content-card-stack {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 450px;
  /* FIXED HEIGHT */
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-card {
  position: absolute;
  width: 800px;
  height: 450px;
  /* FIXED SAME HEIGHT FOR ALL */
  left: calc(50% - 400px);
  /* Geometric Horizontal Center */
  top: 0;
  /* Align directly to the top of the 450px container */
  border-radius: 2.5rem;
  background: rgba(15, 15, 15, 1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Center align text vertically */
  align-items: flex-start;
  padding: 5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.content-card h4 {
  font-size: 1.8rem;
  margin-top: 0;
  /* Purged ghost-gap */
  margin-bottom: 1rem;
  font-weight: 800;
}

.card-points {
  list-style: none;
  margin-top: 2rem;
  padding: 0;
}

.card-points li {
  font-size: 1rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

.card-points li::before {
  content: '◈';
  position: absolute;
  left: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.content-card.active {
  opacity: 1;
  z-index: 20;
  pointer-events: auto;
  filter: none;
}

.content-card.prev {
  z-index: 10;
}

.content-card.next {
  z-index: 10;
}

.content-card.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.4) translateY(100px);
}

.card-meta {
  background: var(--accent-color);
  color: #000;
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}

.card-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.card-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.card-status-indicator {
  position: absolute;
  top: 2rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: 0 0 10px var(--accent-color);
}

.status-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   VIII. Sovereign Mobile & Tablet Matrix (Responsive Protocol)
   ========================================================================== */

/* Tablet & Smaller Desktop (1024px) */

@media (max-width: 1024px) {
  .carousel-container {
    flex-direction: column;
    min-height: auto;
    gap: 2rem;
  }

  .carousel-selector-pillar {
    width: 100%;
    height: auto;
    padding: 2rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .carousel-content-horizon {
    width: 100%;
    padding: 2rem;
    min-height: auto;
  }

  .content-card-stack {
    position: relative;
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .content-card {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 450px;
    padding: 3rem;
    transform: none;
    box-shadow: none;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(15, 15, 15, 1);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .content-card.hidden {
    pointer-events: none;
    opacity: 0;
  }

  .card-title {
    font-size: 2.5rem;
  }

  .feature-chip {
    width: auto;
    padding-right: 2rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .detail-meta {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
}

/* Mobile Menu Implementation Nodes */

.mobile-menu-btn {
  display: none;
  position: absolute;
  left: 1rem;
  /* Base Left Default */
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: #000;
  cursor: pointer;
  z-index: 2000;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-color);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-link {
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-color);
  text-decoration: none;
  font-family: serif;
  letter-spacing: -1px;
}

/* Mobile Architecture (768px) Overrides */

@media (max-width: 768px) {
  p, .staggered-text, .section-desc, .blog-excerpt, .hero-description {
    font-size: 16px !important;
    line-height: 1.6;
  }

  h1 {
    font-size: 48px !important;
    line-height: 1.1;
    letter-spacing: -2px;
  }

  .phix-nav-links {
    display: none !important;
  }

  .phix-nav-left {
    padding-left: 0;
    flex: none;
    justify-content: flex-start;
  }

  .phix-nav-right {
    display: none !important;
  }

  .phix-nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    gap: 0;
    flex: none;
    align-items: center;
    justify-content: center;
  }

  .site-name {
    font-size: 0.65rem;
  }

  .phi-x-logo {
    font-size: 1.8rem;
  }

  /* Mobile Menu Trigger */

  .mobile-menu-btn {
    display: flex !important;
    position: relative;
    left: 0;
  }

  .hero {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 3rem;
    padding-top: 40px;
    min-height: auto;
  }

  .hero-visual {
    width: 100%;
    height: 350px;
    min-height: 350px;
    order: -1;
    margin-bottom: 2rem;
  }

  .hero-content {
    order: 0;
    align-items: center;
    width: 100%;
  }

  .hero-ctas {
    order: 1;
    justify-content: center;
    width: 100%;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .project-card {
    height: 400px;
  }

  /* Parallax Mosaic Mobile Stack */

  .zoom-parallax-section {
    height: auto;
    min-height: 100vh;
    padding: var(--section-gap, 60px) var(--section-pad-x, 20px);
  }

  .mosaic-container {
    position: relative;
    width: 100%;
    height: auto;
    transform: none !important;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .parallax-item {
    position: relative !important;
    width: 100% !important;
    height: 250px !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
  }

  .parallax-img-box {
    border-radius: 20px;
  }

  .detail-hero {
    padding: 8rem 20px 4rem 20px !important;
  }

  .detail-brand-mark {
    font-size: 6rem !important;
    margin-bottom: -2rem !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }

  .brand-info .brand-stack {
    align-items: center;
    text-align: center;
  }

  .contact-header {
    margin: 0 auto;
  }

  /* Core Services Recalibration */

  .carousel-container {
    gap: 1rem;
    border-radius: 20px;
  }

  .carousel-selector-pillar {
    width: 100vw;
    margin-left: -4vw;
    margin-right: -4vw;
    padding: 1.5rem 0 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
  }

  .selector-track {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 4vw 1rem 4vw;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .selector-track::-webkit-scrollbar {
    display: none;
  }

  .feature-chip {
    position: relative;
    width: auto !important;
    min-width: -moz-max-content;
    min-width: max-content;
    padding: 1rem 1.5rem !important;
    align-items: center;
    justify-content: center;
    height: 50px;
    border-radius: 9999px;
    text-transform: none;
    scroll-snap-align: start;
    flex-shrink: 0;
  }

  .feature-chip .btn-text {
    font-size: 0.9rem;
    z-index: 10;
    font-weight: 700;
    width: auto;
    text-align: center;
    padding-left: 0;
    margin: 0;
  }

  .feature-chip .btn-icon-circle {
    display: none !important;
  }

  /* Hide icon to push pure text tabs */

  .feature-chip:hover, .feature-chip.active {
    padding-left: 1.5rem !important;
    transform: translateY(-2px);
  }

  .carousel-content-horizon {
    padding: 1.5rem 1rem;
    min-height: auto;
  }

  .content-card-stack {
    width: 100%;
    height: 500px;
    display: block;
    position: relative;
  }

  .content-card {
    position: absolute;
    width: 100%;
    height: 500px;
    top: 0;
    left: 0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .content-card .card-description {
    font-size: 14px !important;
    margin-bottom: 1.5rem;
    line-height: 1.5;
  }

  .content-card .accent {
    font-size: 1.8rem !important;
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
  }

  .card-points {
    gap: 0.8rem;
  }

  .card-points li {
    font-size: 13px !important;
    padding: 0.6rem;
    margin-bottom: 0.6rem;
  }
}

/* .detail-hero { display: none !important; } */

/* Superseded by Parallax */

/* ==========================================================================
   Anti-Gravity Float Physics System
   ========================================================================== */

/* Unique drift keyframe loops */

@keyframes drift-slow-1 {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(0.5deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes drift-slow-2 {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-12px) rotate(-0.5deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes drift-slow-3 {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-6px) rotate(0.8deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* Apply slow drift loops independently to simulate multi-layered depth */

.story-card:nth-child(1), .industry-card:nth-child(1), .intent-card:nth-child(1), .step-card:nth-child(1) {
  animation: drift-slow-1 8s ease-in-out infinite;
}

.story-card:nth-child(2), .industry-card:nth-child(2), .intent-card:nth-child(2), .step-card:nth-child(2) {
  animation: drift-slow-2 9s ease-in-out infinite;
}

.story-card:nth-child(3), .industry-card:nth-child(3), .intent-card:nth-child(3), .step-card:nth-child(3) {
  animation: drift-slow-3 10s ease-in-out infinite;
}

.industry-card:nth-child(4), .step-card:nth-child(4) {
  animation: drift-slow-1 11s ease-in-out infinite;
}

/* High-end hover mechanics: Magnetic snap, scale up, cast deep blurred shadow glow */

.story-card, .industry-card, .intent-card, .step-card {
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), 
                box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1), 
                border-color 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.story-card:hover, .industry-card:hover, .intent-card:hover, .step-card:hover {
  animation-play-state: paused;
  /* Snap control to mouse */
  transform: scale(1.05) translateY(-10px) !important;
  box-shadow: 0 30px 60px rgba(212, 175, 55, 0.12), 
                0 0 40px rgba(212, 175, 55, 0.08) !important;
  border-color: var(--accent-color) !important;
}

/* ==========================================================================
   Morphing Brand Logo Theme Interaction
   ========================================================================== */

[data-theme="light"] .phix-brand-logo .x-serif {
  opacity: 0.15;
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

[data-theme="dark"] .phix-brand-logo .x-serif {
  opacity: 1;
  color: var(--accent-color);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.8), 0 0 20px rgba(212, 175, 55, 0.5);
  animation: neon-pulse 2s infinite alternate;
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1), text-shadow 0.5s;
}

@keyframes neon-pulse {
  from {
    text-shadow: 0 0 4px rgba(212, 175, 55, 0.6), 0 0 10px rgba(212, 175, 55, 0.4);
  }

  to {
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.9), 0 0 25px rgba(212, 175, 55, 0.6);
  }
}

/* ==========================================================================
   3D Ecosystem Split Layout Styles
   ========================================================================== */

.industries-split {
  display: flex;
  gap: 4rem;
  width: 100%;
  align-items: center;
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .industries-split {
    flex-direction: column;
    gap: 3rem;
  }

  .ecosystem-3d-container {
    min-height: 300px !important;
  }
}

@keyframes rotate-globe {
  0% {
    transform: rotateX(20deg) rotateY(0deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(20deg) rotateY(360deg) rotateZ(360deg);
  }
}

@keyframes pulse-slow {
  0% {
    transform: scale(0.95);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.05);
    opacity: 1;
  }
}

/* ==========================================================================
   Large Screens & 4K Responsive — Anti-Stretch Protocol
   ========================================================================== */

/* Large Desktops (1600px – 2559px) */

@media (min-width: 1600px) {
  /* Cap section content width & boost padding */

  section {
    --section-pad-x: 160px;
    --section-gap: 120px;
  }

  /* Nav — widen comfortably, limit max stretch */

  .phix-header-nav {
    max-width: 1800px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
  }

  /* Hero — constrain and scale up type */

  .hero-content h1 {
    font-size: 5.5rem;
  }

  .hero-content p  {
    font-size: 1.4rem;
    max-width: 70%;
  }

  /* Section titles */

  .section-title {
    font-size: 4rem;
  }

  /* Cards grid — show 3 columns max */

  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  }

  /* Ecosystem globe */

  .ecosystem-cloud-square {
    width: 65vh;
    height: 65vh;
    max-width: 700px;
    max-height: 700px;
  }

  /* Blueprint steps — keep 4 columns */

  .framework-steps {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Footer — prevent ultra-wide bleed */

  .premium-footer {
    max-width: 1700px;
  }
}

/* 4K Ultra-Wide (2560px+) */

@media (min-width: 2560px) {
  /* Generous padding, still controlled */

  section {
    --section-pad-x: 200px;
    --section-gap: 150px;
    max-width: 2400px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Nav — fixed max width so it never spans 4K screen edge to edge */

  .phix-header-nav {
    max-width: 2200px !important;
    height: 90px !important;
    padding: 0 60px !important;
  }

  /* Scale up brand identity */

  .phix-brand-logo {
    font-size: 2.8rem;
  }

  .phix-brand-text {
    font-size: 0.9rem;
    letter-spacing: 0.5em;
  }

  .phix-nav-links a {
    font-size: 18px;
  }

  /* Hero — large type for 4K impact */

  .hero-content h1 {
    font-size: 7rem;
    line-height: 1.05;
  }

  .hero-content p  {
    font-size: 1.6rem;
    max-width: 65%;
  }

  /* Section headings */

  .section-title {
    font-size: 5rem;
  }

  h2 {
    font-size: 4rem;
  }

  /* Hero visual area */

  .hero-visual {
    height: 700px;
    min-height: 700px;
  }

  /* Ecosystem globe — bigger sphere for 4K */

  .ecosystem-cloud-square {
    width: 70vh;
    height: 70vh;
    max-width: 850px;
    max-height: 850px;
  }

  /* Industry / story cards — larger tiles */

  .industry-card {
    height: 220px !important;
    padding: 3rem !important;
  }

  .industry-card h3 {
    font-size: 1.5rem !important;
  }

  /* Service & step cards */

  .service-card h3 {
    font-size: 2rem;
  }

  .service-card p  {
    font-size: 1.25rem;
  }

  .step-num {
    font-size: 6rem;
  }

  .step-card {
    padding: 3.5rem;
  }

  /* Carousel content cards */

  .content-card {
    width: 1000px;
    left: calc(50% - 500px);
    padding: 6rem;
  }

  .card-title {
    font-size: 3rem;
  }

  .card-description {
    font-size: 1.3rem;
  }

  /* Blueprint framework 4 cols */

  .framework-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }

  /* Contact layout — wider columns */

  .contact-container {
    padding: 6rem;
    gap: 6rem;
  }

  /* Footer — cap absolute max width */

  .premium-footer {
    max-width: 2200px;
    padding-left: 200px !important;
    padding-right: 200px !important;
  }

  /* Parallax logo fragments — scale up for 4K depth */

  .fragment {
    font-size: 12rem;
  }

  .f2 {
    font-size: 18rem;
  }

  .f3 {
    font-size: 7rem;
  }

  .f4 {
    font-size: 9rem;
  }

  /* Padding for hero grid on 4K display */

  .hero-grid-wrapper {
    padding-top: 120px;
  }
}

.hover\:-translate-y-1:hover{
  --tw-translate-y: -0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:scale-105:hover{
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:opacity-100:hover{
  opacity: 1;
}

.hover\:opacity-80:hover{
  opacity: 0.8;
}

.hover\:grayscale-0:hover{
  --tw-grayscale: grayscale(0);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

@media (min-width: 640px){
  .sm\:flex-row{
    flex-direction: row;
  }

  .sm\:text-2xl{
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .sm\:text-6xl{
    font-size: 3.75rem;
    line-height: 1;
  }

  .sm\:text-xs{
    font-size: 0.75rem;
    line-height: 1rem;
  }
}

@media (min-width: 1024px){
  .lg\:col-span-5{
    grid-column: span 5 / span 5;
  }

  .lg\:col-span-7{
    grid-column: span 7 / span 7;
  }

  .lg\:mt-12{
    margin-top: 3rem;
  }

  .lg\:grid-cols-12{
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .lg\:gap-8{
    gap: 2rem;
  }

  .lg\:text-7xl{
    font-size: 4.5rem;
    line-height: 1;
  }
}

@media (min-width: 1280px){
  .xl\:text-8xl{
    font-size: 6rem;
    line-height: 1;
  }
}
