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

 :root {
 --primary: #6366f1;
 --primary-dark: #4f46e5;
 --secondary: #8b5cf6;
 --accent: #ec4899;
 --success: #10b981;
 --warning: #f59e0b;
 --dark: #0a0e27;
 --dark-light: #1a1f3a;
 --text: #e0e6ed;
 --text-muted: #94a3b8;
 --bg-primary: #0a0e27;
 --bg-secondary: #1a1f3a;
 --card-bg: rgba(30, 41, 59, 0.5);
 --border-color: rgba(99, 102, 241, 0.2);
 --bg-medium: rgba(30, 41, 59, 0.5);
 --bg-darker: rgba(15, 23, 42, 0.8);
 --transition-fast: 0.2s ease;
 --transition-medium: 0.3s ease;
 --transition-slow: 0.5s ease;
 }

 /* Light mode */
 [data-theme="light"] {
 --dark: #f8fafc;
 --dark-light: #e2e8f0;
 --bg-primary: #ffffff;
 --bg-secondary: #f1f5f9;
 --text: #1e293b;
 --text-muted: #64748b;
 --card-bg: rgba(255, 255, 255, 0.9);
 --border-color: rgba(99, 102, 241, 0.3);
 --bg-medium: rgba(241, 245, 249, 0.8);
 --bg-darker: rgba(226, 232, 240, 0.8);
 }

 body {
 font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
 color: var(--text);
 overflow-x: hidden;
 line-height: 1.6;
 min-height: 100vh;
 }

 /* Light mode specific overrides */
 [data-theme="light"] body {
 background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
 }

 [data-theme="light"] .hero {
 background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
 }

 [data-theme="light"] .card,
 [data-theme="light"] .pricing-card,
 [data-theme="light"] .vision-card,
 [data-theme="light"] .contact-form {
 background: rgba(255, 255, 255, 0.9);
 border-color: rgba(99, 102, 241, 0.2);
 }

 [data-theme="light"] .footer {
 background: #1e293b;
 }

 [data-theme="light"] .particle {
 background: var(--secondary);
 opacity: 0.2;
 }

 [data-theme="light"] .hero h1,
 [data-theme="light"] .hero h2,
 [data-theme="light"] .section-title {
 color: #1e293b;
 -webkit-text-fill-color: #1e293b;
 }

 [data-theme="light"] .hero-description,
 [data-theme="light"] .section-subtitle,
 [data-theme="light"] p,
 [data-theme="light"] li {
 color: #475569;
 }

 [data-theme="light"] .card h3,
 [data-theme="light"] .pricing-card h3,
 [data-theme="light"] .vision-card h3,
 [data-theme="light"] .overview-card h3 {
 color: var(--primary);
 }

 [data-theme="light"] .card p,
 [data-theme="light"] .card li,
 [data-theme="light"] .pricing-card p,
 [data-theme="light"] .vision-card p,
 [data-theme="light"] .overview-card p {
 color: #475569;
 }

 [data-theme="light"] .overview-card {
 background: rgba(255, 255, 255, 0.9);
 border-color: rgba(99, 102, 241, 0.2);
 }

 [data-theme="light"] .nav-links a {
 color: #1e293b;
 }

 [data-theme="light"] .logo span {
 -webkit-text-fill-color: #1e293b;
 }

 /* Header scrolled state (dark mode) */
 header.header-scrolled {
 background: rgba(10, 14, 39, 0.98);
 }

 /* Header mejorado en modo claro */
 [data-theme="light"] header {
 background: rgba(255, 255, 255, 0.95);
 border-bottom-color: rgba(99, 102, 241, 0.15);
 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
 }

 /* Header scrolled state (light mode) */
 [data-theme="light"] header.header-scrolled {
 background: rgba(255, 255, 255, 0.98);
 box-shadow: 0 2px 15px rgba(0, 0, 0, 0.12);
 }

 [data-theme="light"] .nav-links a:hover {
 color: var(--primary);
 }

 /* Menú hamburguesa en modo claro */
 [data-theme="light"] .menu-toggle span {
 background: #1e293b;
 }

 /* Menú móvil desplegable en modo claro */
 @media (max-width: 968px) {
 [data-theme="light"] .nav-links {
 background: rgba(255, 255, 255, 0.98);
 border-top-color: rgba(99, 102, 241, 0.15);
 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
 }
 }

 [data-theme="light"] .stat-number {
 color: var(--primary);
 -webkit-text-fill-color: var(--primary);
 }

 [data-theme="light"] .stat-label {
 color: #64748b;
 }

 [data-theme="light"] .tab-button {
 color: #475569;
 background: rgba(0, 0, 0, 0.05);
 }

 [data-theme="light"] .tab-content {
 background: rgba(255, 255, 255, 0.8);
 }

 [data-theme="light"] .faq-question {
 color: #1e293b;
 }

 [data-theme="light"] .faq-answer,
 [data-theme="light"] .faq-answer p,
 [data-theme="light"] .faq-answer li {
 color: #475569;
 }

 [data-theme="light"] .faq-item {
 background: rgba(255, 255, 255, 0.9);
 }

 [data-theme="light"] .contact-item h4 {
 color: #1e293b;
 }

 [data-theme="light"] .form-group label {
 color: #1e293b;
 }

 [data-theme="light"] .form-group input,
 [data-theme="light"] .form-group textarea,
 [data-theme="light"] .form-group select {
 background: #fff;
 color: #1e293b;
 border-color: #cbd5e1;
 }

 [data-theme="light"] .form-group input::placeholder,
 [data-theme="light"] .form-group textarea::placeholder {
 color: #94a3b8;
 }

 [data-theme="light"] .architecture h3,
 [data-theme="light"] .architecture h4 {
 color: #1e293b;
 }

 [data-theme="light"] .tech-badge {
 background: rgba(99, 102, 241, 0.1);
 color: var(--primary);
 }

 [data-theme="light"] .pricing-price {
 color: #1e293b;
 }

 [data-theme="light"] .theme-toggle {
 background: #f1f5f9;
 border-color: #cbd5e1;
 }

 [data-theme="light"] section:nth-child(even) {
 background: rgba(241, 245, 249, 0.5);
 }

 [data-theme="light"] .caso-card {
 background: rgba(255, 255, 255, 0.95);
 }

 [data-theme="light"] .caso-card h3 {
 color: var(--primary);
 }

 [data-theme="light"] .caso-card p,
 [data-theme="light"] .caso-card li {
 color: #475569;
 }

 [data-theme="light"] #casos-uso {
 background: rgba(241, 245, 249, 0.8);
 }

 [data-theme="light"] .hero-bg::before {
 background:
  radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
  radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
  radial-gradient(circle at 40% 40%, rgba(168, 85, 247, 0.05) 0%, transparent 40%);
 }

 /* Skip link for accessibility */
 .skip-link {
 position: absolute;
 top: -40px;
 left: 0;
 background: var(--primary);
 color: white;
 padding: 8px 16px;
 z-index: 10000;
 text-decoration: none;
 font-weight: bold;
 border-radius: 0 0 8px 0;
 transition: top 0.3s;
 }

 .skip-link:focus {
 top: 0;
 }

 /* Header */
 header {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 background: rgba(10, 14, 39, 0.95);
 backdrop-filter: blur(10px);
 border-bottom: 1px solid rgba(99, 102, 241, 0.2);
 z-index: 1000;
 padding: 15px 0;
 }

 nav {
 max-width: 1200px;
 margin: 0 auto;
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 0 20px;
 }

 .logo {
 display: flex;
 align-items: center;
 gap: 10px;
 font-size: 1.5rem;
 font-weight: bold;
 background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
 background-clip: text;
 text-decoration: none;
 }

 .logo-img {
 width: 45px;
 height: 45px;
 object-fit: contain;
 animation: pulse 2s ease-in-out infinite;
 }

 .logo-icon {
 font-size: 2rem;
 animation: pulse 2s ease-in-out infinite;
 }

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

 /* Theme toggle button */
 .theme-toggle {
 background: var(--card-bg);
 border: 1px solid var(--border-color);
 border-radius: 50%;
 width: 40px;
 height: 40px;
 cursor: pointer;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 1.2rem;
 transition: var(--transition-medium);
 margin-left: 15px;
 position: relative;
 z-index: 1002;
 }
 .theme-toggle:hover {
 background: var(--primary);
 transform: rotate(180deg);
 }

 /* Hero particles background */
 .hero-bg {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 overflow: hidden;
 z-index: 0;
 }

 .hero-bg::before {
 content: '';
 position: absolute;
 top: -50%;
 left: -50%;
 width: 200%;
 height: 200%;
 background:
  radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
  radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
  radial-gradient(circle at 40% 40%, rgba(168, 85, 247, 0.1) 0%, transparent 40%);
 animation: heroFloat 20s ease-in-out infinite;
 }

 @keyframes heroFloat {
 0%, 100% { transform: translate(0, 0) rotate(0deg); }
 25% { transform: translate(2%, 2%) rotate(1deg); }
 50% { transform: translate(0, 4%) rotate(0deg); }
 75% { transform: translate(-2%, 2%) rotate(-1deg); }
 }

 /* Floating particles */
 .particles {
 position: absolute;
 width: 100%;
 height: 100%;
 overflow: hidden;
 }

 .particle {
 position: absolute;
 width: 6px;
 height: 6px;
 background: var(--primary);
 border-radius: 50%;
 opacity: 0.3;
 animation: float 15s infinite ease-in-out;
 }

 .particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 20s; }
 .particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 25s; }
 .particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 18s; }
 .particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 22s; }
 .particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 19s; }
 .particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 24s; }
 .particle:nth-child(7) { left: 70%; animation-delay: 2.5s; animation-duration: 21s; }
 .particle:nth-child(8) { left: 80%; animation-delay: 1.5s; animation-duration: 23s; }
 .particle:nth-child(9) { left: 90%; animation-delay: 4.5s; animation-duration: 17s; }

 @keyframes floatUp {
     0% {
         transform: translateY(100vh) scale(0);
         opacity: 0;
     }
     10% { opacity: 0.3; }
     90% { opacity: 0.3; }
     100% {
         transform: translateY(-100vh) scale(1);
         opacity: 0;
     }
 }

 /* Gradient border animation */
 @keyframes borderGlow {
 0%, 100% { border-color: rgba(99, 102, 241, 0.3); }
 50% { border-color: rgba(139, 92, 246, 0.5); }
 }

 /* Nav-links: OUTSIDE <header> to avoid backdrop-filter containing block.
    Padding dynamically matches header's max-width:1200px centered layout. */
 .nav-links {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 height: 62px;
 display: flex;
 align-items: center;
 justify-content: center;
 gap: clamp(12px, 2vw, 30px);
 list-style: none;
 z-index: 1001;
 pointer-events: none;
 padding-top: 0;
 padding-bottom: 0;
 padding-left: max(240px, calc((100vw - 1200px) / 2 + 220px));
 padding-right: max(70px, calc((100vw - 1200px) / 2 + 70px));
 box-sizing: border-box;
 }

 /* Narrow desktop: tighten nav spacing */
 @media (min-width: 969px) and (max-width: 1100px) {
  .nav-links {
   gap: clamp(6px, 1vw, 12px);
   font-size: 0.9rem;
  }
 }

 .nav-links li {
 pointer-events: auto;
 }

 .nav-links a {
 color: var(--text);
 text-decoration: none;
 transition: color 0.3s;
 font-weight: 500;
 pointer-events: auto;
 }

 .nav-links a:hover {
 color: var(--primary);
 }

 .nav-cta {
 background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
 color: white;
 padding: 10px 25px;
 border-radius: 25px;
 text-decoration: none;
 font-weight: bold;
 transition: all 0.3s;
 box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
 }

 .nav-cta:hover {
 transform: translateY(-2px);
 box-shadow: 0 8px 20px rgba(99, 102, 241, 0.5);
 }

 .menu-toggle {
 display: none;
 flex-direction: column;
 gap: 5px;
 cursor: pointer;
 padding: 5px;
 background: none;
 border: none;
 z-index: 1001;
 }

 .menu-toggle span {
 width: 25px;
 height: 3px;
 background: var(--primary);
 border-radius: 3px;
 transition: all 0.3s ease;
 transform-origin: center;
 }

 /* Hamburger → X animation */
 .menu-toggle.open span:nth-child(1) {
 transform: translateY(8px) rotate(45deg);
 }
 .menu-toggle.open span:nth-child(2) {
 opacity: 0;
 transform: scaleX(0);
 }

 .menu-toggle.open span:nth-child(3) {
 transform: translateY(-8px) rotate(-45deg);
 }

 .particles {
 position: absolute;
 width: 100%;
 height: 100%;
 overflow: hidden;
 }

 .particle {
 position: absolute;
 width: 4px;
 height: 4px;
 background: rgba(99, 102, 241, 0.5);
 border-radius: 50%;
 animation: float 20s infinite;
 }

 @keyframes float {
 0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
 10% { opacity: 1; }
 90% { opacity: 1; }
 100% { transform: translateY(-100vh) translateX(100px); opacity: 0; }
 }

 .hero-content {
 position: relative;
 z-index: 10;
 padding: 40px 20px;
 max-width: 1200px;
 }

 .hero h1 {
 font-size: 4.5rem;
 background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
 background-clip: text;
 margin-bottom: 20px;
 animation: glow 3s ease-in-out infinite;
 }

 @keyframes glow {
 0%, 100% { filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5)); }
 50% { filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.8)); }
 }

 .hero h2 {
 font-size: 2.2rem;
 color: var(--text-muted);
 margin-bottom: 30px;
 font-weight: 400;
 }

 .hero-description {
 font-size: 1.3rem;
 color: var(--text-muted);
 max-width: 900px;
 margin: 20px auto 40px;
 line-height: 1.8;
 }

 .hero-buttons {
 display: flex;
 gap: 20px;
 justify-content: center;
 flex-wrap: wrap;
 margin-bottom: 60px;
 }

 .btn-primary {
 background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
 color: white;
 padding: 18px 45px;
 border-radius: 50px;
 text-decoration: none;
 font-size: 1.2rem;
 font-weight: bold;
 transition: all var(--transition-medium);
 box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
 display: inline-flex;
 align-items: center;
 gap: 10px;
 border: none;
 cursor: pointer;
 position: relative;
 overflow: hidden;
 }

 .btn-primary::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;
 }

 .btn-primary:hover::before {
 left: 100%;
 }

 .btn-primary:hover {
 transform: translateY(-5px) scale(1.02);
 box-shadow:
  0 15px 40px rgba(99, 102, 241, 0.6),
  0 0 20px rgba(139, 92, 246, 0.3);
 }

 .btn-primary:active {
 transform: translateY(-2px) scale(0.98);
 }

 .btn-secondary {
 background: transparent;
 color: var(--primary);
 padding: 18px 45px;
 border: 2px solid var(--primary);
 border-radius: 50px;
 text-decoration: none;
 font-size: 1.2rem;
 font-weight: bold;
 transition: all var(--transition-medium);
 display: inline-flex;
 align-items: center;
 gap: 10px;
 position: relative;
 overflow: hidden;
 }

 .btn-secondary::before {
 content: '';
 position: absolute;
 top: 50%;
 left: 50%;
 width: 0;
 height: 0;
 background: var(--primary);
 border-radius: 50%;
 transform: translate(-50%, -50%);
 transition: width 0.4s ease, height 0.4s ease;
 z-index: -1;
 }

 .btn-secondary:hover::before {
 width: 300px;
 height: 300px;
 }

 .btn-secondary:hover {
 color: white;
 transform: translateY(-5px);
 border-color: transparent;
 }

 .hero-stats {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 gap: 40px;
 margin-top: 60px;
 }

 .stat {
 text-align: center;
 }

 .stat-number {
 font-size: 3.5rem;
 font-weight: bold;
 background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
 background-clip: text;
 display: block;
 margin-bottom: 10px;
 }

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

 /* ROI values in blog articles - same style as stat-number but not animated */
 .roi-value {
 font-size: 3.5rem;
 font-weight: bold;
 background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
 background-clip: text;
 display: block;
 margin-bottom: 10px;
 }

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

 /* Section Styles */
 section {
 padding: 100px 20px;
 position: relative;
 }

 .section-title {
 font-size: 3rem;
 text-align: center;
 margin-bottom: 20px;
 background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
 background-clip: text;
 }

 .section-subtitle {
 text-align: center;
 color: var(--text-muted);
 font-size: 1.2rem;
 margin-bottom: 60px;
 max-width: 800px;
 margin-left: auto;
 margin-right: auto;
 }

 /* Cards Grid */
 .cards-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
 gap: 30px;
 margin-top: 40px;
 }

 .card {
 background: var(--card-bg);
 border: 1px solid var(--border-color);
 border-radius: 20px;
 padding: 35px;
 transition: all var(--transition-medium);
 backdrop-filter: blur(10px);
 position: relative;
 overflow: hidden;
 }

 .card::before {
 content: '';
 position: absolute;
 top: 0;
 left: -100%;
 width: 100%;
 height: 100%;
 background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
 transition: left 0.5s ease;
 }

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

 .card:hover {
 transform: translateY(-10px) scale(1.02);
 border-color: rgba(99, 102, 241, 0.6);
 box-shadow:
  0 20px 40px rgba(99, 102, 241, 0.3),
  0 0 30px rgba(139, 92, 246, 0.1);
 }

 .card-icon {
 font-size: 3rem;
 margin-bottom: 20px;
 display: block;
 transition: transform var(--transition-medium);
 }

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

 .card h3 {
 color: var(--primary);
 font-size: 1.6rem;
 margin-bottom: 15px;
 }

 .card p {
 color: var(--text-muted);
 line-height: 1.8;
 margin-bottom: 15px;
 }

 .card ul {
 list-style: none;
 margin-top: 15px;
 }

 .card li {
 color: #cbd5e1;
 padding: 10px 0;
 padding-left: 30px;
 position: relative;
 line-height: 1.6;
 }

 .card li:before {
 content: "→";
 position: absolute;
 left: 0;
 color: var(--primary);
 font-weight: bold;
 font-size: 1.2rem;
 }

 /* Vision Section */
 .vision-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
 gap: 40px;
 margin-top: 50px;
 }

 .vision-card {
 background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
 border: 2px solid rgba(99, 102, 241, 0.3);
 border-radius: 25px;
 padding: 45px;
 text-align: center;
 transition: all 0.3s ease;
 }

 .vision-card:hover {
 transform: scale(1.05);
 border-color: rgba(99, 102, 241, 0.8);
 box-shadow: 0 20px 50px rgba(99, 102, 241, 0.3);
 }

 .vision-icon {
 font-size: 5rem;
 margin-bottom: 25px;
 display: block;
 }

 .vision-card h3 {
 font-size: 2.2rem;
 color: var(--primary);
 margin-bottom: 15px;
 }

 .vision-card strong {
 color: var(--text);
 font-size: 1.2rem;
 }

 /* Tech Stack */
 .tech-stack {
 display: flex;
 flex-wrap: wrap;
 gap: 15px;
 justify-content: center;
 margin-top: 30px;
 }

 .tech-badge {
 background: rgba(99, 102, 241, 0.2);
 border: 1px solid rgba(99, 102, 241, 0.4);
 padding: 12px 24px;
 border-radius: 30px;
 color: #a5b4fc;
 font-weight: 600;
 transition: all 0.3s ease;
 font-size: 0.95rem;
 }

 .tech-badge:hover {
 background: rgba(99, 102, 241, 0.4);
 transform: scale(1.1);
 box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
 }

 /* Architecture */
 .architecture {
 background: rgba(30, 41, 59, 0.3);
 border: 1px solid rgba(99, 102, 241, 0.2);
 border-radius: 25px;
 padding: 50px;
 margin-top: 50px;
 }

 .arch-layer {
 background: rgba(99, 102, 241, 0.1);
 border-left: 5px solid var(--primary);
 padding: 25px;
 margin: 20px 0;
 border-radius: 15px;
 transition: all 0.3s;
 }

 .arch-layer:hover {
 background: rgba(99, 102, 241, 0.2);
 transform: translateX(10px);
 }

 .arch-layer h4 {
 color: var(--primary);
 margin-bottom: 12px;
 font-size: 1.3rem;
 }

 .arch-layer p {
 color: var(--text-muted);
 line-height: 1.6;
 }

 /* Tabs */
 .tabs {
 display: flex;
 gap: 15px;
 justify-content: center;
 flex-wrap: wrap;
 margin-bottom: 40px;
 }

 .tab-button {
 background: rgba(99, 102, 241, 0.1);
 border: 2px solid rgba(99, 102, 241, 0.3);
 color: var(--text);
 padding: 15px 30px;
 border-radius: 30px;
 cursor: pointer;
 transition: all 0.3s;
 font-size: 1rem;
 font-weight: 600;
 }

 .tab-button:hover {
 border-color: var(--primary);
 background: rgba(99, 102, 241, 0.2);
 }

 .tab-button.active {
 background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
 border-color: transparent;
 color: white;
 box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
 }

 .tab-content {
 display: none;
 }

 .tab-content.active {
 display: block;
 animation: fadeIn 0.5s;
 }

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

 /* Highlight Box */
 .highlight-box {
 background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(251, 191, 36, 0.1) 100%);
 border: 2px solid rgba(245, 158, 11, 0.4);
 border-radius: 20px;
 padding: 30px;
 margin: 30px 0;
 text-align: center;
 }

 .highlight-box h4 {
 color: var(--warning);
 font-size: 1.8rem;
 margin-bottom: 15px;
 }

 .highlight-box p {
 color: var(--text);
 font-size: 1.1rem;
 line-height: 1.8;
 }

 .highlight-box strong {
 color: var(--warning);
 font-size: 1.3rem;
 }

 /* Pricing */
 .pricing-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
 gap: 40px;
 margin-top: 50px;
 }

 .pricing-card {
 background: rgba(30, 41, 59, 0.5);
 border: 2px solid rgba(99, 102, 241, 0.2);
 border-radius: 25px;
 padding: 50px 35px 35px;
 text-align: center;
 transition: all 0.3s;
 position: relative;
 display: flex;
 flex-direction: column;
 }

 .pricing-card:hover {
 transform: translateY(-10px);
 border-color: var(--primary);
 box-shadow: 0 20px 50px rgba(99, 102, 241, 0.3);
 }

 .pricing-card.featured {
 border-color: var(--primary);
 background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
 }

 .pricing-badge {
 position: absolute;
 top: -18px;
 left: 50%;
 transform: translateX(-50%);
 z-index: 10;
 display: inline-block;
 background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
 color: white;
 padding: 10px 28px;
 border-radius: 20px;
 font-weight: bold;
 font-size: 0.95rem;
 white-space: nowrap;
 box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
 }

 .pricing-card h3 {
 font-size: 2rem;
 color: var(--primary);
 margin-bottom: 15px;
 }

 .pricing-price {
 font-size: 3.5rem;
 font-weight: bold;
 color: var(--text);
 margin: 20px 0;
 }

 .pricing-price span {
 font-size: 1.2rem;
 color: var(--text-muted);
 }

 .pricing-price-prefix {
 font-size: 1.5rem;
 color: var(--text-muted);
 font-weight: normal;
 }

 .pricing-subtitle {
 color: var(--text-muted);
 font-size: 1.1rem;
 margin-bottom: 25px;
 font-weight: 500;
 }

 .pricing-features {
 list-style: none;
 margin: 30px 0;
 text-align: left;
 flex-grow: 1;
 }

 .pricing-features li {
 padding: 12px 0;
 color: var(--text-muted);
 padding-left: 30px;
 position: relative;
 }

 .pricing-features li:before {
 content: "✓";
 position: absolute;
 left: 0;
 color: var(--success);
 font-weight: bold;
 font-size: 1.3rem;
 }

 .pricing-specs {
 background: rgba(99, 102, 241, 0.1);
 border: 1px solid rgba(99, 102, 241, 0.3);
 border-radius: 15px;
 padding: 20px;
 margin: 20px 0;
 text-align: left;
 }

 .pricing-specs h4 {
 color: var(--primary);
 margin-bottom: 15px;
 font-size: 1.2rem;
 }

 .pricing-specs ul {
 list-style: none;
 }

 .pricing-specs li {
 padding: 8px 0;
 color: var(--text-muted);
 font-size: 0.95rem;
 padding-left: 25px;
 position: relative;
 }

 .pricing-specs li:before {
 content: "•";
 position: absolute;
 left: 0;
 color: var(--primary);
 font-size: 1.5rem;
 }

 .pricing-card .btn-primary {
 margin-top: auto;
 width: 100%;
 justify-content: center;
 }

 /* Contact Form */
 .contact-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 60px;
 margin-top: 50px;
 }

 .contact-info {
 display: flex;
 flex-direction: column;
 gap: 30px;
 }

 .contact-item {
 display: flex;
 align-items: flex-start;
 gap: 20px;
 }

 .contact-icon {
 font-size: 2rem;
 color: var(--primary);
 min-width: 50px;
 }

 .contact-item h4 {
 color: var(--primary);
 margin-bottom: 8px;
 font-size: 1.2rem;
 }

 .contact-item p {
 color: var(--text-muted);
 line-height: 1.6;
 }

 .contact-item a {
 color: var(--primary);
 text-decoration: none;
 }

 .contact-item a:hover {
 text-decoration: underline;
 }

 .contact-form {
 background: rgba(30, 41, 59, 0.5);
 border: 1px solid rgba(99, 102, 241, 0.2);
 border-radius: 25px;
 padding: 40px;
 }

 .form-group {
 margin-bottom: 25px;
 }

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

 .form-group input,
 .form-group textarea,
 .form-group select {
 width: 100%;
 padding: 15px;
 background: rgba(15, 23, 42, 0.5);
 border: 1px solid rgba(99, 102, 241, 0.3);
 border-radius: 10px;
 color: var(--text);
 font-size: 1rem;
 transition: all 0.3s;
 }

 .form-group input:focus,
 .form-group textarea:focus,
 .form-group select:focus {
 outline: none;
 border-color: var(--primary);
 box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
 }

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

 .form-submit {
 width: 100%;
 padding: 18px;
 background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
 color: white;
 border: none;
 border-radius: 50px;
 font-size: 1.1rem;
 font-weight: bold;
 cursor: pointer;
 transition: all 0.3s;
 }

 .form-submit:hover {
 transform: translateY(-3px);
 box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
 }

 /* FAQ Section */
 .faq-container {
 max-width: 900px;
 margin: 0 auto;
 }

 .faq-item {
 background: rgba(30, 41, 59, 0.5);
 border: 1px solid rgba(99, 102, 241, 0.2);
 border-radius: 15px;
 margin-bottom: 15px;
 overflow: hidden;
 transition: all 0.3s;
 }

 .faq-item:hover {
 border-color: rgba(99, 102, 241, 0.5);
 }

 .faq-item[open] {
 border-color: var(--primary);
 box-shadow: 0 5px 20px rgba(99, 102, 241, 0.2);
 }

 .faq-question {
 padding: 20px 25px;
 cursor: pointer;
 font-weight: 600;
 font-size: 1.1rem;
 color: var(--text);
 list-style: none;
 display: flex;
 justify-content: space-between;
 align-items: center;
 }

 .faq-question::-webkit-details-marker {
 display: none;
 }

 .faq-question::after {
 content: "+";
 font-size: 1.5rem;
 color: var(--primary);
 font-weight: bold;
 transition: transform 0.3s;
 }

 .faq-item[open] .faq-question::after {
 content: "−";
 }

 .faq-answer {
 padding: 0 25px 20px;
 color: var(--text-muted);
 line-height: 1.8;
 }

 .faq-answer p {
 margin-bottom: 15px;
 }

 .faq-answer ul {
 margin: 15px 0;
 padding-left: 25px;
 }

 .faq-answer li {
 margin-bottom: 8px;
 }

 .faq-answer strong {
 color: var(--text);
 }

 /* Footer */
 footer {
 background: rgba(10, 14, 39, 0.95);
 border-top: 1px solid rgba(99, 102, 241, 0.2);
 padding: 60px 20px 30px;
 margin-top: 100px;
 }

 .footer-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 40px;
 max-width: 1200px;
 margin: 0 auto 40px;
 }

 .footer-section h4 {
 color: var(--primary);
 margin-bottom: 20px;
 font-size: 1.3rem;
 }

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

 .footer-section ul li {
 margin-bottom: 12px;
 }

 .footer-section a {
 color: var(--text-muted);
 text-decoration: none;
 transition: color 0.3s;
 }

 .footer-section a:hover {
 color: var(--primary);
 }

 .social-links {
 display: flex;
 gap: 15px;
 margin-top: 20px;
 }

 .social-links a {
 width: 45px;
 height: 45px;
 background: rgba(99, 102, 241, 0.2);
 border: 1px solid rgba(99, 102, 241, 0.3);
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 1.3rem;
 transition: all 0.3s;
 }

 .social-links a:hover {
 background: var(--primary);
 transform: translateY(-5px);
 }

 .footer-bottom {
 text-align: center;
 padding-top: 30px;
 border-top: 1px solid rgba(99, 102, 241, 0.1);
 color: var(--text-muted);
 }

 /* Scroll to Top */
 .scroll-top {
 position: fixed;
 bottom: 30px;
 right: 30px;
 width: 50px;
 height: 50px;
 background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
 color: white;
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 1.5rem;
 cursor: pointer;
 opacity: 0;
 visibility: hidden;
 transition: all 0.3s;
 z-index: 999;
 box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
 }

 .scroll-top.visible {
 opacity: 1;
 visibility: visible;
 }

 .scroll-top:hover {
 transform: translateY(-5px);
 box-shadow: 0 10px 30px rgba(99, 102, 241, 0.6);
 }

 /* Blog Styles */
 .blog-section {
 padding: 80px 20px;
 background: var(--bg-darker);
 }

 .blog-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
 gap: 30px;
 max-width: 1200px;
 margin: 0 auto;
 }

 .blog-card {
 background: var(--bg-medium);
 border-radius: 20px;
 overflow: hidden;
 transition: all 0.3s ease;
 border: 1px solid rgba(99, 102, 241, 0.1);
 }

 .blog-card:hover {
 transform: translateY(-10px);
 box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
 border-color: rgba(99, 102, 241, 0.3);
 }

 .blog-card-image {
 height: 200px;
 background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
 display: flex;
 align-items: center;
 justify-content: center;
 }

 .blog-card-placeholder {
 font-size: 4rem;
 }

 .blog-card-content {
 padding: 25px;
 }

 .blog-card-date {
 color: var(--text-muted);
 font-size: 0.9rem;
 display: block;
 margin-bottom: 10px;
 }

 .blog-card-title {
 font-size: 1.3rem;
 margin-bottom: 15px;
 line-height: 1.4;
 }

 .blog-card-title a {
 color: var(--text-primary);
 text-decoration: none;
 transition: color 0.3s;
 }

 .blog-card-title a:hover {
 color: var(--primary);
 }

 .blog-card-excerpt {
 color: var(--text-muted);
 line-height: 1.6;
 margin-bottom: 15px;
 }

 .blog-card-link {
 color: var(--primary);
 text-decoration: none;
 font-weight: 600;
 transition: all 0.3s;
 }

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

 /* Overview Grid (Home Page) */
 .overview-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
 gap: 30px;
 margin-top: 50px;
 }

 .overview-card {
 background: var(--card-bg);
 border: 1px solid var(--border-color);
 border-radius: 20px;
 padding: 40px 30px;
 text-decoration: none;
 color: var(--text);
 transition: all 0.3s ease;
 display: block;
 }

 .overview-card:hover {
 transform: translateY(-5px);
 border-color: var(--primary);
 box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
 }

 .overview-icon {
 font-size: 2.5rem;
 display: block;
 margin-bottom: 20px;
 }

 .overview-card h3 {
 font-size: 1.4rem;
 margin-bottom: 12px;
 color: var(--text);
 }

 .overview-card p {
 color: var(--text-muted);
 line-height: 1.7;
 margin-bottom: 15px;
 }

 .overview-link {
 color: var(--primary);
 font-weight: 600;
 font-size: 0.95rem;
 }

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

 .tech-badges {
 display: flex;
 flex-wrap: wrap;
 gap: 15px;
 justify-content: center;
 margin-top: 40px;
 }

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

 /* CTA Section */
 .cta-section {
 padding: 100px 20px;
 background: linear-gradient(135deg, var(--bg-medium) 0%, var(--bg-darker) 100%);
 text-align: center;
 }

 .cta-title {
 font-size: 2.5rem;
 margin-bottom: 20px;
 background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
 background-clip: text;
 }

 .cta-text {
 color: var(--text-muted);
 font-size: 1.2rem;
 margin-bottom: 30px;
 max-width: 600px;
 margin-left: auto;
 margin-right: auto;
 }

 /* Blog Article Styles */
 .blog-article {
 padding: 80px 20px;
 max-width: 900px;
 margin: 0 auto;
 }

 .article-header {
 margin-bottom: 40px;
 }

 .article-back {
 color: var(--primary);
 text-decoration: none;
 font-weight: 600;
 display: inline-block;
 margin-bottom: 20px;
 transition: color 0.3s;
 }

 .article-back:hover {
 color: var(--secondary);
 }

 .article-title {
 font-size: 2.8rem;
 line-height: 1.3;
 margin-bottom: 20px;
 background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
 background-clip: text;
 }

 .article-meta {
 display: flex;
 gap: 20px;
 color: var(--text-muted);
 font-size: 0.95rem;
 }

 .article-lead {
 font-size: 1.3rem;
 color: var(--text-muted);
 line-height: 1.8;
 margin-bottom: 30px;
 padding-bottom: 30px;
 border-bottom: 1px solid rgba(99, 102, 241, 0.2);
 }

 .article-content h2 {
 font-size: 1.8rem;
 margin-top: 40px;
 margin-bottom: 15px;
 color: var(--text-primary);
 }

 .article-content h3 {
 font-size: 1.4rem;
 margin-top: 30px;
 margin-bottom: 12px;
 color: var(--text-primary);
 }

 .article-content p {
 line-height: 1.8;
 margin-bottom: 20px;
 color: var(--text-muted);
 }

 .article-content ul, .article-content ol {
 margin-bottom: 20px;
 padding-left: 30px;
 }

 .article-content li {
 margin-bottom: 10px;
 line-height: 1.7;
 color: var(--text-muted);
 }

 .article-content strong {
 color: var(--text-primary);
 }

 .article-content code {
 background: var(--bg-darker);
 padding: 2px 8px;
 border-radius: 4px;
 font-size: 0.9em;
 color: var(--secondary);
 }

 .article-content pre {
 background: var(--bg-darker);
 padding: 20px;
 border-radius: 10px;
 overflow-x: auto;
 margin-bottom: 20px;
 }

 .article-content pre code {
 background: none;
 padding: 0;
 }

 .article-content blockquote {
 border-left: 4px solid var(--primary);
 padding-left: 20px;
 margin: 30px 0;
 font-style: italic;
 color: var(--text-muted);
 }

 /* Light theme for blog */
 [data-theme="light"] .blog-section {
 background: #f8f9fa;
 }

 [data-theme="light"] .blog-card {
 background: #ffffff;
 border-color: rgba(99, 102, 241, 0.15);
 }

 [data-theme="light"] .blog-card:hover {
 border-color: rgba(99, 102, 241, 0.4);
 box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
 }

 [data-theme="light"] .blog-card-title a {
 color: #1a1a2e;
 }

 [data-theme="light"] .blog-card-title a:hover {
 color: var(--primary);
 }

 [data-theme="light"] .blog-card-excerpt,
 [data-theme="light"] .blog-card-date {
 color: #666;
 }

 [data-theme="light"] .cta-section {
 background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
 }

 [data-theme="light"] .cta-text {
 color: #666;
 }

 [data-theme="light"] .blog-article {
 background: #ffffff;
 }

 [data-theme="light"] .article-title {
 color: #1a1a2e;
 }

 [data-theme="light"] .article-lead {
 color: #555;
 border-bottom-color: rgba(99, 102, 241, 0.3);
 }

 [data-theme="light"] .article-content h2,
 [data-theme="light"] .article-content h3 {
 color: #1a1a2e;
 }

 [data-theme="light"] .article-content p,
 [data-theme="light"] .article-content li {
 color: #555;
 }

 [data-theme="light"] .article-content strong {
 color: #1a1a2e;
 }

 [data-theme="light"] .article-content code {
 background: #f1f3f5;
 color: var(--primary);
 }

 [data-theme="light"] .article-content pre {
 background: #f1f3f5;
 }

 [data-theme="light"] .article-content blockquote {
 color: #666;
 border-left-color: var(--primary);
 }

 /* Animations - CONTENIDO VISIBLE POR DEFECTO */
 .fade-in {
 opacity: 1;  /* VISIBLE SIEMPRE - urgente producción */
 transform: translateY(0);
 transition: all 0.6s ease;
 }

 /* Animación de entrada opcional (cuando el observer funciona) */
 .fade-in.animate-entry {
 opacity: 0;
 transform: translateY(30px);
 }

 .fade-in.visible,
 .fade-in.animate-entry.visible {
 opacity: 1;
 transform: translateY(0);
 }

 /* Responsive */
