:root {
  /* Paleta Premium - Verde Petróleo e Dourado */
  --bg: #0a0f1a;
  --card: #0f1624;
  --muted: #94a3b8;
  --text: #f1f5f9;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);

  /* Verde Petróleo - Cor Principal (Premium & Sofisticado) */
  --teal-primary: #0d9488;
  --teal-light: #14b8a6;
  --teal-dark: #0f766e;
  --teal-deep: #0a5d56;
  --teal-glow: rgba(13, 148, 136, 0.4);
  --teal-glow-strong: rgba(13, 148, 136, 0.6);

  /* Dourado Premium Sofisticado - Cor Secundária */
  --gold-primary: #d4af37;
  --gold-light: #f4d03f;
  --gold-dark: #b8941f;
  --gold-deep: #9a7a1a;
  --gold-premium: #ffd700;
  --gold-glow: rgba(212, 175, 55, 0.35);
  --gold-glow-strong: rgba(212, 175, 55, 0.55);
  --gold-shimmer: rgba(255, 215, 0, 0.3);

  /* Gradientes Premium Sofisticados */
  --gradient: linear-gradient(135deg, var(--teal-primary) 0%, var(--teal-light) 50%, var(--gold-primary) 100%);
  --gradient-hover: linear-gradient(135deg, var(--teal-light) 0%, var(--gold-light) 50%, var(--gold-premium) 100%);
  --gradient-text: linear-gradient(135deg, var(--teal-light) 0%, var(--gold-light) 50%, var(--gold-premium) 100%);
  --gradient-bg: radial-gradient(circle at 20% 20%, rgba(13, 148, 136, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(13, 148, 136, 0.1) 0%, transparent 70%);
  --gradient-logo: linear-gradient(135deg, var(--teal-primary), var(--gold-primary), var(--gold-premium));

  --success: #10b981;
  --radius: 20px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px var(--teal-glow);
  --shadow-gold: 0 0 25px var(--gold-glow);
}

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

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

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

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

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

.floating-partner {
  animation: float 4s ease-in-out infinite;
  display: flex;
  align-items: center;
  gap: 12px;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  position: relative;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg);
  background-image: var(--gradient-bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
  /* Keep on body only, safer */
}

/* Animações Premium */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

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

@keyframes float {

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

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

@keyframes glow {

  0%,
  100% {
    box-shadow: 0 0 20px var(--teal-glow);
  }

  50% {
    box-shadow: 0 0 40px var(--teal-glow), 0 0 60px var(--gold-glow);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }

  100% {
    background-position: 1000px 0;
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

/* Feature: Detailed Service Sections */
.service-details {
  width: 100%;
  position: relative;
  overflow: hidden;
  /* Prevent spillover */
}

/* Base style for details, hidden by default */
.detail-block {
  display: none;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding-bottom: 60px;
  max-width: 100vw;
  /* Ensure no horizontal overflow */
  overflow-x: hidden;
  box-sizing: border-box;
}

.fade-in {
  animation: fadeIn 1s ease-out forwards;
  opacity: 0;
}

.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* Header Premium */
header.header {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 15, 26, 0.7);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

header.header.scrolled {
  background: rgba(10, 15, 26, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav {
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  transition: transform 0.3s ease;
  height: 100%;
}

.nav__logo:hover {
  transform: none;
}

.nav__logo img {
  width: 50px;
  height: 50px;
  max-width: 50px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: transparent;
  padding: 0;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 10px var(--gold-glow));
  opacity: 1;
  visibility: visible;
  flex-shrink: 0;
  align-self: center;
  margin: 0;
}

.nav__logo:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 20px var(--gold-glow));
}

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

.nav__link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

.nav__link:hover {
  color: #fff;
}

.nav__link:hover::after {
  width: 100%;
}

.button--cta {
  background: var(--gradient);
  padding: 14px 28px;
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-glow);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.button--cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.button--cta:hover::before {
  left: 100%;
}

.button--cta:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 40px var(--teal-glow), 0 0 60px var(--gold-glow);
}

/* Mobile Menu */
.nav__toggle,
.nav__close {
  display: none;
}

.nav__toggle {
  font-size: 28px;
  cursor: pointer;
  color: var(--text);
  transition: transform 0.3s ease;
}

.nav__toggle:hover {
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    background: rgba(10, 15, 26, 0.98);
    width: 85%;
    height: 100vh;
    padding: 6rem 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.6);
    z-index: 100;
    backdrop-filter: blur(20px);
  }

  .nav__menu.show-menu {
    right: 0;
  }

  .nav__toggle {
    display: block;
    z-index: 101;
  }

  .nav__close {
    display: block;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--muted);
    transition: color 0.3s ease;
  }

  .nav__close:hover {
    color: var(--teal-light);
  }
}

