/* ==========================================================================
   ARIA TECH - PREMIUM DESIGN SYSTEM & GRAPHICS
   ========================================================================== */

/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Dark Theme Colors */
  --bg-dark: #030712;
  --bg-dark-surface: #0b0f19;
  --bg-surface: rgba(17, 24, 39, 0.7);
  --border-glass: rgba(255, 255, 255, 0.06);
  --border-glass-hover: rgba(255, 255, 255, 0.15);

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;

  --color-primary: #2563eb;
  /* Royal Blue */
  --color-secondary: #06b6d4;
  /* Cyan */
  --color-accent: #8b5cf6;
  /* Violet */

  --grad-primary: linear-gradient(135deg, var(--color-primary) 0%, #3b82f6 50%, var(--color-secondary) 100%);
  --grad-text: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  --grad-glow: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(6, 182, 212, 0.05) 50%, transparent 100%);

  --glow-primary: 0 0 25px rgba(37, 99, 235, 0.35);
  --glow-cyan: 0 0 25px rgba(6, 182, 212, 0.35);

  /* Light Theme Colors (for white sections) */
  --bg-light: #ffffff;
  --bg-light-alt: #f8fafc;
  --text-light-main: #0f172a;
  --text-light-muted: #475569;
  --border-light: rgba(15, 23, 42, 0.08);

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets & layout */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
  line-height: 1.625;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 84px;
  z-index: 1000;
  transition: var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  height: 74px;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--text-main);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-brand-text span:first-child {
  font-weight: 800;
  font-size: 1.4rem;
}

.nav-brand-text span:last-child {
  font-size: 0.65rem;
  color: var(--color-secondary);
  letter-spacing: 0.35em;
  margin-top: 2px;
}

.nav-brand img {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.6));
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 1100;
}

/* Dropdown Menu styling */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-dark-surface);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 16px;
  width: 240px;
  display: none;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 1010;
}

.nav-item-dropdown:hover .nav-dropdown-menu {
  display: flex;
}

.dropdown-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 6px;
  transition: var(--transition-fast);
}

.dropdown-link:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--glow-primary);
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(37, 99, 235, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-glass);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-glass-hover);
  transform: translateY(-2px);
}

/* Layout Sections */
.section {
  padding: 100px 0;
  position: relative;
}

/* Light background section (contrast) */
.section-light {
  background-color: var(--bg-light);
  color: var(--text-light-main);
  padding: 100px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

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

.section-light .section-header h2 {
  color: var(--text-light-main);
}

.section-light .card-feature-light {
  background: var(--bg-light-alt);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 28px;
  transition: var(--transition-normal);
}

.section-light .card-feature-light:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.05);
  border-color: rgba(37, 99, 235, 0.15);
}

.section-light .card-feature-light h3 {
  color: var(--text-light-main);
  margin-bottom: 8px;
}

/* Split Column Hero Section */
.hero-split {
  padding: 150px 0 100px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-tagline {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-secondary);
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.1rem;
  max-width: 600px;
}

.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
}

.bullet-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-secondary);
}

/* Feature grid items with icons underneath */
.feature-horizontal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.feature-horizontal-item {
  display: flex;
  gap: 16px;
}

.feature-horizontal-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.feature-horizontal-icon svg {
  width: 22px;
  height: 22px;
}

.feature-horizontal-text h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.feature-horizontal-text p {
  font-size: 0.8rem;
}

/* Visual Mockups */
.hero-mockup-area {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-glow-layer {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
  z-index: -1;
}

/* Laptop Mockup Graphic */
.laptop-mockup {
  width: 100%;
  max-width: 440px;
  height: auto;
  border: 12px solid #1e293b;
  border-radius: 12px;
  background: #0b0f19;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  position: relative;
}

.laptop-base {
  width: 116%;
  height: 10px;
  background: #334155;
  border-radius: 0 0 12px 12px;
  position: absolute;
  bottom: -10px;
  left: -8%;
}

/* Smartphone Mockup Graphic */
.phone-mockup {
  width: 240px;
  height: 460px;
  border: 8px solid #1e293b;
  border-radius: 36px;
  background: #020617;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 20px;
  background: #1e293b;
  border-radius: 0 0 12px 12px;
  z-index: 10;
}

.phone-profile-pic {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  margin: 20px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-glass-hover);
}

.phone-profile-pic svg {
  width: 32px;
  height: 32px;
}

.phone-btn {
  width: 100%;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.phone-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-glass-hover);
}

/* Floating Elements Layout */
.floating-container {
  display: flex;
  gap: 20px;
  position: relative;
}

