/* ================================================
   JinnyFy — Premium Stylesheet
   Aesthetic: Deep Space Luxury (Dark Blue/Purple + Gold + Glass)
   ================================================ */

:root {
  /* Luxury Gold & Black Theme */
  --gold-primary: #ffd700;
  --gold-secondary: #d4af37;

  --bg-dark: #050505;
  /* Black */
  --bg-darker: #000000;
  /* Pure Black */

  /* Glassmorphism Settings */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.1);
  --glass-blur: blur(15px);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

  --white: #ffffff;
  --off-white: #e0e0e0;
  --light-gray: #a0a0a0;

  --text-primary: #ffffff;
  --text-secondary: #e0e0e0;
  --text-muted: #a0a0a0;

  /* Mapping to existing system */
  --primary: var(--gold-primary);
  --secondary: var(--gold-secondary);
  --navy: var(--gold-secondary);
  /* Text accent mapping */
  --coral: var(--gold-primary);
  /* Highlight mapping */

  /* Gradients */
  --grad-main: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
  --grad-hero: linear-gradient(to right, #fff 20%, #ffd700 50%, #fff 80%);
  --grad-gold: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);

  /* Dark Theme Missing Vars Fix */
  --gray-100: #0a0a0a;
  --gray-200: #141414;
  --gray: #9ca3af;
  --gray-dark: #d1d5db;
  --border: rgba(255, 255, 255, 0.15);
  --border-em: rgba(255, 215, 0, 0.3);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.7);

  /* Cards */
  --card-bg: rgba(255, 255, 255, 0.03);
  /* Glass */
  --card-border: 1px solid rgba(255, 215, 0, 0.3);

  /* Typography */
  --ff-display: 'Playfair Display', serif;
  --ff-body: 'Outfit', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max-w: 1240px;

  /* Layout Spacing */
  --section-py: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-body);
  /* Deep Space Gradient fixed to body */
  background: radial-gradient(circle at 50% 0%, #1a1a2e 0%, #000000 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
  /* Hide default cursor */
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: var(--gold-secondary);
  border-radius: 4px;
}

/* ---- 3D ANIMATED LOADING SCREEN ---- */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #1a1a2e 0%, #000000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  overflow: hidden;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__content {
  text-align: center;
  position: relative;
  z-index: 2;
}

/* 3D Rotating Cube */
.loader__logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCube 3s infinite linear;
}

.loader__logo::before,
.loader__logo::after {
  content: 'J';
  position: absolute;
  width: 100px;
  height: 100px;
  background: var(--grad-main);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  font-weight: 700;
  font-family: serif;
  color: white;
  box-shadow: 0 10px 40px rgba(44, 82, 130, 0.3),
    0 0 60px rgba(44, 82, 130, 0.2);
}

.loader__logo::before {
  transform: translateZ(50px);
}

.loader__logo::after {
  transform: rotateY(180deg) translateZ(50px);
}

.loader__text {
  font-size: 32px;
  font-weight: 700;
  font-family: var(--ff-display);
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 40px;
  animation: pulse 2s ease-in-out infinite;
}

.loader__bar {
  width: 250px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

.loader__progress {
  height: 100%;
  background: var(--grad-main);
  width: 0%;
  transition: width 0.3s ease;
  box-shadow: 0 0 20px rgba(44, 82, 130, 0.5);
  position: relative;
}

.loader__progress::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5));
  animation: shimmer 1s infinite;
}

/* Floating Particles */
.loader::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44, 82, 130, 0.1), transparent);
  top: 20%;
  left: 10%;
  animation: float1 6s ease-in-out infinite;
}

.loader::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.1), transparent);
  bottom: 20%;
  right: 10%;
  animation: float2 8s ease-in-out infinite;
}

/* 3D Cube Rotation */
@keyframes rotateCube {
  0% {
    transform: rotateX(0deg) rotateY(0deg);
  }

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

/* Shimmer Effect */
@keyframes shimmer {
  0% {
    transform: translateX(-40px);
  }

  100% {
    transform: translateX(250px);
  }
}

/* Floating Particles */
@keyframes float1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(50px, -50px) scale(1.1);
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-50px, 50px) scale(1.2);
  }
}

/* ---- CUSTOM CURSOR ---- */
.cursor,
.cursor-follower {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}

.cursor {
  width: 10px;
  height: 10px;
  background: var(--navy);
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
  box-shadow: 0 0 20px var(--navy);
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 2px solid var(--navy);
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
  opacity: 0.5;
}

