:root {
    --bg-color: #ffffff;
    --text-main: #111827; 
    --text-muted: #4b5563;
    --accent: #a855f7; 
    --accent-light: #f3e8ff; 
    --border-color: #f3f4f6;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    padding: 4rem 1.5rem;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100%;
}

/* Subtle purple bleed */
.bg-glow {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 1100px;
    z-index: 1;
}

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

.back-pill {
    display: inline-block;
    background-color: #fbf9ff; 
    color: #4b5563;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    border: 1px solid #f1eaff;
    transition: all 0.2s ease;
}

.back-pill:hover {
    background-color: var(--accent-light);
    color: var(--accent);
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Side-by-Side Grid Layout */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    align-items: stretch;
}

/* Card Styling */
.content-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
}

.info-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.email-section {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.email-link {
    font-size: 1.5rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: opacity 0.2s;
    align-self: flex-start;
    margin-bottom: 1rem;
}

.email-link:hover {
    opacity: 0.8;
}

.copy-btn {
    background: #f9fafb;
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    align-self: flex-start;
}

.copy-btn:hover {
    background: var(--accent-light);
    color: var(--accent);
    border-color: var(--accent-light);
}

.form-card {
    min-height: 100%;
}

/* Responsive adjustments */
@media (max-width: 850px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .page-header h1 {
        font-size: 2.25rem;
    }
}
