/* ==========================================================================
   ARVONA LABS - ULTRA MODERN BENTO UI/UX REDESIGN & CORE WEB VITALS OPTIMIZED
   ========================================================================== */

/* Global Layout Stability & Media Containment (CLS = 0) */
img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Containment for high-frequency render sections */
.bento-card, .project-card, .team-card, .pkg-card {
  content-visibility: auto;
  contain-intrinsic-size: 1px 400px;
}

:root {
  /* Extreme Dark Theme */
  --bg-base: #000000;
  --bg-surface: #0a0a0a;
  --bg-surface-hover: #141414;

  /* Neon Accents - Electric & Vibrant */
  --c-primary: #ffffff;
  --c-cyan: #00f0ff;
  --c-purple: #8a2be2;
  --c-indigo: #4f46e5;
  --c-pink: #ec4899;

  /* Typography */
  --t-primary: #ffffff;
  --t-secondary: #a1a1aa;
  --t-muted: #52525b;

  /* Bento Box Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.2);

  /* Glows */
  --glow-cyan: 0 0 30px rgba(0, 240, 255, 0.3);
  --glow-purple: 0 0 30px rgba(138, 43, 226, 0.3);

  /* Geometry */
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-pill: 99px;
  --container: 1280px;

  /* Fonts */
  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Timing */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-base);
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--t-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  width: 100%;
}
html.no-scroll,
body.no-scroll {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

.site-wrapper {
  position: relative;
  width: 100%;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Ambient Background Mesh */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(138, 43, 226, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 100%,
      rgba(0, 240, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(79, 70, 229, 0.05) 0%,
      transparent 70%
    );
  z-index: -2;
  pointer-events: none;
  filter: blur(60px);
}

/* Dot Grid Overlay */
.grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px
  );
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black 20%, transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 80%);
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.05;
  color: var(--t-primary);
  letter-spacing: -0.04em;
}
h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
}
h2 {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
}
h3 {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
p {
  color: var(--t-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  font-weight: 400;
}

/* Premium Text Gradients */
.text-gradient {
  background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-gradient-neon {
  background: linear-gradient(
    135deg,
    var(--c-cyan) 0%,
    var(--c-purple) 50%,
    var(--c-pink) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hueShift 10s infinite linear;
}

@keyframes hueShift {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

a {
  color: var(--c-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: #fff;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}
.section {
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 1000px;
}
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.75rem;
}
.section-header p {
  font-size: 1.15rem;
}

/* Spacing & Positioning Helpers */
.pt-2 { padding-top: 1rem; }
.mt-2 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.relative { position: relative; }
.z-10 { z-index: 10; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
}
.btn-primary {
  background: #fff;
  color: #000 !important;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
  background: #e4e4e7;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--t-primary) !important;
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-neon {
  background: linear-gradient(135deg, var(--c-purple), var(--c-indigo));
  color: #fff !important;
  box-shadow: var(--glow-purple);
}
.btn-neon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--c-cyan), var(--c-purple));
  opacity: 0;
  transition: opacity var(--transition-smooth);
  z-index: -1;
}
.btn-neon:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--glow-cyan);
}
.btn-neon:hover::before {
  opacity: 1;
}

/* ==========================================================================
   BENTO BOX CARDS
   ========================================================================== */
.bento-card {
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  will-change: transform, box-shadow;
  contain: layout style;
}
.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 100%
  );
  pointer-events: none;
}
.bento-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}
/* Shine effect on hover */
.bento-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}
.bento-card:hover::after {
  left: 150%;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: var(--container);
  z-index: 1000;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  transition: all var(--transition-smooth);
}
.site-header.scrolled {
  background: rgba(5, 5, 5, 0.8);
  border-color: var(--border-hover);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.brand-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.05em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0; /* Hidden initially for loader animation swap */
  visibility: hidden;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}
.brand-text.show {
  opacity: 1 !important;
  visibility: visible !important;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  color: var(--t-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}
.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
}
.toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  position: absolute;
  left: 10px;
  transition: var(--transition-smooth);
}
.toggle-bar:nth-child(1) {
  top: 14px;
}
.toggle-bar:nth-child(2) {
  top: 21px;
}
.toggle-bar:nth-child(3) {
  top: 28px;
}
.nav-toggle.open .toggle-bar:nth-child(1) {
  transform: rotate(45deg);
  top: 21px;
}
.nav-toggle.open .toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open .toggle-bar:nth-child(3) {
  transform: rotate(-45deg);
  top: 21px;
}

