/* ==========================================================================
   KRYZON VENTURES — Global Design System (Colorful Elegant Edition)
   thekryzon.com
   ========================================================================== */

:root {
  /* Colorful Accent Palette */
  --red: #EA1C2A;
  --red-hover: #C8151F;
  --red-light: rgba(234, 28, 42, 0.05);
  
  --blue: #0066FF;
  --blue-light: rgba(0, 102, 255, 0.05);
  
  --orange: #FF9900;
  --orange-light: rgba(255, 153, 0, 0.05);
  
  --green: #10B981;
  --green-light: rgba(16, 185, 129, 0.05);
  
  --indigo: #6366F1;
  --indigo-light: rgba(99, 102, 241, 0.05);

  --purple: #8B5CF6;
  --purple-light: rgba(139, 92, 246, 0.05);

  /* Light Theme Base Colors */
  --black: #111111;
  --white: #ffffff;
  
  --charcoal: #1F2937;
  --near-black: #111827;
  --grey-100: #F9FAFB;
  --grey-200: #F3F4F6;
  --grey-300: #E5E7EB;
  --grey-400: #9CA3AF;
  
  --muted: #4B5563;
  --muted-light: #6B7280;
  
  --bg-color: #ffffff;
  --text-color: #111827;

  /* Layout and Styling Tokens */
  --border: 1px solid var(--grey-300);
  --border-light: 1px solid var(--grey-200);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Typography */
  --ff-head: 'Sora', sans-serif;
  --ff-body: 'Inter', sans-serif;

  /* Shadows (Elegant & Soft) */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.08);
  --shadow-red: 0 12px 30px rgba(234, 28, 42, 0.12);

  --container: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ff-body);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button, input, select, textarea {
  font-family: inherit;
}

/* ==========================================================================
   CUSTOM CURSOR (Subtle Red ring tracking mouse)
   ========================================================================== */
.cursor {
  width: 8px;
  height: 8px;
  background: var(--red);
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
  opacity: 0;
}

.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(234, 28, 42, 0.3);
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, border-color 0.2s;
  opacity: 0;
}

.cursor.hover {
  width: 16px;
  height: 16px;
  background: rgba(234, 28, 42, 0.25);
}

.cursor-ring.hover {
  width: 48px;
  height: 48px;
  border-color: var(--red);
  background: rgba(234, 28, 42, 0.03);
}

@media (hover: hover) and (pointer: fine) {
  body {
    cursor: none;
  }
}

@media (max-width: 900px) {
  .cursor, .cursor-ring {
    display: none !important;
  }
}

/* ==========================================================================
   LAYOUT & CONTAINERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 5%;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ==========================================================================
   SECTION STYLE LAYOUTS
   ========================================================================== */
section {
  padding: 8rem 0;
  position: relative;
}

.section-light {
  background: var(--white);
}

.section-grey {
  background: var(--grey-100);
}

.section-dark {
  background: var(--near-black);
  color: var(--white);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.2rem;
  padding-left: 2rem;
  position: relative;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.2rem;
  height: 2px;
  background: var(--red);
}

.section-label.white {
  color: var(--white);
}
.section-label.white::before {
  background: var(--white);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
.display-1 {
  font-family: var(--ff-head);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.display-2 {
  font-family: var(--ff-head);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--black);
}

.text-white .display-2 {
  color: var(--white);
}

.display-3 {
  font-family: var(--ff-head);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--black);
}

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

.text-red {
  color: var(--red);
}

.text-lg {
  font-size: 1.1rem;
}

/* ==========================================================================
   BUTTONS (Smooth lifting and active sliding shadows)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.4rem;
  font-family: var(--ff-body);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: var(--red-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(234, 28, 42, 0.25);
}

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

.btn-outline-dark:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline-white:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost-red {
  background: transparent;
  color: var(--red);
  padding-left: 0;
  padding-right: 0;
  font-weight: 700;
}

.btn-ghost-red:hover {
  color: var(--red-hover);
}

.btn-arrow::after {
  content: ' →';
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform 0.2s;
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.35s var(--ease);
  padding: 1.5rem 0;
}

#site-header.transparent {
  background: transparent;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

#site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--grey-300);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 40px;
  width: auto;
  transition: transform 0.3s;
}

.nav-logo:hover img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.25s;
  padding: 0.5rem 0;
}

#site-header.transparent .nav-link {
  color: var(--muted);
}

#site-header.transparent .nav-link:hover {
  color: var(--red);
}

.nav-link:hover {
  color: var(--red);
}

.nav-link.active {
  color: var(--red) !important;
  background: rgba(234, 28, 42, 0.08);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
}

/* Chevron */
.chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.25s;
}

.nav-item:hover .chevron {
  transform: rotate(180deg);
}

