/* Common styles shared across the concept hub */

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

html {
    scroll-behavior: smooth;
}

/* Header placeholder should mimic navbar behavior to prevent layout shift */
#header-placeholder {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    background: transparent;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    min-height: 0;
}

/* Other placeholders should not take up space */
#footer-placeholder,
#popup-placeholder {
    min-height: 0;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    background: transparent;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 640px) {
    .navbar-container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .navbar-container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .navbar-container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .navbar-container {
        max-width: 1280px;
    }
}

@media (min-width: 1536px) {
    .navbar-container {
        max-width: 1536px;
    }
}

.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05) rotate(-5deg);
}

.navbar-logo img {
    height: 48px;
    width: auto;
}

.navbar-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: normal;
}

.navbar-title .highlight {
    color: #818cf8;
}

/* Base Body Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: black;
    min-height: 100vh;
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Container Base Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 40px;
    position: relative;
}

/* Background gradient similar to the main site */
.container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, black, #111827, #1e1b4b);
    z-index: -2;
}

/* Animated background elements */
.container::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 75% 33%, rgba(139, 92, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 75% 75%, rgba(59, 130, 246, 0.1) 0%, transparent 40%);
    z-index: -1;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}

.header h1 span {
    color: #818cf8;
}

.header p {
    color: #d1d5db;
    font-size: 1.25rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer Styles */
.footer {
    background: black;
    color: #9ca3af;
    padding: 32px 0;
    margin-top: 0;
}

.footer-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

@media (min-width: 640px) {
    .footer-container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .footer-container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .footer-container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .footer-container {
        max-width: 1280px;
    }
}

@media (min-width: 1536px) {
    .footer-container {
        max-width: 1536px;
    }
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
    }
}

.footer-left {
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .footer-left {
        margin-bottom: 0;
    }
}

.footer-powered-by {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 8px;
}

.footer-logo {
    height: 48px;
    width: auto;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.footer-logo:hover {
    transform: scale(1.05) rotate(-5deg);
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.footer-title .highlight {
    color: #818cf8;
}

.footer-description {
    max-width: 20rem;
    line-height: 1.6;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid #374151;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-copyright {
    color: #9ca3af;
}

/* Responsive Design */
@media (prefers-reduced-motion) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 100px 16px 20px;
    }

    .header h1 {
        font-size: 2.25rem;
    }

    .header p {
        font-size: 1.1rem;
    }
}
