:root {
    --gradient: linear-gradient(135deg, #667eea 20%, #764ba2 40%, #f093fb 60%, #f5576c 80%);
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    --accent-gradient: linear-gradient(135deg, #667eea 20%, #764ba2 40%, #f093fb 60%, #f5576c 80%);
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --pastel-accent-color: #d1b8f2;
    --bg-primary: #eff1f5;
    --bg-secondary: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af; 
    --error-color: #ef4444;
    --success-color: #22c55e;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --glow-color: rgba(102, 126, 234, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glow-particle: #764ba2;
    --text-title: linear-gradient(135deg, rgb(0, 0, 0), rgb(154, 160, 166));
    --text-title-dark: linear-gradient(135deg, rgb(232, 234, 237), rgb(0, 14, 29));
    --bloom-primary: #10b981;
    --bloom-secondary: #34d399;
    --bloom-dark-bg: #091e1a;
    --bloom-glass-bg: rgba(16, 185, 129, 0.1);
    --bloom-glass-border: rgba(16, 185, 129, 0.25);
    --bloom-insight-bg: rgba(147, 51, 234, 0.08);
    --bloom-insight-border: rgba(147, 51, 234, 0.2);
}

/* ===================== RESPONSIVE OVERRIDES (mobile-first fixes) ===================== */
@media (max-width: 820px) {
  body {
    overflow-y: hidden;
  } 
  .echo-login-page .main-header {
    top: 10px;
    left: 10px;
    right: 10px;
    gap: 12px;
    justify-content: space-between;
    transform: none;
    min-width: auto;
    padding: 12px 16px;
  }


  .echo-login-page .navbar {
    display: none;
  }
}

@media (max-width: 768px) {
  .echo-login-page .login-immersive-container {
    width: 100% !important; /* avoid 100vw overflow on mobile */
  }
  /* Disable aggressive scroll snapping on mobile for natural scroll */
  .info-sections-wrapper { scroll-snap-type: none !important; }
  .info-sections-wrapper > section { scroll-snap-align: none !important; }

  /* Let sections size naturally on mobile */
  .info-section, .login-hero-panel {
    height: auto !important;
    min-height: 100svh; /* mobile viewport height */
    overflow: visible !important;
    padding-top: 96px; /* keep space for fixed header */
  }

  /* Tighter hero spacing */
  .echo-login-page .main-title {
    font-size: clamp(2rem, 6vw, 3rem) !important;
  }
  .echo-login-page .main-subtitle {
    font-size: clamp(1rem, 3.5vw, 1.2rem) !important;
  }
  .hero-text-container { margin-bottom: 24px !important; margin-top: 100px !important; }

  /* Card widths and paddings inside feature sections */
  .echo-login-page .info-section-content {
    width: 92% !important;
    padding: 24px !important;
    top: 0 !important;
  }

  /* Stack floating blocks and make them full-width */
  .floating-blocks-container { 
    grid-template-columns: 1fr !important; 
    max-width: 92% !important; 
    gap: 30px !important; 
  }
  .floating-block { width: 100% !important; padding: 20px !important; margin-top: 20px !important; }

  /* Footer should flow naturally on mobile */
  .page-footer { position: static !important; padding: 16px !important; font-size: 12px !important; text-align: center; }
  .page-footer .footer-links { justify-content: center; }

  /* Back-to-top button smaller and tightened to corners */
  #backToTopBtn { bottom: 16px !important; right: 16px !important; width: 40px !important; height: 40px !important; }

  /* Modern modal: stack columns and fit viewport */
  .modern-modal-container {
    width: 95vw !important;
    max-width: 95vw !important;
    height: auto !important;
    max-height: 90vh !important;
    border-radius: 18px !important;
  }
  .modern-modal-content {
    min-height: auto !important;
    flex-direction: column !important;
  }
  .modal-left-panel {
    min-height: 180px !important;
    padding: 24px !important;
    display: none;
  }
  .modal-right-panel {
    padding: 24px !important;
    width: 100%;
  }

  .mouse-glow, .interactive-particles, .geometric-shapes {
    display: none !important;
  }

  .login-main-content {
    flex-direction: column;
    padding-top: 60px; /* Header height */
  }

  .login-hero-panel, .login-form-panel {
    width: 100%;
    min-height: 0; /* Remove fixed height */
    padding: 20px;
  }

  .login-form-panel {
    margin-top: 20px;
  }

  .echo-login-page .main-header {
    padding: 10px 15px;
  }

  .echo-login-page .login-button-nav {
    padding: 6px 12px;
    font-size: 13px;
  }

  .feature-showcase,
  .feature-showcase.reverse {
    display: flex !important;
  }
  .feature-showcase {
    flex-direction: column !important;
  }
  .feature-showcase.reverse {
    flex-direction: column-reverse !important;
  }
  .feature-showcase .feature-visual {
    margin-top: 40px;
  }

  .echo-login-page .main-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem) !important;
  }
  .echo-login-page .main-subtitle {
    font-size: 0.95rem !important;
  }
  .echo-login-page .info-section-content {
    width: 96% !important;
    padding: 16px !important;
  }
  .echo-login-page .login-button-nav {
    padding: 6px 10px !important;
  }

  /* Tighter grids and smaller icons on very small devices */
  .floating-blocks-container { 
    grid-template-columns: 1fr !important; 
    max-width: 96% !important; 
    gap: 12px !important; 
  }
  .floating-block { padding: 16px !important; }

  /* Modal fine-tuning */
  .modern-modal-container { width: 96% !important; border-radius: 16px !important; }
  .modal-left-panel { min-height: 160px !important; padding: 20px !important; }
  .modal-right-panel { padding: 20px !important; }

  /* Footer spacing */
  .page-footer { padding: 12px !important; font-size: 11px !important; }

  /* Smaller back-to-top */
  #backToTopBtn { bottom: 12px !important; right: 12px !important; width: 38px !important; height: 38px !important; }

  .echo-login-page .main-header {
    padding: 8px 10px;
  }
  .echo-login-page .login-button-nav {
    padding: 6px 10px;
    font-size: 12px;
  }

  .echo-login-page .main-header, .main-header {
    min-width: 0 !important;
  }

  /* Educational showcase adjustments */
  .educational-showcase-section {
    margin: 60px 0 !important;
    padding: 60px 20px 0 20px !important;
    border-radius: 0 !important;
    width: 100% !important;
  }
  .showcase-header h2 {
    font-size: 2rem !important;
  }
  .showcase-header p {
    font-size: 1rem !important;
  }
  .showcase-carousel-container {
    max-width: 100% !important;
  }

  /* ===== FINAL override for login popup ===== */
  .modern-modal-container {
    width: 92vw !important;
    max-width: 420px !important;
    height: auto !important;
    max-height: 90vh !important;
    border-radius: 14px !important;
    padding: 0 !important;
  }
  .modern-modal-content {
    flex-direction: column !important;
    min-height: auto !important;
  }
  .modal-left-panel {
    display: none !important;
  }
  .modal-right-panel {
    width: 100% !important;
    padding: 24px !important;
  }
}

/* Generic media safety for inline media */
img, video {
  max-width: 100%;
  height: auto;
}

::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}
/* Old background : #0f1419 */
html.dark-mode {
    --bg-primary: #000000;
    --bg-secondary: #1a1f26;
    --text-primary: #e8eaed;
    --text-secondary: #9aa0a6;
    --text-muted: #6b7280;
    --border-color: #2d3748;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.4);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.5);
    --glow-color: rgba(102, 126, 234, 0.5);
    --glass-bg: rgba(26, 31, 38, 0.3);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glow-particle: #fff;
    --text-title: linear-gradient(135deg, rgb(232, 234, 237), rgb(154, 160, 166));
    --text-title-dark: linear-gradient(135deg, rgb(232, 234, 237), rgb(0, 14, 29));
}

html.dark-mode body::before { opacity: 0; }
html.dark-mode body::after { opacity: 1; }

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}
@font-face {
        font-family: 'OvercameDemoRegular';
        src: url('../assets/fonts/overcame-demo/OvercameDemoRegular.ttf');
    }
@font-face {
    font-family: 'OvercameDemoOutline';
    src: url('../assets/fonts/overcame-demo/OvercameDemoOutline.ttf');
}
.login-logo::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background: var(--gradient);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradientShift 15s ease infinite;
    filter: blur(10px);
    opacity: 0.7;
}

html, body {
    overflow-x: hidden;
    background-color: var(--bg-primary); /* Ensure body has a background */
}
html {
    scroll-behavior: smooth;
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: transparent;
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 400;
    transition: color 0.4s ease ;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

body::before, body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    transition: opacity 0.4s ease-in-out;            
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

body::before {
    background-image: linear-gradient(45deg, #f7f8ff 0%, #ffffff 50%, #f7f8ff 100%);
    opacity: 1;
}

body::after {
    background-color: #000000;
    opacity: 0;
}

.login-immersive-container {
    min-height: 100vh;
    width: 100%;
    position: relative;
}

.login-immersive-container::before,
.login-immersive-container::after {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: 0;
    transition: opacity 0.5s ease-in-out;
}

@keyframes thinkingDots {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.interactive-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 10;
    opacity: 0;
    animation: fadeInWord 2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    /*animation: particleGlow 5s infinite;*/
}

.particle {
    position: absolute;
    background-color: var(--secondary-color);
    clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
    transition: transform 0.2s ease-out;
    opacity: 0.5;
}


/* PARTICLE GLOW 1 - 3 */

@keyframes particleGlowBLUE {
    0% {opacity: 0.5; }
    50% {opacity: 1; background-color: var(--glow-particle);}
    100% {opacity: 0.5;}
}

@keyframes particleGlowRED {
    0% {opacity: 0.5; }
    50% {opacity: 1; background-color: var(--glow-particle);}
    100% {opacity: 0.5;}
}

@keyframes particleGlowGREEN {
    0% {opacity: 0.5; }
    50% {opacity: 1; background-color: var(--glow-particle);}
    100% {opacity: 0.5;}
}

/**/

html.dark-mode .particle {
    background-color: var(--text-muted);
    opacity: 1;
}

.geometric-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-gradient);
    opacity: 0.15;
    animation: floatShape 20s infinite linear;
}

html.dark-mode .shape {
    opacity: 0.1;
}

.shape:nth-child(1) { width: 300px; height: 300px; top: -150px; left: -150px; animation-duration: 25s; animation-delay: 0s; }
.shape:nth-child(2) { width: 200px; height: 200px; top: 20%; right: -100px; animation-duration: 30s; animation-delay: -5s; background: var(--accent-gradient); }
.shape:nth-child(3) { width: 100px; height: 100px; top: 60%; right: 20%; animation-duration: 20s; animation-delay: -15s; }
.shape:nth-child(4) { width: 250px; height: 250px; bottom: -125px; right: -125px; animation-duration: 28s; animation-delay: -8s; background: var(--accent-gradient); }
.shape:nth-child(5) { width: 400px; height: 400px; top: 50%; left: 5%; animation-duration: 40s; animation-delay: -12s; background: var(--accent-gradient); }
.shape:nth-child(6) { width: 150px; height: 150px; top: 5%; left: 25%; animation-duration: 22s; animation-delay: -4s; background: var(--secondary-gradient); }

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(30px, -30px) rotate(90deg) scale(1.1); }
    50% { transform: translate(0, -60px) rotate(180deg) scale(0.9); }
    75% { transform: translate(-30px, -30px) rotate(270deg) scale(1.05); }
}

.mouse-glow { 
    position: fixed; 
    width: 400px; 
    height: 400px; 
    background: radial-gradient(circle, rgba(118, 75, 162, 0.15) 0%, rgba(118, 75, 162, 0) 70%); 
    border-radius: 50%; 
    transform: translate(-50%, -50%); 
    pointer-events: none; 
    z-index: 0; 
    transition: all 0.1s ease-out; 
}

html.dark-mode .mouse-glow { 
    background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, rgba(102, 126, 234, 0) 70%); 
}

.login-main-content {
    position: relative;
    z-index: 10;
    display: flex;
    width: 100%;
    padding-top: env(safe-area-inset-top);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
}

/* ===================== GLASSMORPHISM FLOATING BLOCKS ===================== */
.floating-blocks-container {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    z-index: 5;
    pointer-events: none;
    justify-content: center;
    width: 100%;
    max-width: 95%;
    opacity: 0;
    margin: 0 auto;
    animation: fadeInWord 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 1.5s;
}

.floating-block {
    /* 360px */
    width: 80%;
    padding: 28px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: floatGentle 6s ease-in-out infinite;
    opacity: 1;
    transform: none;
}

/* Dark mode adjustments */
html.dark-mode .floating-block {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Block themes */
.floating-block.ai-theme {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.15) 0%, 
        rgba(118, 75, 162, 0.15) 50%,
        rgba(102, 126, 234, 0.1) 100%);
    border-color: rgba(102, 126, 234, 0.3);
}

.floating-block.documents-theme {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.15) 0%, 
        rgba(5, 150, 105, 0.15) 50%,
        rgba(4, 120, 87, 0.1) 100%);
    border-color: rgba(16, 185, 129, 0.3);
}

/* Dark mode theme adjustments */
html.dark-mode .floating-block.ai-theme {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.25) 0%, 
        rgba(118, 75, 162, 0.25) 50%,
        rgba(26, 31, 38, 0.4) 100%);
}

html.dark-mode .floating-block.documents-theme {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.25) 0%, 
        rgba(5, 150, 105, 0.25) 50%,
        rgba(26, 31, 38, 0.4) 100%);
}
html.dark-mode .floating-block.analytics-theme {
    background: linear-gradient(135deg, 
        rgba(245, 101, 101, 0.25) 0%, 
        rgba(251, 146, 60, 0.25) 50%,
        rgba(26, 31, 38, 0.4) 100%);
}

html:not(.dark-mode) .floating-block.analytics-theme {
    background: linear-gradient(135deg, 
        rgba(245, 101, 101, 0.25) 0%, 
        rgba(251, 146, 60, 0.2) 100%);
    border-color: rgba(245, 101, 101, 0.4);
}

html:not(.dark-mode) .floating-block:hover {
    background: rgba(255, 255, 255, 0.6);
}

