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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #000;
    background: #fff;
}

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

/* Header */
header {
    background: #000;
    color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #000;
}

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

.logo h1 {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.7;
}

/* Hero Section */
.hero {
    background: #000;
    color: #fff;
    padding: 120px 20px;
    text-align: center;
}

.hero-content h2 {
    font-size: 56px;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.cta-button {
    background: #fff;
    color: #000;
    border: none;
    padding: 15px 40px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-button:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}

/* Products Section */
.products {
    padding: 80px 20px;
    background: #fff;
}

.products h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 60px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.product-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
    cursor: pointer;
}

.product-card:hover {
    border-color: #000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: #f5f5f5;
    overflow: hidden;
}

.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #000;
    color: #fff;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-desc {
    color: #666;
    font-size: 13px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price {
    font-size: 18px;
    font-weight: 700;
}

/* Features Section */
.features {
    background: #f5f5f5;
    padding: 60px 20px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature h3 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.feature p {
    color: #666;
    font-size: 14px;
}

/* Footer */
footer {
    background: #000;
    color: #fff;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #999;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #666;
    font-size: 13px;
}

/* Chatbot Trigger */
.chatbot-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #000;
    color: #fff;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.chat-text {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Chatbot Container */
.chatbot-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    height: 600px;
    background: #fff;
    border: 2px solid #000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    z-index: 1001;
}

.chatbot-container.open {
    display: flex;
}

/* Chatbot Header */
.chatbot-header {
    background: #000;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #000;
}

.chatbot-title h3 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.bot-status {
    font-size: 11px;
    color: #999;
}

.chatbot-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.chatbot-close:hover {
    opacity: 0.7;
}

/* Chatbot Messages */
.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #fff;
}

.message {
    margin-bottom: 20px;
    display: flex;
}

.message-content {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}

.bot-message .message-content {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
}

.user-message {
    justify-content: flex-end;
}

.user-message .message-content {
    background: #000;
    color: #fff;
}

.message-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.message-content li {
    margin: 5px 0;
}

/* Chatbot Input */
.chatbot-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid #e0e0e0;
    background: #fff;
}

.chatbot-input input {
    flex: 1;
    border: 1px solid #e0e0e0;
    padding: 12px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}

.chatbot-input input:focus {
    border-color: #000;
}

.chatbot-input button {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 20px;
    margin-left: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    transition: background 0.3s;
}

.chatbot-input button:hover {
    background: #333;
}

.chatbot-input button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Chatbot Footer */
.chatbot-footer {
    padding: 10px 15px;
    text-align: center;
    background: #f5f5f5;
    border-top: 1px solid #e0e0e0;
}

.chatbot-footer small {
    color: #999;
    font-size: 11px;
}

/* Loading Animation */
.loading {
    display: inline-block;
}

.loading::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 36px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
    
    nav {
        gap: 15px;
    }
    
    nav a {
        font-size: 11px;
    }
    
    .chatbot-container {
        width: calc(100vw - 40px);
        right: 20px;
        bottom: 90px;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 28px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    nav {
        gap: 10px;
    }
}
