    :root {
      --primary-color: #000000;
      --secondary-color: #FFD700;
      --accent-color: #FFD700;
      --light-color: #FFFFFF;
      --dark-color: #000000;
      --text-color: #333333;
      --heading-color: #000000;
      --gradient-bg: linear-gradient(135deg, #FFD700, #D4AF37);
      --h1-fluid: clamp(2.5rem, 5vw + 1rem, 3.5rem);
      --h2-fluid: clamp(2rem, 4vw + 1rem, 2.5rem);
      --h3-fluid: clamp(1.5rem, 3vw + 1rem, 2rem);
      --body-fluid: clamp(16px, 2.5vw, 18px);
      --small-fluid: clamp(12px, 2vw, 14px);
    }
    
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    body {
      font-family: 'Open Sans', sans-serif;
      color: var(--text-color);
      background-color: var(--light-color);
      overflow-x: hidden;
      line-height: 1.7;
      scroll-behavior: smooth;
    }
    
    h1, h2, h3, h4, h5 {
      font-family: 'Poppins', sans-serif;
      font-weight: 700;
      color: var(--heading-color);
      line-height: 1.2;
    }

    h1 { font-size: var(--h1-fluid); }
    h2 { font-size: var(--h2-fluid); }
    h3 { font-size: var(--h3-fluid); }
    p, .lead, .card-text { font-size: var(--body-fluid); line-height: 1.7; }
    .footer-links li a, footer p { font-size: var(--small-fluid); }

    .btn {
      min-width: 44px;
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: var(--body-fluid);
      transition: all 0.3s ease;
      border: none;
      cursor: pointer;
      text-decoration: none;
    }

    .btn-primary {
      background: var(--gradient-bg);
      padding: 12px 30px;
      border-radius: 50px;
      font-weight: 600;
      color: var(--primary-color);
      box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
    }
    
    .btn-primary:hover {
      background: linear-gradient(135deg, #D4AF37, #FFD700);
      transform: translateY(-3px) scale(1.05);
      box-shadow: 0 6px 15px rgba(255, 215, 0, 0.5);
      color: var(--primary-color);
    }
    
    .btn-outline-primary {
      border: 2px solid var(--secondary-color);
      color: var(--secondary-color);
      border-radius: 50px;
      padding: 12px 30px;
      font-weight: 600;
      transition: all 0.3s ease;
    }
    
    .btn-outline-primary:hover {
      background-color: var(--secondary-color);
      color: var(--primary-color);
      transform: translateY(-3px) scale(1.05);
      box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    }
    
    .navbar {
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      padding: 15px 0;
      background: rgba(255,255,255,0.95) !important;
      backdrop-filter: blur(10px);
      transition: all 0.3s ease;
    }
    
    .navbar.scrolled {
      padding: 10px 0;
      box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    }
    
    .navbar-brand img { 
      height: 50px; 
      transition: transform 0.3s; 
      width: auto;
    }
    
    .navbar-brand:hover img { transform: scale(1.1) rotate(5deg); }
    
    .nav-link {
      font-weight: 600;
      text-transform: uppercase;
      color: var(--primary-color) !important;
      transition: color 0.3s ease, transform 0.3s;
      position: relative;
    }
    
    .nav-link::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--secondary-color);
      transition: width 0.3s ease;
    }
    
    .nav-link:hover::after,
    .nav-link.active::after {
      width: 100%;
    }
    
    .nav-link:hover { 
      color: var(--secondary-color) !important; 
      transform: translateY(-2px);
    }
    
    .hero-section {
      background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url('pic/hero.webp');
      background-size: cover;
      background-position: center;
      background-attachment: fixed;
      color: white;
      padding: 180px 0 150px;
      position: relative;
      overflow: hidden;
      min-height: 100vh;
      display: flex;
      align-items: center;
    }

    .hero-content {
      position: relative;
      z-index: 2;
    }

    .hero-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(45deg, rgba(255,215,0,0.1), rgba(212,175,55,0.1));
      z-index: 1;
    }

    .floating-elements {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      overflow: hidden;
      z-index: 1;
    }

    .floating-element {
      position: absolute;
      background: rgba(255,215,0,0.1);
      border-radius: 50%;
      animation: float 6s ease-in-out infinite;
    }

    .floating-element:nth-child(1) {
      width: 80px;
      height: 80px;
      top: 20%;
      left: 10%;
      animation-delay: 0s;
    }

    .floating-element:nth-child(2) {
      width: 120px;
      height: 120px;
      top: 60%;
      left: 80%;
      animation-delay: 2s;
    }

    .floating-element:nth-child(3) {
      width: 60px;
      height: 60px;
      top: 80%;
      left: 20%;
      animation-delay: 4s;
    }

    @keyframes float {
      0%, 100% { transform: translateY(0) rotate(0deg); }
      50% { transform: translateY(-20px) rotate(180deg); }
    }

    .stat-section {
      background: var(--gradient-bg);
      color: var(--primary-color);
      padding: 80px 0;
      clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    }
    
    .stat-box {
      background: rgba(255,255,255,0.2);
      border: 1px solid rgba(255,255,255,0.3);
      border-radius: 20px;
      padding: 30px;
      text-align: center;
      margin-bottom: 30px;
      transition: transform 0.3s ease, box-shadow 0.3s;
      height: 100%;
      backdrop-filter: blur(10px);
    }
    
    .stat-box:hover {
      transform: translateY(-10px) scale(1.05);
      box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    
    .stat-box h3 {
      font-size: 3rem;
      color: var(--primary-color);
      margin-bottom: 15px;
    }
    
    .service-card {
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
      margin-bottom: 30px;
      transition: all 0.4s ease;
      border: 1px solid rgba(255,215,0,0.2);
      height: 100%;
      background: linear-gradient(145deg, #ffffff, #f8f8f8);
      position: relative;
      z-index: 1;
    }
    
    .service-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--gradient-bg);
      opacity: 0;
      transition: opacity 0.3s ease;
      z-index: -1;
    }
    
    .service-card:hover::before {
      opacity: 0.05;
    }
    
    .service-card:hover {
      transform: translateY(-15px);
      box-shadow: 0 15px 30px rgba(0,0,0,0.15);
      border-color: rgba(255,215,0,0.5);
    }
    
    .service-icon {
      width: 80px;
      height: 80px;
      background: var(--gradient-bg);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 25px;
      color: var(--primary-color);
      font-size: 35px;
      box-shadow: 0 5px 12px rgba(255,215,0,0.4);
      transition: transform 0.3s;
    }
    
    .service-card:hover .service-icon {
      transform: rotate(360deg) scale(1.1);
    }
    
    .contact-section {
      background: var(--primary-color);
      color: white;
      padding: 100px 0;
      clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 85%);
    }

    footer {
      background: var(--dark-color);
      color: white;
      padding: 80px 0 30px;
      position: relative;
    }
    
    .footer-logo { 
      height: 60px; 
      transition: transform 0.3s; 
      width: auto;
    }
    
    .footer-logo:hover { transform: scale(1.1) rotate(5deg); }
    
    .social-icons a {
      width: 45px;
      height: 45px;
      background: rgba(255,255,255,0.15);
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: white;
      margin-right: 15px;
      transition: all 0.3s ease;
    }
    
    .social-icons a:hover {
      background: var(--gradient-bg);
      transform: translateY(-5px) rotate(10deg) scale(1.1);
      color: var(--primary-color);
    }
    
    .back-to-top-footer {
        position: absolute;
        top: -35px;
        right: 60px;
        z-index: 99;
        font-size: 24px;
        background: var(--gradient-bg);
        color: var(--primary-color);
        border: none;
        outline: none;
        cursor: pointer;
        padding: 12px 18px;
        border-radius: 50%;
        box-shadow: 0 6px 18px rgba(0,0,0,0.25);
        transition: transform 0.3s ease;
    }
    
    .back-to-top-footer:hover {
        transform: scale(1.15) rotate(90deg);
    }

    /* Trust Badges */
    .trust-badges {
      background: var(--light-color);
      padding: 40px 0;
      border-top: 1px solid rgba(255,215,0,0.2);
      border-bottom: 1px solid rgba(255,215,0,0.2);
    }
    
    .badge-item {
      text-align: center;
      padding: 20px;
    }
    
    .badge-icon {
      font-size: 40px;
      color: var(--secondary-color);
      margin-bottom: 15px;
    }

    /* FAQ Section */
    .faq-item {
      margin-bottom: 20px;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 3px 10px rgba(0,0,0,0.1);
      border: 1px solid rgba(255,215,0,0.2);
    }
    
    .faq-question {
      background: var(--gradient-bg);
      color: var(--primary-color);
      padding: 15px 20px;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: all 0.3s ease;
    }
    
    .faq-question:hover {
      background: linear-gradient(135deg, #D4AF37, #FFD700);
    }
    
    .faq-answer {
      padding: 20px;
      background: white;
      display: none;
    }
    
    .faq-item.active .faq-answer {
      display: block;
    }

    /* Contact Form */
    .contact-form {
      background: rgba(0,0,0,0.8);
      border-radius: 20px;
      padding: 40px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.3);
      border: 1px solid rgba(255,215,0,0.3);
    }

    /* Cookie Consent */
    .cookie-consent {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: var(--dark-color);
      color: white;
      padding: 20px;
      z-index: 1001;
      display: none;
      box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
      border-top: 2px solid var(--secondary-color);
    }
    
    .cookie-consent.show {
      display: block;
      animation: slideUp 0.5s ease;
    }
    
    @keyframes slideUp {
      from { transform: translateY(100%); }
      to { transform: translateY(0); }
    }

    /* Case Studies */
    .case-study-card {
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
      transition: all 0.3s ease;
      height: 100%;
      border: 1px solid rgba(255,215,0,0.2);
    }
    
    .case-study-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 30px rgba(0,0,0,0.15);
      border-color: rgba(255,215,0,0.5);
    }
    
    .case-study-img {
      height: 200px;
      object-fit: cover;
      width: 100%;
    }
    
    .case-study-content {
      padding: 25px;
    }

    /* Responsive Enhancements */
    @media (max-width: 480px) {
      .hero-section { 
        padding: 120px 0 100px; 
        background-attachment: scroll;
      }
      .stat-section .row > div { flex-basis: 100%; }
      .back-to-top-footer { right: 20px; top: -25px; }
      .contact-form { padding: 20px; }
    }

    @media (min-width: 481px) and (max-width: 768px) {
      .service-card { flex-basis: 50%; }
    }

    @media (min-width: 769px) and (max-width: 1024px) {
      .service-card { flex-basis: 33.333%; }
    }

    @media (min-width: 1025px) {
      .navbar .container { display: flex; align-items: center; }
      .navbar-expand-lg .navbar-collapse { display: flex !important; }
    }

    /* Lazy Loading */
    .lazy {
      opacity: 0;
      transition: opacity 0.3s;
    }
    
    .lazy.loaded {
      opacity: 1;
    }
    
    /* Focus styles for accessibility */
    button:focus, 
    a:focus, 
    input:focus, 
    select:focus, 
    textarea:focus {
      outline: 2px solid var(--secondary-color);
      outline-offset: 2px;
    }

    /* PWA Install Banner */
    .pwa-install-banner {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--gradient-bg);
      color: var(--primary-color);
      padding: 15px 20px;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.3);
      z-index: 10000;
      animation: slideUpBounce 0.5s ease-out;
      max-width: 400px;
      width: 90%;
    }

    .install-content {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    .install-text {
      flex: 1;
    }

    .install-text strong {
      display: block;
      font-size: 1rem;
    }

    .install-text small {
      font-size: 0.8rem;
      opacity: 0.8;
    }

    .btn-install {
      background: var(--primary-color);
      color: white;
      border: none;
      padding: 8px 16px;
      border-radius: 20px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .btn-install:hover {
      transform: scale(1.05);
    }

    .btn-close {
      background: transparent;
      border: none;
      color: var(--primary-color);
      cursor: pointer;
      padding: 5px;
    }

    /* PWA Status Messages */
    .pwa-status {
      position: fixed;
      top: 20px;
      left: 50%;
      transform: translateX(-50%);
      padding: 12px 20px;
      border-radius: 25px;
      color: white;
      font-weight: 600;
      z-index: 10000;
      animation: fadeInOut 3s ease-in-out;
    }

    .pwa-status-success {
      background: var(--secondary-color);
      color: var(--primary-color);
    }

    .pwa-status-warning {
      background: #FFA500;
    }

    /* PWA Animations */
    @keyframes slideUpBounce {
      0% {
        transform: translateX(-50%) translateY(100px);
        opacity: 0;
      }
      70% {
        transform: translateX(-50%) translateY(-10px);
      }
      100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
      }
    }

    @keyframes fadeInOut {
      0%, 100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
      }
      10%, 90% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
      }
    }

    /* Enhanced PWA Styles for Standalone Mode */
    @media all and (display-mode: standalone) {
      body {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
      }
      
      .navbar {
        padding-top: calc(15px + env(safe-area-inset-top));
      }
    }

    /* Window Controls Overlay for Desktop PWA */
    @media all and (display-mode: window-controls-overlay) {
      .navbar {
        padding-left: env(titlebar-area-x, 0);
        padding-right: calc(100vw - env(titlebar-area-width, 100vw) - env(titlebar-area-x, 0));
      }
    }

    /* Elegant divider */
    .gold-divider {
      height: 3px;
      background: var(--gradient-bg);
      width: 100px;
      margin: 30px auto;
      border-radius: 3px;
    }

    /* Enhanced card hover effects */
    .enhanced-card {
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      border: 1px solid rgba(255,215,0,0.1);
    }
    
    .enhanced-card:hover {
      transform: translateY(-10px) scale(1.02);
      box-shadow: 0 15px 30px rgba(0,0,0,0.1);
      border-color: rgba(255,215,0,0.3);
    }

    /* Gold accent text */
    .gold-text {
      color: var(--secondary-color);
    }

    /* Elegant section headers */
    .section-header {
      position: relative;
      margin-bottom: 50px;
    }
    
    .section-header::after {
      content: '';
      position: absolute;
      bottom: -15px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 3px;
      background: var(--gradient-bg);
      border-radius: 3px;
    }

    /* New SEO Content Sections */
    .seo-content-section {
      padding: 80px 0;
      background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    }
    
    .content-block {
      margin-bottom: 40px;
    }
    
    .content-block h3 {
      margin-bottom: 20px;
      color: var(--primary-color);
    }
    
    .content-block p {
      margin-bottom: 15px;
    }

    /* Local SEO Badge */
    .local-seo-badge {
      background: var(--gradient-bg);
      color: var(--primary-color);
      padding: 10px 20px;
      border-radius: 50px;
      font-weight: 600;
      display: inline-block;
      margin-bottom: 20px;
    }

    /* YaRVerse Ai Style OS */
            :root {
            --primary: #FFD700;
            --primary-dark: #FFB300;
            --light-bg: #F5F7FA;
            --card-bg: #FFFFFF;
            --text: #2D3748;
            --text-gray: #718096;
            --border: #E2E8F0;
            --success: #48BB78;
            --warning: #ED8936;
            --error: #F56565;
            --radius: 12px;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', system-ui, sans-serif;
            background: var(--light-bg);
            color: var(--text);
            transition: all 0.3s ease;
        }

        body.dark-mode {
            --light-bg: #515355;
            --card-bg: #1A1F29;
            --text: #ffd700;
            --text-gray: #94A3B8;
            --border: #2D3748;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }

        #yarverse-widget {
            position: fixed;
            bottom: 16px;
            right: 16px;
            z-index: 10000;
        }

        #toggle-button {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow);
            cursor: pointer;
            border: none;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        #toggle-button:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
        }

        #toggle-logo {
            width: 28px;
            height: 28px;
            border-radius: 6px;
            object-fit: cover;
        }

        #notification-badge {
            position: absolute;
            top: -2px;
            right: -2px;
            width: 18px;
            height: 18px;
            background: #EF4444;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            color: white;
            font-weight: bold;
            display: none;
            border: 2px solid var(--light-bg);
        }

        #chat-window {
            position: absolute;
            bottom: 60px;
            right: 0;
            width: 420px;
            height: 550px;
            background: var(--card-bg);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            border: 1px solid var(--border);
            display: none;
            animation: slideUp 0.3s ease-out;
            transition: all 0.3s ease;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .chat-header {
            padding: 12px 16px;
            background: rgba(255, 215, 0, 0.1);
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .header-content {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .header-logo {
            width: 24px;
            height: 24px;
            border-radius: 6px;
            object-fit: cover;
        }

        .header-text {
            display: flex;
            flex-direction: column;
        }

        .header-title {
            font-weight: bold;
            font-size: 14px;
            background: linear-gradient(135deg, var(--primary), #8B5CF6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .header-subtitle {
            font-size: 11px;
            color: var(--text-gray);
        }

        .header-controls {
            display: flex;
            gap: 6px;
        }

        .header-button {
            width: 28px;
            height: 28px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.5);
            border: 1px solid var(--border);
            color: var(--text-gray);
            cursor: pointer;
            font-size: 12px;
            transition: all 0.2s;
        }

        .header-button:hover {
            background: rgba(255, 215, 0, 0.1);
            color: var(--primary);
        }

        .mode-indicator {
            font-size: 10px;
            padding: 2px 6px;
            background: var(--primary);
            color: #1E293B;
            border-radius: 10px;
            margin-left: 8px;
            font-weight: bold;
        }

        #messages-container {
            flex: 1;
            overflow-y: auto;
            padding: 16px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            background: var(--light-bg);
        }

        #messages-container::-webkit-scrollbar {
            width: 6px;
        }

        #messages-container::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
        }

        #messages-container::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 3px;
        }

        .message-bubble {
            display: flex;
            max-width: 85%;
            animation: fadeIn 0.3s ease-out;
        }

        .message-bubble.ai {
            align-self: flex-start;
        }

        .message-bubble.user {
            align-self: flex-end;
        }

        .message-content {
            padding: 10px 14px;
            border-radius: 16px;
            font-size: 13px;
            line-height: 1.5;
            position: relative;
            word-wrap: break-word;
        }

        .message-bubble.ai .message-content {
            background: var(--card-bg);
            border-bottom-left-radius: 6px;
            color: var(--text);
            border: 1px solid var(--border);
        }

        .message-bubble.user .message-content {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            border-bottom-right-radius: 6px;
            color: #1E293B;
        }

        .message-text {
            white-space: pre-line;
        }

        .message-bubble.ai .message-text {
            font-weight: 600;
        }

        .message-actions {
            position: absolute;
            top: -10px;
            right: 8px;
            display: flex;
            gap: 4px;
            opacity: 0;
            transition: opacity 0.2s;
        }

        .message-bubble:hover .message-actions {
            opacity: 1;
        }

        .message-action {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--card-bg);
            border: 1px solid var(--border);
            color: var(--text-gray);
            cursor: pointer;
            font-size: 11px;
            transition: all 0.2s;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .message-action:hover {
            background: var(--primary);
            color: #1E293B;
        }

        .message-time {
            font-size: 10px;
            opacity: 0.7;
            margin-top: 6px;
            text-align: right;
        }

        .feedback-section {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 8px;
            padding-top: 8px;
            border-top: 1px solid var(--border);
        }

        .feedback-text {
            font-size: 10px;
            color: var(--text-gray);
        }

        .feedback-buttons {
            display: flex;
            gap: 4px;
        }

        .feedback-btn {
            padding: 4px 8px;
            background: var(--light-bg);
            border: 1px solid var(--border);
            border-radius: 12px;
            font-size: 10px;
            color: var(--text-gray);
            cursor: pointer;
            transition: all 0.2s;
        }

        .feedback-btn:hover {
            background: var(--primary);
            color: #1E293B;
        }

        .feedback-btn.active {
            background: var(--primary);
            color: #1E293B;
        }

        .copy-notification {
            position: fixed;
            bottom: 80px;
            right: 20px;
            background: var(--success);
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 12px;
            z-index: 10001;
            animation: fadeInOut 2s ease-in-out;
            display: none;
        }

        @keyframes fadeInOut {
            0%, 100% { opacity: 0; transform: translateY(10px); }
            20%, 80% { opacity: 1; transform: translateY(0); }
        }

        #typing-indicator {
            padding: 10px 14px;
            display: none;
        }

        .typing-content {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .typing-dots {
            display: flex;
            gap: 3px;
        }

        .typing-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--primary);
            animation: typing 1.4s ease-in-out infinite;
        }

        .typing-dot:nth-child(2) {
            animation-delay: 0.16s;
        }

        .typing-dot:nth-child(3) {
            animation-delay: 0.32s;
        }

        @keyframes typing {
            0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
            30% { transform: translateY(-5px); opacity: 1; }
        }

        .typing-text {
            font-size: 11px;
            color: var(--text-gray);
        }

        .input-area {
            padding: 12px 16px;
            border-top: 1px solid var(--border);
            background: var(--card-bg);
        }

        .input-container {
            display: flex;
            gap: 8px;
        }

        #user-input {
            flex: 1;
            background: var(--light-bg);
            border: 1px solid var(--border);
            border-radius: 18px;
            padding: 10px 14px;
            font-size: 13px;
            color: var(--text);
            resize: none;
            height: 40px;
            font-family: inherit;
            transition: all 0.2s;
        }

        #user-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
        }

        #send-button {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            border: none;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
        }

        #send-button:hover {
            transform: scale(1.05);
        }

        #stop-button {
            width: 40px;
            height: 40px;
            background: #EF4444;
            border: none;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
            display: none;
        }

        #stop-button:hover {
            background: #DC2626;
            transform: scale(1.05);
        }

        .send-icon, .stop-icon {
            width: 18px;
            height: 18px;
            color: #1E293B;
        }

        .input-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 8px;
        }

        .input-footer-text {
            font-size: 10px;
            color: var(--text-gray);
        }

        .theme-toggle {
            background: none;
            border: none;
            color: var(--text-gray);
            cursor: pointer;
            font-size: 10px;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .theme-toggle:hover {
            color: var(--primary);
        }

        .chat-controls {
            display: flex;
            gap: 8px;
            padding: 8px 16px;
            background: var(--card-bg);
            border-bottom: 1px solid var(--border);
            flex-wrap: wrap;
        }

        .control-button {
            padding: 6px 12px;
            background: var(--light-bg);
            border: 1px solid var(--border);
            border-radius: 16px;
            font-size: 11px;
            color: var(--text);
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .control-button:hover {
            background: var(--primary);
            color: #1E293B;
        }

        .control-button.active {
            background: var(--primary);
            color: #1E293B;
            font-weight: bold;
        }

        .code-block {
            background: #1a1a1a;
            color: #f8f8f2;
            border-radius: 6px;
            padding: 12px;
            margin: 8px 0;
            font-family: 'Courier New', monospace;
            font-size: 12px;
            overflow-x: auto;
            position: relative;
            border: 1px solid #333;
        }

        .code-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
            font-size: 11px;
            color: #94A3B8;
        }

        .code-language {
            font-weight: bold;
        }

        .code-copy-btn {
            background: rgba(255, 255, 255, 0.1);
            border: none;
            color: #94A3B8;
            padding: 4px 8px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 10px;
            transition: all 0.2s;
        }

        .code-copy-btn:hover {
            background: var(--primary);
            color: #1a1a1a;
        }

        .line-numbers {
            display: inline-block;
            padding-right: 12px;
            margin-right: 12px;
            border-right: 1px solid #333;
            color: #6B7280;
            text-align: right;
            user-select: none;
        }

        .scroll-indicator {
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 10px;
            animation: bounce 2s infinite;
            display: none;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
            40% { transform: translateX(-50%) translateY(-5px); }
            60% { transform: translateX(-50%) translateY(-3px); }
        }

        .suggested-questions {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-top: 8px;
        }

        .suggestion-chip {
            background: rgba(255, 215, 0, 0.1);
            border: 1px solid rgba(255, 215, 0, 0.3);
            border-radius: 16px;
            padding: 4px 10px;
            font-size: 10px;
            color: var(--text);
            cursor: pointer;
            transition: all 0.2s;
        }

        .suggestion-chip:hover {
            background: var(--primary);
            color: #1E293B;
        }

        .notification {
            position: fixed;
            bottom: 100px;
            right: 20px;
            background: var(--success);
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 12px;
            z-index: 10001;
            animation: fadeInOut 2s ease-in-out;
            display: none;
        }

        .import-export-container {
            display: none;
            padding: 16px;
            background: var(--card-bg);
            border-bottom: 1px solid var(--border);
        }

        .import-export-container.active {
            display: block;
        }

        .import-export-buttons {
            display: flex;
            gap: 8px;
            margin-top: 8px;
        }

        .import-export-btn {
            padding: 6px 12px;
            background: var(--light-bg);
            border: 1px solid var(--border);
            border-radius: 16px;
            font-size: 11px;
            color: var(--text);
            cursor: pointer;
            transition: all 0.2s;
            flex: 1;
            text-align: center;
        }

        .import-export-btn:hover {
            background: var(--primary);
            color: #1E293B;
        }

        .tips-section {
            background: rgba(255, 215, 0, 0.05);
            border: 1px solid rgba(255, 215, 0, 0.2);
            border-radius: 8px;
            padding: 8px 12px;
            margin-top: 8px;
            font-size: 11px;
            color: var(--text);
        }

        .tips-title {
            font-weight: bold;
            margin-bottom: 4px;
            color: var(--primary);
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(5px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .pulse {
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
            }
        }

        @media (max-width: 480px) {
            #yarverse-widget {
                bottom: 12px;
                right: 12px;
            }
            
            #chat-window {
                width: calc(100vw - 24px);
                height: 70vh;
                right: 0;
                bottom: 56px;
            }
        }