* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sg-nav-logo {
    width: 45px;
    height: 45px;
}

.logo h1 {
    color: #4CAF50;
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #4CAF50;
}

/* Main Content */
.main-content {
    margin-top: 100px;
    padding: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* AI Assistant Container */
.ai-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.ai-header {
    text-align: center;
    margin-bottom: 2rem;
}

.ai-header h2 {
    color: #4CAF50;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.ai-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #4CAF50;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Voice Assistant Interface */
.voice-interface {
    text-align: center;
    margin: 2rem 0;
}

.mic-button {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.mic-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
}

.mic-button:active {
    transform: scale(0.95);
}

.mic-button.listening {
    background: linear-gradient(45deg, #ff6b6b, #ff5252);
    animation: listening-pulse 1s infinite;
}

@keyframes listening-pulse {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    }

    50% {
        box-shadow: 0 8px 35px rgba(255, 107, 107, 0.6);
    }
}

.voice-status {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: #666;
    min-height: 25px;
}

/* Chat Interface */
.chat-container {
    max-height: 400px;
    overflow-y: auto;
    margin: 2rem 0;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    background: #f9f9f9;
}

.chat-message {
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-message.assistant {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 70%;
    padding: 1rem 1.5rem;
    border-radius: 18px;
    position: relative;
}

.message-bubble.user {
    background: #4CAF50;
    color: white;
}

.message-bubble.assistant {
    background: white;
    color: #333;
    border: 2px solid #e0e0e0;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Sample Questions */
.sample-questions {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.sample-questions h3 {
    color: #4CAF50;
    margin-bottom: 1rem;
    text-align: center;
}

.questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.question-chip {
    background: #f0f0f0;
    padding: 0.8rem 1rem;
    border-radius: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.question-chip:hover {
    background: #4CAF50;
    color: white;
    border-color: #45a049;
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .main-content {
        padding: 1rem;
    }

    .ai-container {
        margin: 1rem;
        padding: 1.5rem;
    }

    .mic-button {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
}