:root {
  --navy-deep: #050d18;
  --navy: #0a1628;
  --navy-mid: #0f2044;
  --navy-light: #162b56;
  --navy-glow: rgba(26, 53, 112, 0.6);
  --gold: #DAA520;
  --gold-bright: #F5C842;
  --gold-dim: #b8891a;
  --gold-glow: rgba(218, 165, 32, 0.45);
  --gold-pale: rgba(218, 165, 32, 0.1);
  --gray: #8899aa;
  --gray-light: #ccd6e0;
  --gray-dark: #1b293a;
  --white: #f0f4f8;
  --accent-cyan: #00d4ff;
  --accent-green: #22a05a;
  --glass-bg: rgba(10, 22, 40, 0.65);
  --glass-border: rgba(218, 165, 32, 0.18);
  --glass-highlight: rgba(255, 255, 255, 0.05);
  --shadow-glow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --font-heading: 'Exo 2', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
  --font-code: 'Space Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--navy-deep);
}

body {
  background: var(--navy-deep);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--navy-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-bright);
}

/* BACKGROUND CANVAS & GLOWS */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: all;
}

.ambient-glow {
  position: fixed;
  width: 60vw;
  height: 60vh;
  background: radial-gradient(circle, rgba(26,53,112,0.3) 0%, transparent 70%);
  top: -10%;
  left: 20%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.ambient-glow-2 {
  position: fixed;
  width: 50vw;
  height: 50vh;
  background: radial-gradient(circle, rgba(218,165,32,0.05) 0%, transparent 60%);
  bottom: -10%;
  right: -10%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}

/* NAV STYLING */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 80px;
  background: rgba(5, 13, 24, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

nav.scrolled {
  height: 70px;
  background: rgba(5, 13, 24, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(218, 165, 32, 0.3);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.logo-icon {
  width: 44px;
  height: 44px;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover .logo-icon {
  transform: rotateY(180deg) scale(1.1);
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 24px;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.logo-text span {
  color: var(--gold);
  text-shadow: 0 0 15px var(--gold-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  color: var(--gray-light);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 6px;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  box-shadow: 0 0 8px var(--gold-bright);
}

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

.nav-links a:hover::after, .nav-links a.active-page::after {
  width: 70%;
}

.nav-links a.active-page {
  color: var(--gold);
  background: rgba(218, 165, 32, 0.07);
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--navy-deep) !important;
  font-weight: 800 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
  border: 1px solid transparent;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(218, 165, 32, 0.5);
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
}

/* PAGES CONTAINERS */
.page {
  display: none;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  padding-top: 80px;
}

.page.active {
  display: block;
}

/* GLOBAL TITLES AND SECTIONS */
section {
  padding: 100px 8%;
  position: relative;
  z-index: 2;
}

.section-label {
  font-family: var(--font-code);
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.section-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
  box-shadow: 0 0 5px var(--gold);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.section-title .accent {
  color: var(--gold);
  background: linear-gradient(to right, #F5C842, #DAA520);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-desc {
  color: var(--gray);
  font-size: 18px;
  line-height: 1.8;
  max-width: 650px;
  margin-bottom: 60px;
}

/* 3D TILT CARD BASE */
.tilt-card-wrap {
  perspective: 1000px;
}

/* GLASS PANEL COMMON */
.glass-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
  pointer-events: none;
}

/* BUTTONS */
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--navy-deep);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 18px 42px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(218, 165, 32, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-30deg);
  transition: 0.75s;
}

.btn-primary:hover::after {
  left: 120%;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 30px rgba(218, 165, 32, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 17px 42px;
  border: 1.5px solid var(--gold);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.4s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-outline:hover {
  background: var(--gold-pale);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(218, 165, 32, 0.25);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.btn-success {
  background: linear-gradient(135deg, #1f8b4c 0%, var(--accent-green) 100%);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 18px 42px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(34, 160, 90, 0.3);
}

.btn-success:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(34, 160, 90, 0.5);
}

/* ================== HOME PAGE HERO ================== */
.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 5% 60px;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(218, 165, 32, 0.08);
  border: 1px solid rgba(218, 165, 32, 0.25);
  padding: 10px 24px;
  border-radius: 100px;
  font-family: var(--font-code);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 35px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(48px, 8vw, 92px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 30px;
}

.hero h1 .line1 {
  display: block;
  color: var(--white);
}

.hero h1 .line2 {
  display: block;
  background: linear-gradient(135deg, var(--gold-bright) 30%, var(--gold) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 20px rgba(218, 165, 32, 0.25));
}

.hero h1 .line3 {
  display: block;
  color: var(--gray-light);
  font-weight: 300;
  font-size: 0.5em;
  letter-spacing: 12px;
  margin-top: 15px;
}

.hero-sub {
  font-size: 20px;
  font-weight: 400;
  color: var(--gray);
  max-width: 700px;
  line-height: 1.8;
  margin-bottom: 50px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 80px;
}

/* HERO FLOATING TECHNICAL CODE ELEMENTS */
.tech-float {
  position: absolute;
  font-family: var(--font-code);
  font-size: 12px;
  color: rgba(218, 165, 32, 0.18);
  letter-spacing: 1.5px;
  pointer-events: none;
  user-select: none;
  background: rgba(10, 22, 40, 0.35);
  border: 1px solid rgba(218, 165, 32, 0.08);
  padding: 6px 14px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* STATS BAR */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--glass-border);
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  border: 1px solid var(--glass-border);
}

.stat-item {
  background: rgba(10, 22, 40, 0.8);
  text-align: center;
  padding: 30px 20px;
  transition: background-color 0.3s;
}

.stat-item:hover {
  background: rgba(218, 165, 32, 0.04);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--gray);
  text-transform: uppercase;
  margin-top: 8px;
}

/* TWO COLUMN LAYOUTS */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media(max-width:960px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* TIMELINE (What we do) */
.timeline {
  position: relative;
  padding-left: 45px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold) 0%, rgba(218,165,32,0.1) 100%);
  box-shadow: 0 0 10px var(--gold-glow);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-bottom: 20px;
}

.timeline-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -35px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  background: var(--navy-deep);
  box-shadow: 0 0 10px var(--gold);
  transition: all 0.3s;
}

.timeline-item:hover .timeline-dot {
  background: var(--gold-bright);
  transform: scale(1.2);
}

.timeline-item h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.7;
}

/* VISUAL CARDS GRID IN ABOUT HOME */
.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.av-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 30px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1);
}

.av-card:hover {
  transform: translateY(-8px);
  border-color: rgba(218, 165, 32, 0.4);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.av-card:nth-child(1) {
  grid-column: 1 / -1;
  text-align: left;
}

.av-card .av-num {
  font-family: var(--font-heading);
  font-size: 54px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.av-card .av-label {
  font-size: 14px;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-top: 10px;
}

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

.service-card {
  background: rgba(10, 22, 40, 0.55);
  border: 1px solid var(--glass-border);
  padding: 45px 35px;
  border-radius: 16px;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transition: width 0.4s ease;
}

.service-card:hover {
  background: rgba(15, 32, 68, 0.7);
  transform: translateY(-10px);
  border-color: rgba(218, 165, 32, 0.45);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.service-card:hover::after {
  width: 100%;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(218, 165, 32, 0.08);
  border: 1px solid rgba(218, 165, 32, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  font-size: 28px;
  color: var(--gold);
  box-shadow: inset 0 0 10px rgba(218,165,32,0.1);
  transition: transform 0.4s;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(218, 165, 32, 0.15);
  border-color: var(--gold-bright);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--white);
}

.service-card p {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tag {
  display: inline-block;
  background: rgba(218, 165, 32, 0.06);
  border: 1px solid rgba(218, 165, 32, 0.15);
  color: var(--gold);
  font-family: var(--font-code);
  font-size: 11px;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 4px;
  transition: all 0.3s;
}

.service-card:hover .service-tag {
  border-color: rgba(218, 165, 32, 0.35);
  background: rgba(218, 165, 32, 0.12);
}

/* PORTFOLIO GRID & CARDS */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 30px;
}

.portfolio-card {
  background: rgba(15, 32, 68, 0.45);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: rgba(218, 165, 32, 0.45);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.portfolio-thumb {
  height: 230px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  transition: all 0.5s;
}

.portfolio-thumb.t1 { background: linear-gradient(135deg, #09172e, #132a4e); }
.portfolio-thumb.t2 { background: linear-gradient(135deg, #11253d, #081a30); }
.portfolio-thumb.t3 { background: linear-gradient(135deg, #0f2b1d, #0e1e35); }
.portfolio-thumb.t4 { background: linear-gradient(135deg, #221438, #0e1e35); }
.portfolio-thumb.t5 { background: linear-gradient(135deg, #321f15, #0d1a2c); }

.portfolio-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(5, 13, 24, 0.85) 100%);
}

.portfolio-card:hover .portfolio-thumb {
  transform: scale(1.03);
}

.portfolio-type {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--navy-deep);
  font-family: var(--font-code);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 4px;
  z-index: 10;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.portfolio-info {
  padding: 35px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-info h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.portfolio-info p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* TESTIMONIALS GRID */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background: rgba(15, 32, 68, 0.45);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  transition: all 0.4s;
}

.testimonial-card:hover {
  border-color: rgba(218, 165, 32, 0.4);
  transform: translateY(-5px);
  background: rgba(15, 32, 68, 0.6);
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 25px;
  left: 30px;
  font-family: var(--font-heading);
  font-size: 80px;
  color: rgba(218, 165, 32, 0.12);
  line-height: 1;
}

.testimonial-text {
  color: var(--gray-light);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(218, 165, 32, 0.15);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--gold-bright);
  box-shadow: 0 0 10px rgba(218,165,32,0.2);
}

.author-info .name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.author-info .role {
  font-size: 13px;
  color: var(--gray);
}

/* ==================== PRICING PAGE ==================== */
.page-hero {
  text-align: center;
  padding: 100px 5% 50px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0 80px;
}

.plan-card {
  background: rgba(15, 32, 68, 0.55);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 45px 35px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.plan-card.featured {
  border-color: var(--gold);
  background: rgba(218, 165, 32, 0.04);
  box-shadow: 0 15px 40px rgba(218, 165, 32, 0.1);
}

.plan-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: 25px;
  right: -35px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--navy-deep);
  font-family: var(--font-code);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 8px 45px;
  transform: rotate(45deg);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.plan-card:hover {
  transform: translateY(-10px);
  border-color: rgba(218, 165, 32, 0.5);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.plan-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 20px;
}

.plan-price {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
}

.plan-price sup {
  font-size: 22px;
  font-weight: 500;
  margin-right: 4px;
}

.plan-price .currency {
  font-size: 20px;
  color: var(--gray);
  font-weight: 500;
  margin-left: 5px;
}

.plan-period {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 35px;
}

.plan-divider {
  height: 1px;
  background: var(--glass-border);
  margin-bottom: 35px;
}

.plan-features {
  list-style: none;
  margin-bottom: 45px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 16px;
  color: var(--gray-light);
}

.plan-features li::before {
  content: '✦';
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
  text-shadow: 0 0 5px var(--gold);
}

/* ==================== FORM & FIELDS STYLING ==================== */
.request-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0 100px;
}

@media(max-width:960px) {
  .request-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

.request-info h2 {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
}

.request-info p {
  color: var(--gray);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(218, 165, 32, 0.08);
  border: 1px solid rgba(218, 165, 32, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: inset 0 0 10px rgba(218,165,32,0.1);
  color: var(--gold);
}

.contact-item span {
  font-size: 16px;
  color: var(--gray-light);
}

.request-form {
  background: rgba(15, 32, 68, 0.45);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: var(--shadow-glow);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--white);
}

.form-subtitle {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 40px;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

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

@media(max-width:640px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-group label {
  display:block;
  font-family: var(--font-code);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.form-control {
  width: 100%;
  background: rgba(5, 13, 24, 0.65);
  border: 1.5px solid rgba(218, 165, 32, 0.22);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  padding: 15px 20px;
  outline: none;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: var(--gold);
  background: rgba(15, 32, 68, 0.85);
  box-shadow: 0 0 15px rgba(218, 165, 32, 0.2);
}

.form-control option {
  background: var(--navy-mid);
  color: var(--white);
}

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

.form-actions {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.success-msg {
  display: none;
  background: rgba(34, 160, 90, 0.08);
  border: 1px solid rgba(34, 160, 90, 0.35);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  margin-top: 30px;
}

.success-msg.show {
  display: block;
}

/* ==================== PAYMENT Guided FLOW ==================== */
.payment-layout {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 0 100px;
}

.payment-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 60px;
  overflow-x: auto;
  padding: 10px 0;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  min-width: 80px;
}

.step-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  border: 2px solid rgba(218, 165, 32, 0.25);
  color: var(--gray);
  background: rgba(5, 13, 24, 0.85);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 2;
}

.step-circle.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(218, 165, 32, 0.12);
  box-shadow: 0 0 25px rgba(218, 165, 32, 0.35);
}

.step-circle.done {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: rgba(34, 160, 90, 0.12);
  box-shadow: 0 0 20px rgba(34, 160, 90, 0.25);
}

.step-label {
  font-family: var(--font-code);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--gray);
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase;
}

.step-circle.active + .step-label {
  color: var(--gold-bright);
}

.step-connector {
  width: 100px;
  height: 2px;
  background: rgba(218, 165, 32, 0.15);
  margin-top: -26px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-connector.done-line {
  background: linear-gradient(90deg, var(--gold), var(--accent-green));
}

@media(max-width:640px) {
  .step-connector {
    width: 40px;
  }
}

.payment-panel {
  background: rgba(15, 32, 68, 0.45);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: var(--shadow-glow);
}

.payment-panel h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.payment-panel p.subtitle {
  color: var(--gray);
  font-size: 15px;
  margin-bottom: 40px;
}

/* SERVICE SELECTOR ON PORTAL */
.service-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 35px;
}

.service-option {
  background: rgba(5, 13, 24, 0.65);
  border: 1.5px solid rgba(218, 165, 32, 0.18);
  border-radius: 12px;
  padding: 24px 18px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-align: center;
}

.service-option:hover {
  border-color: rgba(218, 165, 32, 0.45);
  background: rgba(218, 165, 32, 0.04);
  transform: translateY(-3px);
}

.service-option.selected {
  border-color: var(--gold);
  background: rgba(218, 165, 32, 0.12);
  box-shadow: 0 8px 25px rgba(218, 165, 32, 0.15);
}

.service-option .svc-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.service-option .svc-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.service-option .svc-price {
  font-family: var(--font-code);
  font-size: 11px;
  color: var(--gold-bright);
}

/* PAYMENT METHODS SELECTION */
.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 35px;
}

.method-btn {
  background: rgba(5, 13, 24, 0.65);
  border: 1.5px solid rgba(218, 165, 32, 0.18);
  border-radius: 12px;
  padding: 22px 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  color: var(--gray-light);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.method-btn:hover {
  border-color: rgba(218, 165, 32, 0.4);
  background: rgba(218, 165, 32, 0.03);
}

.method-btn.selected {
  border-color: var(--gold);
  background: rgba(218, 165, 32, 0.1);
  color: var(--gold-bright);
  box-shadow: 0 6px 20px rgba(218, 165, 32, 0.15);
}

.method-icon {
  font-size: 28px;
}

/* CUSTOMISABLE & PARTIAL PAYMENT ELEMENT DESIGN */
.payment-customizer {
  background: rgba(218, 165, 32, 0.04);
  border: 1px dashed rgba(218, 165, 32, 0.3);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 35px;
}

.checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  font-size: 16px;
}

.checkbox-wrap input {
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
  cursor: pointer;
}

/* ORDER SUMMARY */
.order-summary {
  background: rgba(5, 13, 24, 0.7);
  border: 1px solid rgba(218, 165, 32, 0.15);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 35px;
}

.order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(218, 165, 32, 0.08);
  font-size: 16px;
}

.order-row:last-child {
  border-bottom: none;
}

.order-row .label {
  color: var(--gray);
}

.order-row .value {
  color: var(--white);
  font-weight: 600;
}

.order-row.total {
  padding-top: 20px;
  border-top: 1px dashed rgba(218, 165, 32, 0.25);
}

.order-row.total .label {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
}

.order-row.total .value {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  color: var(--gold-bright);
  text-shadow: 0 0 15px rgba(245, 200, 66, 0.35);
}

/* FILE UPLOAD DRAG/DROP AREA */
.file-upload-area {
  border: 2px dashed rgba(218, 165, 32, 0.35);
  border-radius: 12px;
  padding: 45px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 25px;
  position: relative;
  background: rgba(5, 13, 24, 0.4);
}

.file-upload-area:hover {
  border-color: var(--gold);
  background: rgba(218, 165, 32, 0.05);
}

.file-upload-area input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-icon {
  font-size: 48px;
  margin-bottom: 15px;
  transition: transform 0.3s;
}

.file-upload-area:hover .upload-icon {
  transform: translateY(-5px);
}

.upload-text {
  font-size: 16px;
  color: var(--gray-light);
  margin-bottom: 8px;
  font-weight: 600;
}

.upload-hint {
  font-family: var(--font-code);
  font-size: 11px;
  color: rgba(218, 165, 32, 0.55);
  letter-spacing: 1px;
}

.pesapal-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(218, 165, 32, 0.08);
  border: 1px solid rgba(218, 165, 32, 0.25);
  padding: 10px 24px;
  border-radius: 100px;
  font-family: var(--font-code);
  font-size: 12px;
  color: var(--gold-bright);
  letter-spacing: 1.5px;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.step-panel {
  display: none;
}

.step-panel.active {
  display: block;
}

/* ==================== FOOTER ==================== */
footer {
  background: rgba(3, 8, 15, 0.98);
  border-top: 1px solid var(--glass-border);
  padding: 80px 8% 40px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

@media(max-width:960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:580px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-logo-text span {
  color: var(--gold);
}

.footer-desc {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-btn {
  width: 44px;
  height: 44px;
  background: rgba(218, 165, 32, 0.08);
  border: 1px solid rgba(218, 165, 32, 0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  color: var(--gold);
}

.social-btn:hover {
  background: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-4px) rotate(8deg);
  box-shadow: 0 8px 20px var(--gold-glow);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 25px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 15px;
}

.footer-col ul li a {
  color: var(--gray);
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s;
  cursor: pointer;
}

.footer-col ul li a:hover {
  color: var(--gold-bright);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(218, 165, 32, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: var(--gray);
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  gap: 30px;
}

.footer-bottom-links a {
  color: var(--gray);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

/* FLOATING INTERACTION CONTROLS */
.chat-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(218, 165, 32, 0.45);
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
}

.chat-float:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 35px rgba(218, 165, 32, 0.6);
}

/* MOBILE TOGGLES */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  padding: 8px;
  transition: color 0.3s;
}

.mobile-menu-btn:hover {
  color: var(--gold);
}

@media(max-width:960px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(5, 13, 24, 0.98);
    backdrop-filter: blur(25px);
    border-bottom: 1.5px solid var(--glass-border);
    padding: 30px;
    gap: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
  }
  .nav-links.mobile-active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
}

/* TOAST MESSAGES */
.toast {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: rgba(15, 32, 68, 0.95);
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  padding: 18px 28px;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  z-index: 10000;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-width: 360px;
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(15px);
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.toast-success {
  border-color: var(--accent-green);
}

.toast-icon {
  font-size: 20px;
}

/* ==========================================================================
   INTERACTIVE CURSOR, 3D ORBS, NEGOTIATION, AND AI ASSISTANT STYLES
   ========================================================================== */

/* CUSTOM INTERACTIVE CURSOR */
#custom-cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--gold-bright);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 99999;
  transition: width 0.3s, height 0.3s, background-color 0.3s;
}

#custom-cursor-ring {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 99998;
  transition: width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s, transform 0.08s ease-out;
  box-shadow: 0 0 10px rgba(218, 165, 32, 0.2);
}

/* Custom Cursor Active Hover State */
body.cursor-hover #custom-cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--white);
}

body.cursor-hover #custom-cursor-ring {
  width: 50px;
  height: 50px;
  border-color: var(--gold-bright);
  background-color: rgba(218, 165, 32, 0.08);
  box-shadow: 0 0 20px rgba(218, 165, 32, 0.4);
}

/* Hide default cursor on desktop when custom cursor is active */
@media (pointer: fine) {
  body.custom-cursor-active,
  body.custom-cursor-active a,
  body.custom-cursor-active button,
  body.custom-cursor-active select,
  body.custom-cursor-active input,
  body.custom-cursor-active textarea,
  body.custom-cursor-active .service-option,
  body.custom-cursor-active .method-btn,
  body.custom-cursor-active .logo,
  body.custom-cursor-active .quick-chip {
    cursor: none !important;
  }
}

@media (max-width: 1024px) {
  #custom-cursor-dot, #custom-cursor-ring {
    display: none !important;
  }
}

/* FLOATING HOLOGRAPHIC ORBS */
.holo-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: screen;
  animation: floatOrb 25s ease-in-out infinite;
}

.orb-1 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--gold) 0%, var(--navy-glow) 70%);
  top: 15%;
  left: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, var(--navy-glow) 70%);
  bottom: 20%;
  right: -5%;
  animation-delay: -5s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--gold-bright) 0%, var(--navy-light) 70%);
  top: 60%;
  left: 45%;
  animation-delay: -10s;
}

