/* Personal App - Mundo Ativo Styles */
/* Usando a mesma paleta de cores do site principal */

:root {
  /* Cores principais do Mundo Ativo */
  --primary: #0064FF;        /* Azul Médio */
  --primary-600: #0054D6;    /* Azul mais escuro */
  --accent: #00BEDC;         /* Azul Claro/Ciano */
  --mint: #00C878;           /* Verde Menta */
  --aqua: #82DCBE;           /* Verde Água */
  --danger: #F04628;         /* Laranja Avermelhado */
  
  /* Cores de fundo */
  --bg: #0a0f20;             /* Fundo escuro principal */
  --elev: #121a30;           /* Superfícies elevadas */
  --elev-2: #1a243d;         /* Containers secundários */
  --surface: #ffffff;        /* Superfície branca */
  --neutral: #f7fafc;        /* Neutro claro */
  
  /* Cores de texto */
  --text: #ffffff;           /* Texto branco */
  --text-dark: #0a0f20;      /* Texto escuro */
  --muted: #a0a8c0;          /* Texto secundário */
  
  /* Estados */
  --success: #00C878;        /* Verde sucesso (mint) */
  --warning: #FF7A59;        /* Laranja aviso */
  --error: #F04628;          /* Vermelho erro (danger) */
  
  /* Layout */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  
  /* Animações */
  --motion-duration: 0.45s;
  --motion-easing: cubic-bezier(.22,1,.36,1);
  --transition: all 0.3s ease;
  
  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-blur: blur(12px);
}

/* Dark mode */
.dark {
  --surface: var(--elev);
  --neutral: var(--elev-2);
  --text-dark: var(--text);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Cal Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0,100,255,.15) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(0,190,220,.15) 0%, transparent 25%),
    radial-gradient(circle at 50% 50%, rgba(0,200,120,.1) 0%, transparent 40%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  position: relative;
  top: 0;
  z-index: 1000;
  backdrop-filter: var(--glass-blur);
  background: linear-gradient(120deg, var(--primary), var(--accent), var(--mint), var(--aqua), var(--primary-600));
  background-size: 400% 400%;
  animation: gradientShift 18s ease infinite;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.header-left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

.header-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Logo */
.logo {
  height: 35px;
  width: 35px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
}

.brand img {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.brand h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
}

.brand-subtitle {
  font-size: 0.875rem;
  color: var(--text-dark);
  opacity: 0.8;
}

/* Navigation */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transition: width 0.3s ease;
}

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

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

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nav-mobile {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, rgba(10,15,32,0.98), rgba(18,26,48,0.98));
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transform: translateY(-100%);
  transition: all 0.3s ease;
  z-index: 999;
  padding: 1rem 0;
}

.nav-mobile.active {
  transform: translateY(0);
}

.nav-mobile .nav-link {
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-mobile .nav-link:hover {
  background: rgba(0,100,255,0.1);
  color: var(--accent);
}

.nav-mobile .nav-link:last-child {
  border-bottom: none;
}

/* Home Button */
.btn-home {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, rgba(0,100,255,0.15), rgba(0,190,220,0.15));
  border: 1px solid rgba(0,190,220,0.3);
  border-radius: 25px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.btn-home .icon {
  width: 16px;
  height: 16px;
}

.btn-home:hover {
  background: linear-gradient(135deg, rgba(0,100,255,0.25), rgba(0,190,220,0.25));
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,100,255,0.2);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-600));
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  filter: brightness(1.1);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-success {
  background: var(--success);
  color: white;
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Cards */
.card {
  background: linear-gradient(145deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: var(--glass-blur);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
}

.card:hover::before {
  left: 100%;
}

.card::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(
    135deg,
    rgba(0,100,255,0.3),
    rgba(0,190,220,0.3),
    rgba(0,200,120,0.3)
  );
  border-radius: 25px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 25px 60px rgba(0,100,255,0.15),
    0 8px 32px rgba(0,0,0,0.2),
    0 1px 0 rgba(255,255,255,0.2) inset;
  border-color: rgba(0,190,220,0.4);
}

.card:hover::after {
  opacity: 1;
}

/* Grid layouts */
.grid {
  display: grid;
  gap: 2.5rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid .card {
  animation: cardSlideIn 0.8s ease-out;
  animation-fill-mode: both;
}

.grid .card:nth-child(1) { animation-delay: 0.1s; }
.grid .card:nth-child(2) { animation-delay: 0.2s; }
.grid .card:nth-child(3) { animation-delay: 0.3s; }
.grid .card:nth-child(4) { animation-delay: 0.4s; }
.grid .card:nth-child(5) { animation-delay: 0.5s; }
.grid .card:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardSlideIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  color: var(--text);
  font-size: 1rem;
  transition: var(--transition);
  backdrop-filter: var(--glass-blur);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 100, 255, 0.1);
}