/* Hero Section Premium */
.home {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.home::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--teal-glow), transparent);
  filter: blur(80px);
  opacity: 0.4;
  animation: pulse 4s ease-in-out infinite;
}

.home__container {
  display: grid;
  grid-template-columns: 1fr 540px;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.home__title {
  font-size: 3.8rem;
  margin: 0 0 28px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.gradient-text {
  background: var(--gradient-logo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  position: relative;
  animation: shimmer 3s linear infinite;
  background-size: 200% auto;
  filter: drop-shadow(0 0 10px var(--teal-glow)) drop-shadow(0 0 8px var(--gold-glow));
}

.home__description {
  color: var(--muted);
  font-size: 1.2rem;
  max-width: 58ch;
  margin-bottom: 40px;
  line-height: 1.8;
}

.home__buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.button--primary {
  background: var(--gradient);
  color: #fff;
  border: 0;
  box-shadow: var(--shadow-glow);
}

.button--primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.button--primary:hover::before {
  width: 300px;
  height: 300px;
}

.button--primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 0 50px var(--teal-glow), 0 0 70px var(--gold-glow);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--teal-primary);
  /* Changed from glass-border to teal for visibility */
  color: var(--teal-light);
  /* Colored text */
  backdrop-filter: blur(10px);
}

.button--secondary:hover {
  background: var(--teal-primary);
  color: #fff;
  border-color: var(--teal-primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.2);
}

/* Small Button Variant */
.button--sm {
  padding: 10px 24px;
  font-size: 0.9rem;
  width: 100%;
  /* Full width in cards */
}

.home__stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--glass-border);
}

.stat {
  transition: transform 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
}

.stat h3 {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--gradient-logo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 8px var(--teal-glow)) drop-shadow(0 0 5px var(--gold-glow));
}

.stat p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Hero Image Premium */
.hero__image-wrapper {
  position: relative;
  border-radius: 28px;
  overflow: visible;
  z-index: 1;
}

.hero__image-wrapper::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: var(--gradient-logo);
  filter: blur(80px);
  opacity: 0.5;
  z-index: -1;
  border-radius: 50%;
  animation: glow 3s ease-in-out infinite;
}

.hero__img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  border-radius: 28px;
  box-shadow: var(--shadow-lg), 0 0 50px var(--teal-glow), 0 0 30px var(--gold-glow);
  border: 2px solid rgba(212, 175, 55, 0.2);
  transition: transform 0.5s ease;
}

.hero__img:hover {
  transform: scale(1.02);
}

.floating-card {
  position: absolute;
  padding: 16px 24px;
  border-radius: 18px;
  background: rgba(15, 22, 36, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-md), 0 0 20px var(--teal-glow), 0 0 15px var(--gold-glow);
  animation: float 6s ease-in-out infinite;
  z-index: 2;
  transition: all 0.4s ease;
}

.floating-card:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 40px var(--teal-glow-strong), 0 0 30px var(--gold-glow-strong);
  border-color: var(--gold-primary);
}

