/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f3f4f6;
    color: #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

/* Container */
.container {
    width: 100%;
    max-width: 600px;
    height: auto;
}

.hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 48px;
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Branding */
.branding {
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0;
}

.branding .serif {
    font-family: 'Cormorant', serif;
    display: block;
    color: #000000;
    font-weight: 700;
    font-size: 120px;
    letter-spacing: 5px;
    margin: 0;
    line-height: 1;
}

.branding-n {
    color: #0b57e8;
}

.branding .sans-serif {
    font-family: 'Nunito Sans', sans-serif;
    color: #1f2937;
    font-weight: 500;
    font-size: 25px;
    letter-spacing: 4px;
    margin: 0;
    margin-top: -15px;
    margin-left: 100px;
    padding-left: 0;
    display: block;
    text-align: center;
}

.accent-letter {
    color: #0b57e8;
}

/* Tagline */
.tagline {
    font-size: 24px;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.4;
    letter-spacing: 0.5px;
    max-width: 500px;
    margin: 16px auto 0;
}

/* Services section */
.services {
    margin: 24px 0 0 0;
}

.services-list {
    font-size: 18px;
    color: #1f2937;
    font-weight: 500;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    line-height: 1.6;
}

.services-list span {
    white-space: nowrap;
}

.separator {
    color: #3b82f6;
    font-weight: 600;
    font-size: 20px;
}

/* Coming soon */
.coming-soon {
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    position: relative;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 8px;
    transition: all 0.3s ease;
}

.coming-soon::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4b5563;
    transition: width 0.3s ease;
}

.coming-soon:hover::after {
    width: 100%;
}

/* Positioning statement */
.positioning {
    margin-top: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 32px;
    background: transparent;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.positioning:hover p {
    color: #f3f4f6;
}

.positioning:hover strong {
    color: #f3f4f6;
}

.positioning p {
    font-size: 16px;
    font-weight: 400;
    color: #4b5563;
    line-height: 1.8;
    letter-spacing: 0.3px;
    margin: 0;
}

.positioning strong {
    color: #1f2937;
    font-weight: 600;
}

/* Contact footer */
.contact {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid #d1d5db;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #d1d5db;
}

.email-link {
    font-size: 16px;
    color: #1f2937;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding: 8px 16px;
    border: 2px solid #1f2937;
    border-radius: 4px;
}

.email-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1f2937;
    transition: width 0.3s ease;
    display: none;
}

.email-link:hover {
    color: #ffffff;
    background-color: #1f2937;
    box-shadow: 0 4px 20px rgba(31, 41, 55, 0.3);
    transform: translateY(-2px);
}

/* Inverted state */
body.inverted {
    background-color: #1f2937;
}

body.inverted .branding .serif {
    color: #f3f4f6;
}

body.inverted .branding .sans-serif {
    color: #f3f4f6;
}

body.inverted .branding-n {
    color: #0b57e8;
}

body.inverted .tagline {
    color: #d1d5db;
}

body.inverted .coming-soon {
    color: #f3f4f6;
}

body.inverted .coming-soon::after {
    background-color: #f3f4f6;
}

body.inverted .email-link {
    color: #f3f4f6;
    border-color: #f3f4f6;
}

body.inverted .email-link:hover {
    background-color: #f3f4f6;
    color: #1f2937;
}

body.inverted .contact {
    border-top-color: #4b5563;
}

body.inverted .contact::before {
    background-color: #4b5563;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero {
        gap: 32px;
    }

    .branding .serif {
        font-size: 80px;
        letter-spacing: 3px;
    }

    .branding .sans-serif {
        font-size: 18px;
        letter-spacing: 2px;
        margin-left: 60px;
        margin-top: -12px;
    }

    .tagline {
        font-size: 18px;
        max-width: 450px;
    }

    .positioning {
        padding: 24px;
    }

    .positioning p {
        font-size: 15px;
        line-height: 1.7;
    }

    .email-link {
        font-size: 15px;
        padding: 8px 14px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 16px;
    }

    .container {
        max-width: 100%;
    }

    .hero {
        gap: 24px;
    }

    .branding .serif {
        font-size: 56px;
        letter-spacing: 2px;
    }

    .branding .sans-serif {
        font-size: 14px;
        letter-spacing: 1px;
        margin-left: 45px;
        margin-top: -8px;
        white-space: nowrap;
    }

    .tagline {
        font-size: 16px;
        max-width: 100%;
        margin-top: 12px;
    }

    .positioning {
        padding: 16px;
        max-width: 100%;
    }

    .positioning p {
        font-size: 14px;
        line-height: 1.6;
    }

    .coming-soon {
        font-size: 12px;
        letter-spacing: 1px;
        padding-bottom: 6px;
    }

    .contact {
        margin-top: 24px;
        padding-top: 16px;
    }

    .email-link {
        font-size: 14px;
        padding: 10px 16px;
    }
}