@keyframes floatOrb {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  33% {
    transform: translate(50px, -40px) scale(1.15) rotate(120deg);
  }
  66% {
    transform: translate(-30px, 60px) scale(0.9) rotate(240deg);
  }
}

/* 3D CARD PARALLAX DEPTH */
.tilt-3d {
  transform-style: preserve-3d;
}

.tilt-3d h3,
.tilt-3d .service-icon,
.tilt-3d p,
.tilt-3d .service-tags,
.tilt-3d .portfolio-type,
.tilt-3d .plan-name,
.tilt-3d .plan-price,
.tilt-3d .plan-features,
.tilt-3d button {
  transform: translateZ(35px);
  transition: transform 0.2s ease-out;
}

.tilt-3d .portfolio-thumb {
  transform: translateZ(20px);
}

/* BUDGET NEGOTIATION WIDGET */
.negotiation-panel {
  background: rgba(218, 165, 32, 0.03);
  border: 1.5px dashed var(--gold-glow);
  border-radius: 12px;
  padding: 25px;
  margin-top: 15px;
  animation: pageEnter 0.4s ease-out;
}

.negotiation-header {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.negotiation-gauge {
  margin-top: 20px;
}

.gauge-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 6px;
}

.gauge-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.gauge-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease-out, background-color 0.5s ease-out;
}

