        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            line-height: 1.6;
            color: #2c3e50;
            background: #0f172a;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Navigation */
        nav {
            background: rgba(15, 23, 42, 0.95);
            backdrop-filter: blur(10px);
            padding: 1rem 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid rgba(59, 130, 246, 0.2);
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: #3b82f6;
            text-decoration: none;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
        }

        .nav-links a {
            color: #e2e8f0;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .nav-links a:hover {
            color: #3b82f6;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
            padding: 120px 0 80px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.1"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="%233b82f6" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        .hero h1 {
            font-size: 3.5rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, #3b82f6, #06b6d4);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero .tagline {
            font-size: 1.5rem;
            color: #94a3b8;
            margin-bottom: 1rem;
            font-weight: 300;
        }

        .hero .subtitle {
            font-size: 1.125rem;
            color: #cbd5e1;
            margin-bottom: 2.5rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-primary {
            background: linear-gradient(135deg, #3b82f6, #1d4ed8);
            color: white;
            padding: 1rem 2.5rem;
            border: none;
            border-radius: 50px;
            font-size: 1.125rem;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
        }

        .cta-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
        }

        /* Sections */
        .section {
            padding: 80px 0;
        }

        .section-dark {
            background: #1e293b;
        }

        .section-light {
            background: #f8fafc;
            color: #334155;
        }

        .section h2 {
            font-size: 2.5rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 3rem;
            color: #ffffff;
        }

        .section-light h2 {
            color: #1e293b;
        }

        .section-content {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
        }

        .section p {
            font-size: 1.125rem;
            line-height: 1.8;
            margin-bottom: 1.5rem;
            color: #cbd5e1;
        }

        .section-light p {
            color: #64748b;
        }

        /* Problem Statement */
        .problem-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .problem-item {
            background: rgba(59, 130, 246, 0.1);
            padding: 2rem;
            border-radius: 12px;
            border-left: 4px solid #3b82f6;
        }

        .problem-item h3 {
            color: #3b82f6;
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .problem-item p {
            color: #cbd5e1;
            font-size: 1rem;
        }

        /* Features Grid */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .feature-card {
            background: white;
            padding: 2rem;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }

        .feature-icon {
            width: 64px;
            height: 64px;
            background: linear-gradient(135deg, #3b82f6, #06b6d4);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 1.5rem;
            color: white;
        }

        .feature-card h3 {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: #1e293b;
        }

        .feature-card p {
            color: #64748b;
            font-size: 1rem;
        }

        /* Benefits */
        .benefits-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .benefit-item {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
        }

        .benefit-icon {
            width: 40px;
            height: 40px;
            background: #10b981;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            margin-top: 0.25rem;
        }

        .benefit-content h3 {
            font-size: 1.125rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: #ffffff;
        }

        .benefit-content p {
            font-size: 1rem;
            color: #cbd5e1;
        }

        /* CTA Section */
        .cta-section {
            background: linear-gradient(135deg, #1e293b, #0f172a);
            text-align: center;
            padding: 80px 0;
        }

        .cta-section h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: #ffffff;
        }

        .cta-section p {
            font-size: 1.25rem;
            color: #cbd5e1;
            margin-bottom: 2.5rem;
        }

        .cta-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .cta-secondary {
            background: transparent;
            color: #3b82f6;
            padding: 1rem 2.5rem;
            border: 2px solid #3b82f6;
            border-radius: 50px;
            font-size: 1.125rem;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
            transition: all 0.3s ease;
        }

        .cta-secondary:hover {
            background: #3b82f6;
            color: white;
            transform: translateY(-2px);
        }

        /* Chatbot Styles */
        .chatbot-container {
            max-width: 900px;
            margin: 3rem auto 0;
            background: rgba(30, 41, 59, 0.8);
            border-radius: 16px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(59, 130, 246, 0.2);
            overflow: hidden;
        }

        .chat-interface {
            padding: 0;
        }

        .chat-messages {
            max-height: 500px;
            overflow-y: auto;
            padding: 2rem;
            background: rgba(15, 23, 42, 0.5);
        }

        .bot-message, .user-message {
            display: flex;
            gap: 1rem;
            margin-bottom: 1.5rem;
            align-items: flex-start;
        }

        .user-message {
            flex-direction: row-reverse;
        }

        .message-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            flex-shrink: 0;
            background: linear-gradient(135deg, #3b82f6, #06b6d4);
        }

        .user-message .message-avatar {
            background: linear-gradient(135deg, #10b981, #059669);
        }

        .message-content {
            background: rgba(59, 130, 246, 0.1);
            padding: 1rem 1.5rem;
            border-radius: 12px;
            color: #e2e8f0;
            line-height: 1.6;
            max-width: 70%;
        }

        .user-message .message-content {
            background: rgba(16, 185, 129, 0.1);
            border: 1px solid rgba(16, 185, 129, 0.2);
        }

        .analysis-result {
            margin-top: 1rem;
            padding: 1.5rem;
            background: rgba(15, 23, 42, 0.8);
            border-radius: 12px;
            border-left: 4px solid #3b82f6;
        }

        .analysis-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            margin: 1.5rem 0;
        }

        .chart-container {
            background: rgba(30, 41, 59, 0.6);
            border-radius: 12px;
            padding: 1.5rem;
            border: 1px solid rgba(59, 130, 246, 0.2);
        }

        .chart-title {
            color: #3b82f6;
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 1rem;
            text-align: center;
        }

        .chart-wrapper {
            position: relative;
            height: 200px;
            width: 100%;
        }

        @media (max-width: 768px) {
            .analysis-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
        }

        .analysis-item {
            margin-bottom: 1.5rem;
        }

        .analysis-item:last-child {
            margin-bottom: 0;
        }

        .analysis-item h4 {
            color: #3b82f6;
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .analysis-item p {
            color: #cbd5e1;
            margin: 0;
            font-size: 0.95rem;
        }

        .risk-indicator {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
        }

        .risk-high {
            background: rgba(239, 68, 68, 0.2);
            color: #fca5a5;
            border: 1px solid rgba(239, 68, 68, 0.3);
        }

        .risk-medium {
            background: rgba(245, 158, 11, 0.2);
            color: #fcd34d;
            border: 1px solid rgba(245, 158, 11, 0.3);
        }

        .risk-low {
            background: rgba(16, 185, 129, 0.2);
            color: #6ee7b7;
            border: 1px solid rgba(16, 185, 129, 0.3);
        }

        .mitre-techniques {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 0.5rem;
        }

        .mitre-tag {
            background: rgba(59, 130, 246, 0.2);
            color: #93c5fd;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.8rem;
            border: 1px solid rgba(59, 130, 246, 0.3);
        }

        .chat-input-container {
            padding: 2rem;
            background: rgba(30, 41, 59, 0.5);
            border-top: 1px solid rgba(59, 130, 246, 0.2);
            display: flex;
            gap: 1rem;
            align-items: flex-end;
        }

        #chatInput {
            flex: 1;
            padding: 1rem;
            border: 1px solid rgba(59, 130, 246, 0.3);
            border-radius: 12px;
            background: rgba(15, 23, 42, 0.8);
            color: #e2e8f0;
            font-family: inherit;
            resize: vertical;
            min-height: 60px;
        }

        #chatInput:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

        #chatInput::placeholder {
            color: #64748b;
        }

        .analyze-btn {
            background: linear-gradient(135deg, #3b82f6, #1d4ed8);
            color: white;
            padding: 1rem 2rem;
            border: none;
            border-radius: 12px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            min-width: 140px;
            justify-content: center;
        }

        .analyze-btn:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
        }

        .analyze-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .loader {
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        footer {
            background: #0f172a;
            padding: 2rem 0;
            text-align: center;
            border-top: 1px solid rgba(59, 130, 246, 0.2);
        }

        footer p {
            color: #64748b;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .hero .tagline {
                font-size: 1.25rem;
            }
            
            .section h2 {
                font-size: 2rem;
            }
            
            .nav-links {
                display: none;
            }
            
            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }
        }
        .search-bar {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.15);
  padding: 5px 12px;
  border-radius: 25px;
  backdrop-filter: blur(6px);
}

.search-bar input {
  border: none;
  outline: none;
  padding: 6px 10px;
  border-radius: 20px;
  background: transparent;
  color: #fff;
  width: 160px;
}

.search-bar button {
  margin-left: 10px;
  padding: 6px 14px;
  border: none;
  border-radius: 18px;
  background: linear-gradient(135deg, #0078ff, #00c6ff);
  color: white;
  cursor: pointer;
}

#resultsSection {
  width: 90%;
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background: #1e1e1e;
  color: white;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  display: none;
}

.result-item {
  padding: 15px;
  margin-bottom: 15px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
}

.result-item strong {
  color: #00c6ff;
}

.result-item small {
  color: #ccc;
  display: block;
  margin-top: 6px;
}
.nav-link {
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
  color: #007bff;
}

.nav-link:hover {
  text-decoration: underline;
}
