@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ffffff;
    --text-color: #000000;
    --accent-color: #4a4a4a;
    --hover-color: #5a5a5a;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Montserrat', sans-serif; 
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    border-bottom: 1px solid #1a1a1a;
    position: fixed;
    width: 100%;
    top: 0;
    background-color: #000000; /* Changed to match the logo background */
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition); /* Added transition for smooth effect */
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem; /* Reduced padding to make the navbar thinner */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px; /* Adjusted the height to make the logo more visible */
    object-fit: contain;
    transition: var(--transition);
}

/* Remove the hover effect from the logo */
.logo img:hover {
    transform: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center; /* Ensure text is parallel to the navbar */
}

.nav-link {
    color: #ccc; /* Changed to a brighter shade of grey */
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: #ffffff; /* Changed to bright white */
}

.nav-link:hover::after {
    width: 100%;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 1rem 4rem;
    text-align: center;
}

h1 {
    font-size: 3.5rem;
    font-weight: 300;
    max-width: 1000px;
    margin: 0 auto 4rem;
    line-height: 1.2;
}

.content-section {
    max-width: 800px;
    margin: 0 auto 4rem;
}

h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 3rem;
}

.buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: translateX(-100%);
    transition: var(--transition);
}

.btn:hover .btn-shine {
    transform: translateX(100%);
}

.create-btn {
    background-color: var(--accent-color);
    color: var(--text-color);
}

.create-btn:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.open-btn {
    background-color: var(--text-color);
    color: var(--primary-color);
}

.open-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

h3 {
    font-size: 2rem;
    font-weight: 300;
    margin-top: 4rem;
    text-decoration: underline;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: var(--transition);
    z-index: 999;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.5rem;
    transition: var(--transition);
}

.mobile-menu a:hover {
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}