/* ==========================================================================
   HERO SECTION (CENTERED MONOLITHIC)
   ========================================================================== */
/* ==========================================================================
   HERO SECTION (CENTERED MONOLITHIC)
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  padding-top: 6.5rem;
  padding-bottom: 0;
}
.hero-main-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1250px;
  margin: auto auto 2rem auto;
}
.hero-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(
    circle,
    rgba(138, 43, 226, 0.15) 0%,
    rgba(0, 240, 255, 0.05) 50%,
    transparent 70%
  );
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  animation: slow-pulse 8s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
@keyframes slow-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--t-primary);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}
.hero-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 10px var(--c-cyan);
  animation: pulse 2s infinite;
}
.hero-title {
  margin-bottom: 1.5rem;
  font-size: clamp(3.6rem, 7.2vw, 6.5rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.hero-subtitle {
  font-size: 1.05rem;
  max-width: 680px;
  margin-bottom: 2rem;
  color: var(--t-secondary);
  line-height: 1.6;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  position: relative;
  z-index: 3;
}

/* Metrics Banner below Hero */
.metrics-banner {
  width: 100%;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(10px);
  margin-top: auto;
  padding: 1.5rem 0;
  position: relative;
  z-index: 2;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  max-width: var(--container);
  margin: 0 auto;
}
.metrics-grid > div {
  border-right: 1px solid var(--border-subtle);
}
.metrics-grid > div:last-child {
  border-right: none;
}
.metric-item-center h4 {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  margin-bottom: 0.25rem;
}
.metric-item-center span {
  color: var(--t-secondary);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   BENTO SOLUTIONS SECTION
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 1.5rem;
}
/* Grid spanning */
.bento-col-2 {
  grid-column: span 2;
}
.bento-col-3 {
  grid-column: span 3;
}
.bento-col-4 {
  grid-column: span 4;
}
.bento-row-2 {
  grid-row: span 2;
}

.solution-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  margin-bottom: auto;
  transition: var(--transition-smooth);
}
.bento-card:hover .solution-icon-wrap {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}
/* Specific gradients for different cards */
.grad-1 .solution-icon-wrap {
  background: linear-gradient(135deg, var(--c-purple), var(--c-indigo));
  border: none;
}
.grad-2 .solution-icon-wrap {
  background: linear-gradient(135deg, var(--c-cyan), var(--c-indigo));
  border: none;
}

.bento-card h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.5rem;
}
.bento-card p {
  margin: 0;
  font-size: 1rem;
  color: var(--t-secondary);
}

/* Custom images/visuals inside bento */
.bento-visual {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  height: 70%;
  opacity: 0.2;
  pointer-events: none;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right bottom;
  transition: var(--transition-smooth);
}
.bento-card:hover .bento-visual {
  opacity: 0.4;
  transform: scale(1.05);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
.stat-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}
.stat-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  color: var(--t-secondary);
  font-size: 0.9rem;
}

/* Image masking */
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}
.about-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(50%) contrast(1.2);
}
.about-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-base) 0%, transparent 60%);
}