.form-input::placeholder {
  color: var(--muted);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

/* Tables */
.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--glass-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: var(--glass-blur);
}

.table th,
.table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}

.table th {
  background: rgba(0, 100, 255, 0.1);
  font-weight: 600;
  color: var(--text);
}

.table tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(4px);
}

.modal {
  background: var(--elev);
  border-radius: var(--radius-xl);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--glass-border);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.modal-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

/* Toast */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--elev);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: var(--glass-blur);
  animation: slideIn 0.3s ease;
  max-width: 400px;
}

.toast.success {
  border-left: 4px solid var(--success);
}

.toast.error {
  border-left: 4px solid var(--error);
}

.toast.warning {
  border-left: 4px solid var(--warning);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Icons */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.icon-sm {
  width: 1rem;
  height: 1rem;
}

.icon-lg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Main content */
.main-content {
  min-height: calc(100vh - 200px);
  padding: 2rem 0;
}

/* Sections */
.section {
  padding: 4rem 0;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  opacity: 0.7;
}

.section-title {
  position: relative;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--mint));
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-2xl);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-xl);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(0,100,255,.15) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(0,190,220,.15) 0%, transparent 25%),
    linear-gradient(180deg, rgba(10,15,32,.15), rgba(10,15,32,.6));
}

.hero-content {
  position: relative;
  padding: 3rem 2rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.hero-content p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  backdrop-filter: var(--glass-blur);
}

.stat-value {
  font-weight: 800;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.stat-label {
  color: var(--muted);
  font-size: 0.875rem;
}

/* Lists */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--muted);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--mint);
  font-weight: 800;
}

.feature-list.small li {
  font-size: 0.95rem;
}

/* Media / Chips / Badges */
.card-media {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--glass-bg);
  color: var(--text);
  font-weight: 600;
  font-size: 0.8rem;
}

.chip .icon {
  width: 1rem;
  height: 1rem;
}

.icon-badge {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0,100,255,.25), rgba(0,190,220,.15));
  border: 1px solid var(--glass-border);
  color: var(--text);
  margin-bottom: 0.75rem;
}

.icon-badge .icon {
  width: 1.2rem;
  height: 1.2rem;
}

/* Galeria */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.gallery-item {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* Logo strip */
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0.5rem 0;
}

.logo-item {
  height: 48px;
  width: auto;
  opacity: 0.9;
  filter: grayscale(100%) contrast(110%);
  transition: var(--transition);
}

.logo-item:hover {
  transform: translateY(-2px);
  opacity: 1;
  filter: grayscale(0%) contrast(100%);
}

/* Hero Visual Elements */
.hero-visual-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.floating-icon {
  position: absolute;
  animation: float 6s ease-in-out infinite;
  opacity: 0.3;
}

.floating-icon .icon {
  width: 48px;
  height: 48px;
  fill: var(--accent);
}

.floating-icon .icon.large {
  width: 64px;
  height: 64px;
}

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

/* Visual Benefits */
.visual-benefit {
  text-align: center;
  padding: 2rem 1.5rem;
  transition: var(--transition);
}

.visual-benefit:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.benefit-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  width: 96px;
  height: 96px;
  margin-left: auto;
  margin-right: auto;
}

.benefit-icon img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* Testimonials */
.testimonial {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.2;
  font-family: serif;
  line-height: 1;
}

.testimonial-avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Enhanced Responsive Design */
@media (max-width: 480px) {
  .header .container {
    padding: 0 1rem;
  }
  
  .logo {
    height: 28px;
    width: 28px;
  }
  
  .nav-mobile .nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
}