.gauge-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--white);
  left: 100%;
}

/* AI CHATBOT SYSTEM */
.ai-chat-window {
  position: fixed;
  bottom: 105px;
  right: 30px;
  width: 380px;
  height: 520px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), inset 0 0 20px rgba(218, 165, 32, 0.05);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ai-chat-window.show {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.ai-chat-header {
  background: linear-gradient(135deg, rgba(15, 32, 68, 0.9) 0%, rgba(5, 13, 24, 0.95) 100%);
  border-bottom: 1px solid var(--glass-border);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-chat-header .bot-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-chat-header .bot-avatar {
  width: 36px;
  height: 36px;
  background: rgba(218, 165, 32, 0.1);
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--gold-bright);
  box-shadow: 0 0 10px rgba(218, 165, 32, 0.2);
}

.ai-chat-header .bot-details h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
}

.ai-chat-header .bot-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--gray);
}

.ai-chat-header .bot-status-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-green);
  animation: dotPulse 1.8s infinite;
}

.ai-chat-header .close-chat {
  background: none;
  border: none;
  color: var(--gray);
  font-size: 18px;
  cursor: pointer;
  transition: color 0.3s;
}

.ai-chat-header .close-chat:hover {
  color: var(--gold-bright);
}

.ai-chat-messages {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(218, 165, 32, 0.2) transparent;
}