.cursor.hover {
  width: 20px;
  height: 20px;
  background: var(--coral);
  box-shadow: 0 0 30px var(--coral);
}

.cursor-follower.hover {
  width: 60px;
  height: 60px;
  border-color: var(--coral);
  opacity: 0.8;
}

/* Hide custom cursor on touch devices */
@media (hover: none) {
  body {
    cursor: auto !important;
  }

  .cursor,
  .cursor-follower {
    display: none;
  }
}


/* Noise overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Ambient gradients */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 600px at 20% 15%, rgba(212, 165, 116, 0.04), transparent),
    radial-gradient(ellipse 600px 500px at 80% 80%, rgba(107, 155, 209, 0.03), transparent),
    radial-gradient(ellipse 500px 500px at 50% 50%, rgba(126, 196, 166, 0.02), transparent);
  pointer-events: none;
  z-index: 0;
}

body>* {
  position: relative;
  z-index: 1;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--coral);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ff-display);
  line-height: 1.15;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

p {
  color: var(--gray);
}

.em {
  color: var(--navy);
}

.gold {
  color: var(--coral);
}

.italic {
  font-family: var(--ff-display);
  font-style: italic;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 1.5rem 0;
  background: rgba(26, 26, 46, 0.2);
  /* matched to dark theme */
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s var(--ease);
}

.nav.scrolled {
  background: rgba(26, 26, 46, 0.8);
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-mark {
  width: 42px;
  height: 42px;
  background: var(--grad-main);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  box-shadow: var(--shadow-glow);
  transition: transform 0.3s var(--ease);
}

.nav__logo:hover .nav__logo-mark {
  transform: rotate(-6deg) scale(1.08);
}

.nav__logo-text {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav__menu a {
  font-family: var(--ff-body);
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}

.nav__menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-main);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}

.nav__menu a:hover,
.nav__menu a.active {
  color: var(--coral);
  font-weight: 600;
}

.nav__menu a:hover::after,
.nav__menu a.active::after {
  width: 100%;
  background: var(--coral);
}

.nav__cta {
  padding: 11px 26px !important;
  background: var(--grad-main);
  border-radius: 10px;
  color: #fff !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 18px rgba(255, 215, 0, 0.2);
  transition: transform 0.25s, box-shadow 0.25s !important;
}

.nav__cta::after {
  display: none !important;
}

.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 215, 0, 0.4);
  color: #fff !important;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: all 0.3s;
  border-radius: 2px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 38px;
  border-radius: 12px;
  border: none;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
}

.btn-primary {
  background: var(--grad-main);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(255, 215, 0, 0.4);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--gold-primary);
  background: rgba(255, 215, 0, 0.06);
  color: var(--white);
}

.btn-gold {
  background: var(--grad-gold);
  color: #000;
  font-weight: 700;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(245, 197, 66, 0.3);
  color: #000;
}

.btn-lg {
  padding: 18px 42px;
  font-size: 1.1rem;
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

/* 3D Background Container */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  /* Reduced opacity of local background since body has it now */
  /* Keep it for safety but make it transparent if needed */
  background: transparent;
}

.hero__bg canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Overlay for better text readability */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(15, 10, 30, 0.9) 0%,
      rgba(15, 10, 30, 0.7) 40%,
      rgba(15, 10, 30, 0.2) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Equal split */
  gap: 0;
  /* Remove gap completely to bring robot right next to text */
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__content {
  position: relative;
  z-index: 10;
  /* Above visual */
  animation: fadeUp 0.9s var(--ease);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.hero__badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-primary);
  animation: blink 2s infinite;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 span {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 520px;
  line-height: 1.75;
}

