* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    background: #f8f9fa;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 2rem 4rem;
    background: linear-gradient(135deg, #2c5530 0%, #8BC34A 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h100v100H0z" fill="none"/%3E%3Cpath d="M0 0l50 50-50 50M50 0l50 50-50 50" stroke="rgba(255,255,255,0.1)" stroke-width="0.5" fill="none"/%3E%3C/svg%3E');
    background-size: 100px 100px;
    animation: slide 20s linear infinite;
}

.mbg {
    background: linear-gradient(135deg, #2c5530 0%, #8BC34A 100%);
    /* padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(44, 85, 48, 0.1);
            color: white; */
}

.mbg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h100v100H0z" fill="none"/%3E%3Cpath d="M0 0l50 50-50 50M50 0l50 50-50 50" stroke="rgba(255,255,255,0.1)" stroke-width="0.5" fill="none"/%3E%3C/svg%3E');
    background-size: 100px 100px;
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100px);
    }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: white;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    opacity: 0.9;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Chat Container in Hero */
.chat-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(44, 85, 48, 0.15);
    overflow: hidden;
    height: 600px;
    display: flex;
    flex-direction: column;
    animation: float 6s ease-in-out infinite;
    border: 2px solid #8BC34A;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.chat-header {
    background: linear-gradient(90deg, #2c5530 0%, #8BC34A 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.chat-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.chat-header .subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.25rem;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background: #fafafa;
}

.message {
    margin-bottom: 1rem;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.bot {
    text-align: left;
}

.message.user {
    text-align: right;
}

.message-content {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    border-radius: 18px;
    max-width: 80%;
    word-wrap: break-word;
    font-size: 0.9375rem;
}

.bot .message-content {
    background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e8 100%);
    color: #2c5530;
    box-shadow: 0 2px 10px rgba(139, 195, 74, 0.1);
    border: 1px solid #e8f5e8;
}

.user .message-content {
    background: linear-gradient(135deg, #8BC34A 0%, #689F38 100%);
    color: white;
}

.options-container {
    margin-top: 0.75rem;
}

.option-button {
    display: block;
    width: 100%;
    padding: 0.75rem 1.25rem;
    margin: 0.5rem 0;
    background: #f1f8e9;
    border: 2px solid #8BC34A;
    border-radius: 10px;
    color: #2c5530;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    text-align: left;
    font-weight: 500;
}

.option-button:hover {
    background: #8BC34A;
    color: white;
    transform: translateX(5px);
}

.option-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.model-recommendation {
    background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e8 100%);
    border: 2px solid #8BC34A;
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.model-recommendation h3 {
    color: #2c5530;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.spec-list {
    list-style: none;
    margin-top: 0.75rem;
}

.spec-list li {
    padding: 0.375rem 0;
    font-size: 0.875rem;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.spec-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8BC34A;
    font-weight: bold;
}

.spec-list li strong {
    color: #333;
}

.restart-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.625rem 1.5rem;
    background: #8BC34A;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.restart-button:hover {
    background: #689F38;
    transform: scale(1.05);
}

/* Info Section */
.info-section {
    padding: 5rem 2rem;
    background: white;
}

.info-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.info-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5530;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e8f5e8;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(44, 85, 48, 0.1);
}

.info-card h3 {
    color: #8BC34A;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-card p {
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-features {
        justify-content: center;
    }

    .chat-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 1rem 2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .chat-wrapper {
        height: 420px;
        max-width: 100%;
        margin: 0 auto;
    }

    .chat-header {
        padding: 1rem;
    }

    .chat-messages {
        padding: 1rem;
    }

    .option-button {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }

    .info-section {
        padding: 3rem 1rem;
    }

    .info-section h2 {
        font-size: 2rem;
    }
}

/* Scrollbar styling */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #8BC34A;
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #689F38;
}