/* ==========================================================================
   LEADERSHIP SECTION
   ========================================================================== */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.team-card {
  padding: 0 !important;
  border-radius: var(--radius-lg);
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden;
  background: rgba(10, 10, 10, 0.5) !important;
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}
.team-img-wrap {
  width: 100%;
  height: 280px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-smooth);
}
.team-card:hover .team-img-wrap img {
  transform: scale(1.05);
}
.team-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, transparent 70%);
  pointer-events: none;
}
.team-info {
  padding: 1.75rem;
  text-align: left;
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.team-name {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.linkedin-btn {
  color: #0a66c2;
  font-size: 1.25rem;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-flex;
}
.linkedin-btn:hover {
  color: var(--c-cyan);
  transform: scale(1.15);
}
.team-role {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.team-desc {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: var(--t-secondary);
  line-height: 1.6;
}

/* Responsive Leadership */
@media (max-width: 1024px) {
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  #team,
  .nav-item-team {
    display: none !important;
  }
  .leadership-grid {
    grid-template-columns: 1fr;
  }
  .bento-card.team-card {
    height: auto;
    min-height: auto;
  }
}

/* ==========================================================================
   PROJECTS SECTION
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}
.project-card {
  padding: 0;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(10, 10, 10, 0.4);
}
.project-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}
.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform var(--transition-smooth);
}
.project-card:hover .project-img-wrap img {
  transform: scale(1.05);
}
.project-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 1) 0%, transparent 80%);
  pointer-events: none;
}
.project-info {
  padding: 2rem;
  text-align: left;
  position: relative;
  z-index: 2;
  margin-top: -3.5rem;
}
.project-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}
.project-category {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.project-info p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}
.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tech-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  color: var(--t-primary);
}

/* Responsive Projects */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .bento-card.project-card {
    height: auto;
    min-height: auto;
  }
}

/* ==========================================================================
   PACKAGES SECTION
   ========================================================================== */
.packages-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.pkg-card {
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  will-change: transform, box-shadow;
}
.pkg-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
}
.pkg-featured {
  background: linear-gradient(
    180deg,
    rgba(20, 20, 20, 0.8) 0%,
    rgba(10, 10, 10, 0.8) 100%
  );
  border: 1px solid rgba(138, 43, 226, 0.5);
  box-shadow: 0 0 50px rgba(138, 43, 226, 0.1);
  transform: scale(1.02);
}
.pkg-featured:hover {
  transform: scale(1.02) translateY(-5px);
}
.pkg-badge {
  background: var(--c-purple);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 1rem;
}

.pkg-name {
  font-size: 1.25rem;
  color: var(--t-secondary);
  margin-bottom: 0.5rem;
}
.pkg-price {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2rem;
  line-height: 1;
}
.pkg-price span {
  font-size: 1.25rem;
  color: var(--t-muted);
  font-weight: 500;
}

.pkg-features {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem;
  flex-grow: 1;
}
.pkg-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--t-secondary);
}
.pkg-features li i {
  color: var(--t-primary);
  margin-top: 0.25rem;
  font-size: 0.875rem;
}
.pkg-action {
  margin-top: auto;
}
.pkg-action .btn {
  width: 100%;
}

/* ==========================================================================
   FAQ & CITABILITY SECTION (ACCORDION)
   ========================================================================== */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 860px;
  margin: 0 auto;
}
.faq-card {
  padding: 0 !important;
  background: rgba(10, 10, 10, 0.5) !important;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  transition: all var(--transition-fast);
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
}
.faq-card:hover {
  border-color: var(--border-hover);
  background: rgba(15, 15, 18, 0.7) !important;
}
.faq-card.active {
  border-color: rgba(0, 240, 255, 0.4);
  background: rgba(15, 15, 22, 0.8) !important;
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.08);
}
.faq-header {
  width: 100%;
  padding: 1.5rem 1.75rem;
  background: transparent;
  border: none;
  color: var(--t-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}
.faq-header:hover {
  color: var(--c-cyan);
}
.faq-card.active .faq-header {
  color: var(--c-cyan);
}
.faq-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--t-secondary);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.85rem;
}
.faq-card.active .faq-toggle-icon {
  transform: rotate(45deg);
  background: rgba(0, 240, 255, 0.15);
  color: var(--c-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-card.active .faq-content {
  max-height: 1200px;
}
.faq-content-inner {
  padding: 0 1.75rem 1.75rem;
  color: var(--t-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}
.faq-content-inner p {
  margin: 0;
  color: var(--t-secondary);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  align-items: stretch;
}

/* Base Glass Card for Contact */
.glass-card {
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  z-index: 1;
  will-change: transform, box-shadow;
  contain: layout style;
}
.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 100%
  );
  pointer-events: none;
  z-index: -1;
}
.glass-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Contact Ambient Glow */
.contact-ambient-glow {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(
    circle at 70% 50%,
    rgba(0, 240, 255, 0.1) 0%,
    rgba(138, 43, 226, 0.05) 40%,
    transparent 70%
  );
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  animation: slow-pulse 8s infinite alternate;
  overflow: hidden; /* Prevent glow from extending container bounds */
  will-change: transform, opacity;
}

/* Left: Contact Cards */
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.bento-contact-card {
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.contact-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  flex-shrink: 0;
}
.bg-gradient-cyan {
  background: linear-gradient(135deg, var(--c-cyan), var(--c-indigo));
}
.bg-gradient-purple {
  background: linear-gradient(135deg, var(--c-purple), var(--c-pink));
}

.contact-card-content h4 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  color: var(--t-secondary);
}
.contact-link {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  display: inline-block;
}
.contact-link:hover {
  color: var(--c-cyan);
}

