/* 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 {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

h1, h2, h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

p {
    margin-bottom: 1.5rem;
}

/* Header */
header {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

header h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.tagline {
    font-size: 1.5rem;
    opacity: 0.9;
}

/* Buttons */
.button {
    display: inline-block;
    background-color: #4a6baf;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    margin-right: 1rem;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #3a5999;
}

.button-group {
    margin: 2rem 0;
}

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

.feature-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 1.5rem;
    transition: transform 0.3s;
}

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

/* Hardware and Software sections */
.image-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.diagram-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    flex: 1;
}

.image-content div {
    flex: 1;
}

.image-content ul {
    list-style-position: inside;
    margin-bottom: 1.5rem;
}

/* Documentation */
.doc-links {
    margin-top: 1.5rem;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .image-content, .reverse {
        flex-direction: column;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
}