﻿/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background: #f9f9f9;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.header-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.header {
    text-align: center;
    margin-bottom: 2rem;
}

.avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    object-fit: cover;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: .5rem;
    font-weight: 700;
}

.header p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

    .social a {
        font-size: 1.6rem;
        color: #333;
    }

.btn-primary {
    display: inline-block;
    font-weight: 700;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 4px;
    border: 2px solid #000;
    background: transparent;
    color: #000;
    position: relative;
    transition: all .2s ease;
    margin-bottom: 2.5rem;
    cursor: pointer;
}

    .btn-primary::before {
        content: '●';
        color: #4caf50;
        font-size: 1rem;
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
    }

    .btn-primary:hover {
        background: #000;
        color: #fff;
    }

/* Grid Container */
.grid-container {
    max-width: 1100px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.card {
    position: relative;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all .3s ease;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

    .card-icon i {
        font-size: 1.4rem;
        color: #888;
    }

.card h3 {
    font-size: 1.3rem;
    margin-bottom: .7rem;
    font-weight: 700;
}

.card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.hidden-content {
    display: none;
    margin-top: 1.2rem;
    font-size: 1rem;
    color: #444;
}

.card.expanded .hidden-content {
    display: block;
}

.expand-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 28px;
    height: 28px;
    background: #fff;
    border: 0;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: background .2s ease;
}

    .expand-icon:hover {
        background: #f1f1f1;
    }

    .expand-icon i {
        font-size: 1.1rem;
        color: #888;
        transition: transform .3s ease;
        transform: rotate(45deg);
    }

.card.expanded {
    grid-column: 1 / -1;
}

    .card.expanded .expand-icon i {
        transform: rotate(225deg);
    }

/* Keyboard focus visibility for icon buttons */
.expand-icon:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* Accessibility utility: visually hide content but keep for AT */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Next Steps */
.next-steps {
    background: #fff;
    padding: 4rem 0;
}

    .next-steps h2 {
        text-align: center;
        font-size: 2.4rem;
        margin-bottom: 4rem;
        font-weight: 700;
    }

.step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto 7rem;
    padding: 0 1rem;
}

.step-content {
    font-size: 1.1rem;
    color: #333;
}

    .step-content h4 {
        text-transform: uppercase;
        font-size: 0.9rem;
        letter-spacing: 1px;
        margin-bottom: 0.5rem;
        color: #777;
    }

    .step-content h3 {
        font-size: 2rem;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .step-content p {
        margin-bottom: 1rem;
    }

.text-right {
    text-align: right;
}

.placeholder-image {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

/* Ensure placeholder images scale without distortion */
.placeholder-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.form-container form {
    display: flex;
    flex-direction: column;
}

.form-container input, .form-container textarea {
    width: 100%;
    padding: .75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.form-container button {
    padding: .75rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    background: #000;
    color: #fff;
    cursor: pointer;
    margin: 0 auto;
}

@media (max-width: 800px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .step {
        grid-template-columns: 1fr;
    }

    .text-right {
        text-align: left;
    }
}

/* Footer */
.site-footer {
    background: #000;
    color: #fff;
    font-family: 'Inter', sans-serif;
    margin-top: -1px;
    padding: 2rem 1rem;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    font-size: 1.5rem;
    text-align: left;
}
