@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');

:root {
    --bg-color: #ffffff;
    --text-main: #000000;
    --text-muted: #666666;
    --accent-color: #007aff;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    width: 100%;
}

.logo {
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: capitalize;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

nav a:hover {
    color: var(--text-main);
}

.parent-page-dropdown {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 5%;
    margin-top: -5vh;
}

.hero {
    max-width: 800px;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 400;
    letter-spacing: -0.02em;
}

#keyword-display {
    text-transform: capitalize;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-logo {
    text-transform: lowercase;
}

.powered-by a {
    color: var(--text-main);
    text-decoration: none;
    border-bottom: 1px solid var(--text-main);
    transition: var(--transition);
}

.powered-by a:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 5%;
        text-align: center;
    }

    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding-bottom: 3rem;
    }
}