.card-glow-effect {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-smooth);
  z-index: -2;
  background: radial-gradient(
    circle at 100% 100%,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 50%
  );
}
.bento-contact-card:hover .card-glow-effect {
  opacity: 1;
}

.contact-social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.social-bento-btn {
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  font-size: 1.75rem;
  color: var(--t-secondary);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}
.social-bento-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.05);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.social-bento-btn:hover {
  color: #fff;
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.social-bento-btn:hover::before {
  opacity: 1;
}

/* Right: Form Glass Card */
.contact-form-glass {
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.contact-form-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent);
  pointer-events: none;
}
.form-header {
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.5rem;
}
.form-header h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.form-header p {
  margin: 0;
  color: var(--t-muted);
  font-family: monospace;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Floating Label Form */
.modern-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.floating-group {
  position: relative;
  z-index: 1;
}
.floating-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.25rem 0.75rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}
.floating-input.text-area {
  resize: vertical;
  min-height: 150px;
}
.floating-label {
  position: absolute;
  left: 1.25rem;
  top: 1rem;
  color: var(--t-muted);
  font-size: 1rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  transform-origin: left top;
}
.floating-input:focus,
.floating-input:not(:placeholder-shown) {
  border-color: var(--c-cyan);
  outline: none;
  background: rgba(0, 240, 255, 0.02);
}
.floating-input:focus ~ .floating-label,
.floating-input:not(:placeholder-shown) ~ .floating-label {
  transform: translateY(-0.6rem) scale(0.75);
  color: var(--c-cyan);
  font-weight: 500;
}
.input-glow {
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-cyan), transparent);
  transition: width 0.4s ease;
  opacity: 0;
  pointer-events: none;
}
.floating-input:focus ~ .input-glow {
  width: 100%;
  opacity: 1;
}

.submit-btn {
  margin-top: 1rem;
  height: 60px;
  font-size: 1.1rem;
}
.submit-btn .btn-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.submit-btn i {
  transition: transform 0.3s ease;
}
.submit-btn:hover i {
  transform: translateX(5px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  background: #000;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  display: block;
}
.footer-desc {
  color: var(--t-secondary);
  max-width: 300px;
}
.footer-links {
  display: flex;
  gap: 4rem;
}
.footer-col h4 {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}
.footer-col a {
  display: block;
  color: var(--t-secondary);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}
.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--t-muted);
  font-size: 0.875rem;
}

/* ==========================================================================
   LOADER
   ========================================================================== */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.8s ease;
}
#loader.bg-transparent {
  background-color: transparent !important;
  pointer-events: none;
}
.loader-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.05em;
  animation: pulse 2s infinite;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
.stagger.is-visible > *:nth-child(1) {
  transition-delay: 0.1s;
}
.stagger.is-visible > *:nth-child(2) {
  transition-delay: 0.2s;
}
.stagger.is-visible > *:nth-child(3) {
  transition-delay: 0.3s;
}
.stagger.is-visible > *:nth-child(4) {
  transition-delay: 0.4s;
}
.stagger.is-visible > *:nth-child(5) {
  transition-delay: 0.5s;
}

/* ==========================================================================
   WHATSAPP BUBBLE
   ========================================================================== */
.wa-bubble {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition-smooth);
  animation: pulse-wa 2s infinite;
}