/* MEGA MENU */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: 800px;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
  pointer-events: none;
}

/* Bridge the hover gap between nav-link and mega-menu panel */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -25px;
  left: 0;
  right: 0;
  height: 25px;
  background: transparent;
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(10px);
  pointer-events: auto;
}

.mega-col-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--grey-200);
  padding-bottom: 0.4rem;
}

.mega-link {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.45rem 0;
  transition: all 0.2s;
}

.mega-link:hover {
  color: var(--black);
  transform: translateX(4px);
}

.nav-cta-wrap {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-cta-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  background: var(--red);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-md);
  transition: all 0.25s;
}

#site-header.scrolled .nav-cta-link {
  box-shadow: var(--shadow-red);
}

.nav-cta-link:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
}

/* HAMBURGER */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  width: 28px;
  height: 20px;
  position: relative;
  cursor: pointer;
  z-index: 105;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--black);
  position: absolute;
  left: 0;
  transition: transform 0.3s, opacity 0.3s;
}

#site-header.transparent .hamburger span {
  background: var(--black);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

.hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); background: var(--black) !important; }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background: var(--black) !important; }

/* MOBILE NAV OVERLAY */
#mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 101;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--ease);
}

#mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-family: var(--ff-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-sub {
  display: none;
  flex-direction: column;
  padding-left: 1.5rem;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.mobile-sub.open {
  display: flex;
}

.mobile-sub-link {
  font-size: 1rem;
  color: var(--muted);
}

.mobile-nav-cta {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--red);
}

.mobile-nav-footer {
  margin-top: auto;
  display: flex;
  gap: 1.5rem;
}

.mobile-social-link {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--muted);
}

/* ==========================================================================
   CARDS & PANELS (Rounded, shadow lifts)
   ========================================================================== */
.card {
  background: var(--white);
  border: var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: all 0.35s var(--ease);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--grey-300);
}

/* Service Card with bottom visual border anim */
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.2rem;
  position: relative;
  transition: all 0.35s var(--ease);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  height: 100%;
}

.service-card::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,0,0,0.03);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.service-card h3 {
  font-family: var(--ff-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.8rem;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-link {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.card-link::after {
  content: '→';
  transition: transform 0.2s;
}

.service-card:hover .card-link::after {
  transform: translateX(4px);
}

/* Industry Card */
.industry-card {
  background: var(--grey-100);
  border: var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: all 0.3s var(--ease);
  display: block;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.industry-card:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  transform: translateY(-5px);
  box-shadow: var(--shadow-red);
}

.industry-icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}

.industry-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.industry-card p {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ==========================================================================
   TICKER / MARQUEE STRIP
   ========================================================================== */
.marquee-strip {
  background: var(--red);
  padding: 1.5rem 0;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  position: relative;
  z-index: 10;
}

.marquee-track {
  display: inline-flex;
  animation: marquee 25s linear infinite;
  gap: 3rem;
  padding-right: 3rem;
}

.marquee-item {
  font-family: var(--ff-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 1rem;
}

@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   PROCESS CONNECTORS
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  position: relative;
}

.process-step {
  position: relative;
  padding: 1rem 0;
}

.step-number {
  font-family: var(--ff-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--red);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 0.8rem;
}

.process-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--black);
}

.process-step p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ==========================================================================
   FAQ ACCORDIONS
   ========================================================================== */
.faq-item {
  border-bottom: 1px solid var(--grey-300);
  padding: 1.5rem 0;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  text-align: left;
  cursor: pointer;
  padding: 0.5rem 0;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--red);
  transition: transform 0.25s;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding-top: 0;
}

.faq-answer.open {
  max-height: 200px;
  padding-top: 0.8rem;
}

.faq-answer p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ==========================================================================
   FINAL CTA SECTIONS
   ========================================================================== */
.cta-section {
  background: radial-gradient(circle at center, var(--grey-100) 0%, var(--white) 100%);
  color: var(--black);
  text-align: center;
  padding: 7rem 0;
  overflow: hidden;
  border-top: 1px solid var(--grey-300);
}

.cta-section h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  color: var(--muted);
}

/* ==========================================================================
   FOOTER (Light Grey Footer for Premium contrast)
   ========================================================================== */
#site-footer {
  background: #111827;
  border-top: 1px solid var(--grey-300);
  padding: 5rem 0 3rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 5%;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 4rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.75;
  margin-top: 1.2rem;
  margin-bottom: 1.5rem;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.25s;
}

.social-link:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--ff-head);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

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

.footer-col li {
  margin-bottom: 0.8rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--red);
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.82rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: var(--red);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0;
  transition: all 0.9s var(--ease);
}