.floating-card i {
  font-size: 1.4rem;
  background: var(--gradient-logo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 10px;
  border-radius: 10px;
  background-color: rgba(13, 148, 136, 0.2);
  box-shadow: 0 2px 10px var(--teal-glow), inset 0 0 15px rgba(212, 175, 55, 0.1);
  filter: drop-shadow(0 0 6px var(--gold-glow));
}

.card-1 {
  top: 50px;
  left: -40px;
  animation-delay: 0s;
}

.card-2 {
  bottom: 50px;
  right: -30px;
  animation-delay: 2s;
}

.card-3 {
  top: 50%;
  right: -50px;
  animation-delay: 4s;
}

/* Sections */
section {
  padding: 120px 0;
  position: relative;
}

/* About Section Grid */
.about__grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 1024px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


/* Mobile Small */
@media (max-width: 480px) {
  section {
    padding: 60px 0;
  }

  .home {
    padding: 100px 0 60px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }
}

.section__subtitle {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  filter: drop-shadow(0 0 8px var(--teal-glow));
}

.section__title {
  font-size: 2.8rem;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.section__description {
  color: var(--muted);
  max-width: 65ch;
  font-size: 1.15rem;
  margin-bottom: 56px;
  line-height: 1.8;
}

/* Services Grid Premium */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  /* Reduced further for small mobile */
  gap: 20px;
  margin-top: 32px;
}

.service__card {
  background: rgba(15, 22, 36, 0.5);
  padding: 30px;
  /* Reduced from 40px for better mobile fit */
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.service__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(13, 148, 136, 0.15), transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.service__card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.service__card:hover::after {
  opacity: 1;
  animation: shimmer 2s linear infinite;
}

.service__card:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(15, 22, 36, 0.7);
  border-color: var(--teal-primary);
  box-shadow: var(--shadow-lg), 0 0 40px var(--teal-glow);
}

.service__card:hover::before {
  opacity: 1;
}

/* Rich Service Details - Interactive Reveal */
.service-details {
  padding-bottom: 0px;
}

.detail-block {
  display: none;
  /* Hidden by default */
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  scroll-margin-top: 80px;
  animation: fadeIn 0.6s ease-out;
  background: rgba(255, 255, 255, 0.01);
}

.detail-block.active {
  display: block;
  /* Reveal */
}

/* Force visibility of inner animated elements when active */
.detail-block.active .reveal-up {
  opacity: 1 !important;
  transform: translateY(0) !important;
  animation: none !important;
}

.detail-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.detail-subtitle {
  color: var(--teal-light);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 12px;
  display: block;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Tablet */
@media (max-width: 1024px) {
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.detail-info h3,
.detail-plans h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: #fff;
  border-left: 4px solid var(--teal-primary);
  padding-left: 16px;
}

.detail-info p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.detail-list {
  list-style: none;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.detail-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
}

.detail-list li i {
  color: var(--teal-light);
  font-size: 1.2rem;
}

/* Process Steps Timeline */
.process-steps {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.step {
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step span {
  width: 24px;
  height: 24px;
  background: var(--teal-primary);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}

/* Embedded Plan Cards */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  /* Responsive grid instead of fixed 1fr 1fr */
  gap: 20px;
}

.plan-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-5px);
  border-color: var(--teal-light);
}

.plan-card--featured {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(13, 148, 136, 0.02));
  border: 1px solid rgba(13, 148, 136, 0.3);
  position: relative;
}

.plan-card h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #fff;
}

.plan-card p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.plan-card ul {
  list-style: none;
  margin-bottom: 24px;
  flex-grow: 1;
  /* Push button down */
}

.plan-card ul li {
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: #ccc;
  display: flex;
  align-items: flex-start;
  /* Align icon to top of text */
  gap: 10px;
  /* Space between icon and text */
}

.plan-card ul li i {
  color: var(--teal-light);
  font-size: 1.1rem;
  /* Icon size */
  flex-shrink: 0;
  margin-top: 3px;
  /* Optical adjustment for top alignment */
}

.detail-differential {
  margin-top: 24px;
  font-size: 0.9rem;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-primary);
  padding: 12px;
  border-radius: 8px;
  text-align: center;
}

@media (max-width: 1024px) {
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .detail-list {
    grid-template-columns: 1fr;
  }

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

/* Portfolio Premium */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.portfolio__card {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  position: relative;
  transition: all 0.5s ease;
}

.portfolio__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 0 40px var(--teal-glow);
  border-color: var(--teal-primary);
}