.wa-bubble:hover {
  transform: translateY(-5px) scale(1.1);
  color: white;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-wa {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 105px;
  right: 33px;
  width: 54px;
  height: 54px;
  background: rgba(15, 15, 22, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: var(--c-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.15);
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(25px) scale(0.75);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(12px);
  text-decoration: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: var(--grad-cyan);
  color: #000;
  border-color: transparent;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
  transform: translateY(-5px) scale(1.1);
}

.back-to-top:active {
  transform: scale(0.92);
}

.back-to-top i {
  transition: transform 0.3s ease;
  animation: arrow-float 2s infinite ease-in-out;
}

@keyframes arrow-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* ==========================================================================
   SWEETALERT2 CUSTOM (GLASSMORPHISM)
   ========================================================================== */
.swal2-glass-popup {
  background: rgba(10, 10, 12, 0.8) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-md) !important;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
  color: var(--t-primary) !important;
  padding: 2.5rem 2rem !important;
}
.swal2-glass-title {
  font-family: var(--font-heading) !important;
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  color: var(--t-primary) !important;
}
.swal2-glass-content {
  font-family: var(--font-body) !important;
  color: var(--t-secondary) !important;
}
.swal2-glass-confirm {
  background: linear-gradient(
    135deg,
    var(--c-cyan),
    var(--c-indigo)
  ) !important;
  border-radius: var(--radius-pill) !important;
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  padding: 0.75rem 2rem !important;
  box-shadow: var(--glow-cyan) !important;
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .metrics-grid > div {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
  }
  .metrics-grid > div:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-col-2 {
    grid-column: span 1;
  }
  .bento-col-3 {
    grid-column: span 2;
  }
  .bento-col-4 {
    grid-column: span 2;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .packages-wrapper {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .pkg-featured {
    transform: scale(1);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-form-glass {
    padding: 2rem;
  }
  .footer-grid {
    flex-direction: column;
    gap: 3rem;
  }
  .footer-links {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  #team,
  .nav-item-team {
    display: none !important;
  }
  h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
  }
  h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }
  .hero-title {
    font-size: clamp(2.8rem, 13vw, 4.5rem);
    line-height: 1.08;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    padding: 0 1rem;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .section {
    padding: 3rem 0;
  }
  .section-header {
    margin-bottom: 2rem;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .bento-card:not(.faq-card) {
    min-height: 280px;
  }
  .faq-card,
  .faq-card.bento-card {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
  }
  .faq-header {
    padding: 1.15rem 1.25rem;
    font-size: 1.05rem;
    gap: 0.75rem;
  }
  .faq-content-inner {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.95rem;
  }
  .bento-col-2,
  .bento-col-3,
  .bento-col-4 {
    grid-column: span 1;
  }
  .bento-row-2 {
    grid-row: auto;
  }
  .bento-col-4 {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2rem;
    padding: 2rem !important;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .contact-social-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wa-bubble {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 28px;
    line-height: 50px;
  }
  .back-to-top {
    bottom: 82px;
    right: 22px;
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
  }

  .site-header {
    width: 100%;
    top: 0;
    left: 0;
    transform: none;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
  }
  .nav-toggle {
    display: block;
  }
  .nav-collapse {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path var(--transition-smooth);
  }
  .nav-collapse.open {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  .nav-menu {
    flex-direction: column;
    padding: 2rem;
    gap: 2rem;
    align-items: flex-start;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-row-2 {
    grid-row: span 1;
  }
  .bento-card:not(.faq-card) {
    height: 320px;
  }
  .faq-card,
  .faq-card.bento-card {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
  }
  .faq-header {
    padding: 1rem 1.15rem;
    font-size: 1rem;
  }
  .faq-content-inner {
    padding: 0 1.15rem 1.15rem;
    font-size: 0.92rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  /* Contact Section Fixes for Mobile */
  .container {
    padding: 0 1rem;
  }
  .btn {
    padding: 0.875rem 1.25rem;
  }
  .bento-contact-card {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
    gap: 0.75rem;
  }
  .contact-link {
    font-size: 0.95rem;
    word-break: break-word;
  }
  .contact-form-glass {
    padding: 1.5rem 1rem;
  }
  .form-header h3 {
    font-size: 1.4rem;
  }
  .form-header p {
    font-size: 0.85rem;
  }
  .social-bento-btn {
    height: 55px;
    font-size: 1.15rem;
  }
  .floating-input {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .floating-label {
    left: 1rem;
  }
}