.floating-card-nfc {
  transform: rotate(-10deg) translateY(60px);
  z-index: 2;
}

.floating-phone {
  transform: rotate(5deg);
  z-index: 1;
}

/* Glassmorphism Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-header .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

/* Services Header menu side details */
.services-hero-menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.services-hero-menu-item {
  display: flex;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 18px;
  border-radius: 12px;
  transition: var(--transition-normal);
}

.services-hero-menu-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-glass-hover);
}

.services-hero-menu-icon {
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.services-hero-menu-icon svg {
  width: 22px;
  height: 22px;
}

.services-hero-menu-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.services-hero-menu-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Feature Checklists */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.checklist-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-secondary);
  flex-shrink: 0;
}

/* Three columns spotlight cards */
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.spotlight-card {
  background: var(--bg-dark-surface);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 24px;
  transition: var(--transition-normal);
}

.spotlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass-hover);
}

.spotlight-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.spotlight-icon svg {
  width: 20px;
  height: 20px;
}

.spotlight-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.spotlight-card p {
  font-size: 0.85rem;
}

/* Service Detail Cards with image graphics */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-detail-card {
  background: var(--bg-dark-surface);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  transition: var(--transition-normal);
}

.service-detail-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-hover);
}

.service-detail-card-top h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.service-detail-card-top p {
  font-size: 0.88rem;
  margin-bottom: 20px;
  text-align: justify; /* Justify text */
}

.service-detail-graphic {
  width: 100%;
  height: 120px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(6, 182, 212, 0.02) 100%);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 20px;
}

.service-detail-graphic svg {
  width: 50px;
  height: 50px;
  color: var(--color-secondary);
}

/* Sub-page footer banner strip */
.sub-footer-banner {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
}

.sub-footer-banner p {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
}

.sub-footer-banner p span {
  color: var(--color-secondary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #02040a;
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 40px;
  margin-top: auto;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: block;
  margin-bottom: 20px;
}

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

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-secondary);
  padding-left: 4px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 6px;
  padding: 10px 14px;
  color: var(--text-main);
  font-size: 0.9rem;
  font-family: var(--font-body);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--color-secondary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-glass);
  padding-top: 40px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.social-link:hover {
  color: var(--color-secondary);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-bullets,
  .hero-ctas {
    justify-content: center;
  }

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

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

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

  .services-hero-menu {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 74px;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 74px;
    left: 100%;
    width: 100%;
    height: calc(100vh - 74px);
    background: rgba(3, 7, 18, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transition: left var(--transition-normal);
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .feature-horizontal-grid {
    grid-template-columns: 1fr;
  }

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

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

  .sub-footer-banner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* ==========================================================================
   ARIA TAP SPECIFIC LANDING STYLES
   ========================================================================== */

/* How it works */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  margin-top: 40px;
  position: relative;
}

.how-it-works-step {
  position: relative;
}

.how-it-works-step::after {
  content: '→';
  position: absolute;
  top: 15px;
  right: -20px;
  font-size: 1.5rem;
  color: var(--border-glass-hover);
}

.how-it-works-step:last-child::after {
  content: none;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-secondary);
}

/* Profiles Gallery Grid */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.profile-card {
  background: var(--bg-dark-surface);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition-normal);
}

.profile-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary);
  box-shadow: var(--glow-primary);
}

.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-glass-hover);
}

.profile-portfolio-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.portfolio-mini-item {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  border: 1px solid var(--border-glass);
}

/* Target Audience list */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.audience-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 24px 16px;
  border-radius: 12px;
  text-align: center;
  transition: var(--transition-normal);
}

.audience-card:hover {
  border-color: var(--color-secondary);
}

.audience-icon {
  font-size: 2.2rem;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

/* Pricing cards - 2 columns */
.pricing-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 800px;
  margin: 40px auto 0;
}

.pricing-card {
  background: var(--bg-dark-surface);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition-normal);
  text-align: left;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass-hover);
}

.pricing-card.popular {
  border-color: var(--color-primary);
  box-shadow: var(--glow-primary);
}

.pricing-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--color-primary);
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
}

/* Responsive updates for new elements */
@media (max-width: 1024px) {
  .how-it-works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-it-works-step::after {
    content: none;
  }

  .profiles-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .audience-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

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

  .pricing-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ABOUT US & CONTACT STYLES
   ========================================================================== */

/* Team Members section in Sobre Nós */
.team-member {
  text-align: center;
  margin-top: 30px;
}

.member-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-glass);
  transition: var(--transition-normal);
}

