/* Base styles */
html {
    scroll-behavior: smooth;
  }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background-color: #fafafa;
    color: #333;
    overflow-x: hidden;
  }
  
  /* Utility classes */
  .gradient-text {
    background: linear-gradient(to right, #4761FF, #5e74ff, #7084ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  
  .gradient-bg {
    background: linear-gradient(135deg, #4761FF, #6e7fff);
  }
  
  .glass-card {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    transition: all 0.4s ease;
  }
  
  .glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 48px rgba(71, 97, 255, 0.25);
    border-color: rgba(71, 97, 255, 0.4);
  }
  
  /* Decorative elements */
  .bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
  }
  
  .blob-1 {
    width: 50vw;
    height: 50vw;
    background: rgba(71, 97, 255, 0.15);
    top: -25vw;
    right: -15vw;
  }
  
  .blob-2 {
    width: 40vw;
    height: 40vw;
    background: rgba(112, 132, 255, 0.15);
    bottom: -10vw;
    left: -15vw;
  }
  
  /* Chat UI */
  .chat-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .chat-message {
    display: flex;
    margin-bottom: 12px;
  }
  
  .user-message {
    justify-content: flex-end;
  }
  
  .ai-message {
    justify-content: flex-start;
  }
  
  .message-bubble {
    max-width: 80%;
    padding: 14px 18px;
    border-radius: 18px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    line-height: 1.5;
  }
  
  .user-message .message-bubble {
    background-color: #4761FF;
    color: white;
    border-bottom-right-radius: 6px;
  }
  
  .ai-message .message-bubble {
    background-color: #f5f5f7;
    color: #333;
    border-bottom-left-radius: 6px;
  }
  
  .video-placeholder {
    background-color: rgba(71, 97, 255, 0.08);
    padding: 24px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    border: 1px dashed rgba(71, 97, 255, 0.3);
  }
  
  /* Buttons and interactive elements */
  button, .btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  button:after, .btn:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: all 0.3s ease;
  }
  
  button:hover:after, .btn:hover:after {
    opacity: 1;
  }
  
  input:focus {
    box-shadow: 0 0 0 2px rgba(71, 97, 255, 0.2);
    outline: none;
  }
  
  /* Icon styling */
  .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background-color: rgba(71, 97, 255, 0.1);
    color: #4761FF;
    margin-bottom: 16px;
    transition: all 0.3s ease;
  }
  
  .glass-card:hover .feature-icon {
    transform: scale(1.1);
    background-color: rgba(71, 97, 255, 0.15);
  }
  
  /* Animations */
  @keyframes float {
    0% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-15px);
    }
    100% {
      transform: translateY(0px);
    }
  }
  
  .animate-float {
    animation: float 5s ease-in-out infinite;
  }
  
  @keyframes pulse {
    0%, 100% {
      opacity: 1;
      transform: scale(1);
    }
    50% {
      opacity: 0.8;
      transform: scale(0.98);
    }
  }
  
  .animate-pulse-slow {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .fade-in {
    animation: fadeIn 0.8s ease-out forwards;
  }
  
  .delay-1 {
    animation-delay: 0.1s;
  }
  
  .delay-2 {
    animation-delay: 0.2s;
  }
  
  .delay-3 {
    animation-delay: 0.3s;
  }
  
  .delay-4 {
    animation-delay: 0.4s;
  }
  
  /* Section styling */
  .section {
    position: relative;
    padding: 80px 0;
  }
  
  .section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
  }
  
  .section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #4761FF, #7084ff);
    border-radius: 3px;
  }
  
  /* Footer styling */
  footer {
    position: relative;
    overflow: hidden;
  }
  
  footer a {
    transition: color 0.3s ease;
  }
  
  footer a:hover {
    color: #4761FF !important;
  }
  
  .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
  }
  
  .social-icon:hover {
    background-color: rgba(71, 97, 255, 0.2);
    transform: translateY(-3px);
  }
  
  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 10px;
  }
  
  ::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
  
  ::-webkit-scrollbar-thumb {
    background: #c5c5c5;
    border-radius: 5px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
  }
  
  /* Success message */
  .success-message {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #10b981;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
  }
  
  .success-message.show {
    opacity: 1;
    transform: translateY(0);
  }
  
  .success-message i {
    font-size: 1.25em;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .glass-card {
      padding: 1.25rem;
    }
    
    .section {
      padding: 60px 0;
    }
    
    .message-bubble {
      max-width: 90%;
    }
  }
  
  @media (max-width: 640px) {
    .feature-icon {
      width: 50px;
      height: 50px;
      border-radius: 15px;
    }
  }
  

  /* Ai design */

  /* Enhanced Chat Animation Styles */