.ai-chat-messages::-webkit-scrollbar {
  width: 4px;
}

.ai-chat-messages::-webkit-scrollbar-thumb {
  background: rgba(218, 165, 32, 0.2);
  border-radius: 2px;
}

.ai-message {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.6;
}

.ai-message.bot {
  background: rgba(15, 32, 68, 0.8);
  border: 1px solid rgba(218, 165, 32, 0.12);
  color: var(--white);
  border-top-left-radius: 2px;
  align-self: flex-start;
}

.ai-message.user {
  background: linear-gradient(135deg, var(--gold-dim) 0%, var(--gold) 100%);
  color: var(--navy-deep);
  font-weight: 700;
  border-top-right-radius: 2px;
  align-self: flex-end;
  box-shadow: 0 4px 12px rgba(218, 165, 32, 0.15);
}

.quick-replies {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 20px;
  border-top: 1px solid rgba(218, 165, 32, 0.08);
  background: rgba(5, 13, 24, 0.3);
  scrollbar-width: none;
}

.quick-replies::-webkit-scrollbar {
  display: none;
}

.quick-chip {
  background: rgba(218, 165, 32, 0.06);
  border: 1px solid rgba(218, 165, 32, 0.25);
  color: var(--gold-bright);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s;
}

.quick-chip:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
  transform: translateY(-1.5px);
}