/* Enhanced Grid Layouts */
.grid.grid-3 .card {
  min-height: 320px;
}

.grid.grid-3 .testimonial {
  min-height: 360px;
}

.grid.grid-3 .visual-benefit {
  min-height: 340px;
}

/* Enhanced Section Styling */
.section {
  position: relative;
  padding: 4rem 0;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  opacity: 0.7;
}

.section-title {
  position: relative;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--mint));
  border-radius: 2px;
}

/* Enhanced Cards */
.card {
  position: relative;
  background: linear-gradient(135deg, var(--elev) 0%, rgba(26,36,61,0.8) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--mint));
  opacity: 0;
  transition: var(--transition);
}

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

.card:hover {
  transform: translateY(-12px);
  border-color: rgba(0,190,220,0.3);
  box-shadow: 
    0 25px 50px rgba(0,100,255,0.15),
    0 0 0 1px rgba(0,190,220,0.1),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

/* Enhanced Visual Benefits */
.visual-benefit {
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
}

.visual-benefit::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--mint));
  transition: var(--transition);
}

.visual-benefit:hover::after {
  width: 80%;
}

.benefit-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 10px 30px rgba(0,100,255,0.3);
  transition: var(--transition);
}

.benefit-icon:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(0,100,255,0.4);
}

/* Technology Section */
.tech-section {
  background: 
    linear-gradient(135deg, rgba(0,100,255,0.08), rgba(0,190,220,0.06)),
    radial-gradient(ellipse at center, rgba(0,200,120,0.03) 0%, transparent 70%);
  border-radius: 30px;
  padding: 4rem 2rem;
  margin: 4rem auto;
  max-width: 1200px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,190,220,0.2);
  box-shadow: 
    0 20px 60px rgba(0,100,255,0.1),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

.tech-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,190,220,0.1) 0%, transparent 70%);
  animation: techRotate 20s linear infinite;
}

@keyframes techRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.tech-feature {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  border: 1px solid rgba(0,190,220,0.3);
  transition: all 0.4s ease;
}

.tech-feature:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 
    0 30px 60px rgba(0,100,255,0.2),
    0 0 0 1px rgba(0,190,220,0.3),
    inset 0 1px 0 rgba(255,255,255,0.2);
}

.tech-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: 0 10px 30px rgba(0,100,255,0.3);
  transition: var(--transition);
  position: relative;
}

.icon-wrapper::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--accent), var(--mint));
  border-radius: 22px;
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.tech-feature:hover .icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.tech-feature:hover .icon-wrapper::after {
  opacity: 1;
}

/* Technology Flow */
.tech-flow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}

.flow-step {
  text-align: center;
  flex: 1;
  max-width: 200px;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 25px rgba(0,100,255,0.4);
  animation: stepPulse 3s ease-in-out infinite;
}

.flow-step:nth-child(2) .step-number {
  animation-delay: 0.5s;
}

.flow-step:nth-child(4) .step-number {
  animation-delay: 1s;
}

@keyframes stepPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 25px rgba(0,100,255,0.4); }
  50% { transform: scale(1.05); box-shadow: 0 12px 35px rgba(0,100,255,0.6); }
}

.flow-step h4 {
  color: var(--text);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.flow-step p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.flow-arrow {
  font-size: 2rem;
  color: var(--accent);
  font-weight: bold;
  animation: arrowFlow 2s ease-in-out infinite;
}

@keyframes arrowFlow {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  50% { transform: translateX(5px); opacity: 1; }
}

/* Responsive Technology Section */
@media (max-width: 768px) {
  .tech-flow {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .flow-arrow {
    transform: rotate(90deg);
    font-size: 1.5rem;
  }
  
  .tech-section {
    padding: 2rem 1rem;
    margin: 1rem 0;
  }
  
  .icon-wrapper {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
}

/* Enhanced Feature Card */
.enhanced-feature-card {
  position: relative;
  overflow: hidden;
}

.feature-content {
  padding: 1rem;
}

.feature-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}

.feature-item:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--accent);
  transform: translateX(8px);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  flex-shrink: 0;
}

.feature-icon .icon {
  width: 24px;
  height: 24px;
  fill: white;
}

.feature-details h4 {
  margin: 0 0 0.5rem 0;
  color: var(--text);
  font-weight: 600;
}