/* First user message typing animation */
.typewriter {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid white;
    width: 0;
    animation: typewriter 3s steps(40) 0.5s forwards, blinkCursor 0.75s step-end infinite;
  }
  
  /* Second user message typing animation with delay */
  .typewriter-2 {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid white;
    width: 0;
    animation: typewriter 4s steps(40) 6s forwards, blinkCursor 0.75s step-end infinite;
    opacity: 1;
    animation-fill-mode: forwards;
  }
  
  /* AI responses with staggered appearance */
  .ai-bubble-1 {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 1s ease-out 5s forwards;
  }
  
  .user-bubble-2 {
    opacity: 0;
    animation: fadeIn 0.5s ease-out 6s forwards;
  }
  
  .ai-bubble-2 {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 0.5s ease-out 12s forwards;
  }
  
  .ai-bubble-3 {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 0.5s ease-out 14s forwards;
  }
  
  .ai-response-content, .ai-response-content-2, .ai-response-report {
    opacity: 0;
    animation: fadeContentIn 0.8s ease-out 0.2s forwards;
  }
  
  .ai-response-content {
    animation-delay: 3.7s;
  }
  
  .ai-response-content-2 {
    animation-delay: 9.2s;
  }
  
  .ai-response-report {
    animation-delay: 14.2s;
  }
  
  /* Processing animation */
  .processing-text {
    position: relative;
  }
  
  .processing-text:after {
    content: '';
    animation: processingDots 1.5s infinite;
  }
  
  @keyframes processingDots {
    0% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
    100% { content: ''; }
  }
  
  /* Report visualization styling */
  .report-header {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 8px;
  }
  
  .chart-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 120px;
    gap: 20px;
    margin-top: 16px;
    padding: 0 20px;
  }
  
  .bar {
    width: 60px;
    background: linear-gradient(to top, #4761FF, #6e7fff);
    border-radius: 6px 6px 0 0;
    position: relative;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: bottom;
    animation: growBar 1s ease-out forwards;
    animation-delay: 14.5s;
  }
  
  .bar.previous {
    background: linear-gradient(to top, #94a3ff, #c2c9ff);
    animation-delay: 15s;
  }
  
  .bar span {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    white-space: nowrap;
    color: #4b5563;
  }
  
  .product-list {
    margin-top: 12px;
  }
  
  .product {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 12px;
  }
  
  .product-name {
    width: 100px;
    text-align: right;
    padding-right: 8px;
    color: #4b5563;
  }
  
  .product-bar {
    height: 10px;
    background: linear-gradient(to right, #4761FF, #6e7fff);
    border-radius: 5px;
    margin: 0 8px;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    animation: growBar 1s ease-out forwards;
  }
  
  .product:nth-child(1) .product-bar {
    animation-delay: 14.8s;
  }
  
  .product:nth-child(2) .product-bar {
    animation-delay: 15.1s;
  }
  
  .product:nth-child(3) .product-bar {
    animation-delay: 15.4s;
  }
  
  .product-growth {
    color: #10b981;
    font-weight: 500;
  }
  
  @keyframes fadeContentIn {
    from {
      opacity: 0;
      transform: translateY(5px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes growBar {
    from {
      opacity: 0;
      transform: scaleY(0);
    }
    to {
      opacity: 1;
      transform: scaleY(1);
    }
  }
  
  .product-bar {
    animation-name: growBarX;
  }
  
  @keyframes growBarX {
    from {
      opacity: 0;
      transform: scaleX(0);
    }
    to {
      opacity: 1;
      transform: scaleX(1);
    }
  }

  


  ::selection {
    background-color: #FDE047;
    color: #000;
  }
  
  ::-moz-selection {
    background-color: #FDE047;
    color: #000;
  }