/* Reset and base styles */
* {
    margin    : 0;
    padding   : 0;
    box-sizing: border-box;
}

body {
    font-family     : 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height     : 1.6;
    color           : #333;
    background-color: #f8f9fa;
}

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

/* Header and navigation */
header {
    text-align   : center;
    margin-bottom: 40px;
}

.hero {
    background   : linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color        : white;
    padding      : 60px 20px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.hero h1 {
    font-size    : 3rem;
    margin-bottom: 20px;
}

.hero .lead {
    font-size: 1.2rem;
    opacity  : 0.9;
}

/* Navigation */
nav {
    background   : white;
    padding      : 20px;
    border-radius: 10px;
    box-shadow   : 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

nav a {
    display        : inline-block;
    padding        : 10px 20px;
    margin         : 0 10px;
    text-decoration: none;
    color          : #667eea;
    border-radius  : 5px;
    transition     : all 0.3s ease;
}

nav a:hover {
    background: #667eea;
    color     : white;
}

/* Sections */
section {
    background   : white;
    padding      : 30px;
    border-radius: 10px;
    box-shadow   : 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

section h2 {
    color        : #333;
    margin-bottom: 20px;
    font-size    : 2rem;
}

/* Feature grid */
.feature-grid {
    display              : grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap                  : 20px;
    margin-top           : 20px;
}

.feature-card {
    background   : #f8f9fa;
    padding      : 20px;
    border-radius: 8px;
    border-left  : 4px solid #667eea;
    transition   : transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color        : #667eea;
    margin-bottom: 10px;
}

/* Demo section */
.demo-buttons {
    display      : flex;
    gap          : 15px;
    margin-bottom: 20px;
    flex-wrap    : wrap;
}

button {
    background   : #667eea;
    color        : white;
    border       : none;
    padding      : 12px 24px;
    border-radius: 5px;
    cursor       : pointer;
    font-size    : 1rem;
    transition   : all 0.3s ease;
}

button:hover {
    background: #5a6fd8;
    transform : translateY(-2px);
}

.api-result {
    background   : #f8f9fa;
    padding      : 20px;
    border-radius: 8px;
    border       : 1px solid #dee2e6;
    min-height   : 100px;
}

/* Team grid */
.team-grid {
    display              : grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap                  : 20px;
    margin-top           : 20px;
}

.team-member {
    text-align   : center;
    padding      : 20px;
    background   : #f8f9fa;
    border-radius: 8px;
}

.team-member h3 {
    color        : #667eea;
    margin-bottom: 10px;
}

/* Contact form */
.contact-details {
    background   : #f8f9fa;
    padding      : 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display      : block;
    margin-bottom: 5px;
    font-weight  : bold;
    color        : #333;
}

.form-group input,
.form-group textarea {
    width        : 100%;
    padding      : 12px;
    border       : 1px solid #ddd;
    border-radius: 5px;
    font-size    : 1rem;
    transition   : border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline     : none;
    border-color: #667eea;
    box-shadow  : 0 0 0 2px rgba(102, 126, 234, 0.2);
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .demo-buttons {
        flex-direction: column;
    }

    .feature-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading states */
.loading {
    opacity       : 0.6;
    pointer-events: none;
}

/* Success/Error states */
.success {
    color        : #28a745;
    background   : #d4edda;
    border       : 1px solid #c3e6cb;
    padding      : 10px;
    border-radius: 5px;
    margin-top   : 10px;
}

.error {
    color        : #dc3545;
    background   : #f8d7da;
    border       : 1px solid #f5c6cb;
    padding      : 10px;
    border-radius: 5px;
    margin-top   : 10px;
}