/* ============================================
   THYNKIA - Estilos Principales
   https://thynkia.net
   ============================================ */

:root {
    --primary: #6c5ce7;
    --primary-light: #a29bfe;
    --accent: #00cec9;
    --accent-warm: #f59e0b;
    --accent-coral: #ff6b6b;
    --dark: #0a0a1a;
    --dark-card: #12122a;
    --dark-border: rgba(255,255,255,0.07);
    --text: #e2e8f0;
    --text-muted: rgba(255,255,255,0.68);
    --gradient-1: linear-gradient(135deg, #6c5ce7, #a29bfe);
    --gradient-2: linear-gradient(135deg, #00cec9, #81ecec);
    --gradient-warm: linear-gradient(135deg, #f59e0b, #fbbf24);
    --radius: 12px;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--dark);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.7;
  }
  /* NAV */
  .nav {
    position: sticky; top: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 40px;
    background: rgba(10,10,26,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--dark-border);
  }
  .nav-logo { font-size: 22px; font-weight: 800; color: #fff; cursor: pointer; }
  .nav-logo span { color: var(--primary-light); }
  .nav-links { display: flex; gap: 28px; }
  .nav-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: 0.2px; transition: color 0.2s; cursor: pointer; }
  .nav-links a:hover { color: #fff; }
  .nav-links a.active { color: #fff; border-bottom: 2px solid var(--primary); padding-bottom: 2px; }
  .nav-cta {
    background: var(--gradient-1); color: #fff; border: none;
    padding: 10px 22px; border-radius: 8px; font-weight: 600; font-size: 14px;
    cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; text-decoration: none;
  }
  .nav-cta:hover { transform: scale(1.05); box-shadow: 0 4px 20px rgba(108,92,231,0.4); }
  /* VIEWS */
  
  
  /* HERO */
  .hero {
    padding: 100px 40px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(108,92,231,0.12) 0%, transparent 60%);
    top: -300px; left: 50%; transform: translateX(-50%);
  }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(108,92,231,0.15); border: 1px solid rgba(108,92,231,0.3);
    padding: 6px 16px; border-radius: 100px; font-size: 13px; color: var(--primary-light);
    margin-bottom: 24px;
  }
  .hero h1 {
    font-size: 52px; font-weight: 800; line-height: 1.15;
    max-width: 800px; margin: 0 auto 20px;
    background: linear-gradient(135deg, #fff 0%, #a29bfe 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  }
  .hero p { font-size: 18px; color: var(--text-muted); max-width: 650px; margin: 0 auto 32px; line-height: 1.7; }
  .hero-cta {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--gradient-1); color: #fff;
    padding: 14px 32px; border-radius: 10px;
    font-size: 16px; font-weight: 600; text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s; cursor: pointer;
  }
  .hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(108,92,231,0.4); }
  .hero-sub { margin-top: 12px; font-size: 13px; color: var(--text-muted); }
  /* SECTIONS */
  .section { padding: 56px 40px; max-width: 1200px; margin: 0 auto; }
  .section-header { text-align: center; margin-bottom: 32px; }
  .section-header h2 { 
    font-size: 34px; 
    font-weight: 800; 
    margin-bottom: 12px; 
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff, #a29bfe, #ffffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-title 4s ease infinite;
  }
  @keyframes gradient-title {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  .section-header p { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }
  /* AGENTS GRID */
  .agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
  }
  .agent-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color 0.3s, transform 0.2s;
  }
  .agent-card:hover { border-color: rgba(108,92,231,0.4); transform: translateY(-3px); }
  .agent-icon {
    width: 44px; height: 44px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; margin-bottom: 14px;
  }
  .agent-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: #fff; }
  .agent-card .role { font-size: 11px; color: var(--primary-light); margin-bottom: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.8px; }
  .agent-card .task { font-size: 13px; color: rgba(255,255,255,0.8); margin-bottom: 8px; font-weight: 600; }
  .agent-card .desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
  /* COMPARISON TABLE */
  .comparison-wrapper { overflow-x: auto; }
  .comparison-table {
    width: 100%; border-collapse: collapse;
    background: var(--dark-card); border-radius: var(--radius); overflow: hidden;
  }
  .comparison-table th {
    padding: 16px 20px; text-align: left;
    font-size: 13px; font-weight: 600; color: var(--primary-light);
    background: rgba(108,92,231,0.08); border-bottom: 1px solid var(--dark-border);
  }
  .comparison-table td {
    padding: 14px 20px; font-size: 13px; color: rgba(255,255,255,0.8);
    border-bottom: 1px solid var(--dark-border);
  }
  .comparison-table tr:last-child td { border-bottom: none; }
  .comparison-table td:first-child { font-weight: 600; color: #fff; }
  .comparison-table .highlight-col { background: rgba(108,92,231,0.05); }
  /* BENEFITS */
  .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
  }
  .benefit-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: border-color 0.3s;
  }
  .benefit-card:hover { border-color: rgba(0,206,201,0.4); }
  .benefit-card .metric { font-size: 28px; font-weight: 800; margin-bottom: 6px; }
  .benefit-card:nth-child(5n+1) .metric { color: var(--accent); }
  .benefit-card:nth-child(5n+2) .metric { color: var(--primary-light); }
  .benefit-card:nth-child(5n+3) .metric { color: var(--accent-warm); }
  .benefit-card:nth-child(5n+4) .metric { color: #ff6b6b; }
  .benefit-card:nth-child(5n+5) .metric { color: #55efc4; }
  .benefit-card h4 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 6px; }
  .benefit-card p { font-size: 12px; color: var(--text-muted); }
  /* LOGOS */
  .logos-section {
    padding: 40px;
    display: flex; align-items: center; justify-content: center;
    gap: 48px; flex-wrap: wrap;
    border-top: 1px solid var(--dark-border);
    border-bottom: 1px solid var(--dark-border);
  }
  .logo-item { font-size: 15px; font-weight: 700; color: rgba(255,255,255,0.45); letter-spacing: 1px; transition: color 0.3s; }
  .logo-item:hover { color: rgba(255,255,255,0.8); }
  /* CASES */
  .cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
  }
  .case-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color 0.3s;
  }
  .case-card:hover { border-color: rgba(0,206,201,0.3); }
  .case-tag {
    display: inline-block;
    background: rgba(0,206,201,0.12); color: var(--accent);
    padding: 4px 12px; border-radius: 20px; font-size: 10px; font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
  }
  .case-card h3 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 8px; line-height: 1.4; }
  .case-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
  .case-date { font-size: 11px; color: rgba(255,255,255,0.35); }
  /* TESTIMONIALS */
  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
  }
  .testimonial-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 24px;
    border-left: 3px solid var(--primary);
  }
  .testimonial-card:nth-child(2) { border-left-color: var(--accent); }
  .testimonial-card:nth-child(3) { border-left-color: var(--accent-warm); }
  .testimonial-card:nth-child(4) { border-left-color: #ff6b6b; }
  .testimonial-card:nth-child(5) { border-left-color: #55efc4; }
  .testimonial-card:nth-child(6) { border-left-color: var(--primary-light); }
  .testimonial-card .stars { color: #ffd700; font-size: 14px; margin-bottom: 12px; }
  .testimonial-card blockquote { font-size: 14px; color: rgba(255,255,255,0.8); font-style: italic; line-height: 1.6; margin-bottom: 16px; }
  .testimonial-author { display: flex; align-items: center; gap: 12px; }
  .testimonial-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--gradient-1); display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px; color: #fff;
  }
  .testimonial-name { font-size: 13px; font-weight: 600; color: #fff; }
  .testimonial-role { font-size: 11px; color: var(--text-muted); }
  /* CTA SECTION */
  .cta-section {
    padding: 80px 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(108,92,231,0.08), rgba(0,206,201,0.05));
    border-top: 1px solid var(--dark-border);
  }
  .cta-section h2 { font-size: 36px; font-weight: 700; margin-bottom: 12px; }
  .cta-section p { font-size: 16px; color: var(--text-muted); margin-bottom: 40px; }
  .steps-row {
    display: flex; gap: 32px; justify-content: center; align-items: flex-start;
    margin-bottom: 40px; flex-wrap: wrap;
  }
  .step-card { text-align: center; max-width: 200px; }
  .step-icon {
    width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 12px;
    background: var(--gradient-1); display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: #fff;
  }
  .step-card h4 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 4px; }
  .step-card p { font-size: 12px; color: var(--text-muted); }
  .step-arrow { font-size: 24px; color: rgba(255,255,255,0.2); margin-top: 20px; }
  /* CONTACT FORM */
  .contact-form {
    max-width: 500px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 14px;
  }
  .contact-form input, .contact-form textarea {
    padding: 14px 18px; border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: #fff; font-size: 14px; font-family: inherit;
    outline: none; transition: border-color 0.2s;
  }
  .contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary); }
  .contact-form textarea { min-height: 100px; resize: vertical; }
  .contact-form button {
    background: var(--gradient-1); color: #fff; border: none;
    padding: 14px 28px; border-radius: 8px;
    font-size: 15px; font-weight: 600; cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .contact-form button:hover { transform: scale(1.02); box-shadow: 0 4px 20px rgba(108,92,231,0.4); }
  /* FOOTER */
  .footer {
    padding: 40px;
    text-align: center;
    border-top: 1px solid var(--dark-border);
    color: rgba(255,255,255,0.4);
    font-size: 13px;
  }
  .footer-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 12px; }
  .footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 13px; }
  .footer-links a:hover { color: #fff; }
  /* BLOG LIST */
  .blog-header {
    padding: 60px 40px 40px;
    text-align: center;
    max-width: 1200px; margin: 0 auto;
  }
  .blog-header h1 { font-size: 42px; font-weight: 800; margin-bottom: 12px; }
  .blog-header p { font-size: 16px; color: var(--text-muted); }
  .blog-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
    max-width: 1200px; margin: 0 auto;
    padding: 0 40px 60px;
  }
  .blog-list-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 28px;
    cursor: pointer;
    transition: border-color 0.3s, transform 0.2s;
  }
  .blog-list-card:hover { border-color: rgba(108,92,231,0.4); transform: translateY(-3px); }
  .blog-list-card .blog-card-meta {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 14px; font-size: 12px; color: var(--text-muted);
  }
  .blog-list-card .blog-card-meta .tag {
    background: rgba(0,206,201,0.12); color: var(--accent);
    padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600;
  }
  .blog-list-card h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; line-height: 1.4; }
  .blog-list-card .preview { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
  .blog-list-card .read-info { font-size: 12px; color: rgba(255,255,255,0.35); display: flex; gap: 16px; }
  /* BLOG ARTICLE */
  .blog-article-view {
    max-width: 800px; margin: 0 auto;
    padding: 40px 40px 80px;
  }
  .blog-back-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: none; border: 1px solid rgba(255,255,255,0.15);
    color: #fff; padding: 8px 18px; border-radius: 8px;
    font-size: 13px; cursor: pointer; margin-bottom: 32px;
    transition: border-color 0.2s;
  }
  .blog-back-btn:hover { border-color: var(--primary); }
  .blog-article-view .article-tag {
    display: inline-block;
    background: rgba(0,206,201,0.12); color: var(--accent);
    padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600;
    margin-bottom: 16px;
  }
  .blog-article-view h1 { font-size: 36px; font-weight: 800; line-height: 1.3; margin-bottom: 16px; color: #fff; }
  .blog-article-view .article-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 36px; display: flex; gap: 16px; }
  .blog-article-view .article-content { font-size: 16px; line-height: 1.8; color: rgba(255,255,255,0.85); }
  .blog-article-view .article-content h2 { font-size: 24px; font-weight: 700; color: #fff; margin: 36px 0 16px; }
  .blog-article-view .article-content h3 { font-size: 20px; font-weight: 600; color: #fff; margin: 28px 0 12px; }
  .blog-article-view .article-content p { margin-bottom: 16px; }
  .blog-article-view .article-content ul, .blog-article-view .article-content ol { margin: 12px 0 16px 24px; }
  .blog-article-view .article-content li { margin-bottom: 8px; }
  .blog-article-view .article-content strong { color: #fff; }
  .blog-article-view .article-content .metric-box {
    background: rgba(108,92,231,0.08);
    border: 1px solid rgba(108,92,231,0.2);
    border-radius: 8px; padding: 20px; margin: 20px 0;
  }
  .blog-article-view .article-content .metric-box .metric-value { font-size: 28px; font-weight: 800; color: var(--accent); }
  .blog-article-view .article-content .result-item { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
  .blog-article-view .article-content .result-check { color: var(--accent); font-weight: 700; }
  .blog-article-view .article-content table {
    width: 100%; border-collapse: collapse; margin: 20px 0;
    background: var(--dark-card); border-radius: 8px; overflow: hidden;
  }
  .blog-article-view .article-content th {
    padding: 12px 16px; text-align: left; font-size: 13px;
    color: var(--primary-light); background: rgba(108,92,231,0.08);
    border-bottom: 1px solid var(--dark-border);
  }
  .blog-article-view .article-content td {
    padding: 10px 16px; font-size: 13px; border-bottom: 1px solid var(--dark-border);
  }
  /* RESPONSIVE */
  /* === TABLET (769px - 1024px) === */
  @medía (max-width: 1024px) {
    .agents-grid { grid-template-columns: repeat(2, 1fr); }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 38px; }
    .section { padding: 56px 28px; }
  }

  /* === MOBILE (max 768px) === */
  @medía (max-width: 768px) {
    .nav { padding: 12px 16px; }
    .nav-links { display: none; }
    .nav-cta { padding: 8px 16px; font-size: 13px; }
    
    .hero { padding: 50px 20px 40px; }
    .hero h1 { font-size: 28px; line-height: 1.2; }
    .hero p { font-size: 15px; }
    .hero-cta { padding: 12px 24px; font-size: 14px; }
    
    .section { padding: 40px 16px; }
    .section-header h2 { font-size: 26px; }
    .section-header p { font-size: 14px; }
    
    .agents-grid { grid-template-columns: 1fr; gap: 14px; }
    .agent-card { padding: 20px; }
    
    .benefits-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
    .benefit-card { padding: 16px; }
    .benefit-card .metric { font-size: 22px; }
    .benefit-card h4 { font-size: 12px; }
    .benefit-card p { font-size: 11px; }
    
    .cases-grid { grid-template-columns: 1fr; gap: 14px; }
    .case-card { padding: 18px; }
    
    .testimonials-grid { grid-template-columns: 1fr; gap: 14px; }
    .testimonial-card { padding: 20px; }
    
    .logos-section { padding: 28px 0 !important; }
    
    .steps-row { flex-direction: column; align-items: center; gap: 16px; }
    .step-arrow { transform: rotate(90deg); font-size: 16px; }
    
    .contact-form { gap: 10px; }
    .contact-form input, .contact-form select, .contact-form textarea { padding: 12px 14px; font-size: 14px; }
    .contact-form button { padding: 14px 20px; font-size: 15px; }
    
    .floating-cta { bottom: 16px; right: 16px; padding: 12px 18px; font-size: 13px; }
    
    .blog-header { padding: 30px 16px 16px; }
    .blog-header h1 { font-size: 26px; }
    .blog-list-grid { padding: 0 16px 40px; grid-template-columns: 1fr; }
    .blog-article-view { padding: 16px 16px 50px; }
    .blog-article-view h1 { font-size: 24px; }
    .blog-article-view h2 { font-size: 20px; }
    .blog-article-view ul { padding: 16px; }
    .blog-article-view ul li { font-size: 14px; padding: 8px 0 8px 24px; }

    /* Hide decorative separators lines on mobile */
    .read-more-btn { padding: 12px 20px !important; font-size: 14px !important; }
  }

  /* === SMALL MOBILE (max 480px) === */
  @medía (max-width: 480px) {
    .hero h1 { font-size: 24px; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px; }
    .benefit-card .metric { font-size: 20px; }
    .nav-logo { font-size: 18px; }
    .section-header h2 { font-size: 22px; }
  }

  /* === SCROLL ANIMATIONS (ENHANCED) === */
  .reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    filter: blur(4px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  .reveal-left {
    opacity: 0;
    transform: translateX(-60px) scale(0.95);
    filter: blur(3px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal-left.visible {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
  .reveal-right {
    opacity: 0;
    transform: translateX(60px) scale(0.95);
    filter: blur(3px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal-right.visible {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
  .reveal-zoom {
    opacity: 0;
    transform: scale(0.7);
    filter: blur(6px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal-zoom.visible {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
  .reveal-delay-1 { transition-delay: 0.08s; }
  .reveal-delay-2 { transition-delay: 0.16s; }
  .reveal-delay-3 { transition-delay: 0.24s; }
  .reveal-delay-4 { transition-delay: 0.32s; }
  .reveal-delay-5 { transition-delay: 0.40s; }
  .reveal-delay-6 { transition-delay: 0.48s; }
  .reveal-delay-7 { transition-delay: 0.56s; }
  .reveal-delay-8 { transition-delay: 0.64s; }

  /* === PROGRESS BAR === */
  .scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-1);
    width: 0%;
    z-index: 9999;
    transition: width 0.1s linear;
  }

  /* === FLOATING CTA === */
  .floating-cta {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: var(--gradient-1);
    color: #fff;
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 8px 32px rgba(108,92,231,0.5);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, box-shadow 0.3s ease;
  }
  .floating-cta.show {
    transform: translateY(0);
    opacity: 1;
  }
  .floating-cta:hover {
    box-shadow: 0 12px 40px rgba(108,92,231,0.7);
    transform: translateY(-3px);
  }
  .floating-cta .pulse-dot {
    width: 8px;
    height: 8px;
    background: #55efc4;
    border-radius: 50%;
    animation: pulse-green 1.5s infinite;
  }

  @keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 0 rgba(85,239,196,0.6); }
    50% { box-shadow: 0 0 0 8px rgba(85,239,196,0); }
  }

  /* === CTA PULSE (ENHANCED) === */
  .cta-pulse {
    animation: cta-glow 2.5s infinite;
    position: relative;
  }
  .cta-pulse::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, #6c5ce7, #00cec9, #6c5ce7);
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
    filter: blur(8px);
  }
  .cta-pulse:hover::before {
    opacity: 1;
  }
  @keyframes cta-glow {
    0%, 100% { box-shadow: 0 4px 15px rgba(108,92,231,0.3); }
    50% { box-shadow: 0 8px 40px rgba(108,92,231,0.5), 0 0 80px rgba(108,92,231,0.15); }
  }
  @keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

  /* === LOGOS MARQUEE === */
  .logos-track {
    display: flex;
    animation: marquee 20s linear infinite;
    width: max-content;
  }
  .logos-track:hover {
    animation-play-state: paused;
  }
  @keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  .logos-section {
    overflow: hidden;
  }

  /* === COUNTER ANIMATION === */
  .counter-value {
    display: inline-block;
    min-width: 2ch;
  }

  /* === CARD HOVER GLOW (ENHANCED) === */
  .glow-hover {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
  }
  .glow-hover::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(108,92,231,0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
  }
  .glow-hover:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 60px rgba(108,92,231,0.25), 0 0 30px rgba(108,92,231,0.1);
    border-color: rgba(108,92,231,0.4);
  }
  .glow-hover:hover::after {
    opacity: 1;
  }





  /* === HERO PARALLAX === */
  .hero {
    position: relative;
  }
  .hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--dark));
    pointer-events: none;
  }


  /* === BLOG ARTICLE ENHANCED STYLES === */
  .blog-article-view ul {
    list-style: none;
    padding: 24px;
    margin: 20px 0;
    background: linear-gradient(135deg, rgba(108,92,231,0.08), rgba(0,206,201,0.04));
    border: 1px solid rgba(108,92,231,0.15);
    border-radius: 12px;
  }
  .blog-article-view ul li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .blog-article-view ul li:last-child { border-bottom: none; }
  .blog-article-view ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 16px;
  }
  .blog-article-view ul li strong, .blog-article-view ul li b {
    color: #fff;
  }
  
  /* Article h2 section dividers */
  .blog-article-view h2 {
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(108,92,231,0.2);
    position: relative;
  }
  .blog-article-view h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gradient-1);
  }
  
  /* Article h3 sub-sections */
  .blog-article-view h3 {
    color: var(--primary-light) !important;
    font-size: 16px !important;
    margin: 20px 0 8px !important;
    padding-left: 12px;
    border-left: 3px solid var(--accent);
  }
  
  /* ROI/Impact highlight box */
  .blog-article-view p:last-of-type strong {
    display: inline;
  }
  .blog-article-view p:last-of-type {
    margin-top: 24px;
    padding: 16px 20px;
    background: rgba(0,206,201,0.08);
    border: 1px solid rgba(0,206,201,0.2);
    border-radius: 8px;
    font-size: 15px;
    color: rgba(255,255,255,0.9);
  }
  
  /* Reading progress indicator inside articles */
  .blog-article-view .article-progress {
    position: sticky;
    top: 60px;
    height: 2px;
    background: rgba(255,255,255,0.05);
    margin-bottom: 24px;
    border-radius: 2px;
    overflow: hidden;
  }
  .blog-article-view .article-progress-bar {
    height: 100%;
    background: var(--gradient-2);
    width: 0%;
    transition: width 0.1s;
  }


  .agent-card .desc span {
    display: block;
    padding: 3px 0;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
  }
  .agent-card .desc span::before {
    content: '';
  }

  /* === MOBILE NAV === */
  .nav-hamburger {
    display: none;
    background: none;
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
    transition: border-color 0.2s;
  }
  .nav-hamburger:hover { border-color: var(--primary); }
  .mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10,10,26,0.97);
    z-index: 99;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .mobile-nav-links a {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
  }
  .mobile-nav-links a:hover { color: var(--primary-light); }
  @medía (max-width: 768px) {
    .nav-hamburger { display: block; }
    .nav-cta { display: none; }
  }