.ai-chat-input-area {
  padding: 15px 20px;
  border-top: 1px solid var(--glass-border);
  background: rgba(5, 13, 24, 0.85);
  display: flex;
  gap: 10px;
}

.ai-chat-input-area input {
  flex-grow: 1;
  background: rgba(10, 22, 40, 0.8);
  border: 1px solid rgba(218, 165, 32, 0.2);
  border-radius: 8px;
  color: var(--white);
  padding: 10px 15px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}

.ai-chat-input-area input:focus {
  border-color: var(--gold);
}

.ai-chat-input-area button {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--navy-deep);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.ai-chat-input-area button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(218, 165, 32, 0.3);
}

/* TYPING INDICATOR */
.ai-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 18px;
  background: rgba(15, 32, 68, 0.6);
  border: 1px solid rgba(218, 165, 32, 0.1);
  border-radius: 14px;
  border-top-left-radius: 2px;
  width: fit-content;
  align-self: flex-start;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background-color: var(--gold);
  border-radius: 50%;
  opacity: 0.4;
  animation: typingDot 1.4s infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-4px); opacity: 1; }
}

@media (max-width: 480px) {
  .ai-chat-window {
    width: calc(100% - 40px);
    right: 20px;
    left: 20px;
    height: 450px;
    bottom: 95px;
  }
}