.hero__btns {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.hero__stat-num {
  font-family: var(--ff-display);
  font-size: 2.6rem;
  font-weight: 800;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__stat-label {
  font-size: 0.85rem;
  color: var(--gray-dark);
  margin-top: 2px;
}

/* ---- GLASSMORPHISM UTILITIES ---- */
.glass-effect,
.svc-card,
.hero__card,
.about-stat-card,
.test-card {
  background: rgba(255, 255, 255, 0.03) !important;
  /* Transparent Glass */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transition: 0.3s;
  color: #ffffff !important;
}

/* Metallic Gold Headings */
.svc-card h3,
.hero__card h3,
.test-card h5,
.about-stat-label,
.section h2 {
  background: linear-gradient(to bottom, #d4af37 0%, #ffd700 50%, #d4af37 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ffd700;
  /* Fallback */
  font-weight: 800;
  /* Extra bold */
  text-transform: uppercase;
  letter-spacing: 1px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  /* Pop effect */
}

/* High Contrast White Text */
.svc-card p,
.hero__card p,
.test-text,
.svc-list li {
  color: #e0e0e0 !important;
  font-weight: 500 !important;
  line-height: 1.7;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Sharp outline effect */
.svc-card:hover,
.hero__card:hover,
.test-card:hover {
  border-color: #ffd700 !important;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.15);
  background: rgba(255, 255, 255, 0.06) !important;
  transform: translateY(-5px) scale(1.02);
}

.score-box {
  background: rgba(0, 0, 0, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
}

.score-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.score-ring.green {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.score-ring.amber {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.score-ring.red {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.score-box span {
  font-size: 0.78rem;
  color: #d1d5db;
  /* Light gray for readability */
  font-weight: 500;
}

.hero__float {
  position: absolute;
  background: rgba(30, 30, 30, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  animation: floaty 4s ease-in-out infinite;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.hero__float svg {
  color: var(--navy);
  flex-shrink: 0;
}

.hero__float.top {
  top: -18px;
  right: -16px;
}

.hero__float.bot {
  bottom: 24px;
  left: -24px;
  animation-delay: 1.5s;
}

/* ---- SECTION COMMON ---- */
.section {
  padding: var(--section-py) 0;
}

.section--alt {
  background: transparent;
  /* Changed from gray-100 to transparent */
}

.section__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section__tag {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-em);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 20px;
}

.section__head h2 {
  margin-bottom: 14px;
}

.section__head p {
  font-size: 1.08rem;
}

/* ---- SERVICES GRID ---- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
}

.svc-card {
  background: rgba(255, 255, 255, 0.03) !important;
  /* Glass */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-main);
  opacity: 1;
  /* Always visible */
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(255, 215, 0, 0.1);
  /* Gold glow */
  border-color: var(--gold-primary) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.svc-card:hover::before {
  opacity: 1;
}

.svc-card.gold-accent::before {
  background: var(--grad-accent);
}

.svc-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}

.svc-icon svg {
  width: 28px;
  height: 28px;
  color: var(--gold-primary);
}

.svc-icon.gold-icon {
  background: rgba(255, 215, 0, 0.05);
  border-color: rgba(255, 215, 0, 0.2);
}

.svc-icon.gold-icon svg {
  color: var(--coral);
}

.svc-card h3 {
  margin-bottom: 10px;
}

.svc-card p {
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.svc-list {
  list-style: none;
}

.svc-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.9rem;
  color: var(--gray);
}

.svc-list li::before {
  content: '→';
  color: var(--gold-primary);
  font-weight: 700;
}

.svc-card.gold-accent .svc-list li::before {
  color: var(--coral);
}

/* ---- PRICING ---- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.price-card {
  background: rgba(255, 255, 255, 0.03) !important;
  /* Glass */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.price-card.featured {
  border-color: var(--gold-primary);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
}

.price-card.featured::after {
  content: 'Most Popular';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-main);
  padding: 6px 22px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.price-name {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.price-desc {
  font-size: 0.88rem;
  color: var(--gray-dark);
  margin-bottom: 22px;
}

.price-amt {
  font-family: var(--ff-display);
  font-size: 3rem;
  font-weight: 800;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-per {
  font-size: 0.88rem;
  color: var(--gray-dark);
  margin-bottom: 28px;
}

.price-list {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.price-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
  color: var(--gray);
}

.price-list li:last-child {
  border-bottom: none;
}

.price-list li svg {
  width: 18px;
  height: 18px;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.price-card .btn {
  width: 100%;
  justify-content: center;
}

/* ---- PROCESS ---- */
.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}

.process-row::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-secondary), var(--gold-primary));
  opacity: 0.2;
}

.proc-step {
  text-align: center;
  position: relative;
}

.proc-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  /* Glass */
  border: 1px solid var(--gold-primary);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold-primary);
  position: relative;
  z-index: 1;
  transition: all 0.3s var(--ease);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.proc-step:hover .proc-num {
  background: var(--gold-primary);
  color: #000;
  transform: scale(1.12);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

.proc-step h4 {
  margin-bottom: 8px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.proc-step p {
  font-size: 0.9rem;
  color: #d1d5db;
}

/* ---- ABOUT ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 22px;
}

.about-text p {
  margin-bottom: 16px;
}

.about-feat {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.about-feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
}

.about-feat-icon svg {
  width: 22px;
  height: 22px;
  color: var(--gold-primary);
}

.about-feat h4 {
  font-family: var(--ff-body);
  font-weight: 600;
  margin-bottom: 4px;
}

.about-feat p {
  font-size: 0.9rem;
  margin: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-stat-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}

.about-stat-num {
  font-family: var(--ff-display);
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-stat-label {
  font-size: 0.88rem;
  color: var(--gray-dark);
  margin-top: 4px;
}

/* ---- PAGE HEADER ---- */
.page-hero {
  padding: 120px 0 60px;
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 14px;
}

.page-hero p {
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ---- FORMS ---- */
.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 7px;
  color: var(--white);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-dark);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
}

.contact-form-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
}

.c-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.c-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
}

.c-item-icon svg {
  width: 22px;
  height: 22px;
  color: var(--gold-primary);
}

.c-item h4 {
  font-family: var(--ff-body);
  font-weight: 600;
  margin-bottom: 3px;
  font-size: 0.95rem;
}

.c-item p,
.c-item a {
  font-size: 0.9rem;
  color: var(--gray);
}

/* ---- CTA SECTION ---- */
.cta-section {
  background: rgba(255, 215, 0, 0.03);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-inner h2 {
  margin-bottom: 14px;
}

.cta-inner p {
  font-size: 1.08rem;
  margin-bottom: 36px;
}

.cta-btns {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- TESTIMONIALS ---- */
.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
}

.test-card {
  background: rgba(255, 255, 255, 0.03) !important;
  /* Glass */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.test-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.15);
  border-color: var(--gold-primary);
}

.test-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.test-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--coral);
}

.test-text {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 22px;
  color: var(--gray);
}

.test-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.test-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-main);
  display: grid;
  place-items: center;
  font-family: var(--ff-display);
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
}

