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

:root {
    --brand:         #6355bc;
    --brand-light:   #8b7fd4;
    --brand-lighter: #eceaf9;
    --text:          #1a1730;
    --text-muted:    #6b6780;
    --text-faint:    #9794aa;
    --bg:            #f4f3fb;
    --white:         #ffffff;
    --card-shadow:   0 4px 32px rgba(99, 85, 188, 0.10);
    --card-border:   rgba(99, 85, 188, 0.10);
}

html {
    min-height: 100%;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    background-color: var(--bg);
    background-image:
        radial-gradient(ellipse at 15% 10%, rgba(99, 85, 188, 0.09) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 90%, rgba(99, 85, 188, 0.07) 0%, transparent 55%);
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Dot grid texture */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle, rgba(99, 85, 188, 0.13) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

/* ─── Layout ─────────────────────────────────────── */

.page {
    position: relative;
    z-index: 1;
    flex: 1;
    width: 100%;
    max-width: 460px;
    padding: 3rem 1.25rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ─── Hero ───────────────────────────────────────── */

.hero {
    text-align: center;
    padding-bottom: 1.75rem;
}

.icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.375rem;
}

.network-icon {
    width: 165px;
    height: 165px;
}

/* Staggered pulse on outer nodes */
.nodes circle {
    transform-box: fill-box;
    transform-origin: center;
}

.nodes circle:nth-child(1) { animation: node-pulse 4.5s ease-in-out 0.00s infinite; }
.nodes circle:nth-child(2) { animation: node-pulse 4.5s ease-in-out 0.75s infinite; }
.nodes circle:nth-child(3) { animation: node-pulse 4.5s ease-in-out 1.50s infinite; }
.nodes circle:nth-child(4) { animation: node-pulse 4.5s ease-in-out 2.25s infinite; }
.nodes circle:nth-child(5) { animation: node-pulse 4.5s ease-in-out 3.00s infinite; }
.nodes circle:nth-child(6) { animation: node-pulse 4.5s ease-in-out 3.75s infinite; }

@keyframes node-pulse {
    0%, 100% { opacity: 1;    transform: scale(1);    }
    50%       { opacity: 0.45; transform: scale(0.72); }
}

.brand {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.4px;
    margin-bottom: 0.5rem;
}

.brand-accent {
    color: var(--brand);
}

.badge {
    display: inline-block;
    background: var(--brand-lighter);
    color: var(--brand);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.25rem 0.875rem;
    border-radius: 100px;
}

/* ─── Card ───────────────────────────────────────── */

.card {
    width: 100%;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--card-border);
    overflow: hidden;
}

/* ─── About section ──────────────────────────────── */

.about {
    padding: 1.75rem 2rem;
}

.about p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.about strong {
    color: var(--text);
    font-weight: 600;
}

.text-link {
    color: var(--brand);
    text-decoration: none;
    font-weight: 500;
}

.text-link:hover {
    text-decoration: underline;
}

/* ─── Divider ────────────────────────────────────── */

.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(99, 85, 188, 0.15), transparent);
    margin: 0 2rem;
}

/* ─── Contact section ────────────────────────────── */

.contact {
    padding: 1.75rem 2rem;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
}

.contact-icon {
    width: 18px;
    height: 18px;
    color: var(--brand);
    flex-shrink: 0;
}

.contact h2 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
}

.contact > p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 1.125rem;
}

.email-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--brand);
    color: var(--white);
    text-decoration: none;
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    margin-bottom: 1rem;
}

.email-btn svg {
    width: 16px;
    height: 16px;
    stroke: var(--white);
    flex-shrink: 0;
}

.email-btn:hover {
    background: var(--brand-light);
    box-shadow: 0 4px 18px rgba(99, 85, 188, 0.38);
    transform: translateY(-1px);
}

.email-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.hint {
    font-size: 0.8125rem;
    color: var(--text-faint);
    line-height: 1.55;
}

/* ─── Footer ─────────────────────────────────────── */

footer {
    width: 100%;
    max-width: 460px;
    padding: 0 1.25rem 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.footer-link {
    color: var(--brand);
    text-decoration: none;
    font-weight: 500;
}

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

.footer-sep {
    opacity: 0.35;
}

.footer-company {
    color: var(--text-faint);
}

/* ─── Responsive ─────────────────────────────────── */

@media (max-width: 500px) {
    .brand {
        font-size: 1.5rem;
    }

    .network-icon {
        width: 135px;
        height: 135px;
    }

    .about,
    .contact {
        padding: 1.5rem 1.5rem;
    }

    .divider {
        margin: 0 1.5rem;
    }
}