@media (max-width: 968px) {
 section {
  padding: 60px 15px;
 }

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

 .hero h2 {
  font-size: 1.6rem;
 }

 .hero-description {
  font-size: 1.1rem;
 }

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

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

 .section-title {
  font-size: 2.2rem;
 }

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

@media (max-width: 640px) {
 .hero h1 {
  font-size: 2rem;
 }

 .hero h2 {
  font-size: 1.3rem;
 }

 .stat-number {
  font-size: 2.5rem;
 }

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

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


 /* Stats section */
 .stats-grid .stat-label {
   color: var(--text-muted);
   font-size: 0.95rem;
   margin-top: 8px;
   font-weight: 500;
 }

 [data-theme="light"] .stats-bar {
   background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(139, 92, 246, 0.06) 100%);
 }

 /* ── Modules Grid with Progress Bars ── */
 .modules-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   gap: 24px;
   margin-top: 50px;
 }

 .module-card {
   background: var(--card-bg);
   border: 1px solid var(--border-color);
   border-radius: 16px;
   padding: 30px;
   transition: all var(--transition-medium);
   backdrop-filter: blur(10px);
 }

 .module-card:hover {
   transform: translateY(-6px);
   border-color: rgba(99, 102, 241, 0.5);
   box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
 }

 .module-card-icon {
   font-size: 2.2rem;
   margin-bottom: 15px;
   display: block;
 }

 .module-card h3 {
   color: var(--primary);
   font-size: 1.3rem;
   margin-bottom: 10px;
 }

 .module-card p {
   color: var(--text-muted);
   font-size: 0.95rem;
   line-height: 1.7;
   margin-bottom: 18px;
 }

 .progress-bar {
   width: 100%;
   height: 8px;
   background: rgba(99, 102, 241, 0.15);
   border-radius: 4px;
   overflow: hidden;
 }

 .progress-fill {
   height: 100%;
   background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
   border-radius: 4px;
   width: 0;
   transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
 }

 .progress-fill.animated {
   /* width set via inline style or data attribute */
 }

 .module-card .progress-label {
   display: flex;
   justify-content: space-between;
   font-size: 0.85rem;
   color: var(--text-muted);
   margin-top: 8px;
 }

 [data-theme="light"] .module-card {
   background: rgba(255, 255, 255, 0.9);
 }

 [data-theme="light"] .module-card h3 {
   color: var(--primary);
 }

 [data-theme="light"] .module-card p {
   color: #475569;
 }

 /* ── Agents Grid ── */
 .agents-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 24px;
   margin-top: 50px;
 }

 .agent-card {
   background: var(--card-bg);
   border: 1px solid var(--border-color);
   border-radius: 16px;
   padding: 30px;
   transition: all var(--transition-medium);
   backdrop-filter: blur(10px);
   position: relative;
   overflow: hidden;
 }

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

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

 .agent-card:hover {
   transform: translateY(-6px);
   border-color: rgba(99, 102, 241, 0.5);
   box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
 }

 .agent-card-header {
   display: flex;
   align-items: center;
   gap: 15px;
   margin-bottom: 15px;
 }

 .agent-card-header .agent-icon {
   font-size: 2.5rem;
   flex-shrink: 0;
 }

 .agent-card-header h3 {
   color: var(--text);
   font-size: 1.2rem;
   margin: 0;
 }

 .agent-card p {
   color: var(--text-muted);
   font-size: 0.95rem;
   line-height: 1.7;
   margin-bottom: 15px;
 }

 .agent-tags {
   display: flex;
   flex-wrap: wrap;
   gap: 8px;
 }

 .agent-tag {
   display: inline-block;
   padding: 5px 12px;
   border-radius: 20px;
   font-size: 0.8rem;
   font-weight: 600;
   letter-spacing: 0.3px;
 }

 /* Tag colors by category */
 .agent-tag.orchestration { background: rgba(99, 102, 241, 0.15); color: #a5b4fc; border: 1px solid rgba(99, 102, 241, 0.3); }
 .agent-tag.code { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.3); }
 .agent-tag.vision { background: rgba(236, 72, 153, 0.15); color: #f9a8d4; border: 1px solid rgba(236, 72, 153, 0.3); }
 .agent-tag.search { background: rgba(245, 158, 11, 0.15); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.3); }
 .agent-tag.browser { background: rgba(139, 92, 246, 0.15); color: #c4b5fd; border: 1px solid rgba(139, 92, 246, 0.3); }
 .agent-tag.data { background: rgba(6, 182, 212, 0.15); color: #67e8f9; border: 1px solid rgba(6, 182, 212, 0.3); }
 .agent-tag.messaging { background: rgba(34, 197, 94, 0.15); color: #86efac; border: 1px solid rgba(34, 197, 94, 0.3); }
 .agent-tag.social { background: rgba(244, 63, 94, 0.15); color: #fda4af; border: 1px solid rgba(244, 63, 94, 0.3); }

 [data-theme="light"] .agent-tag.orchestration { background: rgba(99, 102, 241, 0.1); color: var(--primary); }
 [data-theme="light"] .agent-tag.code { background: rgba(16, 185, 129, 0.1); color: #059669; }
 [data-theme="light"] .agent-tag.vision { background: rgba(236, 72, 153, 0.1); color: #db2777; }
 [data-theme="light"] .agent-tag.search { background: rgba(245, 158, 11, 0.1); color: #d97706; }
 [data-theme="light"] .agent-tag.browser { background: rgba(139, 92, 246, 0.1); color: #7c3aed; }
 [data-theme="light"] .agent-tag.data { background: rgba(6, 182, 212, 0.1); color: #0891b2; }
 [data-theme="light"] .agent-tag.messaging { background: rgba(34, 197, 94, 0.1); color: #16a34a; }
 [data-theme="light"] .agent-tag.social { background: rgba(244, 63, 94, 0.1); color: #e11d48; }

 [data-theme="light"] .agent-card {
   background: rgba(255, 255, 255, 0.9);
 }

 [data-theme="light"] .agent-card-header h3 {
   color: #1e293b;
 }

 [data-theme="light"] .agent-card p {
   color: #475569;
 }

 /* ── Integrations Grid ── */
 .integrations-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
   gap: 20px;
   margin-top: 50px;
 }

 .integration-card {
   background: var(--card-bg);
   border: 1px solid var(--border-color);
   border-radius: 16px;
   padding: 25px 20px;
   text-align: center;
   transition: all var(--transition-medium);
   backdrop-filter: blur(10px);
 }

 .integration-card:hover {
   transform: translateY(-5px);
   border-color: rgba(99, 102, 241, 0.5);
   box-shadow: 0 12px 30px rgba(99, 102, 241, 0.15);
 }

 .integration-card .integration-icon {
   font-size: 2.5rem;
   display: block;
   margin-bottom: 12px;
 }

 .integration-card h4 {
   color: var(--primary);
   font-size: 1.1rem;
   margin-bottom: 8px;
 }

 .integration-card p {
   color: var(--text-muted);
   font-size: 0.85rem;
   line-height: 1.5;
 }

 [data-theme="light"] .integration-card {
   background: rgba(255, 255, 255, 0.9);
 }

 [data-theme="light"] .integration-card p {
   color: #475569;
 }

 /* ── Architecture Diagram ── */
 .architecture-diagram {
   display: flex;
   flex-direction: column;
   gap: 16px;
   margin-top: 50px;
   max-width: 900px;
   margin-left: auto;
   margin-right: auto;
 }

 .architecture-diagram .arch-layer {
   background: rgba(99, 102, 241, 0.08);
   border-left: 4px solid var(--primary);
   padding: 22px 28px;
   border-radius: 12px;
   transition: all 0.3s;
   position: relative;
 }

 .architecture-diagram .arch-layer:hover {
   background: rgba(99, 102, 241, 0.15);
   transform: translateX(8px);
 }

 .architecture-diagram .arch-layer h4 {
   color: var(--primary);
   margin-bottom: 8px;
   font-size: 1.15rem;
 }

 .architecture-diagram .arch-layer p {
   color: var(--text-muted);
   font-size: 0.9rem;
   line-height: 1.6;
 }

 /* Side markers for layers */
 .architecture-diagram .arch-layer::after {
   content: '';
   position: absolute;
   right: -30px;
   top: 50%;
   transform: translateY(-50%);
   width: 12px;
   height: 12px;
   border-radius: 50%;
   background: var(--primary);
   opacity: 0.4;
 }

 [data-theme="light"] .architecture-diagram .arch-layer {
   background: rgba(99, 102, 241, 0.06);
 }

 [data-theme="light"] .architecture-diagram .arch-layer h4 {
   color: var(--primary);
 }

 [data-theme="light"] .architecture-diagram .arch-layer p {
   color: #475569;
 }

/* ── Cases Grid ── */
.cases-grid,
.casos-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
   gap: 24px;
   margin-top: 50px;
}

.caso-card {
   width: 100%;
}

 .case-card {
   background: var(--card-bg);
   border: 1px solid var(--border-color);
   border-radius: 16px;
   padding: 30px;
   transition: all var(--transition-medium);
   backdrop-filter: blur(10px);
   position: relative;
   overflow: hidden;
 }

.case-card .case-tag,
.caso-card .caso-tag {
   display: inline-block;
   padding: 5px 14px;
   border-radius: 20px;
   font-size: 0.75rem;
   font-weight: 700;
   letter-spacing: 1px;
   background: rgba(99, 102, 241, 0.15);
   color: var(--primary);
   border: 1px solid rgba(99, 102, 241, 0.3);
   margin-bottom: 15px;
}

.caso-card h3,
.case-card h3 {
   color: var(--text);
   font-size: 1.2rem;
   margin-bottom: 12px;
   line-height: 1.4;
}

.caso-card p,
.case-card p {
   color: var(--text-muted);
   font-size: 0.95rem;
   line-height: 1.7;
   margin-bottom: 15px;
}

.caso-card ul,
.case-card ul {
   list-style: none;
   margin: 15px 0;
   padding-left: 0;
}

.caso-card li,
.case-card li {
   color: var(--text-muted);
   padding: 8px 0;
   padding-left: 30px;
   position: relative;
   font-size: 0.95rem;
   line-height: 1.6;
}

.caso-card li:before,
.case-card li:before {
   content: "→";
   position: absolute;
   left: 0;
   color: var(--primary);
   font-weight: bold;
   font-size: 1.1rem;
}

.case-result,
.caso-card .case-result,
.case-card .case-result {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   padding: 8px 16px;
   background: rgba(16, 185, 129, 0.1);
   border: 1px solid rgba(16, 185, 129, 0.3);
   border-radius: 10px;
   color: #6ee7b7;
   font-weight: 700;
   font-size: 0.9rem;
   margin-top: 10px;
}

[data-theme="light"] .case-card,
[data-theme="light"] .caso-card {
   background: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .case-card h3,
[data-theme="light"] .caso-card h3 {
   color: #1e293b;
}

[data-theme="light"] .case-card p,
[data-theme="light"] .caso-card p {
   color: #475569;
}

[data-theme="light"] .case-card .case-tag,
[data-theme="light"] .caso-card .caso-tag {
   background: rgba(99, 102, 241, 0.1);
   color: var(--primary);
}

[data-theme="light"] .case-card .case-result,
[data-theme="light"] .caso-card .case-result,
[data-theme="light"] .case-result {
   background: rgba(16, 185, 129, 0.08);
   color: #059669;
}

[data-theme="light"] .caso-card li {
   color: #475569;
}

/* ── Roadmap Timeline ── */
.roadmap {
   position: relative;
   margin-top: 50px;
   max-width: 800px;
   margin-left: auto;
   margin-right: auto;
   padding-left: 40px;
}

 .roadmap::before {
   content: '';
   position: absolute;
   left: 15px;
   top: 0;
   bottom: 0;
   width: 3px;
   background: linear-gradient(to bottom, var(--primary), var(--secondary), var(--accent));
   border-radius: 2px;
 }

 .roadmap-item {
   position: relative;
   margin-bottom: 35px;
   padding: 25px;
   background: var(--card-bg);
   border: 1px solid var(--border-color);
   border-radius: 16px;
   transition: all var(--transition-medium);
 }

 .roadmap-item:hover {
   border-color: rgba(99, 102, 241, 0.5);
   transform: translateX(5px);
   box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
 }

 .roadmap-item::before {
   content: '';
   position: absolute;
   left: -33px;
   top: 30px;
   width: 14px;
   height: 14px;
   border-radius: 50%;
   background: var(--primary);
   border: 3px solid var(--dark);
   box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
 }

 .roadmap-item.completed::before {
   background: var(--success);
   box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
 }

 .roadmap-item.active::before {
   background: var(--warning);
   box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3);
   animation: pulse 2s ease-in-out infinite;
 }

 .roadmap-item .roadmap-date {
   font-size: 0.8rem;
   color: var(--text-muted);
   text-transform: uppercase;
   letter-spacing: 1px;
   margin-bottom: 8px;
   font-weight: 600;
 }

 .roadmap-item h4 {
   color: var(--text);
   font-size: 1.1rem;
   margin-bottom: 8px;
 }

 .roadmap-item p {
   color: var(--text-muted);
   font-size: 0.9rem;
   line-height: 1.6;
 }

 [data-theme="light"] .roadmap-item {
   background: rgba(255, 255, 255, 0.9);
 }

 [data-theme="light"] .roadmap-item h4 {
   color: #1e293b;
 }

 [data-theme="light"] .roadmap-item p,
 [data-theme="light"] .roadmap-item .roadmap-date {
   color: #475569;
 }

 [data-theme="light"] .roadmap::before {
   opacity: 0.5;
 }

 /* ── Synergy Flow Diagram ── */
 .synergy-flow {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 0;
   margin-top: 50px;
   flex-wrap: wrap;
 }

 .synergy-flow .flow-node {
   background: var(--card-bg);
   border: 2px solid var(--border-color);
   border-radius: 20px;
   padding: 35px 30px;
   text-align: center;
   width: 280px;
   transition: all var(--transition-medium);
   backdrop-filter: blur(10px);
 }

 .synergy-flow .flow-node:hover {
   transform: translateY(-5px);
   border-color: var(--primary);
   box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
 }

 .synergy-flow .flow-node .flow-icon {
   font-size: 3rem;
   display: block;
   margin-bottom: 15px;
 }

 .synergy-flow .flow-node h4 {
   color: var(--primary);
   font-size: 1.3rem;
   margin-bottom: 10px;
 }

 .synergy-flow .flow-node p {
   color: var(--text-muted);
   font-size: 0.9rem;
   line-height: 1.6;
 }

 .synergy-flow .flow-connector {
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 0 10px;
   font-size: 2rem;
   color: var(--primary);
   min-width: 60px;
 }

 [data-theme="light"] .synergy-flow .flow-node {
   background: rgba(255, 255, 255, 0.9);
 }

 [data-theme="light"] .synergy-flow .flow-node p {
   color: #475569;
 }

 /* ── Infrastructure Grid ── */
 .infrastructure-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
   gap: 24px;
   margin-top: 50px;
 }

 .infra-card {
   background: var(--card-bg);
   border: 1px solid var(--border-color);
   border-radius: 16px;
   padding: 28px;
   text-align: center;
   transition: all var(--transition-medium);
   backdrop-filter: blur(10px);
 }

 .infra-card:hover {
   transform: translateY(-5px);
   border-color: rgba(99, 102, 241, 0.5);
   box-shadow: 0 12px 30px rgba(99, 102, 241, 0.15);
 }

 .infra-card .infra-icon {
   font-size: 2.5rem;
   display: block;
   margin-bottom: 15px;
 }

 .infra-card h4 {
   color: var(--text);
   font-size: 1.15rem;
   margin-bottom: 10px;
 }

 .infra-card p {
   color: var(--text-muted);
   font-size: 0.9rem;
   line-height: 1.6;
 }

 [data-theme="light"] .infra-card {
   background: rgba(255, 255, 255, 0.9);
 }

 [data-theme="light"] .infra-card h4 {
   color: #1e293b;
 }

 [data-theme="light"] .infra-card p {
   color: #475569;
 }

 /* ═══════════════════════════════════════════════════════════════
    RESPONSIVE: New sections
    ═══════════════════════════════════════════════════════════════ */
 @media (max-width: 968px) {
   .stats-grid {
     grid-template-columns: repeat(3, 1fr);
     gap: 20px;
   }

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

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

   .cases-grid,
   .casos-grid {
     grid-template-columns: 1fr;
   }

   .synergy-flow {
     flex-direction: column;
   }

   .synergy-flow .flow-connector {
     transform: rotate(90deg);
     padding: 5px 0;
   }

   .architecture-diagram .arch-layer::after {
     display: none;
   }
 }

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

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

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

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

   .stats-grid .stat-value {
     font-size: 2rem;
   }

   .roadmap {
     padding-left: 30px;
   }

   .roadmap::before {
     left: 10px;
   }

   .roadmap-item::before {
     left: -28px;
   }
 }

/* ========================================
   🔥 VISUAL ENHANCEMENT SYSTEM v8
   ======================================== */

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4, #22c55e, #06b6d4, #3b82f6);
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
  z-index: 10000;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Canvas Particles Container */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.particles-container canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Reveal Animations */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal { transform: translateY(30px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-scale { transform: scale(0.8); }

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

.reveal.d1, .reveal-left.d1, .reveal-right.d1 { transition-delay: 0.1s; }
.reveal.d2, .reveal-left.d2, .reveal-right.d2 { transition-delay: 0.2s; }
.reveal.d3, .reveal-left.d3, .reveal-right.d3 { transition-delay: 0.3s; }
.reveal.d4, .reveal-left.d4, .reveal-right.d4 { transition-delay: 0.4s; }
.reveal.d5, .reveal-left.d5, .reveal-right.d5 { transition-delay: 0.5s; }
.reveal.d6, .reveal-left.d6, .reveal-right.d6 { transition-delay: 0.6s; }
.reveal.d7, .reveal-left.d7, .reveal-right.d7 { transition-delay: 0.7s; }
.reveal.d8, .reveal-left.d8, .reveal-right.d8 { transition-delay: 0.8s; }

/* Hero Enhanced */
.hero-enhanced {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 40px;
  background: radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 0%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
}

.hero-enhanced::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(59, 130, 246, 0.03) 60deg, transparent 120deg, rgba(6, 182, 212, 0.03) 180deg, transparent 240deg, rgba(34, 197, 94, 0.03) 300deg, transparent 360deg);
  animation: heroRotate 30s linear infinite;
  z-index: 0;
}

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

.hero-enhanced .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 30%, #22c55e 60%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-blue {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #1d4ed8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 50%, #0891b2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-green {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 50%, #16a34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.pricing-card.glass-card {
  overflow: visible !important;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(59, 130, 246, 0.1);
}

/* Tilt Card */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.tilt-card .tilt-glare {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255,255,255,0.15) 0%, transparent 60%);
  z-index: 10;
}

.tilt-card:hover .tilt-glare {
  opacity: 1;
}

/* Magnetic Button */
.magnetic-btn {
  position: relative;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

/* Typing Effect */
.typing-effect {
  display: inline-block;
  border-right: 2px solid #06b6d4;
  animation: blink 0.8s step-end infinite;
  white-space: nowrap;
  overflow: hidden;
}

.typing-effect.done {
  border-right-color: transparent;
}

@keyframes blink {
  50% { border-color: transparent; }
}

/* Floating Numbers */
.hero-floating-numbers .floating-num {
  position: absolute;
  font-weight: 700;
  color: rgba(59, 130, 246, 0.06);
  animation: floatUp var(--float-duration, 8s) linear infinite;
  animation-delay: var(--float-delay, 0s);
  pointer-events: none;
  z-index: 1;
}

@keyframes floatUp {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* Section Enhanced */
.section-enhanced {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-enhanced::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* Stats Grid Enhanced */
.stats-grid-enhanced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}

.stat-card-enhanced {
  text-align: center;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.stat-card-enhanced:hover {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-4px);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #60a5fa, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label-enhanced {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Progress Bar Enhanced */
.progress-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.75rem;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #06b6d4, #22c55e);
  background-size: 200% 100%;
  border-radius: 4px;
  width: 0%;
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: progressGradient 3s ease infinite;
}

@keyframes progressGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Badge Enhanced */
.badge-enhanced {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 999px;
  font-size: 0.8rem;
  color: #60a5fa;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.badge-enhanced .badge-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

/* Glow Effects */
.glow-blue { box-shadow: 0 0 30px rgba(59, 130, 246, 0.15); }
.glow-cyan { box-shadow: 0 0 30px rgba(6, 182, 212, 0.15); }
.glow-green { box-shadow: 0 0 30px rgba(34, 197, 94, 0.15); }

/* Grid pattern background */
.grid-bg {
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Hero particles canvas override for existing hero */
.hero .particles-container,
section.hero .particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero .particles-container canvas,
section.hero .particles-container canvas {
  position: absolute;
  top: 0;
  left: 0;
}

/* Ensure hero content stays above particles */
.hero-content,
section.hero .hero-content,
section.hero .container,
section.hero > .container {
  position: relative;
  z-index: 2;
}

/* Hero glow orbs */
.hero-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-orb.orb1 {
  width: 400px;
  height: 400px;
  background: rgba(59, 130, 246, 0.15);
  top: -100px;
  left: -100px;
  animation: orbFloat1 8s ease-in-out infinite;
}

.hero-glow-orb.orb2 {
  width: 300px;
  height: 300px;
  background: rgba(6, 182, 212, 0.12);
  bottom: -50px;
  right: -50px;
  animation: orbFloat2 10s ease-in-out infinite;
}

.hero-glow-orb.orb3 {
  width: 250px;
  height: 250px;
  background: rgba(34, 197, 94, 0.1);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbFloat3 12s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(50px, 30px); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-40px, -20px); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.2); }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-enhanced { min-height: auto; padding-top: 80px; padding-bottom: 30px; }
  .stat-value { font-size: 2rem; }
  .stats-grid-enhanced { grid-template-columns: repeat(2, 1fr); }
  .hero-glow-orb { display: none; }
}

/* ══════════════════════════════════════════════════════════════════
   PREMIUM VISUAL ENHANCEMENTS v2
   ══════════════════════════════════════════════════════════════════ */

/* === ANIMATED GRADIENT BORDERS === */
@keyframes gradient-border-spin {
  0% { --angle: 0deg; }
  100% { --angle: 360deg; }
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.card::before,
.module-card::before,
.integration-card::before,
.pricing-card::before,
.agent-card::before,
.infra-card::before,
.platform-card::before,
.synergy-detail::before,
.case-card::before,
.caso-card::before,
.vision-card::before,
.overview-card::before {
  background: linear-gradient(var(--angle), var(--primary), var(--secondary), var(--accent), var(--primary)) !important;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover::before,
.module-card:hover::before,
.integration-card:hover::before,
.pricing-card:hover::before,
.agent-card:hover::before,
.infra-card:hover::before,
.platform-card:hover::before,
.synergy-detail:hover::before,
.case-card:hover::before,
.caso-card:hover::before,
.vision-card:hover::before,
.overview-card:hover::before {
  opacity: 1;
}

/* === ENHANCED GLOW ON HOVER === */
.card:hover,
.module-card:hover,
.integration-card:hover,
.pricing-card:hover,
.agent-card:hover,
.infra-card:hover,
.platform-card:hover,
.synergy-detail:hover,
.case-card:hover,
.caso-card:hover {
  box-shadow:
    0 0 20px rgba(99, 102, 241, 0.08),
    0 0 60px rgba(99, 102, 241, 0.04),
    0 20px 40px rgba(0, 0, 0, 0.15) !important;
  border-color: rgba(99, 102, 241, 0.35) !important;
}

/* === SHIMMER EFFECT ON CARDS === */
@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(200%) rotate(25deg); }
}

.card::after,
.module-card::after,
.agent-card::after,
.pricing-card::after,
.integration-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 30%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.03),
    transparent
  );
  transform: translateX(-100%) rotate(25deg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover::after,
.module-card:hover::after,
.agent-card:hover::after,
.pricing-card:hover::after,
.integration-card:hover::after {
  opacity: 1;
  animation: shimmer 1.5s ease-in-out;
}

/* === SECTION DIVIDERS === */
.section-padding::before,
.adri-section::before,
.vision-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

/* === PULSE GLOW FOR PRIMARY ELEMENTS === */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.15); }
  50% { box-shadow: 0 0 40px rgba(99, 102, 241, 0.3), 0 0 80px rgba(99, 102, 241, 0.1); }
}

.pricing-card.featured,
.agent-card:first-child,
.platform-card:first-child {
  animation: pulse-glow 4s ease-in-out infinite;
}

/* === ENHANCED CTA BUTTONS === */
.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

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

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4) !important;
}

