
:root {
    --primary-indigo: #4f46e5;
    --secondary-purple: #8b5cf6;
    --bg-light: #f3f4f6;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --white: #ffffff;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.app-container {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--white);
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

/* Header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-symbol {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-indigo), var(--secondary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.brand-logo h2 span {
    color: var(--primary-indigo);
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-indigo);
}

/* Hero */
.hero-banner {
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    background: linear-gradient(to right, #fff, #f9fafb);
    gap: 3rem;
}

.banner-content {
    flex: 1;
}

.banner-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.banner-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.action-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn.primary {
    background: var(--primary-indigo);
    color: white;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.btn.secondary {
    background: white;
    color: var(--text-dark);
    border: 1px solid #d1d5db;
}

.btn:hover {
    transform: translateY(-2px);
}

.banner-graphic {
    flex: 1;
}

.banner-graphic img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Categories */
.category-section {
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h3 {
    font-size: 2rem;
    color: var(--text-dark);
}

.section-title p {
    color: var(--text-muted);
    font-style: italic;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
}

.info-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-indigo);
}

.card-header {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.os-bg { background: #e0e7ff; }
.app-bg { background: #f3e8ff; }
.dev-bg { background: #dbeafe; }

.card-icon {
    font-size: 3.5rem;
}

.card-body {
    padding: 1.5rem;
}

.card-body h4 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.card-tags span {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    background: #f3f4f6;
    border-radius: 20px;
    color: var(--text-muted);
}

/* Table */
.comparison-table-section {
    padding: 4rem 2rem;
    background: #f9fafb;
}

.table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.data-table th, .data-table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.data-table th {
    background: #f3f4f6;
    color: var(--text-dark);
    font-weight: 600;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover {
    background: #f9fafb;
}

/* Footer */
.app-footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid #e5e7eb;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-indigo);
}

.copyright {
    color: #9ca3af;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .app-header {
        flex-direction: column;
        gap: 1.5rem;
    }
    .hero-banner {
        flex-direction: column;
        text-align: center;
    }
    .banner-content p {
        margin: 0 auto 2rem;
    }
    .action-buttons {
        justify-content: center;
    }
    .card-grid {
        grid-template-columns: 1fr;
    }
}