.team-member:hover .member-image {
  transform: translateY(-4px) scale(1.05);
  border-color: var(--color-secondary);
  box-shadow: var(--glow-cyan);
}

.member-image svg {
  width: 32px;
  height: 32px;
  color: var(--color-secondary);
  opacity: 0.85;
}

.team-member h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.team-member .role {
  font-size: 0.825rem;
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-member p {
  font-size: 0.85rem;
}

/* Timeline milestone track */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-glass);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  width: 50%;
  padding: 0 30px;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-secondary);
  border: 3px solid var(--bg-dark);
  z-index: 10;
  box-shadow: var(--glow-cyan);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -7px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -7px;
}

.timeline-date {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-secondary);
  margin-bottom: 6px;
}

.timeline-content {
  background: var(--bg-dark-surface);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 20px;
  transition: var(--transition-normal);
}

.timeline-content:hover {
  border-color: var(--border-glass-hover);
}

/* contato.html form and map details */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
}

.form-control {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-normal);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

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

.form-status {
  padding: 16px;
  border-radius: 8px;
  display: none;
  font-size: 0.95rem;
  animation: fadeIn 0.4s ease-out forwards;
}

.form-status.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.form-status.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.hq-map-visual {
  width: 100%;
  height: 320px;
  background: radial-gradient(circle, rgba(13, 22, 46, 0.8) 0%, rgba(8, 12, 20, 1) 100%);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-grid-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  opacity: 0.6;
}

.map-pin {
  position: relative;
  z-index: 2;
  text-align: center;
  animation: float 3s ease-in-out infinite;
}

.map-pin-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 2px solid var(--color-secondary);
  border-radius: 50%;
  animation: ripple 2s linear infinite;
  pointer-events: none;
}

.map-details {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(12px);
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid var(--border-glass);
  font-family: var(--font-heading);
}

.map-details p {
  font-size: 0.8rem;
  color: var(--text-main);
  margin-top: 4px;
}

@keyframes float {

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

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

@keyframes ripple {
  0% {
    width: 20px;
    height: 20px;
    opacity: 1;
  }

  100% {
    width: 80px;
    height: 80px;
    opacity: 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 40px;
    padding-right: 0;
    text-align: left !important;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-dot {
    left: 13px !important;
    right: auto !important;
  }
}

/* ==========================================================================
   MULTI-LANGUAGE & INTERACTIVE LAYOUT IMPROVEMENTS
   ========================================================================== */

/* Language Dropdown Selector */
.lang-selector {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-normal);
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-secondary);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

.lang-btn .globe-icon {
  font-size: 0.95rem;
}

.lang-btn .chevron {
  font-size: 0.6rem;
  opacity: 0.6;
  margin-top: 1px;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: rgba(8, 12, 20, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 8px 0;
  list-style: none;
  width: 140px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1000;
}

.lang-dropdown.active {
  display: block;
  animation: fadeIn 0.2s ease;
}

.lang-dropdown li a {
  display: block;
  padding: 8px 16px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition-normal);
}

.lang-dropdown li a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-secondary);
}

/* Home Product Showcase Images */
.product-showcase-image-wrapper {
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: var(--transition-normal);
}

.card-glass:hover .product-showcase-image-wrapper {
  border-color: var(--color-secondary);
  transform: translateY(-2px);
}

/* Contact Page Form & Map side-by-side */
.contact-grid-container {
  display: grid;
  grid-template-columns: 1.25fr 1.75fr;
  gap: 30px;
  align-items: stretch;
}

.contact-form-card {
  padding: 30px;
}

.contact-map-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-map-wrapper .hq-map-visual {
  flex-grow: 1;
  height: 100%;
  min-height: 400px;
}

@media (max-width: 992px) {
  .contact-grid-container {
    grid-template-columns: 1fr;
  }

  .contact-map-wrapper .hq-map-visual {
    min-height: 320px;
  }
}

/* Custom Highlights Layout for Home Page */
.solutions-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
}

.solutions-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.solution-highlight-card {
  background: var(--bg-dark-surface);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-height: 180px;
  transition: var(--transition-normal);
}

.solution-highlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass-hover);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.solution-highlight-icon {
  font-size: 2.2rem;
  color: var(--color-primary);
  flex-shrink: 0;
  line-height: 1;
}

.solution-highlight-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.solution-highlight-text p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
  text-align: justify; /* Justify text */
}

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