.reveal {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-scale {
  transform: scale(0.96);
}

.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Staggers */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }

/* prefers-reduced-motion override */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   RESPONSIVE SCALES
   ========================================================================== */
@media (max-width: 1100px) {
  section { padding: 6rem 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1.2fr 1fr; gap: 3rem; }
  .mega-menu { width: 90vw; }
}

@media (max-width: 900px) {
  .hamburger { display: block; }
  .nav-links { display: none; }
  .nav-cta-link { display: none; }
  .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .nav-inner { padding: 0 4%; }
}

/* ==========================================================================
   KRAZY CHATBOT WIDGET STYLES (Colorful Elegant Edition)
   ========================================================================== */
#krazy-widget-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: var(--ff-body);
}

.krazy-launcher {
  width: 60px;
  height: 60px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(234, 28, 42, 0.35);
  transition: all 0.3s var(--ease);
  position: relative;
}

.krazy-launcher:hover {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 12px 36px rgba(234, 28, 42, 0.45);
}

.krazy-launcher-pulse {
  position: absolute;
  inset: -4px;
  border: 2px solid var(--red);
  border-radius: 50%;
  opacity: 0;
  animation: launcherPulse 2s infinite;
  pointer-events: none;
}

@keyframes launcherPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.25); opacity: 0; }
}

.krazy-launcher-badge {
  position: absolute;
  left: -130px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--black);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  pointer-events: none;
  white-space: nowrap;
}

.krazy-launcher:hover .krazy-launcher-badge {
  opacity: 1;
  visibility: visible;
  left: -120px;
}

/* Chat Window */
.krazy-chatbox {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 360px;
  height: 500px;
  background: var(--white);
  border: 1.5px solid var(--grey-300);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s var(--ease);
  overflow: hidden;
}

.krazy-chatbox.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.krazy-header {
  background: var(--black);
  color: var(--white);
  padding: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.krazy-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.krazy-header-status {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: statusPulse 1.5s infinite;
}

@keyframes statusPulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.krazy-header h3 {
  font-family: var(--ff-head);
  font-size: 0.95rem;
  font-weight: 700;
}

.krazy-close-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  cursor: pointer;
  transition: color 0.2s;
}

.krazy-close-btn:hover {
  color: var(--white);
}

/* Messages Area */
.krazy-messages {
  flex-grow: 1;
  padding: 1.2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--grey-100);
}

.krazy-msg {
  max-width: 80%;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  font-size: 0.85rem;
  line-height: 1.5;
  animation: msgFadeIn 0.3s var(--ease) forwards;
}

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

.krazy-msg.agent {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--grey-200);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.krazy-msg.user {
  background: var(--red);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* Options/Buttons in Chat */
.krazy-chat-btn {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: var(--white);
  border: 1.5px solid var(--red);
  color: var(--red);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  align-self: flex-start;
  margin-top: 0.5rem;
}

.krazy-chat-btn:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-1px);
}

.krazy-chat-btn.whatsapp-btn {
  border-color: #25D366;
  color: #25D366;
  background: rgba(37, 211, 102, 0.05);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.krazy-chat-btn.whatsapp-btn:hover {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

/* Footer Input */
.krazy-input-area {
  padding: 0.8rem 1.2rem;
  border-top: 1.5px solid var(--grey-300);
  display: flex;
  gap: 0.6rem;
  background: var(--white);
  align-items: center;
}

.krazy-input {
  flex-grow: 1;
  border: none;
  outline: none;
  font-size: 0.85rem;
  font-family: var(--ff-body);
  color: var(--black);
}

.krazy-send-btn {
  background: transparent;
  border: none;
  color: var(--red);
  font-size: 1.25rem;
  cursor: pointer;
  transition: transform 0.2s;
  display: flex;
  align-items: center;
}

.krazy-send-btn:hover {
  transform: scale(1.1);
}

@media (max-width: 480px) {
  .krazy-chatbox {
    width: 290px;
    height: 420px;
    bottom: 70px;
  }
}

/* Elegant Language Dropdown Styles */
.lang-select-wrap {
  position: relative;
  display: inline-block;
  margin-right: 1.2rem;
}

.kv-lang-select {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition: all 0.25s;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--ff-body);
}

body:not(.hero-page) #site-header .kv-lang-select {
  background: var(--grey-100);
  color: var(--black);
  border-color: var(--grey-300);
}

.kv-lang-select:hover {
  border-color: var(--red);
  background: rgba(234, 28, 42, 0.05);
}

body:not(.hero-page) #site-header .kv-lang-select:hover {
  background: var(--white);
  border-color: var(--red);
}

.kv-lang-select option {
  background: #0A0A0A;
  color: var(--white);
  font-weight: 500;
  padding: 0.5rem;
}