.test-info h5 {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.95rem;
}

.test-info span {
  font-size: 0.82rem;
  color: var(--gray-dark);
}

/* ---- ALERT ---- */
.alert {
  padding: 14px 20px;
  border-radius: 12px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.alert-ok {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--border-em);
  color: var(--electric-bright);
}

.alert-err {
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.25);
  color: var(--coral);
}

/* ---- FOOTER ---- */
.footer {
  background: rgba(0, 0, 0, 0.2);
  padding-top: 60px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer__brand p {
  color: var(--gray);
  font-size: 0.92rem;
  margin: 18px 0;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--gray);
  transition: all 0.25s;
}

.footer__social a:hover {
  background: var(--gold-secondary);
  border-color: var(--gold-secondary);
  color: #000;
}

.footer__col h4 {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.footer__col ul {
  list-style: none;
}

.footer__col li {
  margin-bottom: 10px;
}

.footer__col a,
.footer__col li {
  color: var(--gray);
  font-size: 0.88rem;
}

.footer__col a:hover {
  color: var(--gold-primary);
}

.footer__nl {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.footer__nl input {
  flex: 1;
  padding: 11px 14px;
  background: var(--gray-200);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--white);
}

.footer__nl input:focus {
  outline: none;
  border-color: var(--navy);
}

.footer__nl button {
  width: 42px;
  height: 42px;
  background: var(--grad-main);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.footer__nl button:hover {
  transform: translateX(3px);
}

.footer__bottom {
  padding: 22px 0;
}

.footer__bottom p {
  font-size: 0.85rem;
  color: var(--gray-dark);
  text-align: center;
  margin: 0;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(36px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(36px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floaty {

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

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

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .4;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content {
    order: 1;
  }

  .hero__visual {
    order: 2;
    max-width: 520px;
    margin: 0 auto;
  }

  .hero__desc {
    margin: 0 auto 40px;
  }

  .hero__btns,
  .hero__stats {
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .process-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-row::before {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(10, 10, 20, 0.95);
    /* Updated for readability */
    flex-direction: column;
    padding: 100px 36px;
    gap: 28px;
    transition: right 0.35s var(--ease);
    border-left: 1px solid var(--border);
  }

  .nav__menu.open {
    right: 0;
  }

  .nav__toggle {
    display: flex;
    z-index: 1001;
  }

  .nav__toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero__stats {
    flex-wrap: wrap;
    gap: 28px;
  }

  .hero__float {
    display: none;
  }

  .svc-grid,
  .price-grid,
  .test-grid {
    grid-template-columns: 1fr;
  }

  .process-row {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 480px) {

  .hero__btns,
  .cta-btns {
    flex-direction: column;
  }

  .hero__btns .btn,
  .cta-btns .btn {
    width: 100%;
    justify-content: center;
  }
}