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

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #ff9900, #e88b00);
    z-index: 1001;
    transition: width 0.1s ease;
}

/* Header - AWS Cloud Club Style */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 0.5rem 0;
    background: rgba(15, 20, 25, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.site-header.scrolled .site-title a,
.site-header.scrolled .logo-text,
.site-header.scrolled .logo-title a {
    font-size: 1.3rem;
}

.site-header.scrolled .logo-icon {
    width: 28px;
    height: 28px;
}

.header-content,
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.site-title a,
.logo-text,
.logo-title a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(135deg, #ff9900, #4a9eff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu a,
.nav-link {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.nav-menu a:hover,
.nav-link:hover {
    color: #ff9900;
    background: rgba(255, 153, 0, 0.1);
    transform: translateY(-1px);
}

.nav-link.current {
    color: #ff9900;
    background: rgba(255, 153, 0, 0.15);
    position: relative;
}

.nav-link.current::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #ff9900;
    border-radius: 50%;
}

.nav-cta-btn {
    background: #ff9900;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.nav-cta-btn:hover {
    background: #e88b00;
    transform: translateY(-1px);
    color: #ffffff;
    text-decoration: none;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.hamburger,
.hamburger-line {
    width: 24px;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

/* Buttons - AWS Style */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
}

.btn-primary {
    background: #ff9900;
    color: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background: #e88b00;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.btn-secondary {
    background: #ff9900;
    color: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    border: none;
}

.btn-secondary:hover {
    background: #e88b00;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.nav-cta-btn:hover {
    background: #e88b00;
    transform: translateY(-1px);
    color: #ffffff;
    text-decoration: none;
}

/* Hide mobile-only items on desktop */
.mobile-only {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.5rem;
    }

    .nav-menu a {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
    .site-header {
        padding: 0.75rem 0;
    }

    .site-header.scrolled {
        padding: 0.4rem 0;
    }

    .header-content,
    .header-container {
        padding: 0 1rem;
    }

    .site-title a,
    .logo-text,
    .logo-title a {
        font-size: 1.25rem;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    .mobile-menu-toggle {
        display: flex;
        padding: 0.5rem;
        border-radius: 0.25rem;
        transition: background 0.2s ease;
        position: relative;
        z-index: 1002;
    }

    .mobile-menu-toggle:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(15, 20, 25, 0.95);
        backdrop-filter: blur(10px);
        padding: 0.5rem;
        flex-direction: column;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1001;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.3);
        border-bottom: 2px solid #ff9900;
        height: auto;
        overflow: visible;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    }

    .mobile-menu-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0.75rem 0 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 0.25rem;
        background: rgba(15, 20, 25, 0.95);
    }

    .mobile-menu-icon {
        width: 32px;
        height: 32px;
        border-radius: 6px;
        background: rgba(255, 153, 0, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255, 153, 0, 0.2);
    }

    .mobile-menu-footer {
        padding: 0.4rem 0 0.5rem;
        text-align: center;
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.65rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-menu-footer a {
        color: #ff9900;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s ease;
    }

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

    .footer-legal-mobile {
        margin-bottom: 0.5rem;
    }

    .legal-links-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-size: 0.6rem;
    }

    .legal-links-mobile a {
        color: rgba(255, 255, 255, 0.5);
        text-decoration: none;
        font-weight: 400;
        transition: color 0.2s ease;
    }

    .legal-links-mobile a:hover {
        color: #ff9900;
    }

    .separator {
        color: rgba(255, 255, 255, 0.3);
        font-size: 0.6rem;
    }

    .powered-by-mobile {
        font-size: 0.65rem;
        color: rgba(255, 255, 255, 0.6);
    }

    .powered-by-mobile a {
        color: #ff9900;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s ease;
    }

    .powered-by-mobile a:hover {
        color: #ffffff;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu a {
        padding: 0.6rem 1.5rem;
        color: #d1d5db;
        text-decoration: none;
        font-weight: 500;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.2s ease;
        display: block;
    }

    .nav-menu a:hover {
        background: rgba(255, 153, 0, 0.1);
        color: #ff9900;
        transform: translateX(4px);
    }

    .nav-link.current {
        background: rgba(255, 153, 0, 0.15);
        color: #ff9900;
        font-weight: 600;
        border-left: 3px solid #ff9900;
    }

    .nav-link.current::after {
        display: none;
    }

    .nav-cta-btn {
        background: #ff9900;
        color: #ffffff;
        margin: 0.25rem 1rem 0.25rem;
        border-radius: 0.375rem;
        text-align: center;
        font-weight: 600;
        border-bottom: none;
        box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        transition: all 0.2s ease;
    }

    .nav-cta-btn:hover {
        background: #e88b00;
        color: #ffffff;
        transform: translateY(-1px);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
        text-decoration: none;
    }

    .mobile-menu-toggle[aria-expanded="true"] .hamburger:nth-child(1),
    .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle[aria-expanded="true"] .hamburger:nth-child(2),
    .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle[aria-expanded="true"] .hamburger:nth-child(3),
    .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }


}

@media (max-width: 480px) {
    .site-header {
        padding: 0.5rem 0;
    }

    .site-header.scrolled {
        padding: 0.3rem 0;
    }
    
    .header-content,
    .header-container {
        padding: 0 0.75rem;
    }

    .site-title a,
    .logo-text,
    .logo-title a {
        font-size: 1.1rem;
    }

    .logo-icon {
        width: 24px;
        height: 24px;
    }

    .nav-menu {
        padding: 5rem 1.5rem 3rem;
        gap: 1.2rem;
    }

    .nav-menu a {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }

    .nav-cta-btn {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
}