/* Cloud Header Styles */
header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    padding: 0.75rem 0;
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links-mobile {
    display: none;
    position: fixed;
    top: 0;
    right: -300px;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.4);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    transition: right 0.3s ease, visibility 0.3s ease;
    z-index: 1001;
    visibility: hidden;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.nav-links-mobile.active {
    display: flex;
    right: 0;
    visibility: visible;
}

.nav-links-mobile a {
    font-size: 1.125rem;
    padding: 0.5rem 1rem;
    color: #3d2f4a;
    text-decoration: none;
    font-weight: 500;
}

.nav-links-mobile .nav-cta {
    padding: 0.75rem 2rem;
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ff6ec7;
}

header.nav-light .nav-link,
header.nav-light .nav-links .nav-link,
header.nav-light .logo-text,
header.nav-light .logo-text span {
    color: rgba(255, 255, 255, 0.9);
}

header.nav-light .nav-link:hover {
    color: #ff6ec7;
}

header.nav-light .logo-svg line,
header.nav-light .logo-svg circle {
    stroke: rgba(255, 255, 255, 0.9);
}

header.nav-light .logo-svg rect {
    fill: rgba(255, 255, 255, 0.9);
}

header.nav-light .nav-cta {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-svg {
    width: 18px;
    height: 18px;
    position: relative;
    top: -1px;
}

.logo-text {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.logo-text span {
    font-weight: 400;
    color: var(--text-primary);
}

.nav-cta {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: var(--text-primary);
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #3d2f4a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

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

header.nav-light .hamburger span {
    background: rgba(255, 255, 255, 0.9);
}

/* Nav overlay for mobile */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}
