/* General Styles */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

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

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

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1db954;
    margin: 0;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.service-card {
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 2rem;
    text-decoration: none;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    border-color: #1db954;
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.service-card h2 {
    font-size: 1.8rem;
    margin: 0 0 0.5rem 0;
    color: #1db954;
}

.service-card p {
    font-size: 1rem;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.service-card .url {
    font-size: 0.9rem;
    color: #aaa;
    font-family: monospace;
}

/* Explanation Section */
.explanation {
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.explanation h2 {
    font-size: 1.8rem;
    margin-top: 0;
    color: #1db954;
}

/* Cost Comparison Table */
.cost-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.cost-table tr {
    border-bottom: 1px solid #333;
}

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

.cost-table td {
    padding: 0.75rem 0;
    vertical-align: top;
}

.cost-table td:first-child {
    font-weight: 500;
    width: 50%;
}

.cost-table td:nth-child(2) {
    color: #aaa;
    text-align: right;
    width: 25%;
}

.cost-table td:nth-child(3) {
    color: #1db954;
    text-align: right;
    width: 25%;
    font-weight: 500;
}

.sources {
    font-size: 0.85rem;
    color: #888;
    margin-top: 2rem;
    line-height: 1.5;
}

.sources a {
    color: #1db954;
    text-decoration: none;
}

.sources a:hover {
    text-decoration: underline;
}

.cost-table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
    color: #e0e0e0;
}

.cost-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #333;
}

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

.cost-table td:nth-child(1) {
    font-weight: 500;
}

.cost-table td:nth-child(3) {
    color: #aaa;
    font-style: italic;
}

.sources {
    font-size: 0.85rem;
    color: #aaa;
    margin-top: 1.5rem;
}

.sources a {
    color: #1db954;
    text-decoration: none;
}

.sources a:hover {
    text-decoration: underline;
}

.explanation-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.explanation p {
    margin: 0;
    font-size: 1rem;
}

.explanation a {
    color: #1db954;
    text-decoration: none;
}

.explanation a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
    color: #aaa;
}

.footer a {
    color: #1db954;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }
}