/* === ENHANCED SECTION TITLES === */
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

/* === FLOATING BADGE ANIMATION === */
@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-badge,
.adri-badge,
.hero-badge.bionic,
.hero-badge.adri,
.hero-badge.synergy,
.pricing-badge {
  animation: float-badge 3s ease-in-out infinite;
}

/* === ENHANCED SCROLL-TOP BUTTON === */
.scroll-top {
  background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease !important;
}

.scroll-top:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5) !important;
}

/* === NAV CTA GLOW === */
.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease !important;
}

.nav-cta:hover {
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5) !important;
  transform: translateY(-1px);
}

/* === TECH BADGES ENHANCED === */
.tech-badge {
  background: rgba(99, 102, 241, 0.08) !important;
  border: 1px solid rgba(99, 102, 241, 0.2) !important;
  transition: all 0.2s ease !important;
}

.tech-badge:hover {
  background: rgba(99, 102, 241, 0.2) !important;
  border-color: rgba(99, 102, 241, 0.5) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

/* === CAP-TAG HOVER === */
.cap-tag {
  transition: all 0.2s ease !important;
}

.cap-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

/* === HIGHLIGHT BOX GLOW === */
.highlight-box {
  border-color: rgba(99, 102, 241, 0.25) !important;
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.05) !important;
}