@media (max-width: 768px) {
  .solutions-cards-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Choose Us Icon and Card Centering */
.section-light .card-feature-light {
  text-align: center !important;
}

.section-light .showcase-icon {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 auto 16px !important;
  width: 56px !important;
  height: 56px !important;
  background: rgba(37, 99, 235, 0.08) !important;
  border-radius: 50% !important;
  font-size: 1.8rem !important;
}

/* ===== CARDS SOLUÇÕES ===== */

.solution-card {
  background: rgba(10, 15, 35, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 35px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.solution-card:hover {
  transform: translateY(-8px);
  border: 1px solid #2D7CFF;
  box-shadow:
    0 0 12px rgba(45, 124, 255, 0.6),
    0 0 30px rgba(45, 124, 255, 0.35),
    0 0 60px rgba(45, 124, 255, 0.15);
}

/* ===== SOBRE NÓS CARDS ===== */

.about-cards-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 80px;
  margin-bottom: 80px;
}

.about-card {
  background: rgba(10, 15, 35, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.about-card:hover {
  transform: translateY(-8px);
  border: 1px solid #2D7CFF;
  box-shadow:
    0 0 12px rgba(45, 124, 255, 0.6),
    0 0 30px rgba(45, 124, 255, 0.35),
    0 0 60px rgba(45, 124, 255, 0.15);
}

.about-icon {
  font-size: 42px;
  margin-bottom: 20px;
}

.about-card h3 {
  color: #2D7CFF;
  font-size: 32px;
  margin-bottom: 20px;
}

.solution-card p {
  text-align: justify; /* Justify text */
}

.about-card p {
  color: #B8C1D9;
  line-height: 1.8;
  text-align: justify; /* Justify text */
}

.about-card ul {
  padding-left: 20px;
}

.about-card ul li {
  color: #B8C1D9;
  margin-bottom: 14px;
}

/* RESPONSIVO */

@media(max-width: 980px) {

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

}

/* ===== RECURSOS TAP SECTION ===== */
.recursos-tap-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-glass);
}

.recursos-tap-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 40px;
}

.recursos-tap-title span {
  color: var(--color-secondary);
}

.recursos-tap-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.recursos-tap-card {
  background: rgba(10, 15, 35, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 30px 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center; /* Center horizontally */
}

.recursos-tap-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-secondary);
  background: rgba(10, 15, 35, 0.75);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.15);
}

.recursos-tap-card .icon-wrapper {
  color: var(--color-secondary);
  width: 44px;
  height: 44px;
  margin: 0 auto 24px; /* Centered icon wrapper */
}

.recursos-tap-card .icon-wrapper svg {
  width: 100%;
  height: 100%;
}

.recursos-tap-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.3;
  text-align: center; /* Center card title */
  width: 100%;
}

.recursos-tap-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: justify; /* Justify card paragraph */
}