/* === PRINT STYLES === */


/* === TABLET (769px - 1024px) === */
@media (max-width: 1024px) {
  .agents-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 38px; }
  .section { padding: 56px 28px; }
}

/* === MOBILE (max 768px) === */
@media (max-width: 768px) {
  .nav { padding: 12px 16px; }
  .nav-links { display: none !important; }
  .nav-cta { display: none !important; }
  .nav-hamburger { display: block !important; }

  .hero { padding: 50px 20px 40px; }
  .hero h1 { font-size: 28px; line-height: 1.2; }
  .hero p { font-size: 15px; }
  .hero-badge { font-size: 12px; padding: 5px 12px; }
  .hero-cta { padding: 12px 24px; font-size: 14px; }

  .section { padding: 40px 16px; }
  .section-header h2 { font-size: 26px; }
  .section-header p { font-size: 14px; }

  .agents-grid { grid-template-columns: 1fr; gap: 14px; }
  .agent-card { padding: 20px; }

  .benefits-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .benefit-card { padding: 16px; }
  .benefit-card .metric { font-size: 22px; }
  .benefit-card h4 { font-size: 12px; }
  .benefit-card p { font-size: 11px; }

  .cases-grid { grid-template-columns: 1fr; gap: 14px; }
  .case-card { padding: 18px; }

  .testimonials-grid { grid-template-columns: 1fr; gap: 14px; }
  .testimonial-card { padding: 20px; }

  .logos-section { padding: 28px 0 !important; }

  .steps-row { flex-direction: column; align-items: center; gap: 16px; }
  .step-arrow { transform: rotate(90deg); font-size: 16px; }

  .contact-form { gap: 10px; }
  .contact-form input,
  .contact-form select,
  .contact-form textarea { padding: 12px 14px; font-size: 14px; }
  .contact-form button { padding: 14px 20px; font-size: 15px; }

  .floating-cta { bottom: 16px; right: 16px; padding: 12px 18px; font-size: 13px; }

  .footer { padding: 32px 16px; }

  /* Mobile nav */
  .mobile-nav-links a { font-size: 20px; }
}

/* === SMALL MOBILE (max 480px) === */
@media (max-width: 480px) {
  .hero h1 { font-size: 24px; }
  .hero { padding: 40px 16px 30px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px; }
  .benefit-card .metric { font-size: 20px; }
  .nav-logo { font-size: 18px; }
  .section-header h2 { font-size: 22px; }
  .section { padding: 32px 12px; }
}

@media print {
  .nav, .floating-cta, .scroll-progress, .mobile-nav, .nav-hamburger {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .hero {
    background: #f5f5f5 !important;
    padding: 20px !important;
  }
  .hero h1 {
    -webkit-text-fill-color: #000 !important;
    background: none !important;
    color: #000 !important;
  }
  .agent-card, .benefit-card, .case-card, .testimonial-card {
    border: 1px solid #ddd !important;
    background: #fff !important;
    break-inside: avoid;
  }
}