/* === FAQ ENHANCED === */
.faq-item {
  transition: all 0.3s ease !important;
}

.faq-item:hover {
  border-color: rgba(99, 102, 241, 0.3) !important;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.08) !important;
}

.faq-item[open] {
  border-color: rgba(99, 102, 241, 0.35) !important;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1) !important;
}

.faq-item[open] summary {
  color: var(--primary) !important;
}

/* === CONTACT FORM ENHANCED === */
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
}

/* === SMOOTH PAGE TRANSITIONS === */
@keyframes page-enter {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

main {
  animation: page-enter 0.5s ease-out;
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  main { animation: none; }
}

/* ============================================
   MOBILE HAMBURGER FIX - NUCLEAR OVERRIDE
   ============================================ */
@media (max-width: 968px) {
    /* Hamburger button */
    .menu-toggle {
        display: flex !important;
        position: fixed !important;
        top: 15px !important;
        right: 15px !important;
        z-index: 1003 !important;
        flex-direction: column !important;
        gap: 5px !important;
        cursor: pointer !important;
        padding: 8px !important;
        background: rgba(10, 14, 39, 0.8) !important;
        border: 1px solid rgba(99, 102, 241, 0.3) !important;
        border-radius: 8px !important;
        width: 42px !important;
        height: 36px !important;
        align-items: center !important;
        justify-content: center !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }

    .menu-toggle span {
        display: block !important;
        width: 22px !important;
        height: 2px !important;
        background: var(--primary) !important;
        border-radius: 2px !important;
        transition: all 0.3s ease !important;
        transform-origin: center !important;
    }

    .menu-toggle.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg) !important;
    }
    .menu-toggle.open span:nth-child(2) {
        opacity: 0 !important;
        transform: scaleX(0) !important;
    }
    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg) !important;
    }

    /* Move theme toggle to not overlap */
    .theme-toggle {
        position: fixed !important;
        top: 15px !important;
        right: 65px !important;
        z-index: 1003 !important;
    }

    /* ========== NAV LINKS - HIDDEN BY DEFAULT ON MOBILE ========== */
    .nav-links {
        display: none !important;
        pointer-events: none !important;
    }

    /* ========== NAV LINKS - VERTICAL DROPDOWN WHEN ACTIVE ========== */
    .nav-links.active {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 65px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: auto !important;
        max-height: calc(100vh - 65px) !important;
        background: rgba(10, 14, 39, 0.98) !important;
        padding: 20px !important;
        gap: 0 !important;
        z-index: 9999 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        border-top: 1px solid rgba(99, 102, 241, 0.2) !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        pointer-events: auto !important;
    }

    /* ========== LI items - FULL WIDTH BLOCK ========== */
    .nav-links.active li {
        display: block !important;
        width: 100% !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        pointer-events: auto !important;
    }

    /* ========== A links - FULL WIDTH WITH PADDING ========== */
    .nav-links.active a {
        display: block !important;
        width: 100% !important;
        padding: 16px 20px !important;
        font-size: 1.15rem !important;
        font-weight: 500 !important;
        color: var(--text) !important;
        text-decoration: none !important;
        border-radius: 10px !important;
        transition: background 0.2s ease !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
    }

    .nav-links.active a:hover {
        background: rgba(99, 102, 241, 0.15) !important;
        color: var(--primary) !important;
    }

}