.portfolio__image {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.portfolio__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio__card:hover .portfolio__image img {
  transform: scale(1.1);
}

.portfolio__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 15, 26, 0.95), transparent);
  display: flex;
  align-items: flex-end;
  padding: 40px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.portfolio__overlay h3 {
  margin: 0 0 6px;
  font-size: 1.4rem;
  font-weight: 800;
}

.portfolio__overlay p {
  margin: 0;
  background: var(--gradient-logo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  font-size: 1.1rem;
  filter: drop-shadow(0 0 8px var(--gold-glow));
}

/* Pricing Premium */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.pricing__card {
  padding: 40px;
  border-radius: 28px;
  background: rgba(15, 22, 36, 0.5);
  border: 1px solid var(--glass-border);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.pricing__card:hover {
  transform: translateY(-10px);
  background: rgba(15, 22, 36, 0.7);
  border-color: var(--teal-primary);
  box-shadow: var(--shadow-lg), 0 0 40px var(--teal-glow);
}

.pricing__card--featured {
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.2), rgba(212, 175, 55, 0.1), rgba(15, 22, 36, 0.6));
  border: 2px solid var(--gold-primary);
  box-shadow: var(--shadow-glow), var(--shadow-lg), 0 0 40px var(--teal-glow), 0 0 30px var(--gold-glow);
  transform: scale(1.05);
  z-index: 1;
}

.pricing__card--featured:hover {
  transform: scale(1.05) translateY(-10px);
  box-shadow: 0 0 60px var(--teal-glow-strong), 0 0 80px var(--gold-glow-strong), var(--shadow-lg);
  border-color: var(--gold-premium);
}

.pricing__title {
  font-size: 1.6rem;
  margin: 0 0 12px;
  font-weight: 800;
}

.pricing__price {
  font-weight: 900;
  font-size: 2.8rem;
  margin: 20px 0;
  background: var(--gradient-logo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 10px var(--gold-glow));
}

.pricing__price span {
  font-weight: 600;
  font-size: 1rem;
  color: var(--muted);
}

.pricing__features {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  flex-grow: 1;
}

.pricing__features li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 1rem;
}

.pricing__features li::before {
  content: '✓';
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  font-size: 1.2rem;
  filter: drop-shadow(0 0 5px var(--teal-glow));
}

/* Contact Premium */
.contact__container {
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 56px;
  align-items: start;
}

.contact__form {
  background: rgba(15, 22, 36, 0.7);
  padding: 40px;
  border-radius: 28px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

.form__group {
  margin-bottom: 24px;
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: #fff;
  outline: none;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--teal-primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15), 0 0 20px var(--teal-glow);
}

.form__button {
  width: 100%;
  padding: 18px;
  border-radius: 14px;
  background: var(--gradient);
  font-weight: 800;
  border: 0;
  color: #fff;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-glow);
}

.form__button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px var(--teal-glow), 0 0 60px var(--gold-glow);
}

/* Footer Premium */
.footer {
  padding: 100px 0 120px;
  /* Increased bottom padding to clear marquee */
  background: transparent;
  border-top: 1px solid var(--glass-border);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.footer__logo:hover {
  transform: scale(1.05);
}

.footer__logo img {
  width: 50px;
  height: 50px;
  max-width: 50px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: transparent;
  padding: 0;
  box-shadow:
    0 4px 25px var(--gold-glow),
    0 0 35px var(--teal-glow),
    inset 0 0 20px rgba(212, 175, 55, 0.1);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: drop-shadow(0 0 10px var(--gold-glow)) drop-shadow(0 0 5px var(--teal-glow));
  border: 1px solid rgba(212, 175, 55, 0.3);
  opacity: 1;
  visibility: visible;
  aspect-ratio: auto;
  flex-shrink: 0;
  align-self: center;
  margin: 0;
}

.footer__logo:hover img {
  transform: scale(1.12);
  box-shadow:
    0 8px 40px var(--gold-glow-strong),
    0 0 50px var(--teal-glow-strong),
    inset 0 0 30px var(--gold-shimmer);
  filter: drop-shadow(0 0 20px var(--gold-glow-strong)) drop-shadow(0 0 10px var(--teal-glow-strong));
  border-color: rgba(212, 175, 55, 0.4);
}

.footer__copy {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Responsive */
/* Tablet */
@media (max-width: 1024px) {
  .home__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }

  .home__buttons {
    justify-content: center;
  }

  .home__stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
  }

  .hero__img {
    height: 360px;
  }

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

  .home__title {
    font-size: 2.8rem;
  }

  .section__title {
    font-size: 2.2rem;
  }
}