/* ==========================================================================
   3D ROBOT TOUR GUIDE & PREMIUM CHAT UI ADDITIONS
   ========================================================================== */

/* Spotlight Focused Element */
.tour-spotlight-focus {
  position: relative !important;
  z-index: 998 !important;
  pointer-events: auto !important;
  transform: scale(1.03) translateZ(10px) !important;
  box-shadow: 0 0 30px rgba(245, 200, 66, 0.45) !important;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease !important;
}

/* Quick Pulse Border Highlight (Mode B) */
.ai-element-pulse {
  outline: 2px solid var(--gold) !important;
  outline-offset: 4px;
  animation: aiPulseGlow 1.5s infinite alternate;
}

@keyframes aiPulseGlow {
  0% { box-shadow: 0 0 5px rgba(218, 165, 32, 0.2); }
  100% { box-shadow: 0 0 25px rgba(218, 165, 32, 0.8); }
}

/* Holographic Speech Bubble */
.tour-speech-bubble {
  position: fixed;
  width: 320px;
  background: rgba(10, 22, 40, 0.88);
  border: 1px solid var(--gold);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 
              0 0 20px rgba(245, 200, 66, 0.15),
              inset 0 0 15px rgba(245, 200, 66, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: 'Rajdhani', sans-serif;
  pointer-events: auto;
}

.tour-bubble-hidden {
  opacity: 0;
  transform: scale(0.9) translateY(10px);
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1);
}