/* ========== LIGHT MODE MOBILE ========== */
@media (max-width: 968px) {
    [data-theme="light"] .menu-toggle {
        background: rgba(255, 255, 255, 0.9) !important;
        border-color: rgba(99, 102, 241, 0.2) !important;
    }
    [data-theme="light"] .menu-toggle span {
        background: #1e293b !important;
    }
    [data-theme="light"] .nav-links.active {
        background: rgba(255, 255, 255, 0.98) !important;
    }
    [data-theme="light"] .nav-links.active a {
        color: #1e293b !important;
    }
    [data-theme="light"] .nav-links.active a:hover {
        background: rgba(99, 102, 241, 0.1) !important;
        color: var(--primary) !important;
    }
}

/* ========== WHATSAPP FLOATING BUTTON ========== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}
.whatsapp-float svg {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    fill: #fff !important;
    flex-shrink: 0;
}
.whatsapp-float .wa-tooltip {
    position: absolute;
    right: 72px;
    background: rgba(15, 23, 42, 0.92);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
}
.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
}
[data-theme="light"] .whatsapp-float .wa-tooltip {
    background: rgba(255, 255, 255, 0.95);
    color: #1e293b;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 54px;
        height: 54px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
    .whatsapp-float .wa-tooltip {
        display: none;
    }
}