/* Mobile */
@media (max-width: 768px) {

  .services__grid,
  .portfolio__grid,
  .pricing__grid {
    grid-template-columns: 1fr;
  }

  .home__title {
    font-size: 2.4rem;
  }

  .section__title {
    font-size: 2rem;
  }

  .home__buttons {
    flex-direction: column;
    gap: 16px;
  }

  .button {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  /* Touch targets */
  .nav__link {
    padding: 16px 0;
    font-size: 1.1rem;
  }

  .scrollup {
    width: 56px;
    height: 56px;
    bottom: 20px;
    right: 20px;
  }

  /* Floating cards mobile */
  .floating-card {
    position: static;
    margin: 16px auto;
    max-width: 280px;
  }

  .hero__image-wrapper {
    overflow: hidden;
  }
}

/* WhatsApp Button Premium */
.scrollup {
  position: fixed;
  right: 28px;
  bottom: 28px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  cursor: pointer;
  z-index: 99;
  animation: float 3s ease-in-out infinite;
}

.scrollup:hover {
  transform: translateY(-6px) scale(1.1);
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.7);
}

.scrollup i {
  font-size: 32px;
  color: #fff !important;
}

/* Loading States */
@keyframes skeleton {
  0% {
    background-position: -200px 0;
  }

  100% {
    background-position: calc(200px + 100%) 0;
  }
}

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

/* Partners Marquee - News Ticker Style */
.partners-marquee {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 15, 26, 0.95);
  border-top: 1px solid var(--gold-glow);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  z-index: 1001;
  backdrop-filter: blur(10px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.marquee-content {
  display: inline-flex;
  gap: 60px;
  animation: marquee 20s linear infinite;
  padding-left: 100%;
  /* Start from off-screen */
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.9;
}

.marquee-item i {
  color: var(--gold-primary);
  font-size: 1.2rem;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}


/* Premium Subtle Breathing Animation */
@keyframes breathe {

  0%,
  100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 5px 15px rgba(13, 148, 136, 0.2));
  }

  50% {
    transform: translateY(-8px) scale(1.02);
    filter: drop-shadow(0 15px 25px rgba(212, 175, 55, 0.3));
  }
}

/* Floating Robot Mascot - Fixed & Elegant */
.mascot {
  position: fixed;
  bottom: 90px;
  left: 20px;
  right: auto;
  width: 130px;
  height: auto;
  z-index: 1000;
  pointer-events: none;
  animation: breathe 5s ease-in-out infinite;
  /* Gentle continuous movement */
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, filter;
  opacity: 0.95;
}

.mascot:hover {
  transform: translateY(-5px) scale(1.05);
  filter: drop-shadow(0 0 30px var(--teal-glow-strong));
  opacity: 1;
}



/* Adjust scroll up button to not overlap */
.scrollup {
  bottom: 90px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gradient-hover);
}




@keyframes float-robot {

  0%,
  100% {
    transform: translate(-50%, 0);
  }

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

/* Mobile Adjustments */
@media (max-width: 1024px) {
  .robot-companion {
    position: relative;
    top: auto;
    left: auto;
    width: 200px;
    height: 200px;
    margin: 0 auto -40px;
    transform: none;
    animation: float-mobile 6s ease-in-out infinite;
  }

  .home__container {
    padding-top: 0;
  }

  @keyframes float-mobile {

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

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

/* Mobile Small - Extra optimizations */
@media (max-width: 480px) {
  .home__title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .section__title {
    font-size: 1.75rem;
  }

  .stat h3 {
    font-size: 2rem;
  }

  .footer {
    padding: 80px 0 100px;
  }
}