.tour-bubble-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition: all 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tour-bubble-header {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 2px;
  border-bottom: 1px solid rgba(245, 200, 66, 0.2);
  padding-bottom: 6px;
}

.tour-bubble-content {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--white);
  min-height: 50px;
}

.tour-bubble-footer {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
}

.btn-tour-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--navy);
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 3px 8px rgba(245, 200, 66, 0.25);
}

.btn-tour-primary:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 5px 12px rgba(245, 200, 66, 0.4);
}

.btn-tour-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-tour-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1.5px);
}

/* Tour HUD overlay */
.tour-hud-container {
  background: rgba(8, 18, 38, 0.9);
  border: 1px solid rgba(245, 200, 66, 0.3);
  border-radius: 30px;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(0, 212, 255, 0.1);
  backdrop-filter: blur(12px);
}

.tour-hud-title {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--cyan);
  font-weight: 700;
  animation: flashTitle 2s infinite alternate;
}

@keyframes flashTitle {
  0% { opacity: 0.7; }
  100% { opacity: 1; text-shadow: 0 0 8px rgba(0, 212, 255, 0.6); }
}

.tour-hud-progress {
  width: 140px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.tour-hud-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
  border-radius: 3px;
  transition: width 0.4s ease-out;
}

.tour-hud-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

