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

:root {
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --bg-card: #1f2847;
    --text-primary: #eee;
    --text-secondary: #aaa;
    --accent: #00bcd4;
    --accent-hover: #00e5ff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 900px;
    width: 100%;
    padding: 40px 20px;
    text-align: center;
}

header {
    margin-bottom: 50px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 10px;
    color: var(--accent);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 40px 30px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    border: 2px solid transparent;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 188, 212, 0.2);
    border-color: var(--accent);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    color: var(--accent);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

footer {
    color: var(--text-secondary);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.contact-btn {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.2s, color 0.2s;
}

.contact-btn:hover {
    background: var(--accent);
    color: var(--bg-primary);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.overlay-content {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    min-width: 280px;
    border: 2px solid var(--accent);
}

.overlay-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s;
}

.overlay-close:hover {
    color: var(--text-primary);
}

.overlay-content h3 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    color: var(--accent);
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 12px 24px;
    background: var(--bg-secondary);
    border-radius: 8px;
    transition: background 0.2s;
}

.contact-link:hover {
    background: var(--bg-primary);
}

.contact-link svg {
    color: #0088cc;
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.8rem;
    }

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

    .card {
        padding: 30px 20px;
    }
}