/* ===== ARIA DOCS SIMULATOR (PREMIUM) ===== */
.analyzer-card {
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.drop-zone {
  border: 2px dashed rgba(6, 182, 212, 0.25);
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
}

.drop-zone:hover,
.drop-zone.dragover {
  border-color: var(--color-secondary);
  background: rgba(6, 182, 212, 0.05);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
  transform: translateY(-2px);
}

.drop-zone-icon {
  font-size: 3rem;
  color: var(--color-secondary);
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.drop-zone:hover .drop-zone-icon {
  transform: scale(1.1) translateY(-3px);
}

.file-input {
  display: none;
}

.btn-preset {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-preset:hover {
  background: rgba(6, 182, 212, 0.1);
  border-color: var(--color-secondary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

.analysis-status {
  display: none;
  margin-top: 30px;
}

.progress-bar-container,
.analysis-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 10px;
  border: 1px solid var(--border-glass);
}

.progress-bar,
.analysis-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 4px;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.analysis-results,
.analysis-results-card {
  display: none;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-glass);
  animation: fadeIn 0.4s ease-out forwards;
}

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.data-field,
.result-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-bottom: 12px;
}

.data-label,
.result-field > span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.data-value,
.result-field > strong {
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 600;
}

.tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ai-tag {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--color-secondary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.ai-tag:hover {
  background: rgba(6, 182, 212, 0.2);
  transform: translateY(-1px);
}

@media (max-width: 1200px) {
  .recursos-tap-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .recursos-tap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .recursos-tap-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== GRID UTILITIES ===== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

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

@media (max-width: 980px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ===== FAQ ACCORDION (PREMIUM) ===== */
.faq-container,
.faq-accordion {
  max-width: 800px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(10, 15, 35, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(10, 15, 35, 0.65);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.faq-item.active {
  border-color: var(--color-secondary);
  background: rgba(10, 15, 35, 0.85);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: var(--transition-fast);
}

.faq-question:focus {
  outline: none;
}

.faq-question span {
  transition: var(--transition-normal);
}

.faq-arrow,
.faq-icon {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-arrow,
.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--color-secondary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  padding: 0 24px 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ===== IA ASSISTANT WIDGET (PREMIUM) ===== */
.ai-assistant-wrapper {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  font-family: var(--font-body);
}

.ai-assistant-bubble {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border: none;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.ai-assistant-bubble:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 40px rgba(6, 182, 212, 0.6);
}

.ai-assistant-bubble svg {
  width: 28px;
  height: 28px;
}

.ai-assistant-bubble .active-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid var(--bg-dark);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.ai-assistant-tooltip {
  position: absolute;
  bottom: 75px;
  right: 0;
  background: rgba(11, 15, 25, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass-hover);
  border-radius: 12px;
  padding: 12px 16px;
  width: 260px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  animation: float-bubble 4s ease-in-out infinite;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ai-assistant-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 24px;
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: rgba(11, 15, 25, 0.9) transparent;
  display: block;
  width: 0;
}

.tooltip-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.4;
}

.tooltip-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  padding-left: 8px;
  transition: color 0.2s;
}

.tooltip-close:hover {
  color: #fff;
}

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

.ai-assistant-chatbox {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 360px;
  height: 500px;
  background: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass-hover);
  border-radius: 20px;
  display: none;
  flex-direction: column;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transition: all 0.3s ease;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
}

.ai-assistant-chatbox.active {
  display: flex;
  transform: translateY(0) scale(1);
  opacity: 1;
}

.chatbox-header {
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbox-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.15);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.chatbox-avatar svg {
  width: 20px;
  height: 20px;
}

.chatbox-info {
  flex-grow: 1;
}

.chatbox-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.chatbox-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 2px 0 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.online-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
}

.chatbox-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
}

.chatbox-close:hover {
  color: #fff;
}

.chatbox-messages {
  flex-grow: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-message {
  max-width: 80%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chat-message.bot {
  align-self: flex-start;
}

.chat-message.user {
  align-self: flex-end;
}

.chat-message p {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.4;
  margin: 0;
}

.chat-message.bot p {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border-glass);
}

.chat-message.user p {
  background: var(--color-primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.message-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.chat-message.user .message-time {
  align-self: flex-end;
  margin-right: 4px;
}

.chatbox-quick-options {
  padding: 8px 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-glass);
  background: rgba(0, 0, 0, 0.1);
}

.quick-option-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 6px 12px;
  font-size: 0.78rem;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s;
}

.quick-option-btn:hover {
  background: rgba(6, 182, 212, 0.1);
  border-color: var(--color-secondary);
  color: #fff;
}

.chatbox-input-area {
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border-glass);
}

.chatbox-input-area input {
  flex-grow: 1;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 8px 16px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.88rem;
}

.chatbox-input-area input:focus {
  outline: none;
  border-color: var(--color-secondary);
}

.chatbox-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.chatbox-send-btn:hover {
  background: var(--color-secondary);
}

.chatbox-send-btn svg {
  width: 18px;
  height: 18px;
  transform: rotate(45deg);
}

@media (max-width: 480px) {
  .ai-assistant-wrapper {
    bottom: 20px;
    right: 20px;
  }
  .ai-assistant-chatbox {
    width: calc(100vw - 40px);
    height: 440px;
    bottom: 70px;
  }
}

/* ==========================================================================
   UNIFORM CARD SYSTEM AND NEON HOVER GLOW (PHASE 2)
   ========================================================================== */

/* Glassmorphism Card Base */
.card-glass {
  background: rgba(10, 15, 35, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Metrics Grid & Cards */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.metric-card {
  background: rgba(10, 15, 35, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1;
}

.metric-label {
  font-size: 0.95rem;
  color: var(--text-muted);
}

@media (max-width: 980px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Uniform Neon Glow Hover Selector */
.card-glass:hover,
.solution-card:hover,
.about-card:hover,
.solution-highlight-card:hover,
.service-detail-card:hover,
.spotlight-card:hover,
.pricing-card:hover,
.recursos-tap-card:hover,
.audience-card:hover,
.profile-card:hover,
.metric-card:hover,
.analyzer-card:hover {
  transform: translateY(-8px) !important;
  border-color: #2D7CFF !important;
  box-shadow:
    0 0 12px rgba(45, 124, 255, 0.6),
    0 0 30px rgba(45, 124, 255, 0.35),
    0 0 60px rgba(45, 124, 255, 0.15) !important;
}