.feature-details p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Premium Feature Cards */
.premium-feature {
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  background: linear-gradient(var(--elev), var(--elev)) padding-box,
              linear-gradient(135deg, var(--primary), var(--accent)) border-box;
  transition: var(--transition);
}

.premium-feature:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,100,255,0.3);
}

.premium-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--mint));
  color: var(--bg);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,190,220,0.4);
}

.feature-highlight {
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 1.1em;
}

.premium-feature .feature-list li {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}

.premium-feature .feature-list li:hover {
  background: rgba(255,255,255,0.03);
  padding-left: 0.5rem;
  border-radius: 8px;
  border-bottom-color: transparent;
}

.premium-feature .feature-list li:last-child {
  border-bottom: none;
}

/* Enhanced Card Media */
.premium-feature .card-media {
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.premium-feature .card-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(0,100,255,0.1) 0%, 
    rgba(0,190,220,0.1) 50%, 
    rgba(0,200,120,0.1) 100%);
  opacity: 0;
  transition: var(--transition);
}

.premium-feature:hover .card-media::before {
  opacity: 1;
}

/* Responsive Design for Enhanced Features */
@media (max-width: 768px) {
  .feature-grid {
    gap: 1rem;
  }
  
  .feature-item {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .premium-feature:hover {
    transform: translateY(-4px) scale(1.01);
  }
  
  .premium-badge {
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
  }
}

.hero-visual-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Enhanced Hero Section */
.enhanced-hero {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(0,190,220,0.4) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(0,200,120,0.3) 0%, transparent 55%),
    radial-gradient(circle at 40% 40%, rgba(0,100,255,0.25) 0%, transparent 50%),
    radial-gradient(circle at 60% 70%, rgba(0,150,255,0.2) 0%, transparent 45%);
  animation: particleFloat 25s ease-in-out infinite;
}

.hero-particles::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0,190,220,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,190,220,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(120deg); }
  66% { transform: translateY(10px) rotate(240deg); }
  75% { transform: translateY(-30px) rotate(300deg); }
}

.pulse-animation {
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.6; }
}

/* Enhanced Stats */
.enhanced-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 3rem;
}

.animated-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  min-width: 140px;
}

.animated-stat:hover {
  transform: translateY(-10px) scale(1.05);
  background: rgba(255,255,255,0.15);
  box-shadow: 0 20px 40px rgba(0,100,255,0.3);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  animation: bounce 2s ease-in-out infinite;
}

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

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(0,190,220,0.5);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  text-align: center;
  margin-top: 0.25rem;
}

/* Smart Badge Variant */
.smart-badge {
  background: linear-gradient(135deg, #00C878, #82DCBE) !important;
  animation: smartGlow 2s ease-in-out infinite;
}

@keyframes smartGlow {
  0%, 100% { box-shadow: 0 4px 12px rgba(0,200,120,0.4); }
  50% { box-shadow: 0 4px 20px rgba(0,200,120,0.6); }
}

.floating-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  animation: float 6s ease-in-out infinite;
}

.floating-icon .icon {
  width: 24px;
  height: 24px;
  color: rgba(255, 255, 255, 0.8);
}

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

.floating-icon:nth-child(2) {
  animation-delay: -2s;
}

.floating-icon:nth-child(3) {
  animation-delay: -4s;
}

/* Responsive tweaks for hero */
@media (max-width: 768px) {
  .hero-content {
    padding: 2rem 1rem;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .floating-icon {
    display: none;
  }
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #001a30 0%, #002b4d 100%);
  border-top: 1px solid var(--glass-border);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  color: var(--text);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: var(--muted);
}

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

.footer-link {
  color: var(--muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--muted);
  font-size: 0.875rem;
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 2rem; }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }

.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }
.gap-5 { gap: 2rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: var(--radius-md);
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .nav-mobile {
    display: none;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
  
  .modal {
    margin: 1rem;
    width: calc(100% - 2rem);
  }
  
  .container {
    padding: 0 0.75rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles */
*:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

button:focus,
.btn:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .header,
  .footer,
  .nav-mobile,
  .modal-overlay,
  .toast-container {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .card {
    border: 1px solid #ccc !important;
    background: white !important;
  }
}