/* Confetti styling */
.confetti-particle {
  transition: transform 0.1s linear;
}

/* Premium AI Bot Ring Pulse */
.ai-avatar-pulse {
  position: relative;
}

.ai-avatar-pulse::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  border: 1px solid var(--gold-bright);
  animation: ringPulse 2s infinite;
  pointer-events: none;
}

@keyframes ringPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Rich Message Cards & Layouts */
.ai-rich-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
  margin-top: 8px;
  width: 100%;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.01);
}

.ai-service-grid-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.ai-service-card-mini {
  background: rgba(15, 32, 68, 0.5);
  border: 1px solid rgba(218, 165, 32, 0.15);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.3s, background-color 0.3s;
}

.ai-service-card-mini:hover {
  border-color: var(--gold);
  background: rgba(15, 32, 68, 0.8);
}

.ai-card-title-mini {
  font-weight: 700;
  font-size: 13px;
  color: var(--white);
  letter-spacing: 0.5px;
}

.ai-card-price-mini {
  font-size: 12px;
  color: var(--gold-bright);
  font-weight: 600;
}

.ai-card-desc-mini {
  font-size: 11px;
  color: var(--gray-light);
  line-height: 1.4;
}

.ai-btn-row {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.ai-btn-mini {
  flex: 1;
  background: rgba(218, 165, 32, 0.1);
  border: 1px solid rgba(218, 165, 32, 0.3);
  color: var(--gold-bright);
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s;
}

.ai-btn-mini:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-1px);
}

.ai-btn-mini-success {
  flex: 1;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.4);
  color: var(--cyan);
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s;
}

.ai-btn-mini-success:hover {
  background: var(--cyan);
  color: var(--navy);
  transform: translateY(-1px);
}

/* Comparison mini tables */
.ai-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  margin-top: 6px;
  color: var(--white);
}

.ai-comparison-table th {
  border-bottom: 1px solid rgba(245, 200, 66, 0.3);
  padding: 5px;
  color: var(--gold-bright);
  font-weight: 700;
  text-align: left;
}

.ai-comparison-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5px;
}

.ai-comparison-table tr:last-child td {
  border-bottom: none;
}

/* Status Notifications in Chat */
.ai-status-bubble {
  align-self: center;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--cyan);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 11px;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.5px;
  text-shadow: 0 0 5px rgba(0, 212, 255, 0.3);
  animation: statusFadeIn 0.4s ease-out;
}

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