html:not(.dark-mode) .floating-block.ai-theme:hover {
        box-shadow: 
        0 20px 60px rgba(102, 126, 234, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
html:not(.dark-mode) .floating-block.documents-theme:hover {
    box-shadow: 
        0 20px 60px rgba(16, 185, 129, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
html:not(.dark-mode) .floating-block.analytics-theme:hover {
        box-shadow: 
        0 20px 60px rgba(245, 101, 101, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.floating-block:nth-child(1) { animation-delay: 0s; transform: none; }
.floating-block:nth-child(2) { animation-delay: -2s; transform: none; }
.floating-block:nth-child(3) { animation-delay: -4s; transform: none; }

@keyframes floatGentle {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    33% { 
        transform: translateY(-8px) rotate(0.5deg) scale(1.02);
    }
    66% { 
        transform: translateY(4px) rotate(-0.5deg) scale(0.98);
    }
}

/* Hover effects */
.floating-block:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
html.dark-mode .floating-block:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

html.dark-mode .floating-block.ai-theme:hover {
    box-shadow: 
        0 20px 60px rgba(102, 126, 234, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

html.dark-mode .floating-block.documents-theme:hover {
    box-shadow: 
        0 20px 60px rgba(16, 185, 129, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

html.dark-mode .floating-block.analytics-theme:hover {
    box-shadow: 
        0 20px 60px rgba(245, 101, 101, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Block icon */
.floating-block-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
    transition: all 0.3s ease;
}

.floating-block-icon i {
    font-size: 28px;
    transition: all 0.3s ease;
}

/* Icon themes */
.ai-theme .floating-block-icon {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
}

.ai-theme .floating-block-icon i {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.documents-theme .floating-block-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2));
}

.documents-theme .floating-block-icon i {
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.analytics-theme .floating-block-icon {
    background: linear-gradient(135deg, rgba(245, 101, 101, 0.2), rgba(251, 146, 60, 0.2));
}

.analytics-theme .floating-block-icon i {
    background: linear-gradient(135deg, #f56565, #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Icon hover effects */
.floating-block:hover .floating-block-icon {
    transform: scale(1.1) rotate(5deg);
}

.floating-block:hover .floating-block-icon i {
    transform: scale(1.2);
}

/* Block content */
.floating-block-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.floating-block-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.floating-block-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.floating-block-tag {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.2s ease;
}

.floating-block:hover .floating-block-tag {
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
}

html.dark-mode .floating-block-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

html.dark-mode .floating-block:hover .floating-block-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

/* Shimmer effect */
.floating-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.8s ease;
    pointer-events: none;
}

.floating-block:hover::before {
    left: 100%;
}
/* Particle effect on hover */
.floating-block-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: hidden;
}

.floating-block:hover .floating-block-particles {
    opacity: 1;
}

.particle-dot {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.6);
    clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
    animation: particleFloat 3s infinite;
}
@keyframes particleFloat {
    0% {
        transform: translateY(100%) scale(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100%) scale(1);
        opacity: 0;
    }
}

.hero-logo { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
    z-index: 11;
    flex-shrink: 0;
}

.hero-logo i { 
    font-size: 60px; 
    background: var(--accent-gradient); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    background-clip: text; 
}
.hero-logo h1 { 
    font-size: 48px; 
    font-weight: 900; 
    background: var(--primary-gradient); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    background-clip: text; 
}

.hero-panel-scroll-content {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 20px;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 60px, black calc(100% - 60px), transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 60px, black calc(100% - 60px), transparent 100%);
}

.hero-title { 
    font-size: 42px; 
    font-weight: 700; 
    line-height: 1.2; 
    margin-bottom: 24px; 
    color: var(--text-primary);
    margin-top: 60px;
}

.hero-highlight {
    background: linear-gradient(135deg, #667eea 20%, #764ba2 40%, #f093fb 60%, #f5576c 80%);;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
@keyframes wave-animation {
    0%, 100% { 
        color: #f574a1;
    }
    50% { 
        color: var(--primary-color);
    }
}
.hero-highlight span:nth-child(1) { animation-delay: 0.1s; }
.hero-highlight span:nth-child(2) { animation-delay: 0.2s; }
.hero-highlight span:nth-child(3) { animation-delay: 0.3s; }
.hero-highlight span:nth-child(4) { animation-delay: 0.4s; }
.hero-highlight span:nth-child(5) { animation-delay: 0.5s; }
.hero-highlight span:nth-child(6) { animation-delay: 0.6s; }
.hero-highlight span:nth-child(7) { animation-delay: 0.7s; }
.hero-highlight span:nth-child(8) { animation-delay: 0.8s; }
.hero-highlight span:nth-child(9) { animation-delay: 0.9s; }
.hero-highlight span:nth-child(10) { animation-delay: 1.0s; }
.hero-highlight span:nth-child(11) { animation-delay: 1.1s; }
.hero-highlight span:nth-child(12) { animation-delay: 1.2s; }
.hero-highlight span:nth-child(13) { animation-delay: 1.3s; }

.hero-subtitle { 
    font-size: 18px; 
    color: var(--text-secondary); 
    line-height: 1.7; 
    margin-bottom: 32px; 
    font-weight: 400;
}
.hero-subtitle .echo-color {
    font-weight: 600;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-features { 
    display: flex; 
    flex-direction: column; 
    gap: 16px; 
    margin-bottom: 32px; 
}

.feature-item { 
    display: flex; 
    align-items: baseline;
    gap: 12px; 
    padding: 12px 0; 
}

.feature-icon { 
    width: 40px; 
    height: 40px; 
    border-radius: var(--radius-md); 
    background: var(--glass-bg); 
    backdrop-filter: blur(10px); 
    border: 1px solid var(--glass-border); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-shrink: 0;
    transition: transform 0.2s ease, background-color 0.4s ease, border-color 0.4s ease;
}

.feature-icon i { 
    font-size: 18px; 
    background: var(--primary-gradient); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    background-clip: text; 
}

.feature-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--primary-color);
}

html.dark-mode .feature-icon svg {
    fill: var(--primary-color);
}

.feature-text-container {
    display: flex;
    flex-direction: column;
}

.feature-text { 
    font-size: 16px; 
    font-weight: 500; 
    color: var(--text-primary); 
}

.feature-text a {
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: underline;
    transition: color 0.2s ease;
}

html.dark-mode .feature-text a {
    color: white;
}

.feature-text a:hover {
    color: var(--secondary-color);
}

.feature-subtext {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.5;
    margin-top: 8px;
}

.feature-subtext .echo-color {
    font-weight: 600;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-form-panel {
    flex: 0 0 38%;
    min-width: 500px;
    max-width: 650px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    z-index: 10;
}

.login-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.echo-login-page .login-card {
    padding: 32px !important;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    animation: cardEntrance 0.5s ease-out; /* keep entrance, drop swirl */
    border-radius: var(--radius-2xl);
}

.modal-overlay.visible .modal-content {
    transform: scale(1) translateY(0);
}

@keyframes swirl-background {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}

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

@keyframes borderGlow { 
    0%, 100% { opacity: 0.3; } 
    50% { opacity: 0.8; } 
}

.echo-login-page .login-header { 
    text-align: center; 
    margin-bottom: 20px !important; 
}

.login-header h2, .modal-header h2 { 
    font-size: 28px; 
    font-weight: 700; 
    color: white; 
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.login-header p, .modal-header p { 
    font-size: 16px; 
    color: white;
    font-weight: 400; 
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

#loginForm, #createAccountForm { 
    display: flex; 
    flex-direction: column; 
    gap: 18px !important; 
}

.input-group { 
    position: relative; 
}

.input-label { 
    display: block; 
    font-size: 14px; 
    font-weight: 600; 
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 8px; 
}

.input-wrapper { 
    position: relative; 
}

.input-field, .select-field { 
    width: 100%; 
    padding: 16px 20px; 
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg); 
    background: rgba(0, 0, 0, 0.15);
    color: white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 16px; 
    font-weight: 500; 
    outline: none; 
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
    text-align: left;
}

/* Enhanced styling for date select dropdowns */
.date-select-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
}

.date-select-wrapper::after {
    content: '\f107';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 16px;
    bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
    pointer-events: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.date-select-wrapper:hover::after {
    color: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

.date-select-wrapper.focused::after {
    color: var(--pastel-accent-color);
    transform: rotate(180deg);
}

.select-field.date-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.select-field.date-select::-ms-expand {
    display: none;
}

.select-field.date-select:hover {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.select-field.date-select:focus {
    background: rgba(0, 0, 0, 0.25);
    border-color: var(--pastel-accent-color);
    box-shadow: 0 0 0 4px var(--glow-color), 0 12px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.select-field.date-select option {
    background: rgba(26, 31, 38, 0.95);
    color: white;
    padding: 12px 16px;
    border: none;
    font-weight: 500;
}

.select-field.date-select option:hover,
.select-field.date-select option:checked {
    background: var(--primary-color);
    color: white;
}

/* Error states for date selects */
.select-field.date-select.input-error {
    border-color: var(--error-color) !important;
    background: rgba(239, 68, 68, 0.1);
    animation: shake 0.5s ease-in-out;
}

.date-select-wrapper.input-error::after {
    color: var(--error-color);
}

.date-select-wrapper.input-error .date-field-label {
    color: var(--error-color);
}

/* Date field labels with enhanced styling */
.date-field-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.date-select-wrapper.focused .date-field-label {
    color: var(--pastel-accent-color);
}

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

#loginForm #username.input-field {
    padding-left: 52px;
    padding-right: 20px;
}
#loginForm #password.input-field {
    padding-left: 52px;
    padding-right: 52px;
}

.input-field.input-error, .select-field.input-error {
    border-color: var(--error-color) !important;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.input-field:focus, .select-field:focus { 
    border-color: var(--pastel-accent-color);
    background: rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 0 4px var(--glow-color), var(--shadow-lg); 
}

.input-field:focus + .input-icon { 
    transform: translateY(-50%) scale(0.9);
    background: linear-gradient(135deg, var(--pastel-accent-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.input-icon { 
    position: absolute; 
    left: 20px; 
    top: 50%; 
    transform: translateY(-50%); 
    font-size: 18px; 
    color: rgba(255, 255, 255, 0.8);
    pointer-events: none; 
    transition: all 0.3s ease;
}

.password-toggle-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    z-index: 2;
}

.form-options { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.remember-me { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-size: 14px; 
    color: white;
    cursor: pointer;
    position: relative;
}

.remember-me .custom-checkbox {
    display: none;
}

.remember-me .checkbox-box {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    display: inline-block;
    margin-right: 8px;
    position: relative;
    background-color: transparent;
    transition: all 0.2s ease;
    vertical-align: middle;
}

.remember-me > span {
    vertical-align: middle;
}

.remember-me .checkbox-box::after {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: white;
    font-size: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: all 0.2s ease;
}

.remember-me .custom-checkbox:checked + .checkbox-box {
    background: var(--primary-color);
    border-color: transparent;
}

.remember-me .custom-checkbox:checked + .checkbox-box::after {
    transform: translate(-50%, -50%) scale(1);
}

.remember-me:hover .checkbox-box {
    border-color: white;
}

.forgot-password { 
    font-size: 14px; 
    font-weight: 500;
    color: white;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.forgot-password:hover { 
    color: var(--secondary-color);
}

.login-button { 
    padding: 18px 24px; 
    background: var(--primary-gradient); 
    color: white; 
    border: none; 
    border-radius: var(--radius-lg); 
    font-size: 16px; 
    font-weight: 600; 
    cursor: pointer; 
    position: relative; 
    overflow: hidden; 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px var(--glow-color);
}

.login-button i, .login-button span {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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


.login-button::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.6s ease; 
    z-index: 1;
}
.login-button::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, 
        var(--primary-color), 
        var(--secondary-color), 
        #c3517b, 
        var(--primary-color)
    );
    background-size: 150% 150%;
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0;
    animation: gradientShift 3s ease infinite;
    transition: opacity 0.3s ease;
}

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

.login-button:hover::after {
    opacity: 1;
}

.login-button:hover { 
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.5);
    filter: brightness(1.15) saturate(1.1);
}

.login-button:active { 
    transform: translateY(-1px); 
}

.echo-login-page .login-footer { 
    text-align: center; 
    margin-top: 16px !important; 
    padding-top: 16px !important; 
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    transition: border-color 0.4s ease;
}

.secondary-button {
    width: 100%;
    padding: 16px 24px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.secondary-button:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
}
@keyframes pop-out-animation {
    0% {
        transform: translateX(-10%) translateY(0) scale(0);
        opacity: 0;
    }
    70% {
        transform: translateX(-20%) translateY(0) scale(1.1);
        opacity: 1;
    }
    100% {
        transform: translateX(-20%) translateY(0) scale(1);
        opacity: 1;
    }
}

.dark-mode-toggle {
    position: absolute;
    top: 3%;
    left: 72%;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: pop-out-animation 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.5s forwards;
    opacity: 0;
}

html.dark-mode .dark-mode-toggle {
    background: rgba(0, 0, 0, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

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

@keyframes spin-atom {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#atom-icon {
    animation: spin-atom 5s infinite linear;
}

.dark-mode-toggle.rotating {
    animation: spin 0.4s ease-out;
}

.dark-mode-toggle.animation-done {
    opacity: 1;
    transform: translateX(-20%);
    animation-name: none;
}

.dark-mode-toggle:hover { 
    transform: scale(1.1); 
}

.dark-mode-toggle.animation-done:hover {
    transform: translateX(-20%) scale(1.1);
}

.dark-mode-toggle i, .dark-mode-toggle svg { 
    font-size: 20px; 
    color: var(--text-primary); 
    transition: color 0.4s ease;
    position: absolute;
}

.dark-mode-toggle svg {
    width: 20px;
    height: 20px;
}

.dark-mode-toggle .dark-mode-overide {
    position: sticky !important;
}

html:not(.dark-mode) .dark-mode-toggle .bi-sun-fill {
    display: none;
}

html.dark-mode .dark-mode-toggle .fa-moon {
    display: none;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    overflow-y: auto;
    padding: 20px 0;
}

.modal-overlay.visible {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    padding: 0;
    border-radius: var(--radius-2xl);
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: auto;
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 32px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s ease;
}
.modal-close:hover {
    color: white;
}

/* On s'assure que les textes sont bien lisibles sur le nouveau fond */
html:not(.dark-mode) .modal-title,
html:not(.dark-mode) .modal-content .input-field,
html:not(.dark-mode) .modal-content .select-field,
html:not(.dark-mode) .modal-content .otp-input {
    color: #3c366b; /* Un violet très foncé pour un bon contraste */
}
html:not(.dark-mode) .modal-text,
html:not(.dark-mode) .modal-content .input-label,
html:not(.dark-mode) .modal-content .password-requirements,
html:not(.dark-mode) .modal-close {
    color: #5a52a5; /* Un violet plus doux pour les textes secondaires */
}

html:not(.dark-mode) .modal-content .input-field::placeholder {
    color: #7b72c9;
}

/* On donne un fond clair aux champs de saisie pour qu'ils ressortent */
html:not(.dark-mode) .modal-content .input-field,
html:not(.dark-mode) .modal-content .select-field,
html:not(.dark-mode) .modal-content .otp-input {
    background-color: rgba(255, 255, 255, 0.4); 
    border-color: rgba(255, 255, 255, 0.2);
}

.modal-title {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.modal-text {
    color: var(--text-primary);
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
}
.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.otp-input {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.15);
    color: white;
}

.modal-content .password-requirements {
    list-style: none;
    padding: 0;
    margin: 8px 0 12px 8px;
    font-size: 13px;
    color: var(--text-secondary);
}
.password-requirements li {
    margin-bottom: 4px;
    transition: color 0.3s ease;
}
.password-requirements li.valid {
    color: var(--success-color);
    text-shadow: 0 0 5px rgba(34, 197, 94, 0.5);
}
.success-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translate(-50%, -150%);
    padding: 16px 24px;
    background-color: var(--success-color);
    color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
}

.success-toast.show {
    transform: translate(-50%, 0);
    opacity: 1;
}
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.form-group {
    flex: 1 1 auto;
}
.form-group-50 {
    flex-basis: calc(50% - 8px);
}
.form-group-33 {
    flex-basis: calc(33.333% - 11px);
}

.gender-options {
    display: flex;
    gap: 16px;
}
.gender-option {
    flex: 1;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    background: rgba(0, 0, 0, 0.15);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.gender-option:hover {
    background: rgba(0, 0, 0, 0.25);
}
.gender-option.input-error {
        border-color: var(--error-color) !important;
}
input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    background-color: transparent;
    margin: 0;
    font: inherit;
    color: white;
    width: 1.15em;
    height: 1.15em;
    border: 0.15em solid white;
    border-radius: 50%;
    transform: translateY(-0.075em);
    display: grid;
    place-content: center;
}
input[type="radio"]::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    border-radius: 50%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--primary-color);
    background: var(--primary-gradient);
}
input[type="radio"]:checked::before {
    transform: scale(1);
}
.disclaimer-text {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 8px;
    margin-bottom: 8px;
}
.disclaimer-text a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}
.disclaimer-text a:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}
.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

#createAccountModal .modal-header h2 {
    color: var(--text-primary); 
    text-shadow: none; 
}

#createAccountModal .modal-header p {
    color: var(--text-secondary); 
    text-shadow: none;
}        

.page-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: var(--text-secondary); 
    z-index: 10;
}

.page-footer a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.2s ease;
}

.page-footer a:hover {
    color: var(--text-secondary);
    text-decoration: underline;
}

.page-footer a:hover .nochange {
    color: var(--text-secondary);
    text-decoration: none;
}        

.login-card.error-shake {
    animation: shake 0.5s ease-in-out;
}

/* ===== Light-mode readability tweaks ===== */
html:not(.dark-mode) .echo-login-page .login-card .input-label,
html:not(.dark-mode) .echo-login-page .login-card .login-header p,
html:not(.dark-mode) .echo-login-page .login-card .login-header h2,
html:not(.dark-mode) .echo-login-page .login-card .remember-me span,
html:not(.dark-mode) .echo-login-page .login-card .forgot-password {
    color: var(--text-primaryt);
    text-shadow: none;
}
html:not(.dark-mode) .echo-login-page .login-card .input-field,
html:not(.dark-mode) .echo-login-page .login-card .select-field {
    background: var(--light-glass-bg);
    color: var(--light-text);
    border: 1px solid rgba(0, 0, 0, 0.1);
}
html:not(.dark-mode) .echo-login-page .login-card .input-field::placeholder {
    color: var(--text-secondary);
}
html:not(.dark-mode) .echo-login-page .login-card .input-icon,
html:not(.dark-mode) .echo-login-page .login-card .password-toggle-icon {
    color: var(--secondary-color);
}
/* ======================================================= */

/* ===== Light-mode controls contrast ===== */
html:not(.dark-mode) .echo-login-page .secondary-button {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-primary);
    border-color: rgba(0, 0, 0, 0.15);
}
html:not(.dark-mode) .echo-login-page .secondary-button:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.25);
}

html:not(.dark-mode) .remember-me .checkbox-box {
    border-color: rgba(0, 0, 0, 0.45);
}
html:not(.dark-mode) .remember-me .custom-checkbox:checked + .checkbox-box {
    background: var(--primary-color);
    border-color: var(--primary-color);
}
/* ================================================= */

/* ===================== Glassmorphism & Logo Enhancements ===================== */
.login-card h2 {
    text-shadow: none;
    color: var(--text-primary);
}   
html.dark-mode .echo-login-page .login-card {
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}
/* Remove previous flashy border animation */
.echo-login-page .login-card::before {
    display: none;
}

.login-logo span {
    display: inline-block;
}
/* ========================================================================== */

/* ===================== Logo Tweak ===================== */
.login-logo {
    position: relative;
    background: var(--gradient);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradientShift 15s ease infinite;
    width: 500px;
    height: 200px;
    object-fit: cover;
    margin: 0 auto 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    border: none;
    gap: 0.25em; /* small spacing between parts */
    overflow: visible; /* prevent cropping */
    font-size: 4.5rem;           /* slightly smaller so it fits nicely */
    letter-spacing: 0;           /* avoid cropping from extra spacing */
    padding: 4px 0;              /* small breathing room */
}
.login-logo-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* ====================================================== */

            /* ===================== ADDITIONAL INTERACTION STYLES ===================== */
/* Feature highlight effect */
.feature-highlight {
    animation: featureHighlight 2s ease-out;
    transform-origin: center;
}

/* Revised highlight animation to avoid overriding background */
@keyframes featureHighlight {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.6);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(102, 126, 234, 0);
        transform: scale(1.03);
    }
    100% {
        box-shadow: 0 0 0 20px rgba(102, 126, 234, 0);
        transform: scale(1);
    }
}

/* Ripple animation for floating blocks */
@keyframes rippleAnimation {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* Enhanced particle effects */
.dynamic-particle {
    animation-duration: 2s !important;
}

/* Pulsing glow effect for active blocks */
.floating-block.active {
    animation: pulseGlow 1.5s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    from {
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    to {
        box-shadow: 
            0 15px 45px rgba(102, 126, 234, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

/* Enhanced glassmorphism on interaction */
.floating-block:active {
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.particle-dot.dynamic-particle {
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.8), 
        rgba(102, 126, 234, 0.6));
    animation: particleFloatEnhanced 2s infinite;
}

@keyframes particleFloatEnhanced {
    0% {
        transform: translateY(100%) scale(0) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100%) scale(1.2) rotate(180deg);
        opacity: 0;
    }
}

/* Smooth transitions for all elements */
.floating-block * {
    transition: all 0.3s ease;
}

.discover-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    font-weight: 500;
    opacity: 0.4;
    animation: floatUpAndDown 2.5s infinite ease-in-out;
    z-index: 10;
    text-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.discover-indicator span {
    letter-spacing: 0.5px;
}

.discover-indicator i {
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
    animation: shimmer-icon 4s infinite;
}

html.dark-mode .discover-indicator i {
    color: rgba(255, 255, 255, 0.4);
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

@keyframes floatUpAndDown {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -10px); }
}

@keyframes shimmer-icon {
    0%, 100% { color: rgba(255, 255, 255, 0.4); }
    50% { color: rgba(255, 255, 255, 1); }
}


/* Enhanced responsive behavior */
@media (max-width: 1200px) {
    .floating-blocks-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        max-width: 90%;
    }
}
/* ========================================================================== */

/* ===================== SCROLL SNAPPING & SECTION SETUP ===================== */
/* This rule targets ALL direct section children of the wrapper for snapping */
.info-sections-wrapper > section {
    scroll-snap-align: start;
    width: 100%;
    position: relative; /* Needed for z-indexing contexts within sections */
    /* overflow: hidden; */ /* Prevents content spillover */
}

#documents-section {
    z-index: 1000 !important;
}

/* The deep-dive section can be taller than the viewport, but must be a snap point */
#deep-dive-section {
    height: auto; 
    min-height: 100vh;
}

