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

body {
    border-left: 2px solid black;
    border-right: 2px solid black;
    overflow: hidden;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 65px;
    padding: 0 2rem;
    border-bottom: 2px solid black;
}

.logo {
    padding-right: 1.5rem;
    border-right: 2px solid black;
}

.logo a {
    text-decoration: none;
    color: black;
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 3rem;
}

nav a {
    text-decoration: none;
    color: black;
    font-weight: 400;
    font-size: 0.95rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

nav a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.nav-button {
    padding: 0.4rem 1rem;
    border: 2px solid black;
    background: transparent;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.nav-button:hover {
    background: black;
    color: white;
}

.main {
    height: calc(100vh - 125px);
    display: flex;
    justify-content: center;
    border-bottom: 2px solid black;
}

.container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    border: 2px solid black;
    height: 100%;
}

.container img {
    width: 50%;
    height: 100%;
    object-fit: cover;
    border-right: 2px solid black;
}

.text {
    width: 50%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text h1 {
    font-family: 'Cormorant Garamond', 'Times New Roman', Times, Baskerville, Georgia, serif;
    font-weight: 500;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1;
    letter-spacing: -0.02em;
}

.text p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #2b2b2b;
    max-width: 85%;
}

footer {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.85rem;
    color: #5a5a5a;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
    border-top: 2px solid black;
    padding-top: 2rem;
}

.feature-card h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.feature-card p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #4a4a4a;
    max-width: 100%;
}

@media screen and (max-width: 1024px) {
    .text h1 {
        font-size: 3.5rem;
    }

    .text {
        padding: 2.5rem;
    }
}

@media screen and (max-width: 900px) {
    header {
        padding: 0 1.5rem;
    }

    nav ul {
        gap: 2rem;
    }

    .text h1 {
        font-size: 3rem;
    }

    .text p {
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    body {
        overflow: auto;
    }

    header {
        padding: 0 1rem;
        height: auto;
        min-height: 65px;
        flex-wrap: wrap;
    }

    .logo {
        padding-right: 1rem;
    }

    nav ul {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .main {
        height: auto;
        min-height: calc(100vh - 125px);
    }

    .container {
        flex-direction: column;
        height: auto;
    }

    .container img {
        width: 100%;
        height: 300px;
        border-right: none;
        border-bottom: 2px solid black;
    }

    .text {
        width: 100%;
        padding: 2rem;
    }

    .text h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .features {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        gap: 1rem;
    }
}

@media screen and (max-width: 480px) {
    header {
        flex-direction: column;
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .logo {
        padding-right: 0;
        border-right: none;
        border-bottom: 2px solid black;
        padding-bottom: 0.5rem;
        width: 100%;
        text-align: center;
    }

    nav {
        width: 100%;
    }

    nav ul {
        gap: 1rem;
    }

    nav a {
        font-size: 0.9rem;
    }

    .nav-button {
        padding: 0.3rem 0.8rem;
        font-size: 0.85rem;
    }

    .container img {
        height: 200px;
    }

    .text {
        padding: 1.5rem;
    }

    .text h1 {
        font-size: 2rem;
    }

    .text p {
        font-size: 0.95rem;
    }

    .features {
        gap: 0.75rem;
        margin-top: 1rem;
        padding-top: 1rem;
    }

    .feature-card h3 {
        font-size: 0.95rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    footer {
        height: 50px;
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 360px) {
    .text h1 {
        font-size: 1.75rem;
    }

    .container img {
        height: 160px;
    }

    .text {
        padding: 1rem;
    }

    nav ul {
        gap: 0.75rem;
    }

    nav a {
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 896px) and (orientation: landscape) {
    body {
        overflow: auto;
    }

    .main {
        height: auto;
    }

    .container {
        flex-direction: row;
    }

    .container img {
        width: 40%;
        height: auto;
        border-right: 2px solid black;
        border-bottom: none;
    }

    .text {
        width: 60%;
        padding: 1.5rem;
    }

    .text h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .features {
        margin-top: 1rem;
        padding-top: 1rem;
        gap: 0.5rem;
    }

    .feature-card p {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 640px) and (orientation: landscape) {
    .container img {
        width: 35%;
    }

    .text {
        width: 65%;
        padding: 1rem;
    }

    .text h1 {
        font-size: 1.5rem;
    }

    .text p {
        font-size: 0.85rem;
    }

    .features {
        display: none;
    }
}

@media screen and (min-width: 769px) and (max-height: 800px) {
    .text {
        padding: 2rem;
    }

    .text h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .features {
        margin-top: 1rem;
        padding-top: 1rem;
        gap: 0.75rem;
    }
}


@media screen and (max-width: 768px) {
    body {
        border-left: 2px solid black;
        border-right: 2px solid black;
    }
}


@media print {
    body {
        overflow: visible;
        border: 2px solid black;
    }

    .main {
        height: auto;
    }

    .nav-button {
        display: none;
    }
}