        @import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
        
        :root {
            --dark-green: #0a3622;
            --light-green: #15803d;
            --accent-green: #22c55e;
            --black: #121212;
            --dark-gray: #1e1e1e;
        }
        
        body {
            font-family: 'Space Grotesk', sans-serif;
            background-color: var(--black);
            color: white;
            overflow-x: hidden;
        }
        
        .gradient-text {
            background: linear-gradient(90deg, #22c55e, #15803d);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        
        .nav-link {
            position: relative;
        }
        
        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -4px;
            left: 0;
            background-color: var(--accent-green);
            transition: width 0.3s ease;
        }
        
        .nav-link:hover::after {
            width: 100%;
        }
        
        .hero-card {
            background: rgba(30, 30, 30, 0.5);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(34, 197, 94, 0.2);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        }
        
        .feature-card {
            background: var(--dark-gray);
            border-left: 3px solid var(--accent-green);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(34, 197, 94, 0.2);
        }
        
        .btn-primary {
            background: linear-gradient(90deg, var(--light-green), var(--dark-green));
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .btn-primary:hover {
            box-shadow: 0 0 15px rgba(34, 197, 94, 0.5);
        }
        
        .btn-primary::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: 0.5s;
        }
        
        .btn-primary:hover::after {
            left: 100%;
        }
        
        #canvas-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            z-index: -1;
        }
        
        .floating {
            animation: float 6s ease-in-out infinite;
        }
        
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
            100% { transform: translateY(0px); }
        }
        
        .pulse {
            animation: pulse 3s infinite;
        }
        
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
            70% { box-shadow: 0 0 0 15px rgba(34, 197, 94, 0); }
            100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
        }
        
        .stats-counter {
            font-variant-numeric: tabular-nums;
            font-weight: 700;
        }
        
        .tech-pill {
            background: rgba(21, 128, 61, 0.2);
            border: 1px solid rgba(34, 197, 94, 0.3);
            transition: all 0.3s ease;
        }
        
        .tech-pill:hover {
            background: rgba(21, 128, 61, 0.4);
            transform: translateY(-2px);
        }
        
        .testimonial-card {
            background: linear-gradient(145deg, var(--dark-gray), var(--black));
            border-bottom: 3px solid var(--light-green);
        }
        
        .scroll-indicator {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            animation: scrollDown 2s infinite;
        }
        
        @keyframes scrollDown {
            0% { transform: translate(-50%, 0); opacity: 0.7; }
            50% { transform: translate(-50%, 10px); opacity: 0.3; }
            100% { transform: translate(-50%, 0); opacity: 0.7; }
        }
        
        /* Enhanced responsive styles */
        @media (max-width: 640px) {
            .hero-card {
                margin-left: -1rem;
                margin-right: -1rem;
                border-radius: 0;
            }
            
            .feature-card {
                border-left: none;
                border-top: 3px solid var(--accent-green);
            }
            
            .floating {
                animation: none; /* Disable floating animation on small screens for better performance */
            }
            
            .scroll-indicator {
                bottom: 10px;
            }
        }
        
        /* Tablet specific adjustments */
        @media (min-width: 641px) and (max-width: 1024px) {
            .hero-card {
                max-width: 90%;
                margin: 0 auto;
            }
        }
        
        /* Ensure 3D objects are responsive */
        #hero-3d-object canvas,
        #tech-3d-object canvas {
            width: 100% !important;
            height: 100% !important;
        }
        
        /* Improve form elements on mobile */
        input, textarea, button {
            -webkit-appearance: none;
            appearance: none;
            font-size: 16px; /* Prevents iOS zoom on focus */
        }
        
        /* Fix for mobile navigation */
        .mobile-nav-active {
            overflow: hidden;
        }
        /* Chatbot styles */
        .chatbot-button {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--light-green), var(--dark-green));
            box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
            z-index: 1000;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .chatbot-button:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 25px rgba(34, 197, 94, 0.5);
        }
        
        .chatbot-container {
            position: fixed;
            bottom: 100px;
            right: 30px;
            width: 350px;
            height: 500px;
            background: rgba(30, 30, 30, 0.95);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(34, 197, 94, 0.3);
            border-radius: 16px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
            z-index: 999;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
            transform-origin: bottom right;
            transform: scale(0);
            opacity: 0;
        }
        
        .chatbot-container.active {
            transform: scale(1);
            opacity: 1;
        }
        
        .chatbot-header {
            padding: 15px 20px;
            background: linear-gradient(90deg, var(--dark-green), var(--light-green));
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .chatbot-messages {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .message {
            max-width: 80%;
            padding: 12px 16px;
            border-radius: 18px;
            font-size: 14px;
            line-height: 1.4;
        }
        
        .bot-message {
            background: rgba(21, 128, 61, 0.2);
            border: 1px solid rgba(34, 197, 94, 0.2);
            align-self: flex-start;
            border-bottom-left-radius: 4px;
        }
        
        .user-message {
            background: rgba(34, 197, 94, 0.8);
            color: white;
            align-self: flex-end;
            border-bottom-right-radius: 4px;
        }
        
        .chatbot-input {
            padding: 15px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            gap: 10px;
        }
        
        .chatbot-input input {
            flex: 1;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            padding: 10px 15px;
            color: white;
            outline: none;
        }
        
        .chatbot-input input:focus {
            border-color: var(--accent-green);
        }
        
        .chatbot-input button {
            background: linear-gradient(90deg, var(--light-green), var(--dark-green));
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .chatbot-input button:hover {
            transform: scale(1.05);
            box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
        }
        
        .chatbot-input button:active {
            transform: scale(0.95);
        }
        
        /* Typing indicator */
        .typing-indicator {
            display: flex;
            align-items: center;
            gap: 5px;
            padding: 10px 16px;
            background: rgba(21, 128, 61, 0.2);
            border: 1px solid rgba(34, 197, 94, 0.2);
            border-radius: 18px;
            border-bottom-left-radius: 4px;
            align-self: flex-start;
            max-width: 80%;
        }
        
        .typing-dot {
            width: 8px;
            height: 8px;
            background: rgba(255, 255, 255, 0.7);
            border-radius: 50%;
            animation: typingAnimation 1.4s infinite ease-in-out;
        }
        
        .typing-dot:nth-child(1) {
            animation-delay: 0s;
        }
        
        .typing-dot:nth-child(2) {
            animation-delay: 0.2s;
        }
        
        .typing-dot:nth-child(3) {
            animation-delay: 0.4s;
        }
        
        @keyframes typingAnimation {
            0%, 60%, 100% {
                transform: translateY(0);
                opacity: 0.6;
            }
            30% {
                transform: translateY(-5px);
                opacity: 1;
            }
        }
        
        /* Responsive chatbot */
        @media (max-width: 640px) {
            .chatbot-button {
                bottom: 20px;
                right: 20px;
                width: 50px;
                height: 50px;
            }
            
            .chatbot-container {
                bottom: 80px;
                right: 10px;
                width: calc(100% - 20px);
                max-width: 350px;
                height: 450px;
            }
        }
        
        /* 3D chatbot button styles */
        #chatbot-3d-container {
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            pointer-events: none;
        }

        /* Additional mobile responsiveness */
    @media (max-width: 480px) {
    .chatbot-container {
        height: 90vh;
        width: 95%;
        right: 2.5%;
        bottom: 70px;
    }

    .chatbot-messages {
        padding: 15px 10px;
    }

    .message {
        font-size: 13px;
        padding: 10px 12px;
    }

    .chatbot-header {
        padding: 10px 15px;
    }

    .chatbot-input {
        padding: 10px;
        gap: 6px;
    }

    .chatbot-input input {
        padding: 8px 12px;
        font-size: 14px;
    }

    .chatbot-input button {
        width: 36px;
        height: 36px;
    }

    .scroll-indicator {
        bottom: 5px;
    }
    }

    /* ===========================
   Responsive Styles: Mobile First
   =========================== */

/* Base Mobile (up to 480px) */
@media (max-width: 480px) {
  .hero-card,
  .feature-card,
  .testimonial-card {
    margin: 0 10px;
    border-radius: 8px;
  }

  .chatbot-container {
    width: 90%;
    height: 85vh;
    right: 5%;
    bottom: 70px;
  }

  .chatbot-messages {
    padding: 10px;
  }

  .message {
    font-size: 13px;
    padding: 10px 12px;
  }

  .chatbot-header {
    padding: 10px 15px;
  }

  .chatbot-input {
    padding: 10px;
    gap: 6px;
  }

  .chatbot-input input {
    padding: 8px 12px;
    font-size: 14px;
  }

  .chatbot-input button {
    width: 36px;
    height: 36px;
  }

  .chatbot-button {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }

  .scroll-indicator {
    bottom: 10px;
  }

  .tech-pill {
    font-size: 12px;
    padding: 4px 8px;
  }

  .stats-counter {
    font-size: 20px;
  }
}

/* Tablet (481px to 1024px) */
@media (min-width: 481px) and (max-width: 1024px) {
  .hero-card {
    max-width: 95%;
    margin: 0 auto;
    padding: 20px;
  }

  .chatbot-container {
    width: 80%;
    height: 80vh;
    right: 10%;
    bottom: 80px;
  }

  .chatbot-button {
    width: 55px;
    height: 55px;
    bottom: 25px;
    right: 25px;
  }

  .feature-card {
    margin: 0 15px;
  }

  .scroll-indicator {
    bottom: 15px;
  }

  .stats-counter {
    font-size: 24px;
  }
}

/* Desktop (≥1025px) - Optional refinements */
@media (min-width: 1025px) {
  .hero-card {
    max-width: 75%;
    margin: 0 auto;
  }

  .chatbot-container {
    width: 350px;
    height: 500px;
    bottom: 100px;
    right: 30px;
  }

  .chatbot-button {
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
  }

  .feature-card {
    margin: 0 30px;
  }

  .stats-counter {
    font-size: 28px;
  }
}

/* ===========================
   Device-specific Fine-Tuning
   =========================== */

/* iPhone 12: 390x844 */
@media only screen and (max-width: 390px) and (max-height: 844px) {
  .chatbot-container {
    width: 92%;
    height: 85vh;
    right: 4%;
    bottom: 70px;
    border-radius: 12px;
  }

  .chatbot-button {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .chatbot-input input {
    font-size: 15px;
    padding: 10px;
  }

  .message {
    font-size: 13.5px;
    padding: 10px 14px;
  }

  .chatbot-messages {
    padding: 12px;
  }

  .tech-pill {
    padding: 4px 10px;
    font-size: 13px;
  }

  .hero-card,
  .feature-card,
  .testimonial-card {
    margin: 0 12px;
  }
}

/* Samsung Galaxy S8+: 360x740 */
@media only screen and (max-width: 360px) and (max-height: 740px) {
  .chatbot-container {
    width: 94%;
    height: 82vh;
    right: 3%;
    bottom: 65px;
    border-radius: 12px;
  }

  .chatbot-button {
    width: 48px;
    height: 48px;
    bottom: 18px;
    right: 18px;
  }

  .chatbot-input input {
    font-size: 14px;
    padding: 9px;
  }

  .message {
    font-size: 13px;
    padding: 10px 12px;
  }

  .chatbot-messages {
    padding: 10px;
  }

  .hero-card,
  .feature-card,
  .testimonial-card {
    margin: 0 10px;
  }

  .tech-pill {
    font-size: 12px;
    padding: 4px 8px;
  }
}