.info-section-content {
    width: 80%;
    max-width: 90%;
    padding: 40px;
    top: 5%;
    text-align: center;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-2xl);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.info-section-content > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.info-section.is-visible .info-section-content > * {
    opacity: 1;
    transform: translateY(0);
}

.info-section.is-visible .info-section-content > *:nth-child(1) { transition-delay: 0.2s; }
.info-section.is-visible .info-section-content > *:nth-child(2) { transition-delay: 0.3s; }
.info-section.is-visible .info-section-content > *:nth-child(3) { transition-delay: 0.4s; }
.info-section.is-visible .info-section-content > *:nth-child(4) { transition-delay: 0.5s; }

.info-section-content:hover {
    transform: translateY(-10px);
}

.info-section-content.ai-theme:hover {
        box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.info-section-content.documents-theme:hover {
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.info-section-content.analytics-theme:hover {
    box-shadow: 0 20px 60px rgba(245, 101, 101, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.info-section-content:hover .info-section-subtitle {
    color: var(--text-secondary);
    opacity: 0.9;
}

/* NEW VISUAL MOCKUP STYLES */
.chat-mockup-container { padding: 1.5rem; background: var(--bg-primary); border-radius: var(--radius-lg); }
.message-container { display: flex; flex-direction: column; gap: 1rem; }
.message {
    max-width: 90%;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    position: relative;
    animation: convo-enter 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(10px);
    box-shadow: var(--shadow-sm);
    word-wrap: break-word;
}
.message.user {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    color: var(--text-primary);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    animation-delay: 0.2s;
    text-align: left;
}
.dark-mode .message.user {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.4), rgba(118, 75, 162, 0.4));
    color: white;
}
.message.assistant {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    animation-delay: 0.5s;
    text-align: left;
}
@keyframes convo-enter { to { opacity: 1; transform: translateY(0); } }

.doc-pipeline-mockup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
}

.pdf {
    background: rgba(239,68,68,0.1) !important;
}
.docx {
    background: rgba(59,130,246,0.1) !important;
}
.img {
    background: rgba(16,185,129,0.1) !important;
}
.pptx {
    background: rgba(249,115,22,0.1) !important;
}

.pipeline-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; animation: pipeline-enter 0.6s ease-out 0.2s forwards; opacity: 0; }
.pipeline-item { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-md); font-size: 1.8rem; transition: all 0.3s ease; }
.pipeline-item:hover { transform: scale(1.1) rotate(-5deg); }
.doc-pdf { background: rgba(239,68,68,0.1); color: #ef4444; }
.doc-word { background: rgba(59,130,246,0.1); color: #3b82f6; }
.doc-img { background: rgba(16,185,129,0.1); color: #10b981; }
.doc-ppt { background: rgba(249,115,22,0.1); color: #f97316; }
.pipeline-flow { display: flex; flex-direction: column; gap: 0.5rem; }

.flow-arrow-ext { width: 30px; height: 2px; background: var(--text-secondary); position: relative; animation: flow-anim 3s infinite ease-in-out; }
.flow-arrow-ext::after { content: ''; position: absolute; right: -2px; top: -3px; border: solid var(--text-secondary); border-width: 0 2px 2px 0; display: inline-block; padding: 3px; transform: rotate(-45deg); }


@keyframes flow-anim { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
.pipeline-core { text-align: center; animation: pipeline-enter 0.6s ease-out 0.8s forwards; opacity: 0; }
.pipeline-core i { font-size: 3rem; background: linear-gradient(135deg, #a78bfa, #d946ef); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: core-pulse 2s infinite ease-in-out; }
.pipeline-core span { font-weight: 600; font-size: 0.8rem; color: var(--text-secondary); }
@keyframes core-pulse { 0%, 100% { transform: scale(1); filter: drop-shadow(0 0 5px var(--glow-color)); } 50% { transform: scale(1.1); filter: drop-shadow(0 0 15px var(--glow-color)); } }
@keyframes pipeline-enter { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }


.core-highlight {
    background: linear-gradient(135deg, #a78bfa, #d946ef, #a78bfa, #d946ef);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-swirl 5s linear infinite;
}

@keyframes gradient-swirl {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===================== MODERN MODAL STYLES ===================== */
.modern-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.modern-modal-overlay.visible {
    display: flex;
    opacity: 1;
}

.modern-modal-container {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    width: 80%;
    max-height: 90vh;
    transform: scale(0.9) translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
}

.modern-modal-overlay.visible .modern-modal-container {
    transform: scale(1) translateY(0);
}

html.dark-mode .modern-modal-container {
    background: rgba(31, 30, 30, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modern-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    font-size: 18px;
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 100;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
    transform: scale(1.1);
}

html.dark-mode .modern-modal-close {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

html.dark-mode .modern-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.modern-modal-content {
    display: flex;
    min-height: 600px;
    overflow: hidden;
}

/* ===================== LEFT PANEL STYLES ===================== */
.modal-left-panel {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    background-color: #000000;
    overflow: hidden;
}

.modal-visual-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 350px;
}

.visual-shape-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: floatShapes 20s infinite linear;
}

.floating-shape.shape-1 {
    width: 120px;
    height: 120px;
    top: 10%;
    left: -60px;
    animation-delay: 0s;
}

.floating-shape.shape-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: -40px;
    animation-delay: -10s;
}

.floating-shape.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: -5s;
}
@keyframes floatShapes {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(90deg); }
    50% { transform: translate(0, -40px) rotate(180deg); }
    75% { transform: translate(-20px, -20px) rotate(270deg); }
}

.brand-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: brandIconFloat 6s ease-in-out infinite;
}

.brand-icon i {
    font-size: 36px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
@keyframes brandIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.modal-branding h3 {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.modal-branding p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 40px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.feature-highlights-login {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.highlight-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    animation: slideInLeft 0.6s ease-out forwards;
    opacity: 0;
    transform: translateX(-20px);
}

html.dark-mode .highlight-item {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.highlight-item:nth-child(1) { animation-delay: 0.2s; }
.highlight-item:nth-child(2) { animation-delay: 0.4s; }
.highlight-item:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.highlight-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}
.highlight-item i {
    color: white;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.highlight-item span {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

/* ===================== RIGHT PANEL STYLES ===================== */
.modal-right-panel {
    padding: 80px 50px;
    position: relative;
    background-color: transparent;
}
.modal-form-content {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}
.modern-back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-secondary);
    font-size: 14px;
}

.modern-back-button:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
    transform: scale(1.1);
}

html.dark-mode .modern-back-button {
    background: rgba(255, 255, 255, 0.1);
}

html.dark-mode .modern-back-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-header p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.modern-input-group {
    position: relative;
}

.modern-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.modern-input-wrapper {
    position: relative;
}

.modern-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.modern-input:focus {
    border-color: #6366f1;
    background: var(--bg-primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.modern-input::placeholder {
    color: var(--text-muted);
    transition: opacity 0.2s ease;
}

.modern-input:focus::placeholder {
    opacity: 0.7;
}

.input-focus-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.modern-input-wrapper.focused .input-focus-border {
    width: 100%;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    font-size: 16px;
    transition: color 0.2s ease;
    border-radius: 4px;
}

.password-toggle:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.05);
}

html.dark-mode .password-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modern-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0;
}

.modern-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.modern-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    position: relative;
    transition: all 0.2s ease;
    background: var(--bg-secondary);
}

.modern-checkbox input[type="checkbox"]:checked + .checkmark {
    background: #6366f1;
    border-color: #6366f1;
}

.modern-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.forgot-link {
    font-size: 14px;
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.forgot-link:hover {
    color: #4f46e5;
    text-decoration: underline;
}

.modern-submit-btn {
    width: 100%;
    padding: 18px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 8px;
}

.modern-submit-btn::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.6s ease;
}

.modern-submit-btn:hover {
    transform: translateY(-2px);
}

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

.modern-submit-btn:active {
    transform: translateY(0);
}

.modal-right-panel .modern-submit-btn {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.15) 0%, 
        rgba(118, 75, 162, 0.15) 50%,
        rgba(102, 126, 234, 0.1) 100%) !important;
    color: #667eea !important;
    border: 2px solid rgba(102, 126, 234, 0.3);
}

.btn-icon {
    transition: transform 0.2s ease;
}

.modern-submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

.form-footer {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.form-footer p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.create-account-btn {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 24px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.create-account-btn:hover {
    border-color: #6366f1;
    color: #6366f1;
    background: rgba(99, 102, 241, 0.05);
}

/* ===================== ERROR MESSAGES ===================== */
.form-error-message {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    color: #dc2626;
    font-size: 14px;
    font-weight: 500;
    margin-top: -8px;
    animation: slideDown 0.3s ease-out;
}

.form-error-message.visible {
    display: flex;
    opacity: 1;
    max-height: 100px;
    padding: 14px 20px;
    margin-top: 4px;
    margin-bottom: 12px;
}

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

/* Hide old modal styles when modern modal is visible */
.modern-modal-overlay.visible ~ .modal-overlay {
    display: none !important;
}
/* ============================================================ */


.analytics-grid-mockup {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
}
.stat-card-mockup {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    transition: all 0.3s ease-out;
    animation: convo-enter 0.5s ease-out forwards;
    opacity: 0;
}

.dark-mode .stat-card-mockup {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}


.stat-card-mockup:nth-child(1) { animation-delay: 0.2s; }
.stat-card-mockup:nth-child(2) { animation-delay: 0.3s; }
.stat-card-mockup:nth-child(3) { animation-delay: 0.4s; }
.stat-card-mockup:nth-child(4) { animation-delay: 0.5s; }
.stat-card-mockup:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgb(245, 101, 101);
}
.stat-icon-mockup {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: rgba(var(--icon-color-rgb), 0.1);
    color: var(--icon-color);
}


.stat-label-mockup { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.25rem; font-weight: 500; }
.stat-value-mockup { font-size: 1.25rem; font-weight: 700; color: var(--text-primary); }
.dark-mode .convo-ai { background: #2c3440; }

/* NEW Light mode CONTENT BACKGROUNDS */

html.dark-mode .info-section-content {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.08);
}

/* NEW Dark mode CONTENT BACKGROUNDS */
html.dark-mode .info-section-content.ai-theme {
    background: transparent !important;
}
html.dark-mode .info-section-content.documents-theme {
    background: transparent !important;
}

.hero-text-container {
    text-align: center;
    margin-bottom: 12%;
    z-index: 100;
}

.main-title {
    font-size: 4.5em;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.main-title .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInWord 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.main-title .word:nth-child(1) { animation-delay: 0.1s; }
.main-title .word:nth-child(2) { animation-delay: 0.2s; }
.main-title .word:nth-child(3) { animation-delay: 0.3s; }
.main-title .word:nth-child(4) { animation-delay: 0.4s; }
.main-title .word:nth-child(5) { animation-delay: 0.5s; }
.main-title .word:nth-child(6) { animation-delay: 0.6s; }
.main-title .word:nth-child(7) { animation-delay: 0.7s; }

@keyframes thinkingPulse {
    0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
    30% { opacity: 1; transform: scale(1.2); }
}

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

.main-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInWord 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 1s;
}

html:not(.dark-mode) .info-section-content h2,
html:not(.dark-mode) .info-section-content p,
html:not(.dark-mode) .info-section-content h3 {
    color: var(--text-primary);
}

html:not(.dark-mode) .info-feature-item {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(0, 0, 0, 0.1);
}
html:not(.dark-mode) .info-feature-item:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* ======================================================================== */

/* ========================================================================== */

/* ===================== GEMINI HEADER STYLE (from index.html) ===================== */
.main-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-xl) !important;
    padding: 12px 24px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    min-width: 700px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.main-header:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
html.dark-mode .main-header {
    background: rgba(0, 0, 0, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}
html.dark-mode .main-header:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.main-header .logo {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}
.navbar {
    display: flex;
    gap: 24px;
    margin-left: auto;
}
.navbar a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    transition: color 0.3s ease;
    padding: 8px 12px;
    border-radius: var(--radius-md);
}
.navbar a:hover {
    color: var(--text-primary);
    background: rgba(102, 126, 234, 0.05);
}
.login-button-nav {
    padding: 8px 16px;
    border-radius: var(--radius-md);
    border: 0.8px solid transparent;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}
.login-button-nav:hover {
    background: linear-gradient(to right, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05)) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(255, 255, 255, 0.1) !important;
    transform: scale(1.05) !important;
    border: 0.8px solid var(--border-color) !important;
}
/* =================================================================== */

/* Update hero panel padding to account for header */
.login-hero-panel {
    padding-top: 120px; /* header space */
    flex: 1 1 60%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 40px;
    position: relative;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    overflow-y: auto;
    z-index: 10;
}

/* ===================== THEMED SECTION BACKGROUNDS ===================== */
.info-section.ai-theme { background: linear-gradient(135deg, #2a2f55 0%, #1c203d 100%); }
.info-section.documents-theme { background: linear-gradient(135deg, #073b32 0%, #032520 100%); }
.info-section.analytics-theme { background: linear-gradient(135deg, #4b2c21 0%, #2d1b14 100%); }
/* Slight darker overlay for readability */
.info-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    pointer-events: none;
}
/* =================================================================== */

/* Scroll snap */
.info-sections-wrapper {
    scroll-snap-type: y mandatory;
    overflow-y: auto;
    height: 100vh;
    width: 100%;
    position: relative;
    z-index: 4; /* Ensures this container is above background particles */
}
.info-section { 
    scroll-snap-align: start; 
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Back to top button - Improved glassmorphism style */
#backToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    font-size: 18px;
}
html.dark-mode #backToTopBtn {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
#backToTopBtn.show {
    opacity: 1;
    pointer-events: auto;
}
#backToTopBtn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
html.dark-mode #backToTopBtn:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.login-hero-panel-content {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}
/* ================================================================ */

html:not(.dark-mode) .info-section.ai-theme { background: linear-gradient(135deg, #dbe0f8 0%, #d8d9f5 100%); }
html:not(.dark-mode) .info-section.documents-theme { background: linear-gradient(135deg, #d3f3e9 0%, #d4efe6 100%); }
html:not(.dark-mode) .info-section.analytics-theme { background: linear-gradient(135deg, #fce9e9 0%, #fcefe6 100%); }

html:not(.dark-mode) .info-section-content {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-xl);
}
html:not(.dark-mode) .info-section-content.ai-theme {
    background: linear-gradient(135deg, rgba(230, 235, 255, 0.4), rgba(224, 220, 245, 0.4)) !important;
}
html:not(.dark-mode) .info-section-content.documents-theme {
    background: linear-gradient(135deg, rgba(220, 245, 235, 0.4), rgba(215, 240, 230, 0.4)) !important;
}
html:not(.dark-mode) .info-section-content.analytics-theme {
    background: linear-gradient(135deg, rgba(255, 230, 230, 0.4), rgba(255, 240, 225, 0.4)) !important;
}
html:not(.dark-mode) .info-section-content .info-section-subtitle {
    color: var(--text-secondary);
}

.info-section-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}
.ai-theme .info-section-icon { color: var(--primary-color); }
.documents-theme .info-section-icon { color: #10b981; }
.analytics-theme .info-section-icon { color: #f56565; }

.info-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.info-section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 32px auto;
    transition: color 0.4s ease, opacity 0.4s ease;
}
.info-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.info-feature-item {
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}
.info-feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}
.info-feature-item i {
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.info-feature-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.info-feature-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Keep login parts on top */
.login-hero-panel, .login-form-panel {
    z-index: 10;
}
/* ======================================================================== */
/* ===================== DEEP DIVE SECTION ===================== */
.deep-dive {
    min-height: 100vh; /* Ensure it takes at least viewport height for snapping */
    height: auto; /* Allow it to grow with content */
    background-color: #000;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    display: block; /* Override flex from info-section */
    color: var(--text-primary);
    z-index: 5; /* Place it above the particles background */
}

html.dark-mode .deep-dive {
        background-color: #000;
}

html:not(.dark-mode) .deep-dive {
    background-color: #f8f9fa;
    color: var(--text-primary);
}

html:not(.dark-mode) .deep-dive .feature-text-content h3,
html:not(.dark-mode) .deep-dive .deep-dive-header h2 {
        color: var(--text-primary);
}

html:not(.dark-mode) .deep-dive .feature-text-content p,
html:not(.dark-mode) .deep-dive .deep-dive-header p,
html:not(.dark-mode) .deep-dive .feature-text-content ul li {
        color: var(--text-secondary);
}
.deep-dive-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}
html.dark-mode .deep-dive-background {
    background-color: var(--bg-primary);
}

.color-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.35;
    transition: opacity 0.4s ease;
}

html:not(.dark-mode) .color-blob {
    opacity: 0.4;
    filter: blur(120px);
}
.color-blob.blob-1 {
    width: 800px;
    height: 800px;
    background: var(--primary-color);
    top: -15%;
    left: -15%;
    animation: blob-move 5s infinite alternate;
}

.color-blob.blob-2 {
    width: 700px;
    height: 700px;
    background: #f56565; /* #10b981 documents-theme color */
    bottom: -25%;
    right: 5%;
    animation: blob-move 15s infinite alternate-reverse;
}

.color-blob.blob-3 {
    width: 600px;
    height: 600px;
    background: #10b981; /* analytics-theme color */
    top: 20%;
    right: -20%;
    animation: blob-move 10s infinite alternate;
}

@keyframes blob-move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(100px, 50px) scale(1.2); }
}

/* Scoped Blob Colors for Info Sections */
#deep-dive-section .color-blob.blob-1 { background: var(--primary-color); }
#deep-dive-section .color-blob.blob-2 { background: var(--secondary-color); animation-direction: alternate-reverse; }
#deep-dive-section .color-blob.blob-3 { background: var(--accent-color); }

#documents-section .color-blob.blob-1 { background: #10b981; top: -20%; right: -15%; }
#documents-section .color-blob.blob-2 { background: #059669; bottom: -20%; left: 5%; animation-direction: alternate-reverse; }
#documents-section .color-blob.blob-3 { background: #34d399; top: 30%; left: -20%; }

#analytics-section .color-blob.blob-1 { background: #f56565; top: -10%; left: 30%; }
#analytics-section .color-blob.blob-2 { background: #fb923c; bottom: -15%; right: -15%; animation-direction: alternate-reverse; }
#analytics-section .color-blob.blob-3 { background: #ef4444; top: 50%; left: -10%; }

.deep-dive-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
}

.deep-dive-header {
    text-align: center;
    margin-bottom: 80px;
}

.deep-dive-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 160px;
}

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

.feature-showcase.reverse .feature-text-content {
    order: 2;
}
.feature-showcase.reverse .feature-visual {
    order: 1;
}


.feature-text-content .feature-showcase-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    border-radius: var(--radius-lg);
}

.feature-showcase-icon.ai-theme { background: rgba(102, 126, 234, 0.1); color: var(--primary-color); }
.feature-showcase-icon.documents-theme { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.feature-showcase-icon.analytics-theme { background: rgba(245, 101, 101, 0.1); color: #f56565; }
.feature-showcase-icon.echo-core-theme { background: rgba(167, 139, 250, 0.1); color: #a78bfa; }
.feature-showcase-icon.design-theme { background: rgba(6, 182, 212, 0.1); color: #06b6d4; }
.feature-showcase-icon.bloom-theme { background: rgba(16, 185, 129, 0.1); color: #10b981; }


.feature-text-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    background: var(--text-title);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.feature-text-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.feature-text-content ul {
    list-style: none;
    padding: 0;
}

.feature-text-content ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.feature-text-content ul li i {
    color: var(--success-color);
}

.feature-visual {
    perspective: 1000px;
}

.visual-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--radius-xl);
    padding: 28px;
    transform: rotateY(-10deg) rotateX(5deg);
    transform-style: preserve-3d;
    transition: transform 0.5s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-2xl);
    max-width: 100%;
}

.dark-mode .visual-card {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-visual:hover .visual-card {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.visual-card .card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.visual-card .card-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #444;
}
.visual-card .card-header .dot:nth-child(1) { background-color: #ff5f56; }
.visual-card .card-header .dot:nth-child(2) { background-color: #ffbd2e; }
.visual-card .card-header .dot:nth-child(3) { background-color: #27c93f; }

/* New themed dots for updated showcases */
.visual-card .card-header .dot-ai { background-color: #6366f1; }
.visual-card .card-header .dot-ml { background-color: #8b5cf6; }
.visual-card .card-header .dot-nn { background-color: #06b6d4; }
.visual-card .card-header .dot-quantum { background-color: #a78bfa; }
.visual-card .card-header .dot-crypto { background-color: #10b981; }
.visual-card .card-header .dot-linear { background-color: #f59e0b; }
.visual-card .card-header .dot-nano { background-color: #ef4444; }
.visual-card .card-header .dot-photonic { background-color: #06b6d4; }
.visual-card .card-header .dot-ai-design { background-color: #84cc16; }
.visual-card .card-header .dot-sustainable { background-color: #22c55e; }
.visual-card .card-header .dot-adaptive { background-color: #06b6d4; }
.visual-card .card-header .dot-security { background-color: #dc2626; }
.visual-card .card-header .dot-oauth { background-color: #7c3aed; }
.visual-card .card-header .dot-jwt { background-color: #0891b2; }
.visual-card .card-header .dot-ai-db { background-color: #059669; }
.visual-card .card-header .dot-optimization { background-color: #d97706; }
.visual-card .card-header .dot-federated { background-color: #7c2d12; }
.visual-card .card-header .dot-ethics { background-color: #92400e; }
.visual-card .card-header .dot-fintech { background-color: #1d4ed8; }
.visual-card .card-header .dot-ai-eco { background-color: #059669; }
.visual-card .card-header .dot-bloom { background-color: #10b981; }
.visual-card .card-header .dot-wellness { background-color: #34d399; }
.visual-card .card-header .dot-zen { background-color: #059669; }

.visual-card-ai .user-prompt {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 0.95rem;
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.visual-card-ai .ai-response p {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
}
.visual-card-ai .code-snippet {
    background: rgba(0, 0, 0, 0.1);
    padding: 16px;
    border-radius: var(--radius-lg);
    margin-top: 16px;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

html.dark-mode .visual-card-ai .code-snippet {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.05);
}
.code-snippet .keyword { color: #c586c0; }
.code-snippet .function { color: #dcdcaa; }

/* ===================== EDUCATIONAL SHOWCASE VISUALS v2.0 ===================== */
.visual-card-design .user-prompt {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 0.95rem;
    padding: 12px 16px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(102, 126, 234, 0.15);
}

.visual-card-design .ai-response p {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.visual-card-design .code-snippet {
    padding: 16px;
    border-radius: var(--radius-lg);
    margin-top: 16px;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

/* --- Computer Science / AI Showcase (Modern IDE) --- */
.field-showcase[data-field="algorithmique"] .code-snippet {
    background: #0d1117; /* GitHub Dark-like */
    border: 1px solid #30363d;
    color: #c9d1d9;
}
.field-showcase[data-field="algorithmique"] .code-snippet .keyword { color: #ff7b72; }
.field-showcase[data-field="algorithmique"] .code-snippet .function { color: #d2a8ff; }
.field-showcase[data-field="algorithmique"] .code-snippet .comment { color: #8b949e; font-style: italic;}

/* --- Mathematics Showcase (LaTeX/Academic Journal) --- */
.field-showcase[data-field="mathematiques"] .code-snippet {
    background: #fdfdfd;
    border: 1px solid #e0e0e0;
    color: #333;
    font-family: 'Latin Modern Math', 'STIX Two Math', 'Times New Roman', serif;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    line-height: 1.8;
}

/* --- Physics Showcase (Blueprint/Technical) --- */
.field-showcase[data-field="physique"] .code-snippet {
    background: #002b49;
    border: 1px solid #005f73;
    color: #ade8f4;
    font-family: 'Courier New', Courier, monospace;
    background-image:
        linear-gradient(rgba(0, 119, 182, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 119, 182, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* --- Architecture Showcase (Blueprint) --- */
.field-showcase[data-field="architecture"] .code-snippet {
    background-color: #2a3a4a;
    border: 1px solid #5f9ea0;
    color: #ffffff;
    font-family: 'Architects Daughter', cursive, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 25px 25px;
}
.field-showcase[data-field="architecture"] .code-snippet .comment { color: #9ca3af; }

/* --- Web Dev Showcase (VS Code Theme) --- */
.field-showcase[data-field="web"] .code-snippet {
    background: #1e1e1e;
    border: 1px solid #3c3c3c;
    color: #d4d4d4;
}
.field-showcase[data-field="web"] .code-snippet .keyword { color: #569cd6; }
.field-showcase[data-field="web"] .code-snippet .function { color: #dcdcaa; }
.field-showcase[data-field="web"] .code-snippet .comment { color: #6a9955; }

/* --- Database Showcase (SQL Client) --- */
.field-showcase[data-field="database"] .code-snippet {
    background: #ffffff;
    border: 1px solid #dddddd;
    color: #333333;
}
.field-showcase[data-field="database"] .code-snippet .comment { color: #008000; font-style: italic; }
.field-showcase[data-field="database"] .code-snippet .keyword { color: #0000ff; font-weight: bold;}

/* --- Stats/Data Science Showcase (Jupyter Notebook) --- */
.field-showcase[data-field="stats"] .code-snippet {
    background: #f7f7f7;
    border: 1px solid #e1e1e1;
    border-left: 5px solid #3079d0;
    color: #000000;
    padding-left: 20px;
}
.field-showcase[data-field="stats"] .code-snippet .comment { color: #008000; }
.field-showcase[data-field="stats"] .code-snippet .keyword { color: #00008b; }
.field-showcase[data-field="stats"] .code-snippet .import { color: #8b008b; }


/* --- Business & Economics Showcase (Financial Report) --- */
.field-showcase[data-field="business"] .code-snippet {
    background: #f5f8fa;
    border: 1px solid #e1e8ed;
    color: #14171a;
    font-family: 'Georgia', serif;
}
.field-showcase[data-field="business"] .code-snippet .comment { color: #657786; font-style: normal; }


.visual-card-docs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 28px;
    gap: 20px;
}

.doc-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-primary);
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    text-align: center;
}

html.dark-mode .doc-icon {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.05);
}

.doc-icon:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.doc-icon i { 
    font-size: 2.2rem; 
    margin-bottom: 4px;
}
.doc-icon.pdf i { color: #ef4444; }
.doc-icon.docx i { color: #3b82f6; }
.doc-icon.img i { color: #10b981; }
.doc-icon.pptx i { color: #f97316; }

.doc-arrow {
    font-size: 1.8rem;
    color: var(--primary-color);
    opacity: 0.8;
    animation: pulse-arrow 2s infinite;
}

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

.processing-step i {
    font-size: 2rem;
    animation: spin 3s linear infinite;
}

.doc-brain {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    padding: 20px 16px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(16, 185, 129, 0.2);
    text-align: center;
    flex: 1;
}
.doc-brain i { 
    font-size: 2.5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow-brain 2s ease-in-out infinite alternate;
}

@keyframes glow-brain {
    from { filter: drop-shadow(0 0 5px rgba(16, 185, 129, 0.5)); }
    to { filter: drop-shadow(0 0 15px rgba(16, 185, 129, 0.8)); }
}

#deep-dive-section {
        scroll-snap-align: start; 
        scroll-snap-stop: always;
}
/* ============================================================= */

/* ===================== ENHANCED DEEP DIVE SECTION STYLES ===================== */

/* Additional Color Blobs */
.color-blob.blob-4 {
    width: 500px;
    height: 500px;
    background: #f093fb; /* accent color */
    top: 60%;
    left: -10%;
    animation: blob-move 12s infinite alternate-reverse;
}

.color-blob.blob-5 {
    width: 450px;
    height: 450px;
    background: #f5576c; /* gradient end color */
    bottom: -10%;
    left: 50%;
    animation: blob-move 18s infinite alternate;
}

/* Enhanced Features Grid */
.enhanced-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin: 80px 0 120px 0;
    padding: 0 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInStagger 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    display: flex;
    flex-direction: column;
}

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

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

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

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

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

html.dark-mode .feature-card {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.08);
}

html.dark-mode .feature-card:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.feature-card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-card-icon i {
    font-size: 24px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-card-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.15);
}

.feature-card:hover .feature-card-icon i {
    transform: scale(1.1);
}

/* Theme Colors for Feature Cards */
.feature-card.ai-enhanced .feature-card-icon { background: rgba(102, 126, 234, 0.15); }
.feature-card.ai-enhanced .feature-card-icon i { color: var(--primary-color); }

.feature-card.docs-enhanced .feature-card-icon { background: rgba(16, 185, 129, 0.15); }
.feature-card.docs-enhanced .feature-card-icon i { color: #10b981; }

.feature-card.analytics-enhanced .feature-card-icon { background: rgba(245, 101, 101, 0.15); }
.feature-card.analytics-enhanced .feature-card-icon i { color: #f56565; }

.feature-card.collaboration-enhanced .feature-card-icon { background: rgba(139, 92, 246, 0.15); }
.feature-card.collaboration-enhanced .feature-card-icon i { color: #8b5cf6; }

.feature-card.automation-enhanced .feature-card-icon { background: rgba(245, 158, 11, 0.15); }
.feature-card.automation-enhanced .feature-card-icon i { color: #f59e0b; }

.feature-card.security-enhanced .feature-card-icon { background: rgba(34, 197, 94, 0.15); }
.feature-card.security-enhanced .feature-card-icon i { color: #22c55e; }

.feature-card.echo-core-enhanced .feature-card-icon { background: rgba(167, 139, 250, 0.15); }
.feature-card.echo-core-enhanced .feature-card-icon i { color: #a78bfa; }

.feature-card.bloom-wellness-enhanced .feature-card-icon { background: rgba(16, 185, 129, 0.15); }
.feature-card.bloom-wellness-enhanced .feature-card-icon i { color: #10b981; }

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.feature-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.highlight-tag {
    font-size: 0.8rem;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.2s ease;
}

html:not(.dark-mode) .feature-card:hover .highlight-tag {
    background: rgba(0, 0, 0, 0.15);
    color: var(--text-primary);
    transform: translateY(-1px);
}

html.dark-mode .highlight-tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

html.dark-mode .feature-card:hover .highlight-tag {
    color: var(--text-primary);
    transform: translateY(-1px);
}

/* ECHO Core Pro/Max Tags with Glassmorphism */
.core-tag {
    background: transparent ;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.core-tag.pro {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.1) 0%, 
        rgba(118, 75, 162, 0.1) 50%,
        rgba(102, 126, 234, 0.05) 100%) !important;
    color: #667eea !important;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
}

.core-tag.max {
    background: rgba(245, 158, 11, 0.2) !important;
    color: rgb(245, 158, 11) !important;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.2);
}

.core-tag::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;
}

.feature-card:hover .core-tag::before {
    left: 100%;
}
.feature-card:hover .core-tag.max {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

html.dark-mode .core-tag {
    background: rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

html.dark-mode .core-tag.pro {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.25) 0%, 
        rgba(118, 75, 162, 0.25) 50%,
        rgba(26, 31, 38, 0.4) 100%) !important;
    color: #667eea !important;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
}

html.dark-mode .core-tag.max {
    background: rgba(245, 158, 11, 0.2) !important;
    color: rgb(245, 158, 11) !important;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.2);
}
/* Bloom tag styles */
.bloom-tag {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.9) 0%, 
        rgba(5, 150, 105, 0.9) 100%) !important;
    color: white !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.7rem;
    padding: 6px 12px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    border: none;
    animation: bloom-tag-glow 3s ease-in-out infinite;
    overflow: hidden;
}
.bloom-tag::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, #10b981, #34d399, #10b981);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .bloom-tag::before {
    opacity: 1;
}

.bloom-tag.pro {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.9) 0%, 
        rgba(52, 211, 153, 0.9) 100%) !important;
    color: white !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
}

.bloom-tag.max {
    background: linear-gradient(135deg, 
        rgba(5, 150, 105, 0.9) 0%, 
        rgba(4, 120, 87, 0.9) 100%) !important;
    color: white !important;
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.2);
}
.feature-card:hover .bloom-tag.pro {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.feature-card:hover .bloom-tag.max {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.3);
}
html.dark-mode .bloom-tag {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.9) 0%, 
        rgba(26, 31, 38, 0.4) 100%) !important;
    color: #10b981 !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
}

html.dark-mode .bloom-tag.pro {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.9) 0%, 
        rgba(52, 211, 153, 0.6) 100%) !important;
    color: white !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
}
html.dark-mode .bloom-tag.max {
    background: rgba(5, 150, 105, 0.9) !important;
    color: white !important;
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.2);
}

@keyframes bloom-tag-glow {
    0%, 100% { 
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    }
    50% { 
        box-shadow: 0 4px 18px rgba(16, 185, 129, 0.5);
    }
}

/* ECHO Core Visual Card */
.visual-card-echo-core {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--radius-xl);
    padding: 28px;
    transform: rotateY(-10deg) rotateX(5deg);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
    box-shadow: var(--shadow-2xl);
    max-width: 100%;
}

html.dark-mode .visual-card-echo-core {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-visual:hover .visual-card-echo-core {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
}

.echo-core-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.core-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a78bfa, #d946ef);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(167, 139, 250, 0.3);
}

.core-info {
    flex: 1;
}

.core-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.core-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 2s infinite;
}

.core-badges {
    display: flex;
    gap: 8px;
}

.core-badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.core-badge.pro {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(147, 51, 234, 0.2));
    color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.core-badge.max {
    background: rgba(245, 158, 11, 0.2) !important;
    color: rgb(245, 158, 11) !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.core-insights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.insight-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: all 0.3s ease;
}

.insight-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.insight-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(167, 139, 250, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a78bfa;
    font-size: 14px;
    margin-bottom: 12px;
}

.insight-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.insight-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.insight-trend {
    font-size: 0.75rem;
    color: #22c55e;
    font-weight: 500;
}

.core-recommendation {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 16px;
}

.recommendation-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #f59e0b;
    font-size: 0.9rem;
    font-weight: 500;
}

.recommendation-header i {
    font-size: 14px;
}

.core-recommendation p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    font-style: italic;
}

html.dark-mode .insight-card {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

html.dark-mode .core-recommendation {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

/* New styles for ECHO Core Showcase */
.echo-core-showcase {
    display: grid !important;
    grid-template-columns: 1fr 1.2fr !important;
    gap: 2rem !important;
    align-items: start !important;
}

.echo-core-showcase .feature-text-content {
    order: 0;
}

.echo-core-showcase .feature-visual {
    order: 1;
}

.echo-core-showcase .feature-icon-container {
    width: 48px;
    height: 48px;
}

.echo-core-showcase .capabilities-header {
    gap: 1rem !important;
    align-items: center !important;
}


.core-section {
    margin-top: 24px;
}
.core-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.core-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.checklist-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}
.checklist-item i {
    color: var(--success-color);
}
html.dark-mode .checklist-item {
    background: rgba(28, 28, 30, 0.9);
    color: var(--text-secondary);
}
.tendency-graph {
    margin-bottom: 8px;
}
.tendency-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: left;
}
.schedule {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--text-primary);
}
.schedule-item:last-child {
    border-bottom: none;
}
html.dark-mode .schedule-item {
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
}
.schedule-item div {
    display: flex;
    align-items: center;
    gap: 12px;
}
.schedule-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}
.schedule-tag.demain {
    background: rgba(102, 126, 234, 0.2);
    color: #8b9ef5;
}
.schedule-tag.dans-3-jours {
    background: rgba(245, 158, 11, 0.2);
    color: #f5b15d;
}
.schedule-time {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}
.redirect-experts {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s ease;
}
.redirect-experts:hover {
    color: var(--text-primary);
}
html.dark-mode .redirect-experts {
    border-color: rgba(255, 255, 255, 0.08);
}
.redirect-experts .fa-arrow-up {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
    border-radius: 50%;
}
html.dark-mode .redirect-experts .fa-arrow-up {
    background: rgba(0, 0, 0, 0.2);
}

/* Enhanced Visual Cards */
.visual-card-automation {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--radius-xl);
    padding: 24px;
    transform: rotateY(-10deg) rotateX(5deg);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
    box-shadow: var(--shadow-2xl);
}

html.dark-mode .visual-card-automation {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.automation-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

html.dark-mode .automation-flow {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
    text-align: center;
    transition: all 0.3s ease;
}

.flow-step:hover {
    transform: translateY(-2px);
}

.step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.step-icon::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.6s ease;
}

.flow-step.active .step-icon {
    background: rgba(245, 158, 11, 0.1);
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.1);
    animation: pulse-glow-automation 2s infinite;
    border-color: rgba(245, 158, 11, 0.3);
}

.flow-step.active .step-icon::before {
    left: 100%;
}

@keyframes pulse-glow-automation {
    0%, 100% { box-shadow: 0 0 25px rgba(245, 158, 11, 0.1); }
    50% { box-shadow: 0 0 35px rgba(245, 158, 11, 0.8); }
}

.step-icon i {
    font-size: 20px;
    color: var(--text-primary);
    z-index: 1;
}

.flow-step.active .step-icon i {
    color: rgb(245, 158, 11);
    animation: bounce-icon 2s infinite;
}

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

.step-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.step-status {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-style: italic;
}

.flow-step.active .step-status {
    color: var(--text-secondary);
    font-weight: 500;
}

.step-status-active {
    color: transparent !important;
    background: linear-gradient(90deg, var(--text-secondary) 40%, var(--text-primary) 50%, var(--text-secondary) 60%) !important;
    background-size: 300% 100% !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    animation: shimmer-text 2.5s infinite linear !important;
}

.flow-arrow {
    font-size: 1.4rem;
    color: rgba(245, 158, 11, 0.5);
    opacity: 0.6;
    animation: slide-arrow 3s infinite;
}

@keyframes slide-arrow {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(5px); opacity: 1; }
}

.automation-output {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.output-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(16, 185, 129, 0.08);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(16, 185, 129, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

html.dark-mode .output-item {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.1);
}

.output-item:hover {
    transform: translateX(4px);
    border-color: rgba(16, 185, 129, 0.25);
    background: rgba(16, 185, 129, 0.12);
}

.output-item i {
    color: #10b981;
    font-size: 16px;
    background: rgba(16, 185, 129, 0.1);
    padding: 8px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.output-item span {
    flex: 1;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.feature-showcase.reverse .visual-card {
    transform: rotateY(10deg) rotateX(5deg);
}

.feature-visual:hover .visual-card {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}


.output-status {
    font-size: 0.85rem;
    color: #10b981;
    font-weight: 600;
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-md);
}

/* Enhanced Analytics Card */
.analytics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.analytics-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.time-selector {
    display: flex;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.time-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.time-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.time-btn.active {
    background: rgba(245, 101, 101, 0.15);
    color: rgba(245, 101, 101, 1);
    box-shadow: 0 4px 12px rgba(245, 101, 101, 0.3);
    transform: translateY(-1px);
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: 20px 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

html.dark-mode .metric-card {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.08);
}

.metric-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

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

.metric-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(245, 101, 101, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    border: 1px solid rgba(245, 101, 101, 0.2);
}

.metric-icon i {
    font-size: 18px;
    color: #f56565;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}
.metric-trend {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.metric-trend.up {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.metric-trend.up::before {
    content: '↗';
    font-size: 12px;
}

.progress-chart {
    height: 120px;
    margin-top: 1%;
}

/* Enhanced Documents Card */
.doc-upload-zone {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}
.doc-icon.pptx i {
    color: #d24726;
}

.doc-processing {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin: 16px 0;
}
.processing-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1;
    text-align: center;
    transition: all 0.3s ease;
}

.processing-step.active {
    background: rgba(102, 126, 234, 0.15);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.processing-step.active i {
    color: var(--primary-color);
    animation: pulse 2s infinite;
}

.processing-step span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.brain-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 0.5rem;
    color: var(--text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
}
.status-dot.active {
    background: var(--success-color);
    animation: pulse 2s infinite;
}

/* Automation Theme Icon */
.automation-theme {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}
/* Force removal of background for automation icon container */
.feature-icon-container.automation-theme {
    background: transparent !important;
}
.login-color-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.35;
    transition: opacity 0.4s ease;
    animation: blob-move 15s infinite alternate;
}

html:not(.dark-mode) .login-color-blob {
    opacity: 0.4;
    filter: blur(120px);
}

.login-color-blob.l-blob-1 {
    width: 400px;
    height: 400px;
    background: #6a11cb;
    top: 10%;
    left: 70%;
    animation-duration: 20s;
}

.login-color-blob.l-blob-2 {
    width: 350px;
    height: 350px;
    background: #2575fc;
    bottom: 5%;
    left: 20%;
    animation-duration: 25s;
    animation-direction: alternate-reverse;
}

.login-color-blob.l-blob-3 {
    width: 300px;
    height: 300px;
    background: #34d399;
    top: 50%;
    right: 10%;
    animation-duration: 18s;
}

.login-color-blob.l-blob-4 {
    width: 250px;
    height: 250px;
    background: #ff7e5f;
    bottom: 30%;
    right: -15%;
    animation-duration: 22s;
    animation-direction: alternate-reverse;
}

.login-color-blob.l-blob-5 {
    width: 200px;
    height: 200px;
    background: #feb47b;
    top: -10%;
    right: 30%;
    animation-duration: 28s;
}

/* ===================== DESIGN SHOWCASE ===================== */
.visual-card-design {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--radius-xl);
    padding: 28px;
    transform: rotateY(-10deg) rotateX(5deg);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
    box-shadow: var(--shadow-2xl);
    max-width: 100%;
}

html.dark-mode .visual-card-design {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-visual:hover .visual-card-design {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
}

.design-header {
    margin-bottom: 24px;
}

.header-demo {
    position: relative;
}

.demo-header {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    vertical-align: middle;
    align-self: center;
    width: 40% !important;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-xl);
    padding: 12px 24px;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    margin-bottom: 8px;
}

html.dark-mode .demo-header {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    gap: 10px;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.demo-logo {
    font-weight: 600;
    font-size: 16px;
    background: linear-gradient(135deg, #667eea 20%, #764ba2 40%, #f093fb 60%, #f5576c 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-controls-demo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.control-btn {
    width: 32px;
    height: 32px;
    border: 0.8px solid transparent;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 12px;
}

.control-btn:hover {
    background: linear-gradient(to right, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    color: var(--text-primary);
    border: 0.8px solid var(--border-color);
    transform: scale(1.05);
}

.subject-demo {
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
}

html.dark-mode .subject-demo {
    background: rgba(0, 0, 0, 0.15);
}

.glassmorphism-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    justify-content: center;
    margin-top: 4px;
}

.glassmorphism-label i {
    font-size: 10px;
}

.design-components {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.component-demo {
    position: relative;
}

.demo-input {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-lg);
    padding: 12px 16px;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

html.dark-mode .demo-input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.demo-placeholder {
    font-size: 0.8rem;
    color: var(--text-secondary);
    flex: 1;
}

.demo-actions {
    display: flex;
    gap: 4px;
}

.demo-action-btn {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-md);
    background: rgba(128, 128, 128, 0.08);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    transition: all 0.2s ease;
}

.demo-action-btn.send {
    background: linear-gradient(to right, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    color: var(--text-primary);
    border: 0.8px solid var(--border-color);
}

html.dark-mode .demo-action-btn {
    background: rgba(255, 255, 255, 0.06);
}

.demo-sidebar {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-xl);
    padding: 16px;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

html.dark-mode .demo-sidebar {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.sidebar-header-demo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.sidebar-content-demo {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-item-demo {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-item-demo.active {
    background: linear-gradient(to right, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.component-label {
    text-align: center;
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.design-notification-demo {
    margin-bottom: 20px;
}

.notification-demo {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    box-shadow: var(--shadow-lg);
    margin-bottom: 8px;
    justify-content: center;
}

html.dark-mode .notification-demo {
    background: rgba(26, 31, 38, 0.85);
    border-color: var(--border-color);
}

.notification-demo.thinking i {
    color: var(--secondary-color);
    animation: pulse 2s infinite;
}

.notification-demo.new-message i:first-child {
    color: var(--primary-color);
}

.notification-demo.new-message i:last-child {
    color: var(--text-secondary);
    font-size: 10px;
}

.thinking-dots-demo {
    display: flex;
    gap: 3px;
}

.thinking-dots-demo span {
    width: 4px;
    height: 4px;
    background: var(--text-secondary);
    border-radius: 50%;
    animation: thinkingPulse 1.5s infinite;
}

.thinking-dots-demo span:nth-child(1) { animation-delay: 0s; }
.thinking-dots-demo span:nth-child(2) { animation-delay: 0.3s; }
.thinking-dots-demo span:nth-child(3) { animation-delay: 0.6s; }

.design-tech-stack {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 16px;
}

html.dark-mode .design-tech-stack {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.tech-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.tech-badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 48px;
    text-align: center;
}

.tech-badge.css {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(8, 145, 178, 0.2));
    color: #06b6d4;
}

.tech-badge.js {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.2));
    color: #f59e0b;
}

.tech-badge.responsive {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2));
    color: #10b981;
}

/* Enhanced highlight phrases */
.highlight-phrase {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

html.dark-mode .highlight-phrase {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-color: rgba(102, 126, 234, 0.3);
}

/* ===================== EDUCATIONAL FIELDS SHOWCASE CAROUSEL ===================== */
.educational-showcase-section {
    margin: 120px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-2xl);
    padding: 80px 40px 0 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 3px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

html.dark-mode .educational-showcase-section {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.03) !important;
}

.showcase-header {
    text-align: center;
    margin-bottom: 80px;
}

.showcase-header h2 {
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--text-title);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 24px;
    line-height: 1.1;

}

.showcase-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.showcase-carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: auto;
    padding: 0 20px;
}

.carousel-nav {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.carousel-nav::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;
}

.carousel-nav:hover::before {
    left: 100%;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.carousel-nav i {
    font-size: 18px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

html.dark-mode .carousel-nav {
    background: rgba(28, 28, 30, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

html.dark-mode .carousel-nav:hover {
    background: rgba(44, 44, 46, 0.95);
}

.showcase-carousel {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 40px;
}

.field-showcase {
    min-width: 100%;
    flex-shrink: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.95) translateY(20px);
    opacity: 0.3;
    filter: blur(2px);
}

.field-showcase.active {
    transform: scale(1) translateY(0);
    opacity: 1;
    filter: blur(0px);
}

.field-showcase:not(.active) .field-visual {
    transform: scale(0.9);
}

.field-showcase.active .field-visual {
    transform: scale(1);
}



.field-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.field-icon i {
    font-size: 32px;
    transition: transform 0.3s ease;
}

.field-showcase:hover .field-icon {
    transform: scale(1.05);
}

.field-showcase:hover .field-icon i {
    transform: scale(1.1);
}

.field-info h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    line-height: 1.2;
}

.field-info p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Enhanced Theme Colors for Different Fields - ECHO Core Style */
.cs-theme {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(99, 102, 241, 0.1));
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.math-theme {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(167, 139, 250, 0.1));
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.physics-theme {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(14, 165, 233, 0.1));
    color: #06b6d4;
    border: 1px solid rgba(6, 182, 212, 0.2);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.arch-theme {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(251, 191, 36, 0.1));
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.web-theme {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(16, 185, 129, 0.1));
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.db-theme {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(248, 113, 113, 0.1));
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.stats-theme {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(196, 113, 237, 0.1));
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.2);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.business-theme {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(59, 130, 246, 0.1));
    color: #0ea5e9;
    border: 1px solid rgba(14, 165, 233, 0.2);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.bloom-wellness-theme {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.1));
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
/* Dark mode enhancements for themes */
html.dark-mode .cs-theme,
html.dark-mode .math-theme,
html.dark-mode .physics-theme,
html.dark-mode .arch-theme,
html.dark-mode .web-theme,
html.dark-mode .db-theme,
html.dark-mode .stats-theme,
html.dark-mode .business-theme,
html.dark-mode .bloom-wellness-theme {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

html.dark-mode .info-section-content.analytics-theme {
    background: transparent !important;
}
/* Enhanced Visual Cards for Carousel - ECHO Core Design */
.field-showcase .visual-card {
    transform: perspective(1000px) rotateY(-8deg) rotateX(3deg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 500px;
    position: relative;
    overflow: hidden;
}

.field-showcase:hover .visual-card {
    transform: perspective(1000px) rotateY(-2deg) rotateX(1deg) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* Enhanced field content with better spacing */
.field-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
html.dark-mode .field-content {
    background: rgba(0, 0, 0, 0.05);
}

/* Enhanced field header with better visual hierarchy */
.field-header {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
}
/* Enhanced field info typography */
.field-info h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.field-info p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.3px;
}
.field-visual::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle at center, rgba(var(--primary-rgb), 0.05), transparent 70%);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.field-showcase:hover .field-visual::before {
    opacity: 1;
}

.math-formula {
    font-family: 'KaTeX_Math', 'Times New Roman', serif;
    font-style: italic;
    background: rgba(167, 139, 250, 0.05);
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin: 16px 0;
    letter-spacing: 0.5px;
    line-height: 1.8;
}

html.dark-mode .math-formula {
    background: rgba(167, 139, 250, 0.1);
    border-color: rgba(167, 139, 250, 0.3);
}

/* Carousel Indicators */
.carousel-indicators {
    display: none;
    color: transparent;
    background: transparent;
    border: none;
    justify-content: center;
    gap: 16px;
    margin-top: 60px;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.indicator::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.5), rgba(167, 139, 250, 0.5));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.indicator.active::before {
    opacity: 1;
}

.indicator.active {
    background: transparent;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.4), 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: scale(1.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

html.dark-mode .indicator {
    background: rgba(255, 255, 255, 0.2);
}

html.dark-mode .automation-showcase .feature-description-box {
    background: #1a1f26;
}

/* Collapsible Feature Lists Styles */
.feature-capabilities-section {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

html.dark-mode .feature-capabilities-section {
    border-top-color: rgba(255, 255, 255, 0.05);
}

.capabilities-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    margin-bottom: 1rem;
}

.capabilities-header:hover {
    background: rgba(255, 255, 255, 0.06) !important;
}

html.dark-mode .capabilities-header {
        background-color: rgba(28, 28, 30, 0.9) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        
}

html.dark-mode .capabilities-header:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.capabilities-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.capabilities-divider {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.3), transparent);
}

.toggle-capabilities-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-capabilities-btn:hover {
    color: var(--text-primary);
}

.toggle-capabilities-btn i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.capabilities-header.expanded .toggle-capabilities-btn i {
    transform: rotate(180deg);
}

.capabilities-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.capabilities-content .enhanced-feature-list {
    padding-top: 1rem;
}

.capabilities-header.expanded + .capabilities-content {
    max-height: 500px;
}

.capabilities-header.expanded + .capabilities-content .feature-list-item {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.capabilities-content .feature-list-item {
    opacity: 0;
    transform: translateX(-10px);
}

.capabilities-header.expanded + .capabilities-content .feature-list-item:nth-child(1) { transition-delay: 0.05s; }
.capabilities-header.expanded + .capabilities-content .feature-list-item:nth-child(2) { transition-delay: 0.1s; }
.capabilities-header.expanded + .capabilities-content .feature-list-item:nth-child(3) { transition-delay: 0.15s; }
.capabilities-header.expanded + .capabilities-content .feature-list-item:nth-child(4) { transition-delay: 0.2s; }
.capabilities-header.expanded + .capabilities-content .feature-list-item:nth-child(5) { transition-delay: 0.25s; }
.capabilities-header.expanded + .capabilities-content .feature-list-item:nth-child(6) { transition-delay: 0.3s; }

.enhanced-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list-item {
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}

.feature-icon .automation-theme {
    background: transparent;
    border-left-color: transparent;
}

.list-item-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.list-item-container:hover {
    background: rgba(255, 255, 255, 0.04);
    border-left-color: rgba(102, 126, 234, 0.6);
}

.list-item-icon {
    color: rgba(102, 126, 234, 0.8);
    font-size: 0.9rem;
    margin-top: 0.1rem;
}

.list-item-text {
    flex: 1;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

html.dark-mode .indicator:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Enhanced Feature Showcase Text Styles */
.showcase-text-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-title-section {
    flex: 1;
}

.feature-title-section h3 {
    margin: 0 0 0.5rem 0;
    text-align: left !important;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}


.feature-accent-line {
    width: 3rem;
    height: 3px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.feature-accent-line.ai-theme {
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.feature-accent-line.documents-theme {
    background: linear-gradient(90deg, #10b981, #059669);
}

.feature-accent-line.analytics-theme {
    background: linear-gradient(90deg, #f97316, #ea580c);
}

.feature-accent-line.automation-theme {
    background: linear-gradient(90deg, #f59e0b, #f59e0b); /*rgba(245, 158, 11, 0.1)*/
}

.feature-accent-line.echo-core-theme {
    background: linear-gradient(90deg, #a78bfa, #a78bfa); /*rgba(167, 139, 250, 0.1)*/
}

.feature-accent-line.design-theme {
    background: linear-gradient(90deg, #06b6d4, #0891b2);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.feature-description-box {
    position: relative;
    margin-bottom: 2rem;
    padding: 2rem 2.5rem;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: var(--radius-xl)!important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transform: perspective(1000px) rotateX(0deg);
    opacity: 0;
    animation: fadeInDescription 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

@keyframes fadeInDescription {
    from {
        opacity: 0;
        transform: perspective(1000px) rotateX(-10deg) translateY(20px);
    }
    to {
        opacity: 1;
        transform: perspective(1000px) rotateX(0deg) translateY(0);
    }
}

.feature-description-box:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.4) !important;
}

html.dark-mode .feature-description-box {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}


.feature-description-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    opacity: 0.3;
}

.feature-intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.feature-capabilities-section {
    margin-top: 1.5rem;
}

.capabilities-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.capabilities-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.capabilities-divider {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border-color), transparent);
}

.enhanced-feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-list-item {
    transition: all 0.2s ease;
}

.list-item-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    background: transparent;
    transition: all 0.2s ease;
}

.feature-list-item:hover .list-item-container {
    background: var(--bg-secondary);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.list-check-icon {
    color: var(--success-color);
    font-size: 0.875rem;
    min-width: 16px;
}

.list-item-text {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.5;
}

html.dark-mode .feature-list-item:hover .list-item-container {
    background: rgba(255, 255, 255, 0.05);
}

/* Responsive design */
@media (max-width: 768px) {
    .showcase-text-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        text-align: left;
    }

    .feature-icon-container {
        width: 3rem;
        height: 3rem;
    }

    .feature-title-section h3 {
        font-size: 1.25rem;
    }

    .feature-description-box {
        padding: 1.25rem;
    }

    .description-content .feature-intro-text {
        font-size: 1rem;
    }
}

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

    .showcase-header h2 {
        font-size: 2.5rem;
    }

    .field-info h3 {
        font-size: 2rem;
    }

    .carousel-navigation {
        padding: 0 10px;
    }

    .carousel-nav {
        width: 48px;
        height: 48px;
    }

    .feature-showcase,
    .feature-showcase.reverse {
        flex-direction: column !important;
    }

    .feature-showcase .feature-visual {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .educational-showcase-section {
        margin: 80px 0;
    }

    .showcase-carousel-container {
        padding: 0 20px;
    }

    .showcase-header h2 {
        font-size: 2rem;
    }

    .showcase-header p {
        font-size: 1.1rem;
    }

    .field-info h3 {
        font-size: 1.8rem;
    }

    .field-info p {
        font-size: 1rem;
    }

    .field-icon {
        width: 64px;
        height: 64px;
    }

    .field-icon i {
        font-size: 24px;
    }

    .field-header {
        gap: 16px;
        margin-bottom: 30px;
    }

    .field-showcase .visual-card {
        transform: none;
        max-width: 100%;
    }

    .field-showcase:hover .visual-card {
        transform: scale(1.02);
    }
}


/* ===================== PRICING SECTION ===================== */
.pricing-section {
    margin: 120px 0 80px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-2xl);
    padding: 80px 40px 0 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 3px solid rgba(255, 255, 255, 0.05);
    border-left: 3px solid rgba(255, 255, 255, 0.05);
    border-right: 3px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

html.dark-mode .pricing-section {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: var(--text-title);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

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

.pricing-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.pricing-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-2xl);
    padding: 40px 32px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    animation: fadeInStagger 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.pricing-card:nth-child(1) { animation-delay: 0.2s; }
.pricing-card:nth-child(2) { animation-delay: 0.4s; }
.pricing-card:nth-child(3) { animation-delay: 0.6s; }

html.dark-mode .pricing-card {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.08);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

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

.pricing-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

html.dark-mode .pricing-card:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Popular Plan Badge */
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.popular-badge i {
    font-size: 0.8rem;
}

.pro-plan {
    border: 2px solid rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.1) 0%, 
        rgba(118, 75, 162, 0.1) 50%,
        rgba(102, 126, 234, 0.05) 100%);
    flex-grow: 1;
}
.pro-plan:hover {
    border-color: #667eea;
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.max-plan {
    border: 2px solid rgba(245, 158, 11, 0.3);
    background: linear-gradient(135deg, 
        rgba(245, 158, 11, 0.1) 0%, 
        rgba(245, 158, 11, 0.1) 50%,
        rgba(26, 31, 38, 0.3) 100%);
    flex-grow: 1;
}

.max-plan:hover {
    border-color: #f59e0b;
    box-shadow: 0 25px 50px rgba(245, 158, 11, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}   

.standard-plan {
    border: 2px solid rgba(34, 197, 94, 0.3);
    background: linear-gradient(135deg, 
        rgba(34, 197, 94, 0.1) 0%, 
        rgba(34, 197, 94, 0.1) 50%,
        rgba(26, 31, 38, 0.3) 100%);
    flex-grow: 1;
}
.standard-plan:hover {
    border-color: #22c55e;
    box-shadow: 0 25px 50px rgba(34, 197, 94, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

html.dark-mode .pro-plan {
    border: 2px solid rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.15) 0%, 
        rgba(118, 75, 162, 0.15) 50%,
        rgba(26, 31, 38, 0.3) 100%);
}
html.dark-mode .pro-plan:hover {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.15) 0%, 
        rgba(118, 75, 162, 0.15) 50%,
        rgba(26, 31, 38, 0.3) 100%);
    border-color: #667eea;
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
html.dark-mode .max-plan {
    border: 2px solid rgba(245, 158, 11, 0.3);
    background: linear-gradient(135deg, 
        rgba(245, 158, 11, 0.1) 0%, 
        rgba(245, 158, 11, 0.1) 50%,
        rgba(26, 31, 38, 0.3) 100%);
}

html.dark-mode .max-plan:hover {
    background: linear-gradient(135deg, 
        rgba(245, 158, 11, 0.1) 0%, 
        rgba(245, 158, 11, 0.1) 50%,
        rgba(26, 31, 38, 0.3) 100%);
    border-color: #f59e0b;
    box-shadow: 0 25px 50px rgba(245, 158, 11, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
html.dark-mode .standard-plan {
    border: 2px solid rgba(34, 197, 94, 0.3);
    background: linear-gradient(135deg, 
        rgba(34, 197, 94, 0.1) 0%, 
        rgba(34, 197, 94, 0.1) 50%,
        rgba(26, 31, 38, 0.3) 100%);
}
html.dark-mode .standard-plan:hover {
    background: linear-gradient(135deg, 
        rgba(34, 197, 94, 0.1) 0%, 
        rgba(34, 197, 94, 0.1) 50%,
        rgba(26, 31, 38, 0.3) 100%);
    border-color: #22c55e;
    box-shadow: 0 25px 50px rgba(34, 197, 94, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.plan-header {
    text-align: center;
    margin-bottom: 32px;
}
.plan-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}
.standard-plan .plan-icon { background: rgba(34, 197, 94, 0.15); }
.pro-plan .plan-icon { background: rgba(102, 126, 234, 0.15); }
.max-plan .plan-icon { background: rgba(245, 158, 11, 0.15); }

.pricing-card:hover .plan-icon {
    transform: scale(1.1);
}

.plan-icon i {
    font-size: 2rem;
    color: var(--text-primary);
}
.standard-plan .plan-icon i { color: #22c55e; }
.pro-plan .plan-icon i { color: var(--primary-color); }
.max-plan .plan-icon i { color: #f59e0b; }

.plan-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.plan-description {
    font-size: 1rem;
    color: var(--text-secondary);
}

.plan-price {
    text-align: center;
    margin-bottom: 32px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-left: 4px;
}

.plan-features {
    margin-bottom: 32px;
}

.plan-features .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 8px 0;
}

.plan-features .feature-item i {
    font-size: 1rem;
    color: var(--success-color);
    flex-shrink: 0;
}

.plan-features .feature-item span {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.5;
}

/* Plan Buttons - Clean Design without Login Gradient */
.plan-button {
    width: 100%;
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.standard-button {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 2px solid rgba(34, 197, 94, 0.3);
}

.standard-button:hover {
    background: rgba(34, 197, 94, 0.2);
    border-color: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.25);
}

.pro-button {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.15) 0%, 
        rgba(118, 75, 162, 0.15) 50%,
        rgba(102, 126, 234, 0.1) 100%) !important;
    color: #667eea !important;
    border: 2px solid rgba(102, 126, 234, 0.3);
}

.pro-button:hover {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.15) 0%, 
        rgba(118, 75, 162, 0.15) 50%,
        rgba(102, 126, 234, 0.1) 100%) !important;
    border-color: #667eea !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.25);
}

html.dark-mode .main-plan {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.15) 0%, 
        rgba(118, 75, 162, 0.15) 50%,
        rgba(26, 31, 38, 0.3) 100%) !important;
    border-color: #667eea !important;
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.max-button {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 2px solid rgba(245, 158, 11, 0.3);
}

.max-button:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.25);
}

.plan-button i {
    transition: transform 0.3s ease;
}

.plan-button:hover i {
    transform: translateX(4px);
}

.pricing-footer {
    text-align: center;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.pricing-note,
.pricing-guarantee {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pricing-note i,
.pricing-guarantee i {
    color: var(--success-color);
}
.thinking-placeholder {
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-xl);
    padding: 16px;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html.dark-mode .thinking-placeholder {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.concentric-rings {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: 24px;
}
.concentric-rings .ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: pulse-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.concentric-rings .ring:nth-child(2) {
    animation-delay: -0.8s;
}

.concentric-rings .ring:nth-child(3) {
    animation-delay: -1.6s;
}

.thinking-text {
    font-size: 14px;
    font-weight: 500;
    color: transparent;
    background: linear-gradient(90deg, var(--text-secondary) 40%, var(--text-primary) 50%, var(--text-secondary) 60%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer-text 2.5s infinite linear;
}

html.dark-mode .thinking-text {
    background: linear-gradient(90deg, var(--text-secondary) 40%, #fff 50%, var(--text-secondary) 60%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
}

.deep-dive-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.deep-dive-header p {
    color: transparent;
    background: linear-gradient(90deg, var(--text-secondary) 40%, var(--text-primary) 50%, var(--text-secondary) 60%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer-text 2.5s infinite linear;
}

html.dark-mode .deep-dive-header p {
    background: linear-gradient(90deg, var(--text-secondary) 40%, #fff 50%, var(--text-secondary) 60%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
}

@keyframes shimmer-text {
    from { background-position: 150% 0; }
    to { background-position: -50% 0; }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}



/* ===================== RESPONSIVE DESIGN FOR NEW ELEMENTS ===================== */
@media (max-width: 1024px) {
    .enhanced-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    /* Make core info grid 2 columns on tablets */
    .info-features-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }

    .pricing-plans {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .analytics-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

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

    .flow-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .enhanced-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 60px 0 80px 0;
    }
    /* Collapse info grid to single column on phones */
    .info-features-grid { grid-template-columns: 1fr !important; gap: 16px !important; }

    .feature-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-showcase.reverse .feature-text-content {
        order: 1;
    }

    .feature-showcase .feature-visual {
        order: 2;
    }

    .doc-upload-zone {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .doc-processing {
        flex-direction: column;
        gap: 12px;
    }

    .pricing-header h2 {
    font-size: 2rem;
    }

    .pricing-plans {
        gap: 24px;
        padding: 0 16px;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .pricing-footer {
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .feature-card {
        padding: 24px 20px;
    }

    .pricing-card {
        padding: 24px 20px;
    }

    .plan-icon {
        width: 60px;
        height: 60px;
    }

    .plan-icon i {
        font-size: 1.5rem;
    }

    .plan-header h3 {
        font-size: 1.5rem;
    }

    .price-amount {
        font-size: 2rem;
    }

    .automation-flow {
        gap: 8px;
    }

    .processing-step {
        padding: 8px 4px;
    }

    .processing-step span {
        font-size: 0.7rem;
    }
}

.core-highlight {
    background: linear-gradient(135deg, #a78bfa, #d946ef, #a78bfa, #d946ef);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer-text 5s infinite linear;
}

/* ============================================================
   ||                     BLOOM WELLNESS STYLES             ||
   ============================================================ */

/* Bloom highlight for Bloom branding */
.bloom-highlight {
    background: linear-gradient(135deg, #10b981, #34d399, #10b981, #059669);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: bloom-shimmer 4s infinite linear;
}

@keyframes bloom-shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Bloom theme styling */
.bloom-theme {
    --bloom-primary: #10b981;
    --bloom-secondary: #34d399;
    --bloom-accent: #059669;
    --bloom-light: #a7f3d0;
}

.feature-accent-line.bloom-theme {
    background: linear-gradient(90deg, var(--bloom-primary), var(--bloom-secondary));
}

/* Bloom Visual Card */
.visual-card-bloom {
    background: var(--bloom-dark-bg);
    border: 1px solid var(--bloom-glass-border);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(52, 211, 153, 0.1);
}

html.dark-mode .visual-card-bloom {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.08) 0%, 
        rgba(52, 211, 153, 0.04) 50%,
        rgba(5, 150, 105, 0.08) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.feature-visual:hover .visual-card-bloom {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

/* Bloom Header */
.bloom-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
    flex-shrink: 0;
}

.bloom-avatar {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bloom-primary), var(--bloom-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    animation: bloom-avatar-float 3s ease-in-out infinite;
}

@keyframes bloom-avatar-float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-3px) scale(1.05); }
}

.bloom-pulse-rings {
    position: absolute;
    inset: -15px;
    pointer-events: none;
}

.pulse-ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--bloom-primary);
    border-radius: 50%;
    opacity: 0;
    animation: bloom-pulse-ring 2.5s infinite ease-out;
}

.pulse-ring.ring-1 { animation-delay: 0s; }
.pulse-ring.ring-2 { animation-delay: 0.8s; }
.pulse-ring.ring-3 { animation-delay: 1.6s; }

@keyframes bloom-pulse-ring {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    20% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: scale(1.8);
    }
}

.bloom-info {
    flex: 1;
    margin-left: 16px;
}

.bloom-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wellness-tag {
    background: linear-gradient(135deg, var(--bloom-light), var(--bloom-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.bloom-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.bloom-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bloom-primary);
}

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

@keyframes breathing-pulse {
    0%, 100% { 
        opacity: 0.7; 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.3);
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
}

/* Timer Circle */
.bloom-session-timer {
    position: relative;
}
.timer-circle {
    width: 48px;
    height: 48px;
    border: 2px solid var(--bloom-glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.timer-text {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.timer-circle svg {
    display: none;
}

.timer-progress {
    stroke-linecap: round;
    animation: timer-rotation 8s linear infinite;
}

@keyframes timer-rotation {
    0% { stroke-dashoffset: 283; }
    100% { stroke-dashoffset: 0; }
}

/* Techniques Grid */
.bloom-techniques-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.technique-preview {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 50px;
}

.technique-preview:hover {
    background: rgba(16, 185, 129, 0.1);
    transform: translateX(4px);
}

.technique-preview.active {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.technique-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1); 
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    margin-right: 10px;
    box-shadow: 0 3px 8px rgba(16, 185, 129, 0.1);
    flex-shrink: 0;
}

.technique-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.technique-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.technique-progress {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.technique-effectiveness {
    display: flex;
    align-items: center;
    gap: 8px;
}

.effectiveness-bar {
    width: 40px;
    height: 4px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.effectiveness-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--bloom-primary), var(--bloom-secondary));
    border-radius: 2px;
    animation: effectiveness-fill 1.5s ease-out;
}
@keyframes effectiveness-fill {
    0% { width: 0%; }
    100% { width: var(--target-width, 87%); }
}

.effectiveness-score {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bloom-primary);
}

/* Bloom Section Titles */
.bloom-section-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
}

.bloom-section-title i {
    color: var(--bloom-primary);
}
/* Stress Analysis */
.bloom-stress-analysis {
    flex-shrink: 0;
}

.stress-visualization {
    display: flex;
    gap: 20px;
    align-items: center;
}
.stress-meter {
    flex: 0 0 auto;
}
.meter-background {
    position: relative;
    width: 80px;
    height: 40px;
    overflow: hidden;
}
.meter-segments {
    display: flex;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.segment {
    flex: 1;
    height: 100%;
}
.segment.low { background: var(--bloom-primary); }
.segment.medium { background: #f59e0b; }
.segment.high { background: #ef4444; }

.meter-needle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #1f2937;
    transform-origin: bottom center;
    transition: transform 1s ease-out;
    z-index: 2;
}
.meter-needle::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    width: 8px;
    height: 8px;
    background: #1f2937;
    border-radius: 50%;
}

.stress-levels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.7rem;
}
.level-label {
    color: var(--text-tertiary);
}

.stress-trend {
    flex: 1;
}

.trend-line {
    height: 40px;
    margin-bottom: 8px;
}
.stress-path,
.stress-area {
    animation: stress-trend-draw 2s ease-out;
}

@keyframes stress-trend-draw {
    0% { 
        stroke-dasharray: 200;
        stroke-dashoffset: 200;
    }
    100% { 
        stroke-dasharray: 200;
        stroke-dashoffset: 0;
    }
}

.trend-text {
    font-size: 0.8rem;
    color: var(--bloom-primary);
    font-weight: 500;
    margin: 0;
}

/* Bloom Insights */
.bloom-insights {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.insight-carousel {
    position: relative;
}

.insight-card {
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 8px;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.1);
    margin-bottom: 6px;
    opacity: 0.6;
    transform: translateX(20px);
    transition: all 0.4s ease;
    min-height: 40px;
}

.insight-card.active {
    opacity: 1;
    transform: translateX(0);
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
}

.insight-card .insight-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    margin-right: 8px;
    box-shadow: 0 3px 8px rgba(16, 185, 129, 0.1);
    flex-shrink: 0;
}

.insight-card .insight-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.insight-title {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.insight-description {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.insight-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.insight-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.insight-dots .dot.active {
    background: var(--bloom-primary);
    transform: scale(1.2);
}

/* Bloom Recommendation */
.bloom-recommendation {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.08) 0%, 
        rgba(52, 211, 153, 0.05) 50%,
        rgba(5, 150, 105, 0.08) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 10px;
    padding: 12px;
    position: relative;
    overflow: hidden;
    margin-top: auto;
    flex-shrink: 0;
}

.bloom-recommendation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: none;
    animation: recommendation-glow 3s ease-in-out infinite;
}

@keyframes recommendation-glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.bloom-recommendation .recommendation-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bloom-primary);
}

.bloom-recommendation .recommendation-header i {
    animation: recommendation-sparkle 2s ease-in-out infinite;
}

@keyframes recommendation-sparkle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(10deg) scale(1.1); }
}

.bloom-recommendation p {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0;
    font-style: italic;
}

/* Micro animations */
.technique-preview:hover .technique-icon {
    animation: technique-bounce 0.6s ease-in-out;
}

@keyframes technique-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.bloom-avatar:hover {
    animation-play-state: paused;
    transform: scale(1.1);
}

.bloom-avatar:hover .pulse-ring {
    animation-duration: 1s;
}

/* Responsive adjustments for Bloom */
@media (max-width: 768px) {
    .stress-visualization {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .bloom-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .bloom-techniques-grid {
        gap: 8px;
    }
    
    .technique-preview {
        padding: 10px;
    }
}

/* ============================================================
   ||               BLOOM WELLNESS CAROUSEL MOCKUP          ||
   ============================================================ */

.bloom-wellness-mockup {
    padding: 20px;
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.08) 0%, 
        rgba(52, 211, 153, 0.04) 50%,
        rgba(5, 150, 105, 0.08) 100%);
    border-radius: 16px;
    font-family: var(--font-primary);
    border: 1px solid rgba(16, 185, 129, 0.15);
    position: relative;
    overflow: hidden;
    animation: bloom-mockup-entrance 1s ease-out;
}

@keyframes bloom-mockup-entrance {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

html.dark-mode .bloom-wellness-mockup {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.12) 0%, 
        rgba(52, 211, 153, 0.06) 50%,
        rgba(5, 150, 105, 0.12) 100%);
    border-color: rgba(16, 185, 129, 0.2);
}

.wellness-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
}

.session-indicator {
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #34d399);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.session-indicator.breathing {
    animation: wellness-pulse 2.5s ease-in-out infinite;
}

@keyframes wellness-pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3), 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4), 0 0 0 8px rgba(16, 185, 129, 0);
    }
}

.breath-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    animation: breath-animation 3s ease-in-out infinite;
}

@keyframes breath-animation {
    0%, 100% { 
        transform: scale(0.8);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.2);
        opacity: 1;
    }
}

.session-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    flex: 1;
}

.stress-level-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 10px 12px;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.stress-meter-mini {
    width: 80px;
    height: 8px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 4px;
    transition: width 1.5s ease-out;
    animation: meter-fill-animation 2s ease-out;
}

@keyframes meter-fill-animation {
    0% { width: 0%; }
    100% { width: 25%; }
}

.stress-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: #10b981;
}

.technique-grid-mini {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.mini-technique {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mini-technique:hover {
    background: rgba(16, 185, 129, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.mini-technique.active {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.mini-technique.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #10b981, #34d399);
    animation: active-glow 2s ease-in-out infinite;
}

@keyframes active-glow {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.mini-technique i {
    font-size: 1.1rem;
    color: #10b981;
    transition: all 0.3s ease;
}

.mini-technique:hover i,
.mini-technique.active i {
    color: #059669;
    transform: scale(1.1);
}

.mini-technique span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
}

.wellness-insight {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.08) 0%, 
        rgba(52, 211, 153, 0.04) 100%);
    border-radius: 10px;
    border: 1px solid rgba(16, 185, 129, 0.15);
    position: relative;
    overflow: hidden;
}

.wellness-insight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        #10b981, 
        #34d399, 
        #10b981, 
        transparent);
    animation: insight-shimmer 3s linear infinite;
}

@keyframes insight-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.wellness-insight i {
    color: #10b981;
    font-size: 1rem;
    animation: insight-sparkle 2s ease-in-out infinite;
}

@keyframes insight-sparkle {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.1) rotate(5deg);
        opacity: 1;
    }
}

.wellness-insight span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.4;
    flex: 1;
}

/* Field showcase specific for bloom wellness */
.field-showcase[data-field="bloom-wellness"] .field-visual {
    min-height: 280px;
}

.field-showcase[data-field="bloom-wellness"]:hover .bloom-wellness-mockup {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
}

/* Responsive adjustments for mockup */
@media (max-width: 768px) {
    .bloom-wellness-mockup {
        padding: 16px;
    }
    
    .technique-grid-mini {
        flex-direction: column;
        gap: 6px;
    }
    
    .mini-technique {
        flex-direction: row;
        padding: 8px 10px;
        gap: 8px;
    }
    
    .mini-technique span {
        text-align: left;
    }
    
    .stress-level-display {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}